Hi,
I am trying to use the JNT winnt service installer for java 2 application 
under win2k in order to install JBoss-Tomcat as service in my machine. 
Although I did not find specific documentation about how to do this with 
JBoss I have tried the following tasks in order to succeed but I never 
succeeded. Please tell what is my mistake on the described procedure that I 
have done.

I am setting the following  Enviromental variables:

JAXP = 
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
 
-Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl

JBOSS_HOME = C:\java\JBoss-2.2.2_Tomcat-3.2.2\jboss

JBOSS_CLASSPATH = 
%JAVA_HOME%\lib\tools.jar;%JBOSS_HOME%\bin\run.jar;%JBOSS_HOME%\lib\crimson.jar

The variables JAVA_HOME, J2EE_HOME & CLASSPATH are corectly set

Then I am issuing the JNT command:

jnt "/InstallAsService:JBoss-Tomcat" "/SD%JBOSS_HOME%\bin" %JAXP%
-classpath "%JBOSS_CLASSPATH%" org.jboss.Main tomcat

after that command the service seems that has been installed. But whever I 
press "start service" it stops automatically after few seconds.

I 've also tried to run it manually with the following command and it was 
running perfectly.

java %JAXP% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main tomcat


Probably something is going with my jnt command.


Best regards
G. Kanellopoulos




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to