How to configure JBOSS 3.0.0 - Catalina 4.0.3 as a Windows 2000 Service
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alexander_Petty
Posted On:   Wednesday, May 29, 2002 01:18 PM

This is not a question, but rather a post to help people with configuring their JBOSS3-CATALINA403 app containers to run on windows 2000 SP2 as a service. 1) If you dont already have Sun's JDK1.4.0 installed you will need to download it from: http://java.sun.com/Download6 Run the setup executable and install the JDK to "c:libj2sdk1.4.0" 2) If you dont already have JBOSS3w/Catalina403_rc3, you can download it from: http://prdownloads.sourceforge.net/jboss/jboss-3.0.0RC3_tomcat-4.0.3.zip 3) Once unzipped, place the directory "jboss-3.0.0RC3_tomcat-4.0.3*.*" where you want it. (for example) I put min   More>>

This is not a question, but rather a post to help people with configuring their JBOSS3-CATALINA403 app containers to run on windows 2000 SP2 as a service.


1) If you dont already have Sun's JDK1.4.0 installed you will need to download it from:

http://java.sun.com/Download6

Run the setup executable and install the JDK to "c:libj2sdk1.4.0"


2) If you dont already have JBOSS3w/Catalina403_rc3, you can download it from:

http://prdownloads.sourceforge.net/jboss/jboss-3.0.0RC3_tomcat-4.0.3.zip


3) Once unzipped, place the directory "jboss-3.0.0RC3_tomcat-4.0.3*.*" where you want it.

(for example)


I put mine in C:jboss

such that now I have

C:jbossjboss-3.0.0RC3_tomcat-4.0.3[jboss_dirs]


4) Configure two system environment variables:

JAVA_HOME = [path to place where you installed the JDK]

JBOSS_DIST = [path to place where you installed JBOSS]

In my case these are:

JAVA_HOME = [c:libj2sdk1.4.0]

JBOSS_DIST = [c:jbossjboss-3.0.0RC3_tomcat-4.0.3]


5) At this point you can run JBOSS manually by executing:

C:jbossjboss-3.0.0RC3_tomcat-4.0.3 in
un.bat


Check for errors being reported during the JBOSS boot sequence.

If you find any, check to make sure reported ports are not blocked by pre-existing network services.

Debug other problems by carefully reading the errors received.


6) Test the web container by launching in a browser:

http://localhost:8080

You should see a TOMCAT Example Application


OK.. so far so good.. now to install JBOSS-CATALINA as a service.


******


Given Environment:

+ Windows 2000 SP2

+ Java jdk1.4.0 in "C:libj2sdk1.4.0"

+ JBoss 3.0.0 w/Catalina 4.0.3 in "C:jbossjboss-3.0.0RC3_tomcat-4.0.3"

+ JNT 1.0.1 Beta in "C:Program FilesJavajnt"


7) By this point you should already have JBOSS and JDK1.4.0 but you still need to download JNT:

You may download it for free from:

http://www.eworksmart.com/JNT/Download.htm


Extract the files and copy them to:

"c:Program FilesJavajnt"


8) In your JRE bin directory, copy the "client" directory to a new directory called "classic"

(eg. "C:Program FilesJavaj2re1.4.0 inclient" should be copied as "C:Program FilesJavaj2re1.4.0 inclassic")


This is because JNT.exe is expecting the jvm.dll to be in the classic directory. You can leave the client dir tree in tact, just copy it and rename to classic.


9) From the "C:Program FilesJavajnt" directory


type the following command:


jnt "/InstallAsService:JBoss-Catalina" "/SDc:jbossjboss-3.0.0RC3_tomcat-4.0.3 in" -cp "c:libj2sdk1.4.0lib ools.jar;c:jbossjboss-3.0.0RC3_tomcat-4.0.3 in
un.jar" org.jboss.Main


You should now be running JBOSS-CATALINA as service!!

I hope this has been helpful, have fun!!

   <<Less
About | Sitemap | Contact