[Dart] connection problem ?

Blezek, Daniel J (GE, Research) blezek at crd.ge.com
Wed May 9 16:36:10 EDT 2007


Hi Hirohito,

  I'm a bit at a loss.  Can you try creating a new Dart server and
project somewhere else?  It would help to understand if everything is
broken, or just the existing project / Server.

-dan 

-----Original Message-----
From: Hirohito Okuda [mailto:hirohito.okuda at yale.edu] 
Sent: Wednesday, May 09, 2007 4:16 PM
To: Blezek, Daniel J (GE, Research); Hirohito Okuda
Cc: dart at public.kitware.com
Subject: Re: [Dart] connection problem ?

Dan,

Actual name of MyServer and MyProject is "Server" and "BioImageSuite",
respectively.
Attached are results of
ls -al Server/Database
ls -al Server/Database/Server
ls -al BioImageSuite/Database
ls -al BioImageSuite/Database/BioImageSuite

These information are from "backup"  data.. After some trial, original
data were backuped and eliminated . So,  some information might be lost.

 >ls -al Server/Database
total 12
drwxr-xr-x  3 root root 4096 Nov 17 16:21 .
drwxr-xr-x  9 root root 4096 May  9 13:51 ..
drwxr-xr-x  5 root root 4096 May  9 14:16 Server

 >ls -al Server/Database/Server
total 32
drwxr-xr-x  5 root root 4096 May  9 14:16 .
drwxr-xr-x  3 root root 4096 Nov 17 16:21 ..
-rw-r--r--  1 root root    4 Mar  1 09:04 dbex.lck
-rw-r--r--  1 root root   38 May  9 14:16 db.lck
drwxr-xr-x  2 root root 4096 Nov 17 16:21 log drwxr-xr-x  2 root root
4096 Nov 17 16:21 seg0
-rw-r--r--  1 root root  869 Nov 17 16:21 service.properties drwxr-xr-x
2 root root 4096 May  9 14:16 tmp

 >ls -al BioImageSuite/Database
total 12
drwxr-xr-x   3 root root 4096 May  9 13:37 .
drwxr-xr-x  12 root root 4096 May  9 13:38 ..
drwxr-xr-x   5 root root 4096 May  9 13:37 BioImageSuite

 >ls -al BioImageSuite/Database/BioImageSuite
total 32
drwxr-xr-x  5 root root 4096 May  9 13:37 .
drwxr-xr-x  3 root root 4096 May  9 13:37 ..
-rw-r--r--  1 root root    4 May  9 13:37 dbex.lck
-rw-r--r--  1 root root   38 May  9 13:37 db.lck
drwxr-xr-x  2 root root 4096 May  9 13:37 log drwxr-xr-x  2 root root
4096 May  9 13:37 seg0
-rw-r--r--  1 root root  883 May  9 13:37 service.properties drwxr-xr-x
2 root root 4096 May  9 13:37 tmp

..Hirohito

Hirohito
Blezek, Daniel J (GE, Research) wrote:
> Sorry, can you send an "ls -la" of MyServer/Database and 
> MyProject/Database?
>
> -dan
>
> -----Original Message-----
> From: Hirohito Okuda [mailto:hirohito.okuda at yale.edu]
> Sent: Wednesday, May 09, 2007 3:34 PM
> To: Blezek, Daniel J (GE, Research)
> Cc: dart at public.kitware.com; Hirohito Okuda
> Subject: Re: [Dart] connection problem ?
>
> Java seems to be fine..Also result of ls attached.
>
>  >java -version
>
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) 
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
>
>  >ls MyServer
>
> Database
> DefaultServer.xml
> DefaultTemplates
> HTML
> LocalTemplates
> Plugins
> realm.properties
> ServerSchema.sql
> Server.xml
> Templates
> Temporary
>
> Hirohito
>
> Blezek, Daniel J (GE, Research) wrote:
>   
>> Hi Hirohito,
>>
>>   Can you verify that you have a version of Java >= 1.5 and that it 
>> is
>>     
>
>   
>> the Sun Java?  We've had some problems with other versions (notably 
>> GNU).  Also, have a peek in the MyServer directory, there should be a

