[ 
https://issues.apache.org/jira/browse/GERONIMO-5807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993142#comment-12993142
 ] 

David Jencks commented on GERONIMO-5807:
----------------------------------------

Using your own jsf implementation rather than the one built into geronimo is 
likely to be problematic.  You might get farther if you stop the myfaces and 
myfaces-deployer configurations.  Also using a recent 3.0-M2 snapshot is likely 
to work better than M1.

> JSF 2.0 Deployment Problem
> --------------------------
>
>                 Key: GERONIMO-5807
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5807
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment, Tomcat
>    Affects Versions: 3.0-M1
>         Environment: Ubuntu 10.10, Sun Jdk 1.6.0_22 32 bit, PrimeFaces 2.2 
> Final, Mojarra 2.0.3
>            Reporter: Hakan Junior
>
> While deploying my ear file, geronimo raises following error:
> The application was not deployed.
> loader constraint violation: when resolving overridden method 
> "com.sun.faces.ext.taglib.FocusTag.setProperties(Ljavax/faces/component/UIComponent;)V"
>  the class loader (instance of 
> org/apache/felix/framework/ModuleImpl$ModuleClassLoader) of the current 
> class, com/sun/faces/ext/taglib/FocusTag, and its superclass loader (instance 
> of org/apache/felix/framework/ModuleImpl$ModuleClassLoader), have different 
> Class objects for the type javax/faces/component/UIComponent used in the 
> signature
> java.lang.LinkageError: loader constraint violation: when resolving 
> overridden method 
> "com.sun.faces.ext.taglib.FocusTag.setProperties(Ljavax/faces/component/UIComponent;)V"
>  the class loader (instance of 
> org/apache/felix/framework/ModuleImpl$ModuleClassLoader) of the current 
> class, com/sun/faces/ext/taglib/FocusTag, and its superclass loader (instance 
> of org/apache/felix/framework/ModuleImpl$ModuleClassLoader), have different 
> Class objects for the type javax/faces/component/UIComponent used in the 
> signature
>       at java.lang.Class.getDeclaredMethods0(Native Method)
>       at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>       at java.lang.Class.getDeclaredMethods(Class.java:1791)
>       at org.apache.xbean.finder.ClassFinder.(ClassFinder.java:149)
>       at 
> org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.createJspClassFinder(JspModuleBuilderExtension.java:197)
>       at 
> org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.addGBeans(JspModuleBuilderExtension.java:166)
>       at 
> org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:582)
>       at 
> org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:175)
>       at 
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:690)
>       at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
>       at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:856)
>       at 
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
>       at 
> org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
>       at 
> org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
>       at java.lang.Thread.run(Thread.java:662)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to