0 Replies Latest reply on Jul 24, 2002 6:15 AM by timex

    jboss/tomcat bundle + apache failed

    timex Newbie

      I installed the jboss3.0 with tomcat4.0.3 bundled, and use the apache 2.0.39 as the web server, here is my configurations:
      1.copy the mod_webapp.so to the <apache-install-dir>/modules
      2.modify <apache install dir>/conf/httpd.conf
      add follows:
      LoadModule webapp_module modules/mod_webapp.so
      WebAppConnection conn warp 127.0.0.1:8008
      WebAppDeploy examples conn /examples
      3.modify <jboss-install-dir>/server/default/deploy/jboss-tomcat4.xml, modify the Connector item
      <Connector className="org.apache.catalina.connector.warp.WarpConnector"port="8008" minProcessors="5" maxProcessors="75" enableLookups="true" appBase="webapps" acceptCount="10" debug="0"/>
      I run the jboss, followed by apache, and the errors occured:
      2002-07-24 17:27:55,003 ERROR [org.apache.catalina.connector.warp.WarpEngine] [org.apache.catalina.connector.warp.WarpConnector] Connection from 127.0.0.1/127.0.0.1:2753 to 127.0.0.1/127.0.0.1:8008
      2002-07-24 17:27:55,334 INFO [org.apache.catalina.connector.warp.WarpEngine] WarpHost[wishbook.bsteel.com]: Installing web application at context path /ROOT from URL file:D:\java\jakarta\tomcat\dist\webapps
      2002-07-24 17:27:58,008 INFO [org.apache.catalina.connector.warp.WarpEngine] WebappLoader[/ROOT]: Deploying class repositories to work directory D:\java\jakarta\tomcat\dist\work\wishbook.bsteel.com\ROOT
      2002-07-24 17:28:04,968 INFO [org.apache.catalina.connector.warp.WarpEngine] StandardManager[/ROOT]: Seeding random number generator class java.security.SecureRandom
      2002-07-24 17:28:04,978 INFO [org.apache.catalina.connector.warp.WarpEngine] StandardManager[/ROOT]: Seeding of random number generator has been completed
      2002-07-24 17:28:05,428 INFO [org.apache.catalina.connector.warp.WarpEngine] ContextConfig[/ROOT]: Missing application web.xml, using defaults only
      2002-07-24 17:28:05,889 INFO [org.apache.catalina.connector.warp.WarpEngine] ContextConfig[/ROOT]: Added certificates -> request attribute Valve
      2002-07-24 17:28:05,969 INFO [org.apache.catalina.connector.warp.WarpEngine] StandardWrapper[/ROOT:default]: Loading container servlet default
      2002-07-24 17:28:07,401 INFO [org.apache.catalina.connector.warp.WarpEngine] default: init
      2002-07-24 17:28:07,501 INFO [org.apache.catalina.connector.warp.WarpEngine] StandardWrapper[/ROOT:invoker]: Loading container servlet invoker
      2002-07-24 17:28:07,561 INFO [org.apache.catalina.connector.warp.WarpEngine] invoker: init
      2002-07-24 17:28:07,581 INFO [org.apache.catalina.connector.warp.WarpEngine] StandardWrapper[/ROOT:jsp]: Marking servlet jsp as unavailable
      2002-07-24 17:28:07,581 ERROR [org.apache.catalina.connector.warp.WarpEngine] StandardContext[/ROOT]: Servlet /ROOT threw load() exception
      javax.servlet.ServletException: Wrapper cannot find servlet class org.apache.jasper.servlet.JspServlet or a class it depends on
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:871)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3266)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
      at org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
      at org.apache.catalina.connector.warp.WarpConfigurationHandler.deploy(WarpConfigurationHandler.java:313)
      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:479)
      2002-07-24 17:28:07,591 ERROR [org.apache.catalina.connector.warp.WarpEngine] ----- Root Cause -----
      java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1394)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1243)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:865)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3266)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
      at org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
      at org.apache.catalina.connector.warp.WarpConfigurationHandler.deploy(WarpConfigurationHandler.java:313)
      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:479)
      2002-07-24 17:28:07,611 ERROR [org.apache.catalina.connector.warp.WarpEngine] [org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings (0)
      2002-07-24 17:28:07,621 INFO [org.apache.catalina.connector.warp.WarpEngine] WarpHost[wishbook.bsteel.com]: Installing web application at context path /examples from URL file:D:\java\jakarta\tomcat\dist\webapps\examples
      2002-07-24 17:28:07,631 INFO [org.apache.catalina.connector.warp.WarpEngine] WebappLoader[/examples]: Deploying class repositories to work directory D:\java\jakarta\tomcat\dist\work\wishbook.bsteel.com\examples
      2002-07-24 17:28:07,721 INFO [org.apache.catalina.connector.warp.WarpEngine] StandardManager[/examples]: Seeding random number generator class java.security.SecureRandom
      2002-07-24 17:28:07,732 INFO [org.apache.catalina.connector.warp.WarpEngine] StandardManager[/examples]: Seeding of random number generator has been completed
      2002-07-24 17:28:08,893 INFO [org.apache.catalina.connector.warp.WarpEngine] ContextConfig[/examples]: Added certificates -> request attribute Valve
      2002-07-24 17:28:10,155 INFO [org.apache.catalina.connector.warp.WarpEngine] ContextConfig[/examples]: Configured an authenticator for method FORM
      2002-07-24 17:28:10,305 ERROR [org.apache.catalina.connector.warp.WarpEngine] StandardContext[/examples]: Error configuring application listener of class listeners.ContextListener
      java.lang.NoClassDefFoundError: javax/servlet/ServletContextAttributeListener
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
      at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1631)
      at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:926)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1243)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3142)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3378)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
      at org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
      at org.apache.catalina.connector.warp.WarpConfigurationHandler.deploy(WarpConfigurationHandler.java:313)
      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:479)
      2002-07-24 17:28:10,375 ERROR [org.apache.catalina.connector.warp.WarpEngine] StandardContext[/examples]: Error configuring application listener of class listeners.SessionListener
      java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
      at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1631)
      at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:926)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1243)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3142)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3378)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
      at org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
      at org.apache.catalina.connector.warp.WarpConfigurationHandler.deploy(WarpConfigurationHandler.java:313)
      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:479)
      2002-07-24 17:28:10,375 INFO [org.apache.catalina.connector.warp.WarpEngine] StandardContext[/examples]: Skipped installing application listeners due to previous error(s)
      2002-07-24 17:28:10,375 INFO [org.apache.catalina.connector.warp.WarpEngine] StandardContext[/examples]: Context startup failed due to previous errors
      2002-07-24 17:28:10,405 ERROR [org.apache.catalina.connector.warp.WarpEngine] [org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings (0)


      Can anyone help me?