5 Replies Latest reply on Apr 7, 2002 7:53 PM by nick bauman

    mod_webapp

    jan wilbert Newbie

      Hi,

      i've tried to run the tomcat jsp/servlet examples using apache http server, tomcat, jboss.

      i'm using
      Win 2000
      Apache http server 1.3.23
      Tomcat 4.0.1
      JBoss 2.4.4
      mod_webapp webapp-module-1.0-tc40-windows

      I managed to install Apache, Tomcat and JBoss.
      The Tomcat-JBoss sample (tomcat-test.ear) works fine under http://localhost:8080/jboss.

      My Apache's httpd.conf looks like this:

      ...
      LoadModule webapp_module modules/mod_webapp.so
      ...
      AddModule mod_webapp.c
      ...

      <IfModule mod_webapp.c>
      WebAppConnection conn warp localhost:8008
      WebAppDeploy examples conn /examples
      WebAppInfo /webapp-info


      My JBoss jboss.jcml looks like this:

      ...
      <!-- Uncomment to add embedded catalina service -->






      When i start run_with_catalina.bat the log looks like this:

      ...
      [INFO,Default] Apache Tomcat/4.0.1
      [INFO,EmbeddedCatalinaServiceSX] HttpConnector Opening server socket on all host
      IP addresses
      [INFO,EmbeddedCatalinaServiceSX] HttpConnector[8080] Starting background thread
      [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][0] Starting background thre
      ad
      [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][1] Starting background thre
      ad
      [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][2] Starting background thre
      ad
      [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][3] Starting background thre
      ad
      [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][4] Starting background thre
      ad
      [INFO,EmbeddedCatalinaServiceSX] OK
      [INFO,EmbeddedCatalinaServiceSX] Started
      ...

      So, up to this point every thing looks fine. What do i have to do next?
      I tried to copy the CATALINA_HOME/webapps/example directory to JBOSS_HOME/deploy, but this is not enough. I think i have to build a ear or war file but i don't know how.