|
From: Leif M. <le...@ta...> - 2009-08-20 14:31:33
|
Jason, I will test this ou later tonight. In the mean time, could you please set the following property and then show me the resulting log for both the sudo and non-sudo cases? wrapper.java.command.loglevel=INFO Thanks, - Leif On 2009/08/20, at 21:36, Jas...@sc... wrote: > > Hi, > > I've used the wrapper successfully for ages, but have recently run > into a problem on Linux 64 and OS X 64 (may not be specific to those > platforms though). > > I need to launch sudo'd, but on Cent OS 5 the JVM was exiting > instantly. Bizarrely, removing the sudo meant it booted correctly. > > I downloaded 3.3.5 but that didn't help. Finally, I used your > testwrapper script and found it exhibits the same problem: > > [jchown@centos5 wrapper-linux-x86-64-3.3.5]$ sudo bin/testwrapper > console > Running Test Wrapper Sample Application... > wrapper | --> Wrapper Started as Console > wrapper | Java Service Wrapper Community Edition 64-bit 3.3.5 > wrapper | Copyright (C) 1999-2009 Tanuki Software, Ltd. All > Rights Reserved. > wrapper | http://wrapper.tanukisoftware.org > wrapper | > wrapper | Launching a JVM... > wrapper | JVM process is gone. > wrapper | Unable to start JVM: Permission denied (13) > wrapper | > wrapper | > --- > --------------------------------------------------------------------- > wrapper | Advice: > wrapper | Usually when the Wrapper fails to start the JVM process, > it is because > wrapper | of a problem with the value of the configured hava > command. Currently: > wrapper | wrapper.java.command=java > wrapper | Please make sure that the PATH or any other referenced > environment > wrapper | variables are correctly defined for the current > environment. > wrapper | > --- > --------------------------------------------------------------------- > wrapper | > wrapper | <-- Wrapper Stopped > > 'sudo java -version' runs fine. > 'bin/testwrapper console' runs fine. > > Anyone have an idea what's up? > > > Jason Chown > Sony Computer Entertainment Europe Limited > http://eu.playstation.com > > > ********************************************************************** > > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please > notify pos...@sc... > > This footnote also confirms that this email message has been checked > for all known viruses. > > Sony Computer Entertainment Europe Limited > > Registered Office: 10 Great Marlborough Street, London W1F 7LP, > United Kingdom > > Registered in England: 3277793 > > ********************************************************************* |