The server can not  deploy a sample with JSF 2.0 features
---------------------------------------------------------

                 Key: GERONIMO-5513
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5513
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: myfaces, Tomcat
    Affects Versions: 3.0
         Environment: OS:Windows XP SP3  
Java Version: 1.6.0_20
SVN  Revision: 983509

            Reporter: Zhen Zhang
             Fix For: 3.0


setps to recur:
1. deploy the "test-webapp.war" attached in attachment to server , and then you 
will see:
2010-08-09 17:00:41,046 ERROR [Deployer] Deployment failed due to 
java.lang.LinkageError: loader constraint violation: when resolving overridden 
method 
"org.apache.myfaces.taglib.core.SubviewTag.createVerbatimComponentFromBodyContent()Ljavax/faces/component/UIComponent;"
 the class loader (instance of 
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, 
org/apache/myfaces/taglib/core/SubviewTag, and its superclass loader (instance 
of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader), 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.<init>(ClassFinder.java:149)
        at 
org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.createJspClassFinder(JspModuleBuilderExtension.java:185)
        at 
org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.addGBeans(JspModuleBuilderExtension.java:154)
        at 
org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:588)
        at 
org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:174)
        at 
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:704)
        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:872)
        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:619)
2010-08-09 17:00:42,765 ERROR [DeploymentPortlet] The application was not 
deployed.
loader constraint violation: when resolving overridden method 
"org.apache.myfaces.taglib.core.SubviewTag.createVerbatimComponentFromBodyContent()Ljavax/faces/component/UIComponent;"
 the class loader (instance of 
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, 
org/apache/myfaces/taglib/core/SubviewTag, and its superclass loader (instance 
of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader), 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 
"org.apache.myfaces.taglib.core.SubviewTag.createVerbatimComponentFromBodyContent()Ljavax/faces/component/UIComponent;"
 the class loader (instance of 
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, 
org/apache/myfaces/taglib/core/SubviewTag, and its superclass loader (instance 
of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader), 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.<init>(ClassFinder.java:149)
        at 
org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.createJspClassFinder(JspModuleBuilderExtension.java:185)
        at 
org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.addGBeans(JspModuleBuilderExtension.java:154)
        at 
org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:588)
        at 
org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:174)
        at 
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:704)
        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:872)
        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:619)

2010-08-09 17:00:42,812 INFO  [RedirectByHashFilter] Hash value for 
page:/portal/3-8/Applications/Deploy 
New/__pmplugin0x2Deployment!-87374526|0_view/__wsplugin0x2Deployment!-87374526|0_normal
 is:-263728630225459014
2010-08-09 17:00:42,812 INFO  [RedirectByHashFilter] no redirect 
for:http://localhost:8080/console/portal/3-8/Applications/Deploy%20New/__pmplugin0x2Deployment!-87374526%7C0_view/__wsplugin0x2Deployment!-87374526%7C0_normal
2010-08-09 17:00:42,828 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' 
not found for portletId: 'plugin.Deployment!-87374526|0'





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to