|
From: Christian <chr...@ta...> - 2010-09-29 08:39:43
|
mark,
I'm sorry for the delay.
I was compiling your test application and trying to run it on my x86
windows xp machine.
I did a few changes to the conf file, but this shouldn't affect the
test.
I actually had no problems running your application with the wrapper
even as service.
the output of sc query MarkTestWrapperApp you posted doesn't indicate
any problem.
Is something outputted in the logs when you try running the wrapper with
your application as service?
also what windows version are you using?
Cheers,
christian
-----Original Message-----
From: GLOVER, MARK CSC <MAR...@UT...>
Reply-to: wra...@li...
To: wra...@li...
Subject: [Wrapper-user] Wrapper service failing immediately
Date: Mon, 27 Sep 2010 13:26:51 -0400
What might cause a wrapper to exit before trying to start?
Running from console doesn't seem to indicate error.
C:\Documents and Settings\gloverm\src\java\wrapper-windows
\MarkTestWrapperApp\bin>wrapper.exe -c ..\conf\MarkTestWrapperApp.conf
n See wrapper.log for results.
The service is not waiting 30000 milliseconds for a process to start.
The service failing immediately.
M/S documentation suggests error code WIN32_EXIT_CODE : 0 (0x0) is
caused by a bug before the process is starting.
C:\Documents and Settings\gloverm\src\java\wrapper-windows
\MarkTestWrapperApp\bin>InstallMarkTestWrapperApp-NT.bat
wrapper | Service command: "C:\Documents and Settings\gloverm\src\java
\wrapper-windows\MarkTestWrapperApp\bin\wrapper.exe" -s "C:\Documents
and Settings\gloverm\src\java\wrapper-windows\MarkTestWrapperApp\conf
\wrapper.conf"
wrapper | MarkTestWrapperApp service installed.
C:\Documents and Settings\gloverm\src\java\wrapper-windows
\MarkTestWrapperApp\bin>wrapper.exe -t ..\conf\MarkTestWrapperApp.conf
wrapper | Starting the MarkTestWrapperApp service...
wrapper | Unable to start the MarkTestWrapperApp service - The service
did not respond to the start or control request in a timely fashion.
(0x41d)
C:\Documents and Settings\gloverm\src\java\wrapper-windows
\MarkTestWrapperApp\bin>sc query MarkTestWrapperApp
SERVICE_NAME: MarkTestWrapperApp
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
(NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
Mark Glover
UTC Power
195 Governors Highway
South Windsor CT 06074
860 727 2253
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user
|