|
From: Leif M. <le...@ta...> - 2004-04-28 07:25:50
|
Christophe,
The problem is that when running as a service, the Wrapper runs as
the SYSTEM
user unless configured to do otherwise. Most likely you have configured the
JAVA_HOME environment for your user rather than as a system wide
variable, so
when running as a service, it is undefined.
Cheers,
Leif
Christophe DONTAINE wrote:
>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
>
>
>
|