EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   ProfitUI (https://www.eq2interface.com/forums/forumdisplay.php?f=41)
-   -   Java Error when Launching Updater (https://www.eq2interface.com/forums/showthread.php?t=12640)

Nelenarap 12-31-2009 11:22 PM

Quote:

Originally Posted by Kaldran (Post 87539)
javaw.exe is just the normal java webstart application.
If the updater crashes - e.g. because of a missing network connection or something - it may happen that there is no application window anymore but the updater keeps running in the background. If you now start the updater a second time, it cannot open the database (because it is still opened by the first crashed process) and it throws that exception about it. Solution is to kill the process locking the database by killing it or rebooting.
Actually it should shut down cleanly on every exception. I'll have to look why it does not when I have some spare time.

Thanks for the explanation.

The basic concept I understand. Program connects to the database. Program crashes. Connection persists preventing restarted program to connect.

Skwor 01-05-2010 02:44 PM

Any more ideas? I tried deleting Profit updater but it fails uninstall, I tried deleteing javaw rebooting but get the same error, i tried updating java and rebooting and still no go. her eis what I get

Exception thrown while getting variants

java.net.ConnectException: Connection refused: connect
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.http://www.protocol.http.HttpURLConn...eption(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...Stream(Unknown Source)
at de.pala.updater.IO.Remote.getVariants(Remote.java:54)
at de.pala.updater.Arrange.IO.getVariants(IO.java:1104)
at de.pala.updater.Arrange.IO.<init>(IO.java:43)
at de.pala.updater.Management.<init>(Management.java:28)
at de.pala.updater.GUI.Main.<init>(Main.java:131)
at de.pala.updater.profitui.Startup$1.run(Startup.java:56)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...Client(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...onnect(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...onnect(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...Stream(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...rField(Unknown Source)
at java.net.URLConnection.getContentEncoding(Unknown Source)
at de.pala.updater.IO.Remote.getVariants(Remote.java:47)
... 13 more

I would appreciate any recommendations

Skwor 01-08-2010 03:52 PM

Maybe second time is the charm. I still can't get the updater to connect, can not even access the web site

any idea why I would get this reply back when I try to run it?

java.net.ConnectException: Connection refused: connectat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.http://www.protocol.http.HttpURLConn...eption(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...Stream(Unknown Source)
at de.pala.updater.IO.Remote.getVariants(Remote.java:54)
at de.pala.updater.Arrange.IO.getVariants(IO.java:1104)
at de.pala.updater.Arrange.IO.<init>(IO.java:43)
at de.pala.updater.Management.<init>(Management.java:28)
at de.pala.updater.GUI.Main.<init>(Main.java:131)
at de.pala.updater.profitui.Startup$1.run(Startup.java:56)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...Client(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...onnect(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...onnect(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...Stream(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...rField(Unknown Source)
at java.net.URLConnection.getContentEncoding(Unknown Source)
at de.pala.updater.IO.Remote.getVariants(Remote.java:47)


All times are GMT -5. The time now is 05:08 PM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI