geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hakan Junior (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (GERONIMO-5807) JSF 2.0 Deployment Problem
Date Mon, 14 Feb 2011 09:48:57 GMT

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

Hakan Junior edited comment on GERONIMO-5807 at 2/14/11 9:48 AM:
-----------------------------------------------------------------

Hi Ivan, I tried this (find attached hakan.war) with geronimo-tomcat7-javaee6-3.0-SNAPSHOT.

Here is the stackTrace;
The application was not deployed.
loader constraint violation: loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader)
previously initiated loading for a different type with name "javax/faces/convert/Converter"
java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader)
previously initiated loading for a different type with name "javax/faces/convert/Converter"
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)


      was (Author: hjunior81):
    Hi David, I tried this with geronimo-tomcat7-javaee6-3.0-SNAPSHOT.

Here is the stackTrace;
The application was not deployed.
loader constraint violation: loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader)
previously initiated loading for a different type with name "javax/faces/convert/Converter"
java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader)
previously initiated loading for a different type with name "javax/faces/convert/Converter"
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)

  
> 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

        

Mime
View raw message