4 Replies Latest reply on Feb 7, 2002 8:09 AM by Iulian State

    Embeded Catalina & Apache

    Iulian State Newbie

      Hi,
      I'm trying to integrate JBoss-Catalina with Apache (mod_webapp). OS Linux (RH 7.2), JBoss 2.4.4, Catalina 4.0.1 & Apache 1.3.19.
      I have the following httpd.conf
      ...
      LoadModule webapp_module modules/mod_webapp.so
      AddModule mod_webapp.c

      WebAppConnection warpConnection warp localhost:8008
      WebAppDeploy fp warpConnection /fp
      ...


      Here is jboss.jcml







      I was able to start JBoss with embeded Catalina, to deploy "fp" application (fp.war in $JBOSS_HOME/deploy) and to access my test servlet http://caaove07:8080/fp/servlet/Test

      When I started Apache I got a bunch o repeating errors:
      [14:53:09,343,EmbeddedCatalinaServiceSX] [org.apache.catalina.connector.warp.WarpConfigurationHandler] Error deploying web application "fp" under <http://CAAOVE07:80/fp/>
      [14:53:09,347,EmbeddedCatalinaServiceSX] [org.apache.catalina.connector.warp.WarpConfigurationHandler]
      java.lang.IllegalArgumentException: addChild: Child name 'caaove07' is not unique
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
      at org.apache.catalina.core.StandardEngine.addChild(StandardEngine.java:265)
      at org.apache.catalina.connector.warp.WarpConfigurationHandler.deploy(WarpConfigurationHandler.java:268)
      at org.apache.catalina.connector.warp.WarpConfigurationHandler.handle(WarpConfigurationHandler.java:117)
      at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:189)
      at java.lang.Thread.run(Thread.java:484)


      Also I got maybe another pile of errors in Apache error.log:
      Cannot deploy application fp

      Maybe somebody can put me on the right direction.
      Thank you

      Iulian