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] Commented: (GERONIMO-5807) JSF 2.0 Deployment Problem
Date Fri, 11 Feb 2011 07:58:58 GMT

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

Hakan Junior commented on GERONIMO-5807:
----------------------------------------

Ok. I tried both Stopping myfaces servers and removing provided jsf-api&jsf-impl jars
from my ear. Then deployed again. I couldnt find M2 distribution also. Here is the stacktrace;

The application was not successfully started.
load of default/MyApplicationsName/1297410358685/car failed
org.apache.geronimo.kernel.config.LifecycleException: load of default/MyApplicationsName/1297410358685/car
failed
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:307)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:281)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:124)
	at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:63)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.osgi.framework.BundleException: Activator start error in bundle default.MyApplicationsName
[278].
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1807)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1682)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:302)
	... 4 more
Caused by: org.apache.geronimo.kernel.config.LifecycleException: load of default/MyApplicationsName/1297410358685/car
failed
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:371)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:327)
	at org.apache.geronimo.kernel.osgi.ConfigurationActivator.start(ConfigurationActivator.java:62)
	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:661)
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1760)
	... 7 more
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration
gbean default/MyApplicationsName/1297410358685/car
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:217)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:354)
	... 11 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed
to start default/MyApplicationsName/1297410358685/car
reason: Unable to deserialize GBeanState in classloader: default.MyApplicationsName [278]
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:193)
	... 12 more

> 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

        

Mime
View raw message