1 Reply Latest reply on May 22, 2003 10:34 AM by salihk

    JBoss/Tomcat Break AIX

    salihk Newbie

      I use JBoss 3.0.7 with embened Tomcat 4.1.24 on an AIX 5.1 server, Classic VM 1.3.1, and Oracle 8i Enterprise Edition. Everything works perfect when I run my application on my laptop (Windows XP). The JBoss/Tomcat server run smoothly on the AIX box until I deploy my application to the production server. It breaks at the stage when it deploys the jar files in the WEB-INF/lib folder.
      This is the error message I get:

      15:09:23,387 ERROR [Engine] ContextConfig[/pims] Exception processing JAR at resource path /WEB-INF/lib/struts.jar
      javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/struts.jar
      at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
      at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
      at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java(Compiled Code))
      at org.apache.catalina.core.StandardContext.start(StandardContext.java(Compiled Code))
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
      at org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCatalinaService41.java:432)
      at org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatalinaService41.java:306)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:301)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:806)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java(Compiled Code))
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code))
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java(Compiled Code))
      at $Proxy3.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java(Compiled Code))
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java(Compiled Code))
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:217)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:230)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:207)
      15:09:23,614 ERROR [Engine] ----- Root Cause -----
      java.io.IOException: There is not enough space in the file system.
      at java.io.FileOutputStream.writeBytes(Native Method)
      at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java(Compiled Code))
      at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java(Compiled Code))
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:152)
      at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:57)
      at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:65)
      at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:108)
      at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:92)
      at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:906)
      at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
      at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java(Compiled Code))
      at org.apache.catalina.core.StandardContext.start(StandardContext.java(Compiled Code))
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
      at org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCatalinaService41.java:432)
      at org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatalinaService41.java:306)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:301)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:806)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java(Compiled Code))
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code))
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java(Compiled Code))
      at $Proxy3.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java(Compiled Code))
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java(Compiled Code))
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:217)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:230)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:207)
      15:09:23,980 INFO [Engine] ContextConfig[/pims]: Marking this application unavailable due to previous error(s)
      15:09:25,935 INFO [EmbeddedCatalinaService41] Using Java2 parent classloader delegation: true
      15:09:25,945 INFO [Engine] StandardManager[/pims]: Seeding random number generator class java.security.SecureRandom
      15:09:25,946 INFO [Engine] StandardManager[/pims]: Seeding of random number generator has been completed
      15:09:25,997 INFO [Engine] StandardContext[/pims]: Context startup failed due to previous errors
      15:09:26,017 INFO [MainDeployer] Deployed package: file:/usr/local/jboss/server/default/deploy/pims.ear
      15:10:13,354 INFO [Engine] StandardHost[localhost]: MAPPING configuration error for request URI /

      I have checked some similar topics like Bug #11489. The all relate this problem to Catalina not having a temp directory to extract the jar files. I checked the temp directory and it is there. Tried JBoss 3.0.3/Tomcat 4.1.12, JBoos 3.0.7/Tomcat 4.1.24. The same problem.
      After I deploy the application and it breaks, some of the commands stop working like "man" which uses temporary directory to produce its output.

      Any help or suggestions is truely appreciated.
      salihk