Steffen Winkler wrote: > Hallo, > > a colleague sometimes could not connect to Derby on his > laptop. Connect was possible after restart of his laptop. The log-File > is written down below. We use derby 10.2.1.6 started as a service by > JavaServiceLauncher (jslwin.sourceforge.net/) on Win XP. Any Idea? > > Here is the Log: > > Version: V0.9, Datum/Zeit: 28.11.2006 08:51:16 DanProDerbyController.start > Der Server ist bereit, am Port 1527 Verbindungen zu akzeptieren. > > --> Server is started > > ***** Start Application: DanPro.jar, Version, time: V0.9, 28.11.2006 > 15:49:28, Java-Version: 1.5.0_07, Betriebssystem: Windows XP > > --> Application is started > > Verbindung AUFgebaut: 28.11.2006 15:51:56, User: ADMIN, URL: > jdbc:derby://DANXPU83:1527/C:/Programme/DANDerby/danproDB, > Java-Version: 1.5.0_07, Betriebssystem: Windows XP, Connection: > org.apache.derby.client.net.NetConnection@1712193 > > > --> Connection OK > > Verbindung ABgebaut: 28.11.2006 15:54:05, User: ADMIN, URL: > jdbc:derby://DANXPU83:1527/C:/Programme/DANDerby/danproDB > > --> Disconnect > > ***** Stop Application: Version, time: V0.9, 28.11.2006 15:54:05 > > --> Application is stopped, everything OK > > ***** Start Application: DanPro.jar, Version, time: V0.9, 28.11.2006 > 16:10:02, Java-Version: 1.5.0_07, Betriebssystem: Windows XP > > --> Application is restarted > > Die Verbindung mit der Datenbank > jdbc:derby://DANXPU83:1527/C:/Programme/DANDerby/danproDB ist nicht > möglich. > Version: V0.9, Datum/Zeit: 28.11.2006 16:10:13 > > java.net.ConnectException : Error connecting to server DANXPU83 on > port 1527 with message Connection refused: connect. > > --> Connect not possible > > ***** Stop Application: Version, time: V0.9, 28.11.2006 16:10:28 > > --> Application is stopped > > Version: V0.9, Datum/Zeit: 28.11.2006 16:11:47 > DanProDerbyController.shutdown start > Erfolgreich heruntergefahren. > Erfolgreich heruntergefahren. > Version: V0.9, Datum/Zeit: 28.11.2006 16:11:51 > DanProDerbyController.shutdown erfolgreich beendet. > > --> Server is stopped because of computer shutdown > > Mit freundlichen Grüßen > > i.A. Dr. Steffen Winkler > -------------------------------------------- > DAN Produkte > Pflegedokumentation GmbH > Birlenbacher Str. 48 > 57078 Siegen > Fon: 0271-880980 > Fax: 0271-8809898 > mailto:steffen.winkler@danprodukte.de > http://www.danprodukte.de > > Hi - The most common cause of a 1527 failure message is that the Network Server is not running. Check to be sure that the application does not shutdown the Network Server when it shutsdown. HTH