>> few Database related files there, just to make sure things look ok.
>>
>> -dan
>>
>> -----Original Message-----
>> From: Hirohito Okuda [mailto:hirohito.okuda at yale.edu]
>> Sent: Wednesday, May 09, 2007 2:59 PM
>> To: Blezek, Daniel J (GE, Research)
>> Cc: dart at public.kitware.com
>> Subject: Re: [Dart] connection problem ?
>>
>> Hi Dan,
>>
>> I did not update Dart. MyServer and MyProject is exactly the same as 
>> before.
>>
>> The reason why I had to restart was, I updated the the virtual 
>> machine
>> (vmware)
>> on which the Dart server had been running.. I don't know this caused 
>> the problem.
>>
>> --Hirohito
>>
>> Appreciate for your quick response..
>>
>>
>> Blezek, Daniel J (GE, Research) wrote:
>>   
>>     
>>> Hi,
>>>
>>>   Hmmm, strange bug.  Did you update Dart?  Did you move your 
>>> MyServer
>>>     
>>>       
>>   
>>     
>>> and MyProject directories?  This must be done carefully, as the 
>>> configuration files have full path names.
>>>
>>> -dan
>>>
>>> -----Original Message-----
>>> From: dart-bounces+blezek=crd.ge.com at public.kitware.com
>>> [mailto:dart-bounces+blezek=crd.ge.com at public.kitware.com] On Behalf

>>> Of Hirohito Okuda
>>> Sent: Wednesday, May 09, 2007 2:11 PM
>>> To: Hirohito Okuda; dart at public.kitware.com
>>> Subject: [Dart] connection problem ?
>>>
>>> Hi, when I tried to restart the Dart server by
>>>
>>>  >java -jar DartServer.jar MyServer MyProject
>>>
>>> Dart gave me following errors. Does anybody have any idea ?
>>> I have been using Dart for a year so, and it had been working fine 
>>> so
>>>       
>
>   
>>> far.
>>>
>>> Thanks
>>>
>>> Here  is excerpt from output message.
>>>   
>>>     
>>>       
>>>> -------------------------------------------------------------------
>>>> -
>>>> -
>>>> -
>>>> --
>>>>
>>>> <09 May 2007 11:28:34,480> [main] INFO dart.server.Server 
>>>> 	Realm configuration file: 
>>>> /mnt/repositories/dart/Server/realm.properties
>>>> <09 May 2007 11:28:34,851> [main] WARN 
>>>> org.mortbay.http.JDBCUserRealm
>>>>       
>>>>         
>>   
>>     
>>>> 	UserRealm Dart could not connect to database; will try later SQL
>>>>     
>>>>       
>>>>         
>>>   
>>>     
>>>       
>>>> Exception: Failed to start database
>>>>     
>>>>       
>>>>         
>>> '/mnt/repositories/dart/Server/Database/Server', see the next 
>>> exception for details.
>>>   
>>>     
>>>       
>>>> 	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown
>>>>     
>>>>       
>>>>         
>>> Source)
>>>   
>>>     
>>>       
>>>> 	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown
>>>>     
>>>>       
>>>>         
>>> Source)
>>>   
>>>     
>>>       
>>>> 	at
>>>>     
>>>>       
>>>>         
>>> org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown
>>> Source)
>>>   
>>>     
>>>       
>>>> 	at
>>>>     
>>>>       
>>>>         
>>> org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown
>>> Source)
>>>   
>>>     
>>>       
>>>> 	at
>>>>     
>>>>       
>>>>         
>>> org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown
>>> Source)
>>>   
>>>     
>>>       
>>>> 	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown
>>>>     
>>>>       
>>>>         
>>> Source)
>>>   
>>>     
>>>       
>>>> 	at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown
>>>>     
>>>>       
>>>>         
>>> Source)
>>>   
>>>     
>>>       
>>>> 	at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown
>>>>     
>>>>       
>>>>         
>>> Source)
>>>   
>>>     
>>>       
>>>> 	at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
>>>> 	at java.sql.DriverManager.getConnection(Unknown Source)
>>>> 	at java.sql.DriverManager.getConnection(Unknown Source)
>>>> 	at
>>>>     
>>>>       
>>>>         
>>> org.mortbay.http.JDBCUserRealm.connectDatabase(JDBCUserRealm.java:17
>>> 4
>>> )
>>>   
>>>     
>>>       
>>>> 	at dart.server.Server.start(Server.java:293)
>>>> 	at dart.server.Server.start(Server.java:228)
>>>> 	at dart.DartServer.main(DartServer.java:159)
>>>> <09 May 2007 11:28:34,855> [main] DEBUG dart.server.ServletManager
>>>>   
>>>>     
>>>>       
>>>>         
>>> _______________________________________________
>>> Dart mailing list
>>> Dart at public.kitware.com
>>> http://public.kitware.com/mailman/listinfo/dart
>>>
>>>
>>>   
>>>     
>>>       
>>   
>>     
>
>
>   


More information about the Dart mailing list