I think in 3.0 the method is: org.jboss.Shutdown, and it is found in its own JAR file called Shutdown.jar in the /bin directory.
Use Alexandria. I am using it with great success in both 2.4.6 and 3.0.0. I think JNT might be a dead project.
thankx for giving reply.i have downloaded alexandria tool
service was created but internal windows erroris coming.i used the following command line
JavaService.exe -install "My Service" D:\jdk1.3\jre\bin\classic -Djava.class.path=d:\JBoss-2.2.2_Tomcat3.2.2\jboss\bin\run.jar;d:\JBoss-2.2.2_Tomcat3.2.2\jboss\lib\crimson.jar -start org.jboss.Main -params tomcat -err d:\cdcopy\stderr.txt
The error was"could not start myservice.service didnt return any error.contact system administration"
i would be glad if u send me the coded registry setting.
u said it working fine on ur system i am unable to run Jboss as a servie please help me out i need to do it at any cost.do me a favour by mailing all the details to email@example.com
In the alexandria documentation they use the jvm.dll located in jre/bin/classic dir, my problem was that the server was not running correctly even if the shutdown was nice.
However if I changed to jre/bin/hotspot/jvm.dll then the server was running fine and the shutdown is nice and gracefull.
JNT shutdown method doesn't work as far as I can see.
I finally used alexandria and it is perfect ( after trying 5 differents services).
Change your JavaService command line as to the following
Thanks for sending the modified command line.but it was throwing the same internal window error wheni try to run the service.systemExit exists in org.jboss.main or we have to write the method.can u check in ur system the same command line.i am unable to run jboss as a service sill
JavaService.exe -install "MyJbossService" D:\jdk1.3\jre\bin\hotspot\jvm.dll -Djava.class.path=d:\JBoss-2.2.2_Tomcat3.2.2\jboss\bin\run.jar;d:\JBoss-2.2.2_Tomcat3.2.2\jboss\lib\crimson.jar -start org.jboss.Main -method main -params tomcat -stop org.jboss.Main -method systemExit -err d:\cdcopy\stderr.txt -current d:\JBoss-2.2.2_Tomcat3.2.2
I have the run the following command on dos prompt service is created but i am unable to run the service
as it throws some internal window error.i am unable to start the service.u said its working fine on ur system.
can u please guide me the whole procedure and canu send me the run.jar as an attachment with shutdown method.
do help me i have to do it is it possible for u to send the entire procedure to firstname.lastname@example.org