geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Calvin Austin <caus...@spikesource.com>
Subject Re: Start up Error
Date Thu, 26 Jan 2006 19:25:50 GMT
gcj (gnu java clone) is getting in the way , through /usr/bin/java to 
/etc/alternatives

(/usr/lib/libgcj.so.6.0.0)

If you are going to using jdk 1.4.2 then I would suggest removing gcj, something like
rpm --erase libgcj libgcj-devel gcc-java


regards
calvin

Brad_Starkenberg@jbhunt.com wrote:

>This probably an easy fix that I am just missing. I am getting the error
>below on start up. I unzipped (etc) to the directory you see below and
>tried to run it as in the quick start. I am using Fedora core 4. Any help
>is appreciated.
>
>/usr/lib/geronimo-1.0/bin$ java -jar /usr/lib/geronimo-1.0/bin/server.jar
>Booting Geronimo Kernel (in Java 1.4.2)...
>Exception in thread "main" java.lang.NoClassDefFoundError: while resolving
>class: net.sf.cglib.core.DebuggingClassWriter$1
>   at java.lang.VMClassLoader.transformException(java.lang.Class,
>java.lang.Throwable) (/usr/lib/libgcj.so.6.0.0)
>   at java.lang.VMClassLoader.resolveClass(java.lang.Class)
>(/usr/lib/libgcj.so.6.0.0)
>   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
>   at net.sf.cglib.core.DebuggingClassWriter.toByteArray() (Unknown Source)
>   at
>net.sf.cglib.core.DefaultGeneratorStrategy.generate(net.sf.cglib.core.ClassGenerator)
> (Unknown Source)
>   at net.sf.cglib.core.AbstractClassGenerator.create(java.lang.Object)
>(Unknown Source)
>   at net.sf.cglib.core.KeyFactory$Generator.create() (Unknown Source)
>   at net.sf.cglib.core.KeyFactory.create(java.lang.ClassLoader,
>java.lang.Class, net.sf.cglib.core.Customizer) (Unknown Source)
>   at net.sf.cglib.core.KeyFactory.create(java.lang.Class,
>net.sf.cglib.core.Customizer) (Unknown Source)
>   at net.sf.cglib.core.KeyFactory.create(java.lang.Class) (Unknown Source)
>   at net.sf.cglib.core.MethodWrapper.<clinit>() (Unknown Source)
>   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
>   at net.sf.cglib.core.DuplicatesPredicate.evaluate(java.lang.Object)
>(Unknown Source)
>   at net.sf.cglib.core.CollectionUtils.filter(java.util.Collection,
>net.sf.cglib.core.Predicate) (Unknown Source)
>   at
>net.sf.cglib.reflect.FastClassEmitter.FastClassEmitter(net.sf.cglib.asm.ClassVisitor,
> java.lang.String, java.lang.Class) (Unknown Source)
>   at
>net.sf.cglib.reflect.FastClass$Generator.generateClass(net.sf.cglib.asm.ClassVisitor)
> (Unknown Source)
>   at
>net.sf.cglib.core.DefaultGeneratorStrategy.generate(net.sf.cglib.core.ClassGenerator)
> (Unknown Source)
>   at net.sf.cglib.core.AbstractClassGenerator.create(java.lang.Object)
>(Unknown Source)
>   at net.sf.cglib.reflect.FastClass$Generator.create() (Unknown Source)
>   at net.sf.cglib.reflect.FastClass.create(java.lang.ClassLoader,
>java.lang.Class) (Unknown Source)
>   at net.sf.cglib.reflect.FastClass.create(java.lang.Class) (Unknown
>Source)
>   at
>org.apache.geronimo.gbean.runtime.FastMethodInvoker.FastMethodInvoker(java.lang.reflect.Method)
> (Unknown Source)
>   at
>org.apache.geronimo.gbean.runtime.GBeanAttribute.GBeanAttribute(org.apache.geronimo.gbean.runtime.GBeanInstance,
> org.apache.geronimo.gbean.GAttributeInfo, boolean) (Unknown Source)
>   at
>org.apache.geronimo.gbean.runtime.GBeanInstance.GBeanInstance(org.apache.geronimo.gbean.GBeanData,
> org.apache.geronimo.kernel.Kernel,
>org.apache.geronimo.kernel.DependencyManager,
>org.apache.geronimo.gbean.runtime.LifecycleBroadcaster,
>java.lang.ClassLoader) (Unknown Source)
>   at
>org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(org.apache.geronimo.gbean.GBeanData,
> java.lang.ClassLoader) (Unknown Source)
>   at org.apache.geronimo.kernel.basic.BasicKernel.boot() (Unknown Source)
>   at org.apache.geronimo.system.main.Daemon.doStartup() (Unknown Source)
>   at org.apache.geronimo.system.main.Daemon.Daemon(java.lang.String[])
>(Unknown Source)
>Caused by: java.lang.ClassNotFoundException:
>net.sf.cglib.asm.util.TraceClassVisitor not found in
>gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/lib/geronimo-1.0
>/bin/server.jar,file:./],
>parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
>   at java.net.URLClassLoader.findClass(java.lang.String)
>(/usr/lib/libgcj.so.6.0.0)
>   at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
>(/usr/lib/libgcj.so.6.0.0)
>   at java.lang.ClassLoader.loadClass(java.lang.String)
>(/usr/lib/libgcj.so.6.0.0)
>   at java.lang.Class.forName(java.lang.String, boolean,
>java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
>   at java.lang.VMClassLoader.resolveClass(java.lang.Class)
>(/usr/lib/libgcj.so.6.0.0)
>   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
>   at net.sf.cglib.core.DebuggingClassWriter.toByteArray() (Unknown Source)
>   at
>net.sf.cglib.core.DefaultGeneratorStrategy.generate(net.sf.cglib.core.ClassGenerator)
> (Unknown Source)
>   at net.sf.cglib.core.AbstractClassGenerator.create(java.lang.Object)
>(Unknown Source)
>   at net.sf.cglib.core.KeyFactory$Generator.create() (Unknown Source)
>   at net.sf.cglib.core.KeyFactory.create(java.lang.ClassLoader,
>java.lang.Class, net.sf.cglib.core.Customizer) (Unknown Source)
>   at net.sf.cglib.core.KeyFactory.create(java.lang.Class,
>net.sf.cglib.core.Customizer) (Unknown Source)
>   at net.sf.cglib.core.KeyFactory.create(java.lang.Class) (Unknown Source)
>   at net.sf.cglib.core.MethodWrapper.<clinit>() (Unknown Source)
>   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
>   at net.sf.cglib.core.DuplicatesPredicate.evaluate(java.lang.Object)
>(Unknown Source)
>   at net.sf.cglib.core.CollectionUtils.filter(java.util.Collection,
>net.sf.cglib.core.Predicate) (Unknown Source)
>   at
>net.sf.cglib.reflect.FastClassEmitter.FastClassEmitter(net.sf.cglib.asm.ClassVisitor,
> java.lang.String, java.lang.Class) (Unknown Source)
>   at
>net.sf.cglib.reflect.FastClass$Generator.generateClass(net.sf.cglib.asm.ClassVisitor)
> (Unknown Source)
>   at
>net.sf.cglib.core.DefaultGeneratorStrategy.generate(net.sf.cglib.core.ClassGenerator)
> (Unknown Source)
>   at net.sf.cglib.core.AbstractClassGenerator.create(java.lang.Object)
>(Unknown Source)
>   at net.sf.cglib.reflect.FastClass$Generator.create() (Unknown Source)
>   at net.sf.cglib.reflect.FastClass.create(java.lang.ClassLoader,
>java.lang.Class) (Unknown Source)
>   at net.sf.cglib.reflect.FastClass.create(java.lang.Class) (Unknown
>Source)
>   at
>org.apache.geronimo.gbean.runtime.FastMethodInvoker.FastMethodInvoker(java.lang.reflect.Method)
> (Unknown Source)
>   at
>org.apache.geronimo.gbean.runtime.GBeanAttribute.GBeanAttribute(org.apache.geronimo.gbean.runtime.GBeanInstance,
> org.apache.geronimo.gbean.GAttributeInfo, boolean) (Unknown Source)
>   at
>org.apache.geronimo.gbean.runtime.GBeanInstance.GBeanInstance(org.apache.geronimo.gbean.GBeanData,
> org.apache.geronimo.kernel.Kernel,
>org.apache.geronimo.kernel.DependencyManager,
>org.apache.geronimo.gbean.runtime.LifecycleBroadcaster,
>java.lang.ClassLoader) (Unknown Source)
>   at
>org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(org.apache.geronimo.gbean.GBeanData,
> java.lang.ClassLoader) (Unknown Source)
>   at org.apache.geronimo.kernel.basic.BasicKernel.boot() (Unknown Source)
>
>  
>


Mime
View raw message