Strange Error in my App
Strange Error in my App
- Subject: Strange Error in my App
- From: "Daniele Corti" <email@hidden>
- Date: Fri, 21 Dec 2007 13:13:07 +0100
Hi list,
I've notice that my new App makes a strange error while starting from Eclipse:
[2007-12-21 13:04:14 CET] <main> java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect
(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java
:158)
at java.net.Socket.connect(Socket.java:464)
at java.net.Socket.connect(Socket.java:414)
at java.net.Socket.<init>(Socket.java:310)
at java.net.Socket.<init>(Socket.java:125)
at com.webobjects._ideservices._PBXProjectWatcher._sendXMLToPB(_PBXProjectWatcher.java:238)
at com.webobjects._ideservices._PBXProjectWatcher.openProjectsAppropriateForFile(_PBXProjectWatcher.java:41)
at
com.webobjects._ideservices._IDEProjectPBX.pbxProjectAtPath(_IDEProjectPBX.java:175)
at com.webobjects._ideservices._WOProject.ideProjectAtPath(_WOProject.java:58)
at com.webobjects.appserver._private.WOProjectBundle._isProjectBundlePath
(WOProjectBundle.java:193)
at com.webobjects.appserver._private.WODeployedBundle.bundleWithNSBundle(WODeployedBundle.java:714)
at com.webobjects.appserver._private.WODeployedBundle.deployedBundle(WODeployedBundle.java
:98)
at com.webobjects.appserver.WOResourceManager._initAppBundle(WOResourceManager.java:87)
at com.webobjects.appserver.WOResourceManager.<init>(WOResourceManager.java:34)
at er.extensions.ERXResourceManager
.<init>(ERXResourceManager.java:31)
at er.extensions.ERXApplication.createResourceManager(ERXApplication.java:464)
at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:608)
at
er.extensions.ERXAjaxApplication.<init>(ERXAjaxApplication.java:24)
at er.extensions.ERXApplication.<init>(ERXApplication.java:471)
at supportv2.gestweb.app.Application.<init>(Application.java
:13)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java
:261)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:323)
at er.extensions.ERXApplication.main(ERXApplication.java:334)
at supportv2.gestweb.app.Application.main(Application.java:10)
This error occurs before the app read the Properties, exactly before this:
dic 21 13:04:15 GWSupportV2[54401] (ERXNSLogLog4jBridge.java:44) DEBUG NSLog - *** The application has found the following opened, development-mode ProjectBuilderWO projects: (<
com.webobjects.appserver._private.WOProjectBundle: projectName='GWSupportV2'; bundlePath='/Users/daniele/Progetti/Eclipse/GWSupportV2/build/GWSupportV2.woa'; projectPath='/Users/daniele/Progetti/Eclipse/GWSupportV2'>)
dic 21 13:04:15 GWSupportV2[54401] (ERXNSLogLog4jBridge.java:41) WARN NSLog - Application project found: Will locate resources in '/Users/daniele/Progetti/Eclipse/GWSupportV2' rather than '/Users/daniele/Progetti/Eclipse/GWSupportV2/build/GWSupportV2.woa' .
dic 21 13:04:15 GWSupportV2[54401] (ERXNSLogLog4jBridge.java:41) WARN NSLog - Application project found: Will locate resources in '/Users/daniele/Progetti/Eclipse/GWSupportV2' rather than '/Users/daniele/Progetti/Eclipse/GWSupportV2/build/GWSupportV2.woa' .
dic 21 13:04:15 GWSupportV2[54401] (ERXNSLogLog4jBridge.java:44) DEBUG NSLog - Creating LifebeatThread now with: GWSupportV2 54401 imac-g5-di-samuele-vinati.local/10.0.0.148 1085 30000
dic 21 13:04:16 GWSupportV2[54401] (
ERXProperties.java:836) INFO er.extensions.ERXProperties -
...
The app works normal, even after some minutes this error is throw:
dic 21 13:07:20 GWSupportV2[54401] (ERXNSLogLog4jBridge.java:44) DEBUG NSLog - <WOWorkerThread id=0 socket=Socket[addr=/10.0.0.148,port=54404,localport=54401]> Timed-out reading from socket (exception ignored):
java.net.SocketTimeoutException: Read timed out; dropping connection
[2007-12-21 13:07:20 CET] <WorkerThread0> java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.webobjects.appserver._private.WOHttpIO.refillInputBuffer(WOHttpIO.java:131)
at com.webobjects.appserver._private.WOHttpIO.readLine
(WOHttpIO.java:181)
at com.webobjects.appserver._private.WOHttpIO.readRequestFromSocket(WOHttpIO.java:242)
at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:79)
at com.webobjects.appserver._private.WOWorkerThread.run
(WOWorkerThread.java:254)
at java.lang.Thread.run(Thread.java:552)
dic 21 13:07:21 GWSupportV2[54401] (ERXNSLogLog4jBridge.java:44) DEBUG NSLog - <WOWorkerThread id=1 socket=Socket[addr=/10.0.0.148,port=54405,localport=54401]> Timed-out reading from socket (exception ignored):
java.net.SocketTimeoutException: Read timed out; dropping connection
[2007-12-21 13:07:20 CET] <WorkerThread1> java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.webobjects.appserver._private.WOHttpIO.refillInputBuffer(WOHttpIO.java:131)
at com.webobjects.appserver._private.WOHttpIO.readLine
(WOHttpIO.java:181)
at com.webobjects.appserver._private.WOHttpIO.readRequestFromSocket(WOHttpIO.java:242)
at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:79)
at com.webobjects.appserver._private.WOWorkerThread.run
(WOWorkerThread.java:254)
at java.lang.Thread.run(Thread.java:552)
This occurs for every page I open after 3 minutes.
Anyone know what can cause this??
--
Daniele Corti
AIM: S0CR4TE5
Messenger:
email@hidden--
Computers are like air conditioners -- they stop working properly if you open
WINDOWS
--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden