0 Replies Latest reply on Mar 17, 2003 10:29 PM by complus

    HELP!!!

    complus Newbie

      when i put the ant maked example "interest.ear" to the jboss deploy directary ,i got lots of exceptions ,but why?
      --------------------------------------------------------
      11:29:06,331 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.4_tomcat-4.0.6/server/default/deploy/interest.ear
      11:29:06,331 INFO [EARDeployer] Init J2EE application: file:/D:/jboss-3.0.4_tom
      cat-4.0.6/server/default/deploy/interest.ear
      11:29:06,451 INFO [EjbModule] Creating
      11:29:06,482 INFO [EjbModule] Deploying Interest
      11:29:06,522 INFO [EjbModule] Created
      11:29:06,522 INFO [EjbModule] Starting
      11:29:06,592 INFO [EjbModule] Started
      11:29:06,602 INFO [EmbeddedCatalinaServiceSX] deploy, ctxPath=/interest, warUrl
      =file:/D:/jboss-3.0.4_tomcat-4.0.6/server/default/tmp/deploy/server/default/depl
      oy/interest.ear/75.interest.ear-contents/interest.war
      11:29:06,642 INFO [Engine] WebappLoader[/interest]: Deploying class repositorie
      s to work directory D:\jboss-3.0.4_tomcat-4.0.6\catalina\work\MainEngine\localho
      st\interest
      11:29:06,642 INFO [Engine] WebappLoader[/interest]: Deploy class files /WEB-INF
      /classes to D:\jboss-3.0.4_tomcat-4.0.6\catalina\work\MainEngine\localhost\inter
      est\WEB-INF\classes
      11:29:06,652 INFO [Engine] StandardManager[/interest]: Seeding random number ge
      nerator class java.security.SecureRandom
      11:29:06,662 INFO [Engine] StandardManager[/interest]: Seeding of random number
      generator has been completed
      11:29:06,782 INFO [STDOUT] PARSE error at line 3 column -1
      11:29:06,792 INFO [STDOUT] org.xml.sax.SAXParseException: ×é¼þÀàÐÍ¡°web-app¡±Î´
      ±»ÉùÃ÷¡£
      11:29:06,812 ERROR [Engine] ContextConfig[/interest] Parse error in application
      web.xml
      org.xml.sax.SAXParseException: ×é¼þÀàÐÍ¡°web-app¡±Î´±»ÉùÃ÷¡£
      at org.apache.crimson.parser.Parser2.error(Parser2.java:3160)
      at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1322)
      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(ContextCo
      nfig.java:256)
      at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:82
      4)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
      g.java:224)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
      eSupport.java:155)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)

      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
      371)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:78
      5)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)

      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(Emb
      eddedCatalinaServiceSX.java:444)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(Embedd
      edCatalinaServiceSX.java:319)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:30
      0)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:807)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:799)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:621)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
      at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:435)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDe
      ploymentScanner.java:656)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:507)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:225)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:202)
      11:29:06,822 INFO [Engine] ContextConfig[/interest]: Occurred at line 3 column
      -1
      11:29:06,822 INFO [Engine] ContextConfig[/interest]: Marking this application u
      navailable due to previous error(s)
      11:29:06,972 INFO [EmbeddedCatalinaServiceSX] Using Java2 parent classloader de
      legation: true
      11:29:06,972 INFO [Engine] StandardContext[/interest]: Context startup failed d
      ue to previous errors
      11:29:06,972 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.4_tomcat-
      4.0.6/server/default/deploy/interest.ear