Re: Can't run wo apps through JavaMonitor on dev machine
Re: Can't run wo apps through JavaMonitor on dev machine
- Subject: Re: Can't run wo apps through JavaMonitor on dev machine
- From: John Huss <email@hidden>
- Date: Mon, 26 Oct 2009 15:42:53 -0500
Hmm. I replaced JavaMonitor and wotaskd with the Wonder versions and now it is working.
John
On Mon, Oct 26, 2009 at 3:21 PM, John Huss
<email@hidden> wrote:
I created a new WOnderApplication and installed it and ran it in JavaMonitor. I get this in my SpawnOfWotaskd.log:
Oct 26 15:07:19 TryApp[N/A] WARN NSLog - Unable to establish a connection to port 2006 on this host. Perhaps this port is already in use by another WebObjects application instance.
This is the only thing using this port (and changing the port gives the same results). I upgraded to Snow Leopard, so that may be a factor. Running apps in web mode through eclipse works, just not through JavaMonitor (or the command line).
Running jstack on the app shows this:
"WorkerThread1" prio=5 tid=0x0000000114cf9000 nid=0x113d98000 waiting for monitor entry [0x0000000113d97000]
java.lang.Thread.State: BLOCKED (on object monitor)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:388)
- waiting to lock <0x0000000106d2b470> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:210)
at java.lang.Thread.run(Thread.java:637)
"WorkerThread0" prio=5 tid=0x0000000112078000 nid=0x1139ad000 runnable [0x00000001139ac000]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
- locked <0x0000000106d2b470> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:210)
at java.lang.Thread.run(Thread.java:637)
"main" prio=5 tid=0x0000000102000800 nid=0x101301000 in Object.wait() [0x00000001012ff000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000001066f1c30> (a com.webobjects.appserver._WORunLoop)
at com.webobjects.appserver._WORunLoop._acceptInputBeforeDate(_WORunLoop.java:244)
at com.webobjects.appserver._WORunLoop.runBeforeDate(_WORunLoop.java:95)
- locked <0x00000001066f1c30> (a com.webobjects.appserver._WORunLoop)
at com.webobjects.appserver.WOApplication._runOnce(WOApplication.java:1095)
at com.webobjects.appserver.WOApplication.run(WOApplication.java:1248)
at er.extensions.appserver.ERXApplication.run(ERXApplication.java:1057)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:548)
at er.extensions.appserver.ERXApplication.main(ERXApplication.java:592)
at net.stylewaretouch.Application.main(Application.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:87)
Any suggestions?
Thanks,
John
_______________________________________________
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