-
1. Re: JBoss as NT service
alanmoor Apr 14, 2003 3:47 PM (in response to gajos)Any chance I could get your Alexandria install script for W2K? I know I will be flamed for not knowing the startup and stop methods in JBoss or the specific JVM parameters necessary. But I'd rather not have to re-invent the wheel.
-
2. Re: JBoss as NT service
alanmoor Apr 14, 2003 4:56 PM (in response to gajos)For the record, the install command I am attempting is:
c:\jboss-3.2.0\bin\JBoss-Service.exe -install JBoss-Service C:\j2sdk1.4.0_01\jre\bin\server\jvm.dll -Djboss.class.path=;C:\j2sdk1.4.0_01\lib\tools.jar;C:\jboss-3.2.0\bin\\run.jar -Djboss.home=C:\jboss-3.2.0 -Djava.class.path=;C:\j2sdk1.4.0_01\lib\tools.jar;C:\jboss-3.2.0\bin\run.jar;C:\jboss-3.2.0\bin\shutdown.jar -Djava.home=C:\j2sdk1.4.0_01 -start org.jboss.Main -stop org.jboss.Shutdown -out C:\jboss-3.2.0\logs\stdout.log -err C:\jboss-3.2.0\logs\stderr.log -current c:\jboss-3.2.0\bin -
3. Re: JBoss as NT service
andygallo.cti Apr 15, 2003 4:44 PM (in response to gajos)I'm using the JavaService app as well, trying to install on NT 4.0. I am using the syntax described in the JBoss Quick Start manual (v.2003-03-01). I can successfully install the service (shows up in the NT Services), but on start, the service throws a Dr. Watson.
I am using JDK 1.4 and JBoss 3.2.0 w/ embedded Tomcat. This is my install script:
JBossService -install JBoss %JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path=%JAVA_HOME%\lib\tools.jar;%JBOSS_HOME%\bin\run.jar -start org.jboss.Main -stop org.jboss.Main -method systemExit -out %JBOSS_HOME%\bin\out.txt -current %JBOSS_HOME%\bin
Anyone got a clue?
As an aside, I want to run JBoss as a service predominantly because under Windows, if the DOS window running JBoss gets a "select", it hangs the window and JBoss with it. If there's a way around this, I wouldn't necessarily need a service....
Thanks.
- andy -
4. Re: JBoss as NT service
andygallo.cti Apr 23, 2003 11:32 PM (in response to gajos)By the way, the JavaService-enabled JBoss failed to start on every NT box we tried it on. On Win2K...no problem.
Another small point of info...when using the JavaService, if you want to start JBoss in something other than the 'default' server mode, you need to pass in a -params after the -start clause. And! wants to be bare...don't think you need to put it in quotes or something. JavaService apparently knows which switches are it's, and passes thru the rest.
Thought I'd save somebody the trouble it caused me.... 8-)
- andy -
5. Re: JBoss as NT service
andygallo.cti Apr 23, 2003 11:35 PM (in response to gajos)As an aside, I want to run JBoss as a service predominantly because under Windows, if the DOS window running JBoss gets a "select", it hangs the window and JBoss with it. If there's a way around this, I wouldn't necessarily need a service....
Another FYI, I got around this by turning off the console logging in log4j....
- andy -
6. Re: JBoss as NT service
tjenny Apr 24, 2003 9:08 AM (in response to gajos)> has anyone run JBoss3.0.6 as a NT (not 2k or xp)
> service ?
I've used Java Service Wrapper http://wrapper.tanukisoftware.org/doc/english/index.html
successfully under both Windows NT 4 and Windows 2K.
regards
Thomas