|
From: Stefan M. <ste...@ea...> - 2003-10-17 09:49:12
|
OK
Have killed off previous log files
Attached log file shows o/p from running InstallApp-NT.bat
Win2K Services
myService - set Log On As local admin
myService start
No additional entries in log file ?????
*******************Relevant contents of =
InstallApp-NT.bat*******************
rem
rem Run the application.
rem At runtime, the current directory will be that of Wrapper.exe
rem
:startup
"C:\wrapper_win32_3.0.5\bin\Wrapper.exe" -i
h:\com\eaac\HRWrapper\wrapper.conf
if not errorlevel 1 goto end
pause
*******************Relevant contents of =
InstallApp-NT.bat*******************
Regards
Stefan Maric
European Aviation Air Charter
01202 581111 x184
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...] On Behalf Of Leif
Mortenson
Sent: 2003-Oct-17 09:58
To: wra...@li...
Subject: Re: [Wrapper-user] Win 2000 Service problem
Stefan,
You sent me lots of info, but skipped the one key piece that I need=20
to respond, the
log output of the run when you attempt to start the application as a=20
service. Also. When
sending in log files, please do not trim them down. I know the idea is=20
to reduce the size of
the emails, but you removed a lot of the information that I wanted to=20
see. :-)
>If the InstallApp-NT.bat cannot use standard batch file commands for
setting
>up Env variables - Can you correct the example bat files=20
> =20
>
The environment variables declared in the scripts are only really meant=20
to be used
from within the batch files, not for references in the wrapper.conf=20
file. So they are
correct in that sense.
Looking at your wrapper.conf file, I have one idea for what the problem=20
may be.
(It would be answered quickly by seeing the debug log output when you=20
attempt to
launch the Wrapper as a service.)
You have a few references to the WRAPPERDIR environment variable in your =
conf
file. If you have not set this as a system level environment variable=20
or specified it on
the command line when the wrapper was installed as a service this will=20
not work:
wrapper.exe -i ../conf/wrapper.conf set.WRAPPERDIR=3DC:\MyApp
>wrapper.java.classpath.2=3D%WRAPPERDIR%/lib/wrapper.jar
>
>wrapper.java.library.path.1=3D%WRAPPERDIR%/lib
> =20
>
You might want to consider just using a relative path as follows:
wrapper.java.classpath.2=3D../lib/wrapper.jar
wrapper.java.library.path.1=3D../lib
Same goes for the following log location. If that file can not be=20
accessed for any
reason then the wrapper will open a file called wrapper.log in the=20
windows system
directory. That may be why you have not found the file this far.
>wrapper.logfile=3D%WKDIR%logs/HRScannerService.log
> =20
>
This could also be
wrapper.logfile=3D../logs/HRScannerService.log
Cheers,
Leif
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|