8 Replies Latest reply on Mar 17, 2002 11:00 PM by Phoebus Woo

    JBOSS TOMCAT embedded installation that works on linux. and/

    Ron Jawanda Novice

      Here is what I did. (ps this works on Win 2000 as well)_
      Downloaded JBoss-2.4.4_Tomcat-4.0.1.zip
      Then downloaded the latest TOMCAT from jakarta

      My target install is /usr/local

      Download jdk 1.4.0 (you must use this one I think)
      Then download the jdkee (or whatever the EBJ stuff is, see it in my PATH below)

      Copied the JBoss-2.4.4_Tomcat-4.0.1.zip to /usr/local
      unzip JBoss-2.4.4_Tomcat-4.0.1.zip
      Copied the akarta-tomcat-4.0.3-LE-jdk14 to /usr/local
      unzip jakarta-tomcat-4.0.3-LE-jdk14

      Now you should have

      NOTE*** copy the jakarta tomcat into the JBOSS directory
      cd /usr/local
      cp -r jakarta-tomcat-4.0.3-LE-jdk14 /usr/local/JBoss-2.4.4_Tomcat-4.0.1

      cd /usr/local/JBoss-2.4.4_Tomcat-4.0.1
      rm -f catalina (yes remove it)
      rename the jakarta tomcat to catalina
      mv jakarta-tomcat-4.0.3-LE-jdk14 catalina

      This copies the 4.0.3 tomcat into the one that use to have the 4.01 tomcat (it doesn't work)

      For Linux you have to make the shell script excecutable. Do that first (for a unsecure install chmod -R 755 on both these directories).

      Install ANT (the install instruction are ok for ANT. Do the examples and get them working).

      Here is my CLASSPATH and PATH

      You can now run jboss
      cd /usr/local/JBoss-2.4.4_Tomcat-4.0.1/jboss/bin

      You should now have JBoss startup without exceptions.

      To test the examples: download them onto the
      /usr/local/JBoss-2.4.4_Tomcat-4.0.1/ directory
      cd into the examples/build
      ant should now work
      ant -v (to see more output)

      All examples should work except the interest.ear

      Build the ear file and then don't copy it to the deploy directory. You must extract it and do the following

      In the interest.war (after you unzip) go into the WEB-INF directory and modify the web.xml
      You must put this after the <?xml first line
      <!DOCTYPE web-app
      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"

      Now you can go to your website

      It should show you the form Interest EBJ
      Press calculate. You should see Interst 1000.0 units ...

      You should also see your JBOSS screen scroll by with some words.

      That is it.

      This worked on Mandrake linux 8.1 and Windows 2000 professional.

      I spent hours trying to get this to work properly.

      Hope this helps someone.