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

Ivan commented on GERONIMO-5807:
--------------------------------

Hi, Hakan
Now, Geronimo ships MyFaces as its JSF implementation provider, as some 
functions are dependent on the detailed implementation, e.g. bean injection, 
jndi, webbeans integration. So if you use other JSF provider, you might not 
take advantage of those functions. 
Using the latest trunk snapshot, and following the steps below, I could deploy 
your sample application
a. Stop openwebbeans-deployer and myfaces-deployer
b. Use the deployment plan below
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1";
         xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2";>
    <sys:environment>
        <sys:import-package>!javax.faces*</sys:import-package>
        <sys:import-package>!org.apache.myfaces*</sys:import-package>
        <sys:import-package>!org.apache.webbeans.jsf*</sys:import-package>      
  
    </sys:environment> 
   
</web-app>
I could see the welcome page, not sure other functions work well. If any 
problems, please feel free to post to user mail list. From my side, it would be 
better to support other JSF implementation.

> 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
>         Attachments: hakan.war
>
>
> 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