|
From: Leif M. <le...@ta...> - 2008-08-09 09:03:38
|
Michael, In the example you gave in your email, you are not using the JAVA_HOME environment variable. Rather, you are specifying a static path to the Java binary: wrapper.java.command=D:/Programme/Java/jdk1.6.0_02/bin/java This should be working the same whether you run as a console or service app. To help debug the problem, try setting the following property and running both as a service and a console. wrapper.java.command.loglevel=INFO This will show the full generated java command line in each case. Please post back with the results of each run. Cheers, Leif On Thu, Aug 7, 2008 at 3:39 PM, <mic...@mv...> wrote: > > Hello, > > I couldn´t find any information on google, so i hope i will get them here. > The Problem is i want to run an applikation via wrapper as a windows > service. > > I had to configure the JAVA_HOME path manually with > > wrapper.java.command=D:/Programme/Java/jdk1.6.0_02/bin/java > > When i now going to run the applikation with wrapper as a console with > > wrapper.exe -c wrapper.conf > > the application works fine > > But when i want to start the applikation in serivce modus, i get the problem > that my applikation is using the JAVA_HOME which is set as a enviroment > variable instead my manual added version. (which i can´t change ! It has to > be the manuell !!) > > So it seems that Wrapper sets the JAVA_HOME path while running as console > applikation but not when running as a service. > > Has anyone an idea or an tip how to fix that problem ?... > > Greetings Michael > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |