1 Reply Latest reply on Jun 26, 2002 7:40 PM by Adrian Brock

    Error Integrating Apache, Tomcat, Jboss

    Joe Newbie

      Hi all,

      I am new to J2EE and Jboss. I have read through some post on configure Apache 2.0, Tomcat 4.0.3 and Jboss 3.0. Error in JBoss during Apache start up. What's the problem?? Thanks a lot

      I have compile hte mod_webapp module, place it in apache's modules directory and added line to load the mod_webapp in apache configuration file and added the engine and connector script in tomcat-server.xml in the jboss's deploy directory.

      Error :
      2002-06-26 10:43:48,969 ERROR [org.jboss.web.localhost.Engine] [org.apache.catalina.connector.warp.WarpConnector] Connection from /192.9.100.52:1104 to /192.9.100.52:8008
      2002-06-26 10:43:49,785 ERROR [org.jboss.web.localhost.Engine] [org.apache.catalina.connector.warp.WarpConnector] Connection from /192.9.100.52:1105 to /192.9.100.52:8008
      2002-06-26 10:43:49,833 ERROR [org.jboss.web.localhost.Engine] [org.apache.catalina.connector.warp.WarpConnector] Connection from /192.9.100.52:1106 to /192.9.100.52:8008
      2002-06-26 10:43:49,910 ERROR [org.jboss.web.localhost.Engine] [org.apache.catalina.connector.warp.WarpConnector] Connection from /192.9.100.52:1107 to /192.9.100.52:8008
      2002-06-26 10:43:49,991 ERROR [org.jboss.web.localhost.Engine] [org.apache.catalina.connector.warp.WarpConnector] Connection from /192.9.100.52:1108 to /192.9.100.52:8008
      2002-06-26 10:43:51,031 INFO [org.jboss.web.localhost.Engine] WarpHost[192.9.100.52]: Installing web application at context path /examples from URL file:/opt/jboss-3.0.0_tomcat-4.0.3/catalina/webapps/examples
      2002-06-26 10:44:10,023 INFO [org.jboss.web.localhost.Engine] WebappLoader[/examples]: Deploying class repositories to work directory /opt/jboss-3.0.0_tomcat-4.0.3/catalina/work/192.9.100.52/examples
      @2002-06-26 10:44:10,408 INFO [org.jboss.web.localhost.Engine] StandardManager[/examples]: Seeding random number generator class java.security.SecureRandom
      2002-06-26 10:44:18,270 INFO [org.jboss.web.localhost.Engine] StandardManager[/examples]: Seeding of random number generator has been completed
      2002-06-26 10:44:29,295 INFO [STDOUT] PARSE error at line 278 column -1
      2002-06-26 10:44:29,300 INFO [STDOUT] org.xml.sax.SAXParseException: Element "web-app" does not allow "servlet-mapping" here.
      2002-06-26 10:44:29,403 ERROR [org.jboss.web.localhost.Engine] ContextConfig[/examples] Parse error in application web.xml
      org.xml.sax.SAXParseException: Element "web-app" does not allow "servlet-mapping" here.
      at org.apache.crimson.parser.Parser2.error(Parser2.java:3160)
      at org.apache.crimson.parser.ValidatingParser$ChildrenValidator.consume(ValidatingParser.java:349)
      at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1317)
      at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
      at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
      at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
      at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
      at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
      at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
      at javax.xml.parsers.SAXParser.parse(SAXParser.java:314)
      at javax.xml.parsers.SAXParser.parse(SAXParser.java:89)
      at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275)
      at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:256)
      at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:82
      4)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:224)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3345)
      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:536)
      2002-06-26 10:44:29,691 INFO [org.jboss.web.localhost.Engine] ContextConfig[/examples]: Occurred at line 278 column -1
      2002-06-26 10:44:29,694 INFO [org.jboss.web.localhost.Engine] ContextConfig[/examples]: Marking this application unavailable due to previous error(s)
      2002-06-26 10:44:29,749 INFO [org.jboss.web.localhost.Engine] StandardContext[/examples]: Context startup failed due to previous errors
      2002-06-26 10:44:32,497 ERROR [org.jboss.web.localhost.Engine] [org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings (0)
      2002-06-26 10:44:32,531 ERROR [org.jboss.web.localhost.Engine] [org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings (0)
      2002-06-26 10:44:32,554 ERROR [org.jboss.web.localhost.Engine] [org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings (0)
      2002-06-26 10:44:32,502 ERROR [org.jboss.web.localhost.Engine] [org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings (0)
      2002-06-26 10:44:32,571 ERROR [org.jboss.web.localhost.Engine] [org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter mappings (0)