Kevin,
The plain-jane nt service wrapper I sent as the attachment
was written for our use here at the CDC and is rigged to
try a graceful shutdown of the java service by way of a
tcp/ip port signal.
I apologize to everyone for not actually playing w/ jBoss
in the past year, but I haven't, and I don't know how
it's rigged to do a graceful shutdown (and not just
a slam-door-closed-ctrl-break-stop-mid-stream-stuff).
The properties file spec's a tcp/ip port to connect to
for the shutdown. Check doc and/or email list archives
for info on the magic shutdown/stop port for jBoss.
Heitzso
-----Original Message-----
From: Kevin Meldorf (NBK) [mailto:[EMAIL PROTECTED]]
Hey we're getting closer! I have the service up, but it fails when I try to
shut it down through the services panel. Here's the log output:
Jboss_Tomcat init.c: GetProperties(): debug enabled
Jboss_Tomcat init.c: GetProperties(): jvm.path:
Jboss_Tomcat c:\jdk1.3\jre\bin\hotspot\jvm.dll
Jboss_Tomcat java.c: ServiceStart(): jvmpath picked up from properties
Jboss_Tomcat java.c: ServiceStart(): jvmpath:
Jboss_Tomcat c:\jdk1.3\jre\bin\hotspot\jvm.dll
Jboss_Tomcat java.c: ServiceStop(): connect() failed
Here's my properties file -- what am I missing? I am trying
this on Windows 2000 with service pack 1.
application.parameters=
jvm.parameters=-Djava.class.path=c:\jboss-tomcat-2.1-beta\jboss-2.1\bin\run.
jar
jvm.path=c:\jdk1.3\jre\bin\hotspot\jvm.dll
current.directory=c:\jboss-tomcat-2.1-beta\jboss-2.1\bin
localhost.address=10.11.49.109
mainclass=org/jboss/Main
service.display.name=Jboss_Tomcat
service.name=Jboss_Tomcat
stop.port=1984
debug=yes
log.path=c:\jboss-tomcat-2.1-beta\jboss-2.1\bin\javants.log
Thanks,
Kevin
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user