commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "thiago andrade" <thia...@gmail.com>
Subject daemon apache
Date Tue, 08 Sep 2009 12:51:18 GMT
[2009-09-04 14:14:57] [info] Starting service...

[2009-09-04 14:14:57] [399  javajni.c] [debug] Jvm Option[0]
-Djava.class.path=C:\Program
Files\Java\jdk1.6.0_07\lib\tools.jar;F:\workspace\DaemonApp\bin;F:\facilit-t
omcat-5.5\communis-r699-pcontrole\bin\bootstrap.jar

[2009-09-04 14:14:57] [399  javajni.c] [debug] Jvm Option[1] vfprintf

[2009-09-04 14:14:57] [485  javajni.c] [debug] argv[0] = start

[2009-09-04 14:14:57] [522  javajni.c] [debug] Java Worker thread finished

[2009-09-04 14:14:58] [945  prunsrv.c] [debug] Java started
com/thiagoh/Starter

[2009-09-04 14:14:58] [info] Service started in 1048 ms.

[2009-09-04 14:14:58] [1169 prunsrv.c] [debug] Waitning worker to finish...

[2009-09-04 14:14:58] [1174 prunsrv.c] [debug] Worker finished.

[2009-09-04 14:14:58] [info] Run service finished.

[2009-09-04 14:14:58] [info] Procrun finished.

 

 

my application starts, run but it dies quickly for some reason i dont know..


 

this is my service creator bat

 

 

set APP_HOME=F:\workspace\DaemonApp

set MAINCLASS=com.thiagoh.Starter

set ACTION=start

 

set service_name=test2

 

set
sCP=--Classpath="%JAVA_HOME%\lib\tools.jar";"%APP_HOME%\bin";"%CATALINA_HOME
%\bin\bootstrap.jar"

 

prunsrv //IS//%service_name% --Install="F:\prunsrv" --Jvm=auto
--StartMode=jvm %sCP% --StartClass=%MAINCLASS% --StartParams=%ACTION%

 

please help me!


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message