[jboss-user] [JBoss Portal] - JBoss Portal From Source - JSFSunRIPortlet war sample not wo
adesai@atech.com
do-not-reply at jboss.com
Wed Mar 26 12:30:38 EDT 2008
Hello friends,
I downloaded latest JBoss Portal from Source y/d and configured it with JBoss AS 4.2.2 GA along with MySQL5.
I also downloaded 2 sample examples
1. HelloWorldJSFMyFaces42Portlet.war
2. HelloWorldJSFSunRIPortlet.war
The first one did work fine. However; the second one did not work. I have a running version of JBoss Portal 2.6.4 on other machine where this second war is working pretty well.
Can anybody let me know why is it not working with the JBoss that I configured from the Source?
Here is the exception:
| 2008-03-26 09:19:51,640 ERROR [STDERR] java.lang.ClassCastException: com.sun.faces.portlet.LifecycleFactoryImpl
| 2008-03-26 09:19:51,640 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:805)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:486)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 2008-03-26 09:19:51,640 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
|
and
|
| 2008-03-26 09:19:51,656 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
| 2008-03-26 09:19:51,671 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/helloworldjsfsunriportlet]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
| javax.faces.FacesException: java.lang.ClassCastException: com.sun.faces.portlet.LifecycleFactoryImpl
| at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:387)
| at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
| 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:585)
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
| 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:585)
| at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
| at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
| at org.jboss.web.WebModule.startModule(WebModule.java:83)
| at org.jboss.web.WebModule.startService(WebModule.java:61)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
|
Thanks for your help.
Amol
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139040#4139040
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139040
More information about the jboss-user
mailing list