[jboss-user] [Javassist user questions] - ClassFormatError on Websphere 6.1 on iSeries
soza
do-not-reply at jboss.com
Mon Sep 10 02:54:50 EDT 2007
Hi
We have Seam 1.2.1GA POJO app that works fine on Websphere 6.1 on Windows. However the same EAR file fails on Websphere 6.1 on IBM's iSeries server. javassist throws a ClassFormatError when loading the the first Seam component for the application. Here's the exception...
Caused by: java.lang.RuntimeException: by java.lang.ClassFormatError: [PACKAGE name withheld]ServiceImpl_$$_javassist_0 0000 6305
at java.lang.Throwable.(Throwable.java:218)
at java.lang.RuntimeException.(RuntimeException.java:61)
at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:365)
at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:323)
at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:274)
at org.jboss.seam.Component.createProxyFactory(Component.java:1979)
at org.jboss.seam.Component.getProxyFactory(Component.java:1154)
at org.jboss.seam.Component.wrap(Component.java:1145)
at org.jboss.seam.Component.instantiateJavaBean(Component.java:1134)
at org.jboss.seam.Component.instantiate(Component.java:1088)
at org.jboss.seam.Component.newInstance(Component.java:1736)
... 73 more
Caused by: javassist.CannotCompileException: by java.lang.ClassFormatError: [PACKAGE name withheld]ServiceImpl_$$_javassist_0 0000 6305
at java.lang.Throwable.(Throwable.java:196)
at java.lang.Exception.(Exception.java:41)
at javassist.CannotCompileException.(CannotCompileException.java:73)
at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:181)
at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:353)
... 81 more
Caused by: java.lang.ClassFormatError: [PACKAGE name withheld]ServiceImpl_$$_javassist_0 0000 6305
at java.lang.Throwable.(Throwable.java:196)
at java.lang.Error.(Error.java:49)
at java.lang.ClassFormatError.(ClassFormatError.java:35)
at java.lang.ClassLoader.defineClass(ClassLoader.java:651
Here's the interesting part...typically ClassFormatError would also provide the message indicating the cause for failure, but in this case it just displays a sequence of numbers...
Caused by: javassist.CannotCompileException: by java.lang.ClassFormatError: [PACKAGE name withheld]ServiceImpl_$$_javassist_0 0000 6305
Both on windows and the iSeries box we are using IBM's Java 1.5 JRE. Also i'm using javassist 3.4. Anybody can shed any light on what the numbers are?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082470#4082470
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082470
More information about the jboss-user
mailing list