|
From: Andreas W. <and...@em...> - 2004-04-28 07:28:09
|
Christophe, the environment variable JAVA_HOME is most likely not registered for the user your service runs with (LocalSystem by default), which is not the user you use in console mode (interactive user). And due to my experience, it is always better to use environment variables in the conf file than hardcoded paths (esp. when using the wrapper to run applications on multiple platforrms). Cheers, Andreas > > Hi, > > I have not found something related to my problem (not > the good keywords maybe) with google so I try here. > > I'm playing with wrapper 3.1.0 under Windows XP to try > to have JBoss 3.2.3 as a service. > > After a configuration mixed from jboss.org and wrapper > examples, my jboss environment is running in the > wrapper console mode without problems. > > when I try to start it as a service (install OK) I > have this message: > FATAL | wrapper | 2004/04/27 18:57:08 | Unable to > execute Java command. The system cannot find the file > specified. (0x2) > > "%JAVA_HOME%\bin\java" > -Djava.library.path="%JBOSS_HOME%/lib;c:/windows/system32" > <snipped> > > Q: is normal to have %JAVA_HOME% and %JBOSS_HOME% in > the line and not c:\j2sdk1.4.2_04\ , ...? > > (the %JAVA_HOME% and %JBOSS_HOME% are registred > because the wrapper console mode is launched with the > same terminal and it works) > > thanks for your time, > > Christophe. > > > > > __________________________________ > Do you Yahoo!? > Win a $20,000 Career Makeover at Yahoo! HotJobs > http://hotjobs.sweepstakes.yahoo.com/careermakeover > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user |