Bugs item #669043, was opened at 2003-01-16 05:28 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=669043&group_id=22866
Category: JBossServer Group: v3.0 Rabbit Hole >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Stefan Kuehnel (skuehnel) >Assigned to: Scott M Stark (starksm) Summary: JBoss 3.0.5 throws exceptions on startup with IBM JDK 1.4.0 Initial Comment: Not sure if IBM JVM 1.4.0 is supported, but I understand JBOss used to work with 1.3. Just tried to test the new 3.0.5 with IBM JVM 1.4.0 and it failed with the exceptions below. System info: 14:03:21,498 INFO [ServerInfo] Java version: 1.4.0,IBM Corporation 14:03:21,504 INFO [ServerInfo] Java VM: Classic VM 1.4.0,IBM Corporation 14:03:21,510 INFO [ServerInfo] OS-System: Linux 2.4.18-17.7.x,x86 Exceptions: 14:03:27,372 ERROR [MainDeployer] could not create deployment: file:/usr/local/jboss-3.0.5_tomcat-4.1.18/server/frontis/conf/jboss-service.xml org.jboss.deployment.DeploymentException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService); - nested throwable: (RuntimeErrorException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService) Cause: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService)) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153) at org.jboss.system.ServiceController.install(ServiceController.java:231) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:40) at java.lang.reflect.Method.invoke(Method.java:335) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy2.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:189) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:766) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:626) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:40) at java.lang.reflect.Method.invoke(Method.java:335) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:325) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:222) at org.jboss.Main.boot(Main.java:148) at org.jboss.Main$1.run(Main.java:381) at java.lang.Thread.run(Thread.java:566) Caused by: RuntimeErrorException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService) Cause: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService) at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBeanServerImpl.java:883) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:816) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:266) at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:293) at org.jboss.system.ServiceCreator.install(ServiceCreator.java:86) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:165) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:128) ... 25 more 14:03:27,499 ERROR [Server] start failed org.jboss.deployment.DeploymentException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService); - nested throwable: (RuntimeErrorException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService) Cause: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService)) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153) at org.jboss.system.ServiceController.install(ServiceController.java:231) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:40) at java.lang.reflect.Method.invoke(Method.java:335) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy2.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:189) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:766) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:626) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:40) at java.lang.reflect.Method.invoke(Method.java:335) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:325) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:222) at org.jboss.Main.boot(Main.java:148) at org.jboss.Main$1.run(Main.java:381) at java.lang.Thread.run(Thread.java:566) Caused by: RuntimeErrorException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService) Cause: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService) at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBeanServerImpl.java:883) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:816) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:266) at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:293) at org.jboss.system.ServiceCreator.install(ServiceCreator.java:86) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:165) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:128) ... 25 more ---------------------------------------------------------------------- >Comment By: Scott M Stark (starksm) Date: 2003-01-25 16:25 Message: Logged In: YES user_id=175228 This looks like a bad interaction between the ibm vms class loading changes and a custom URLStreamHandlerFactory that use the thread context class loader. A workaround has been added for 3.0.6, but the ibm vm still barfs out these supurious errors due to a non-jar file being seen in the URLClassLoader classpath: 16:09:43,803 ERROR [STDERR] java.util.zip.ZipException: error in opening zip file 16:09:43,813 ERROR [STDERR] at java.util.zip.ZipFile.open(Native Method) 16:09:43,813 ERROR [STDERR] at java.util.zip.ZipFile.<init>(ZipFile.java:127 ) 16:09:43,813 ERROR [STDERR] at java.util.jar.JarFile.<init>(JarFile.java:138 ) 16:09:43,823 ERROR [STDERR] at java.util.jar.JarFile.<init>(JarFile.java:80) 16:09:43,823 ERROR [STDERR] at sun.misc.URLClassPath$JarLoader.getJarFile(UR LClassPath.java:526) 16:09:43,833 ERROR [STDERR] at sun.misc.URLClassPath$JarLoader.<init>(URLCla ssPath.java:491) 16:09:43,833 ERROR [STDERR] at sun.misc.URLClassPath$2.run(URLClassPath.java :287) 16:09:43,843 ERROR [STDERR] at java.security.AccessController.doPrivileged(N ative Method) 16:09:43,843 ERROR [STDERR] at sun.misc.URLClassPath.getLoader(URLClassPath. java(Compiled Code)) 16:09:43,843 ERROR [STDERR] at sun.misc.URLClassPath.getLoader(URLClassPath. java(Compiled Code)) 16:09:43,853 ERROR [STDERR] at sun.misc.URLClassPath.getResource(URLClassPat h.java(Compiled Code)) 16:09:43,853 ERROR [STDERR] at java.net.URLClassLoader$2.run(URLClassLoader. java:486) 16:09:43,863 ERROR [STDERR] at java.security.AccessController.doPrivileged(N ative Method) 16:09:43,863 ERROR [STDERR] at java.net.URLClassLoader.findResource(URLClass Loader.java:483) 16:09:43,873 ERROR [STDERR] at java.lang.ClassLoader.getResource(ClassLoader .java:984) 16:09:43,873 ERROR [STDERR] at org.jboss.mx.loading.UnifiedClassLoader.getRe sourceLocally(UnifiedClassLoader.java:232) 16:09:43,873 ERROR [STDERR] at org.jboss.mx.loading.UnifiedLoaderRepository3 .getResourceFromRepository (UnifiedLoaderRepository3.java:339) 16:09:43,883 ERROR [STDERR] at org.jboss.mx.loading.UnifiedLoaderRepository3 .getResource(UnifiedLoaderRepository3.java:254) 16:09:43,883 ERROR [STDERR] at org.jboss.mx.loading.UnifiedClassLoader3.getR esource(UnifiedClassLoader3.java:214) 16:09:43,883 ERROR [STDERR] at org.jboss.net.protocol.URLStreamHandlerFactor y.createURLStreamHandler (URLStreamHandlerFactory.java:131) 16:09:43,893 ERROR [STDERR] at java.net.URL.getURLStreamHandler(URL.java:918 ) 16:09:43,893 ERROR [STDERR] at java.net.URL.<init> (URL.java(Compiled Code)) 16:09:43,903 ERROR [STDERR] at java.net.URL.<init> (URL.java(Compiled Code)) 16:09:43,903 ERROR [STDERR] at java.net.URL.<init> (URL.java:357) ---------------------------------------------------------------------- Comment By: Rod Burgett (rodburgett) Date: 2003-01-22 12:48 Message: Logged In: YES user_id=681969 I'm seeing the same NoClassDefFoundError for the same class when running JBoss 3.2.0 on win2K compiled with and running under IBMs 1.3.1 JDK: 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 Windows 32 build cn131-20020403 (JIT enabled: jitc)) A few curious things: - the string 'org.jboss.net.protocol.jar' doesn't seem to occur in any of the source files - the org.jboss.net.protocol.njar package was added about a year ago - the same compiler built and ran JBoss 3.0.6 testsuite; though with more errors/failures than Suns 1.3.1 or 1.4.0 ---------------------------------------------------------------------- Comment By: Dennis Cartier (dcartier) Date: 2003-01-19 08:59 Message: Logged In: YES user_id=673615 I noticed this as well and tried IBM 1.3, it failed in the same place with the same error. Must be a problem with the 3.0.5 version. Dennis ---------------------------------------------------------------------- Comment By: Stefan Kuehnel (skuehnel) Date: 2003-01-16 05:36 Message: Logged In: YES user_id=596644 Just wanted to add that this happens also with the version that is compiled for a 1.4 JVM. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=669043&group_id=22866 ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development