-
1. Re: Seam 2.3 and glassfish v3
netkiss.li Nov 29, 2012 12:44 AM (in response to alixey)I encountered with this problem.
-
2. Re: Seam 2.3 and glassfish v3
alixey Dec 10, 2012 5:09 AM (in response to alixey)I try to use another OSGi framework for glassfish - eclipse Equinox. But i get similar error:
Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.LinkageError: loader constraint violation: when resolving method "javassist.util.proxy.FactoryHelper.toClass(Ljavassist/bytecode/ClassFile;Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class;" the class loader (instance of org/glassfish/javaee/full/deployment/EarClassLoader) of the current class, org/jboss/seam/util/ProxyFactory, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, javassist/util/proxy/FactoryHelper, have different Class objects for the type lassFile;Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; used in the signature. Please see server.log for more details.
-
3. Re: Seam 2.3 and glassfish v3
alixey Aug 29, 2013 4:31 AM (in response to alixey)I found a solution:
1) Stop glassfish
2) Go to [glassfish3-folder]/glassfish/modules/weld-osgi-bundle.jar and REMOVE from this archive folder "javassist"
3) Copy javassist.jar from Seam 2.3 libs to [glassfish3-folder]/glassfish/lib/
4) Start glassfish
5) Deploy Seam 2.3 example and enjoy