0 Replies Latest reply on Feb 25, 2002 10:50 AM by Frank O'Rourke

    example ear file for jetty and jboss

    Frank O'Rourke Newbie

      Does anyone have an example ear file for configuring a servlet and a bean in jbossalpha3.0.0.

      I can get the beans deployed on their own but not the servlet. Does jetty work inside jboss alpha3.0.0?

      I get the exception below when it is deployed

      [15:36:13,713,Jetty] problem deploying file:/C:/jboss-3.0.0alpha/deploy/Default/test.ear/web1011/ to /servlets
      org.xml.sax.SAXParseException: XML declaration may only begin entities.
      at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3108)
      at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3096)
      at org.apache.crimson.parser.Parser2.maybePI(Parser2.java:958)
      at org.apache.crimson.parser.Parser2.maybeMisc(Parser2.java:1080)
      at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:487)
      at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
      at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
      at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
      at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:86)
      at org.jboss.jetty.Jetty.deploy(Jetty.java:181)
      at org.jboss.jetty.JettyService.performDeploy(JettyService.java:285)
      at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:185)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:482)
      at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:444)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:215)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
      at java.lang.Thread.run(Thread.java:484)
      [15:36:13,753,J2eeDeployer#Default] Starting test.war failed!