1 Reply Latest reply on Sep 1, 2002 5:11 AM by Craig Brown

    Problems with IBM JDK 1.3.x

    Tobias Frech Apprentice

       

      "Tobias" wrote:
      Q: Why doesn't JBoss run on my machine properly ? I see a lot of error message while the server startup process.
      I am using IBM JDK 1.3.x.

      A: There might be a problem with long file name and the IBM JDK reading from ZIP files. Since JAR files are basically ZIP files and JBoss uses a deep directory structure this may trigger the JDK error.

      Please upgrade to a newer IBM JDK (not yet available at the time of writing) or switch to a SUN JDK.

      PS: Our information on this topic is very sparse. Please supply us with the error message you see and any evidence that this problem in the IBM JDK exists and is trigger by JBoss.


        • 1. Re: Problems with IBM JDK 1.3.x
          Craig Brown Newbie

          Here is the requested evidence.
          My machine ( Debian Linux 2.2, kernel 2.2.19 )

          java version "1.3.1"
          Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
          Classic VM (build 1.3.1, J2RE 1.3.1 IBM build cxia32131-20020622 (JIT enabled: jitc))

          Here are some snippets of output from JBoss run.sh:
          I have editted the output. Entire output available upon request.

          ================================================================================
          JBoss Bootstrap Environment

          JBOSS_HOME: /opt/jboss

          JAVA: /opt/java/bin/java

          JAVA_OPTS: -Dprogram.name=run.sh

          CLASSPATH: /opt/jboss/bin/run.jar:/opt/java/lib/tools.jar

          ================================================================================
          01:00:03,671 INFO [Server] JBoss Release: JBoss-3.0.1 CVSTag=JBoss_3_0_1
          01:00:03,718 INFO [Server] Home Dir: /opt/jboss-3.0.1
          01:00:03,730 INFO [Server] Home URL: file:/opt/jboss-3.0.1/
          01:00:03,743 INFO [Server] Library URL: file:/opt/jboss-3.0.1/lib/
          01:00:03,757 INFO [Server] Patch URL: null
          01:00:03,769 INFO [Server] Server Name: default
          01:00:03,781 INFO [Server] Server Home Dir: /opt/jboss-3.0.1/server/default
          01:00:03,794 INFO [Server] Server Home URL: file:/opt/jboss-3.0.1/server/default/
          01:00:03,803 INFO [Server] Server Data Dir: /opt/jboss-3.0.1/server/default/db
          01:00:03,815 INFO [Server] Server Temp Dir: /opt/jboss-3.0.1/server/default/tmp01:00:03,827 INFO [Server] Server Config URL: file:/opt/jboss-3.0.1/server/default/conf/
          01:00:03,837 INFO [Server] Server Library URL: file:/opt/jboss-3.0.1/server/default/lib/
          01:00:03,847 INFO [Server] Root Deployemnt Filename: jboss-service.xml
          01:00:03,925 INFO [Server] Starting General Purpose Architecture (GPA)...
          01:00:04,246 INFO [ServerInfo] Java version: 1.3.1,IBM Corporation
          01:00:04,258 INFO [ServerInfo] Java VM: Classic VM 1.3.1,IBM Corporation
          01:00:04,270 INFO [ServerInfo] OS-System: Linux 2.2.19,x86

          <snipped a bunch of successful deployments>

          01:00:11,439 INFO [MainDeployer] Starting deployment of package: file:/opt/jboss-3.0.1/server/default/lib/hsqldb.jar
          01:00:11,559 INFO [MainDeployer] Deployed package: file:/opt/jboss-3.0.1/server/default/lib/hsqldb.jar
          java.util.zip.ZipException: error in opening zip file
          at java.util.zip.ZipFile.open(Native Method)
          at java.util.zip.ZipFile.(ZipFile.java:127)
          at java.util.jar.JarFile.(JarFile.java:138)
          at java.util.jar.JarFile.(JarFile.java:80)
          at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:526)
          at sun.misc.URLClassPath$JarLoader.(URLClassPath.java:491)
          at sun.misc.URLClassPath$2.run(URLClassPath.java:287)
          at java.security.AccessController.doPrivileged(Native Method)
          at sun.misc.URLClassPath.getLoader(URLClassPath.java(Compiled Code))
          at sun.misc.URLClassPath.getLoader(URLClassPath.java(Compiled Code))
          at sun.misc.URLClassPath.getResource(URLClassPath.java(Compiled Code))
          at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:675)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(URLClassLoader.java:238)
          at org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:226)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:514)
          at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader.java:234)
          at org.jboss.mx.loading.UnifiedLoaderRepository2.loadClassFromClassLoader(UnifiedLoaderRepository2.java:207)
          at org.jboss.mx.loading.UnifiedLoaderRepository2.loadClass(UnifiedLoaderRepository2.java:137)
          at org.jboss.mx.loading.UnifiedClassLoader2.loadClass(UnifiedClassLoader2.java:146)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:446)
          at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:764)
          at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:240)
          at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:267)
          at org.jboss.system.ServiceCreator.install(ServiceCreator.java:86)
          at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:167)
          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:130)
          at org.jboss.system.ServiceController.install(ServiceController.java:224)
          at java.lang.reflect.Method.invoke(Native Method)
          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
          at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
          at $Proxy3.install(Unknown Source)
          at org.jboss.deployment.SARDeployer.create(SARDeployer.java:209)
          at org.jboss.deployment.MainDeployer.create(MainDeployer.java:749)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:564)
          at java.lang.reflect.Method.invoke(Native Method)
          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
          at org.jboss.Main.boot(Main.java:142)
          at org.jboss.Main$1.run(Main.java:375)
          at java.lang.Thread.run(Thread.java:512)

          There are several more similar failures during start up:

          01:13:59,902 INFO [NamingService] Starting
          01:13:59,962 INFO [NamingService] Starting jnp server
          01:14:00,074 INFO [NamingService] Started jnpPort=1099, rmiPort=0, backlog=50, bindAddress=null, Client SocketFactory=null, Server SocketFactory=null
          01:14:00,198 ERROR [STDERR] java.util.zip.ZipException: error in opening zip file

          <snip exception stack trace omitted for brevity>

          01:14:05,489 INFO [MainDeployer] Deployed package: file:/opt/jboss-3.0.1/server/default/deploy/jmx-rmi-adaptor.sar
          01:14:05,502 INFO [MainDeployer] Starting deployment of package: file:/opt/jboss-3.0.1/server/default/deploy/jmx-ejb-connector-server.sar
          01:14:05,530 INFO [MainDeployer] Deployed package: file:/opt/jboss-3.0.1/server/default/deploy/jmx-ejb-connector-server.sar
          01:14:05,543 INFO [MainDeployer] Starting deployment of package: file:/opt/jboss-3.0.1/server/default/deploy/user-service.xml
          01:14:05,565 INFO [MainDeployer] Deployed package: file:/opt/jboss-3.0.1/server/default/deploy/user-service.xml
          01:14:05,578 INFO [MainDeployer] Starting deployment of package: file:/opt/jboss-3.0.1/server/default/deploy/jms-service.xml
          01:14:05,622 ERROR [STDERR] java.util.zip.ZipException: error in opening zip file