|
From: David H. <da...@sm...> - 2006-07-06 16:23:38
|
Does your app run as the same user that the console does? If not, try a test to see if setting the user to be the same one you run the app as a console as, and see if it still exhibits the 99% usage. If not, then the issue is likely to be permissions of a user, and what they can/cannot get access to (folders, ports etc.). That's one thing to try. _____ From: wra...@li... [mailto:wra...@li...] On Behalf Of Scott Myers Sent: 06 July 2006 12:04 To: wra...@li... Subject: [Wrapper-user] Java app takes 99% CPU (Solaris) when run as daemon I have a java application that I am testing with the wrapper. It works great so far under Windows and also under Solaris when run using the java -jar command and when run under the wrapper in console mode. For some reason, when I run it on Solaris (SunOS 5.9) under the wrapper as a daemon (start rather than console), the application consumes all available CPU. prstat shows the application percentage rapidly climbing to 99% and staying there. Does anyone have any ideas why the application would use 0.1% of the CPU on a Solaris system in console mode but 99% when run as a daemon (started)? Scott Myers sc...@so... (408) 973-8374 www.softwareassist.net <http://www.softwareassist.net/> |