1 Reply Latest reply on May 24, 2002 1:04 AM by ssantiago

    WAR file deploys on Windows, but not Linux

    ssantiago

      I have an EAR file that I have created with an ANT script. The file deploys just fine in Windows2000. The same EAR file gives me an error when I deploy it on Linux. This is with the JBoss-2.4.4_Tomcat-3.2.3 version. It complains about not finding the web.xml file, but when I list the contents of the WAR file I see it in the web-inf directory. Any assistance greatly appreciated?

      Thanks,

      Sam

      Here's the log output:
      [19:56:05,107,J2eeDeployer] Starting module IRSAGateway.war
      [19:56:05,109,EmbeddedTomcatServiceSX] deploy, ctxPath=/IRSAGateway, warUrl=file:/usr/local/JBoss-2.4.4_Tomcat-3.2.3/jboss/tmp/deploy/Default/IRSAGateway.ear/web1006/
      [19:56:05,110,EmbeddedTomcatServiceSX] 2002-05-23 19:56:05 - ContextManager: Adding context Ctx( /IRSAGateway )
      [19:56:05,112,Default] java.io.FileNotFoundException: /usr/local/JBoss-2.4.4_Tomcat-3.2.3/jboss/tmp/deploy/Default/IRSAGateway.ear/web1006/WEB-INF/web.xml (No such file or directory)
      [19:56:05,112,Default] at java.io.FileInputStream.open(Native Method)
      [19:56:05,113,Default]
      [19:56:05,113,Default] at java.io.FileInputStream.<init>(FileInputStream.java:64)
      [19:56:05,118,Default]
      [19:56:05,120,Default] at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
      [19:56:05,122,Default]
      [19:56:05,125,Default] at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:133)
      [19:56:05,127,Default]
      [19:56:05,129,Default] at java.net.URL.openStream(URL.java:798)
      [19:56:05,130,Default]
      [19:56:05,131,Default] at org.apache.crimson.parser.InputEntity.init(InputEntity.java:209)
      [19:56:05,131,Default]
      [19:56:05,132,Default] at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:471)
      [19:56:05,132,Default]
      [19:56:05,132,Default] at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
      [19:56:05,132,Default]
      [19:56:05,132,Default] at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
      [19:56:05,133,Default]
      [19:56:05,133,Default] at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
      [19:56:05,133,Default]
      [19:56:05,133,Default] at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:161)
      [19:56:05,134,Default]
      [19:56:05,134,Default] at org.jboss.tomcat.naming.JbossWebXmlReader.contextInit(JbossWebXmlReader.java:55)
      [19:56:05,135,Default]
      [19:56:05,135,Default] at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
      [19:56:05,136,Default]
      [19:56:05,136,Default] at org.jboss.tomcat.TomcatEntry.initContext(TomcatEntry.java:144)
      [19:56:05,136,Default]
      [19:56:05,136,Default] at org.jboss.tomcat.EmbeddedTomcatServiceSX.performDeploy(EmbeddedTomcatServiceSX.java:131)
      [19:56:05,137,Default]
      [19:56:05,137,Default] at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:191)
      [19:56:05,137,Default]
      [19:56:05,137,Default] at java.lang.reflect.Method.invoke(Native Method)
      [19:56:05,138,Default]
      [19:56:05,138,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [19:56:05,138,Default]
      [19:56:05,138,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [19:56:05,138,Default]
      [19:56:05,139,Default] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:505)
      [19:56:05,139,Default]
      [19:56:05,139,Default] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
      [19:56:05,139,Default]
      [19:56:05,140,Default] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      [19:56:05,140,Default]
      [19:56:05,140,Default] at java.lang.reflect.Method.invoke(Native Method)
      [19:56:05,140,Default]
      [19:56:05,141,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [19:56:05,141,Default]
      [19:56:05,141,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [19:56:05,141,Default]
      [19:56:05,142,Default] at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      [19:56:05,142,Default]
      [19:56:05,142,Default] at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      [19:56:05,142,Default]
      [19:56:05,142,Default] at java.lang.Thread.run(Thread.java:484)
      [19:56:05,143,Default]
      [19:56:05,148,EmbeddedTomcatServiceSX] Initialized: {WebApplication: /usr/local/JBoss-2.4.4_Tomcat-3.2.3/jboss/tmp/deploy/Default/IRSAGateway.ear/web1006/, URL: file:/usr/local/JBoss-2.4.4_Tomcat-3.2.3/jboss/tmp/deploy/Default/IRSAGateway.ear/web1006/, classLoader: AdaptiveClassLoader( ):2384563}
      [19:56:05,148,J2eeDeployer] J2EE application: file:/usr/local/JBoss-2.4.4_Tomcat-3.2.3/jboss/deploy/IRSAGateway.ear is deployed.
      [19:56:17,075,EmbeddedTomcatServiceSX] 2002-05-23 19:56:17 - Ctx( ): 400 R( /) null
      [19:56:23,700,EmbeddedTomcatServiceSX] 2002-05-23 19:56:23 - Ctx( ): 400 R( /) null
      [19:58:06,522,LRUEnterpriseContextCachePolicy] Resized cache for bean SEMGatewayEJB_SEM1: old capacity = 1000, new capacity = 50
      [19:58:46,788,EmbeddedTomcatServiceSX] 2002-05-23 19:58:46 - Ctx( /IRSAGateway ): IOException in: R( /IRSAGateway + /semapplet.jar + null) Connection reset by peer
      [19:58:46,830,EmbeddedTomcatServiceSX] 2002-05-23 19:58:46 - Ctx( ): 400 R( /) null
      [19:58:49,591,EmbeddedTomcatServiceSX] 2002-05-23 19:58:49 - Ctx( /IRSAGateway ): 404 R( /IRSAGateway + /servlet/SEM2_Applet + null) null
      [19:59:42,419,EmbeddedTomcatServiceSX] 2002-05-23 19:59:42 - Ctx( /IRSAGateway ): 404 R( /IRSAGateway + /servlet/SEM2_Applet + null) null
      [19:59:42,537,EmbeddedTomcatServiceSX] 2002-05-23 19:59:42 - Ctx( ): 400 R( /) null
      [20:00:06,798,EmbeddedTomcatServiceSX] 2002-05-23 20:00:06 - Ctx( /IRSAGateway ): 404 R( /IRSAGateway +