Re: Why would native code in a java process fail - but only if started by wotaskd?
Re: Why would native code in a java process fail - but only if started by wotaskd?
- Subject: Re: Why would native code in a java process fail - but only if started by wotaskd?
- From: Q <email@hidden>
- Date: Sat, 22 Aug 2009 11:17:47 +1000
On 21/08/2009, at 1:40 AM, Hugi Thordarson wrote:
OK, a little brain teaser.
I have a WO server - a G4 Mac Mini running current Leopard/Java 5,
WO 5.4, PWO nightly etc. - all in all, a pretty up to date
environment.
If I restart this WO server, all applications will run fine
immediately afterwards. However, if I stop/start an application in
JavaMonitor, code that calls native code stops functioning. DNS-
lookups, some AWT-stuff, some functionality that uses javax.crypto -
all will fail with various exceptions. The only common denominator
I've found is that failure happens when the app attempts to run
native code.
But. If I run the application from the CLI, everything functions as
expected.
In both cases, applications are running as "root" so permission
problems seem implausible.
This one's got me stumped, so - any ideas?
Sound's like an environment issue, but the fact that it only happens
after wotaskd relaunches the app is troubling.
Exactly what exceptions are you seeing?
Cheers,
- Hugi
// Hugi Thordarson
// http://hugi.karlmenn.is/
_______________________________________________
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
--
Seeya...Q
Quinton Dolan - email@hidden
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806
_______________________________________________
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