Re: Weird JavaMonitor wotaskd behavior on Snow Leopard
Re: Weird JavaMonitor wotaskd behavior on Snow Leopard
- Subject: Re: Weird JavaMonitor wotaskd behavior on Snow Leopard
- From: Mark Ritchie <email@hidden>
- Date: Wed, 28 Jul 2010 18:34:13 -0700
Hey!
On 28/Jul/2010, at 6:14 PM, Tusker wrote:
> WARN NSLog - Unable to establish a connection to port 2001 on this host. Perhaps this port is already in use by another WebObjects application instance.
> Jul 28 18:04:59 testpp[N/A] (ERXNSLogLog4jBridge.java:43) WARN NSLog - <WOApplication>: Cannot be initialized.java.lang.reflect.InvocationTargetException
> Jul 28 18:04:59 testpp[N/A] (ERXNSLogLog4jBridge.java:43) WARN NSLog - A fatal exception occurred: <WOApplication>: Cannot be initialized.
> [2010-7-28 18:4:59 PDT] <main> com.webobjects.foundation.NSForwardException
Hrm, which log is the above message from?
> I looked at the SpawnofWotaskd.log further:
> Something even more weird further up in the logs
> Jul 28 18:04:59 N/A[N/A] (ERXNSLogLog4jBridge.java:43) WARN NSLog - WOApplication Error: Failed to rename previously existing WOOutputPath file: /Library/WebObjects/Logs/testpp-1
That looks like a permissions problem on /Library/WebObjects/Logs
What do these commands return?
ls -lard /Library/WebObjects/Logs
ls -lard /Library/WebObjects/Logs/testpp-1
> .....
> Jul 28 18:04:59 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOAdaptorURL=http://localhost/cgi-bin/WebObjects
> ....
> Jul 28 18:04:59 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - com.webobjects.pid = 3140
>
> I set the HTTP Adaptor to my other server in JavaMonitor, not localhost. Is WOAdaptorURL set correctly above.
>
> The pid that I see in the activity monitor that starts is not 3140, it's 3120?
Let's get the above error resolved first.
However I agree, it's weird that the pid's don't line up!
M.
_______________________________________________
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