voyent
Deploy error  XML
Forum Index -> General Help
Author Message
diablo341

Joined: 12/Nov/2006 00:00:00
Messages: 11
Offline


I'm unable to deploy the address sample app. I've got jboss 4.0.5.GA, seam 1.1.0.BETA2, myfaces 1.1.4, and facelets. When I drop the address.war in my deploy dir, I get the following error:
Code:
10:50:28,645 INFO  [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 1m:43s:334ms
 10:56:24,355 INFO  [TomcatDeployer] deploy, ctxPath=/address, warUrl=.../tmp/deploy/tmp51702address-exp.war/
 10:56:26,019 ERROR [[/address]] Error configuring application listener of class com.sun.faces.config.ConfigureListener
 java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3711)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
         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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
         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:5052)
         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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
         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.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
         at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
         at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
         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.GeneratedMethodAccessor6.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy42.start(Unknown Source)
         at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
         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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
         at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
         at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
         at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
         at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy43.start(Unknown Source)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
         at sun.reflect.GeneratedMethodAccessor11.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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy6.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
 10:56:26,099 ERROR [[/address]] Skipped installing application listeners due to previous error(s)
 10:56:26,099 ERROR [StandardContext] Error listenerStart
 10:56:26,099 ERROR [StandardContext] Context [/address] startup failed due to previous errors
 10:56:26,109 WARN  [ServiceController] Problem starting service jboss.web.deployment:war=address.war,id=-1283245034
 org.jboss.deployment.DeploymentException: URL file:/C:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp51702address-exp.war/ deployment failed
         at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:375)

I copied any JARs that weren't in my configuration to my server/default/lib dir. I noticed in the address.war file that a lot of those jars were already present. Is it a problem to have duplicates throughout the server? Also, I saw there was jsf-api.jar and jsf-impl.jar. I'm using MyFaces 1.1.4, so I removed the jsf jars from the war. Was that the right thing to do?
[Email]
diablo341

Joined: 12/Nov/2006 00:00:00
Messages: 11
Offline


I put the jsf jars back in the war and redeployed. I get the following error:
Code:
ICEsoft Technologies, Inc.
 ICEfaces 1.5.0
 Build number: 49
 Revision: 11998
 
 11:50:08,072 ERROR [STDERR] java.lang.ClassCastException: com.sun.facelets.component.RepeatRenderer
 11:50:08,072 ERROR [STDERR]     at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:896)
 11:50:08,072 ERROR [STDERR]     at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:945)
 11:50:08,072 ERROR [STDERR]     at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:426)
 11:50:08,072 ERROR [STDERR]     at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
 11:50:08,072 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
 11:50:08,072 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
 11:50:08,072 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
 11:50:08,072 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
 11:50:08,072 ERROR [STDERR]     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 11:50:08,072 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
 11:50:08,072 ERROR [STDERR]     at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
 11:50:08,072 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 11:50:08,072 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
 11:50:08,072 ERROR [STDERR]     at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
 11:50:08,072 ERROR [STDERR]     at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
 11:50:08,072 ERROR [STDERR]     at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
 11:50:08,072 ERROR [STDERR]     at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
 11:50:08,072 ERROR [STDERR]     at org.jboss.web.WebModule.startModule(WebModule.java:83)
 11:50:08,072 ERROR [STDERR]     at org.jboss.web.WebModule.startService(WebModule.java:61)
 11:50:08,072 ERROR [STDERR]     at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
 11:50:08,072 ERROR [STDERR]     at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 11:50:08,072 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
 11:50:08,072 ERROR [STDERR]     at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
 11:50:08,072 ERROR [STDERR]     at $Proxy0.start(Unknown Source)
 11:50:08,072 ERROR [STDERR]     at org.jboss.system.ServiceController.start(ServiceController.java:417)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 11:50:08,072 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
 11:50:08,072 ERROR [STDERR]     at $Proxy42.start(Unknown Source)
 11:50:08,072 ERROR [STDERR]     at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 11:50:08,072 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
 11:50:08,072 ERROR [STDERR]     at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
 11:50:08,072 ERROR [STDERR]     at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
 11:50:08,072 ERROR [STDERR]     at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
 11:50:08,072 ERROR [STDERR]     at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
 11:50:08,072 ERROR [STDERR]     at $Proxy43.start(Unknown Source)
 11:50:08,072 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
 11:50:08,072 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
 11:50:08,072 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 11:50:08,072 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
 11:50:08,072 ERROR [STDERR]     at $Proxy6.deploy(Unknown Source)
 11:50:08,072 ERROR [STDERR]     at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
 11:50:08,082 ERROR [STDERR]     at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
 11:50:08,082 ERROR [STDERR]     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
 11:50:08,082 ERROR [STDERR]     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
 11:50:08,082 ERROR [STDERR]     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
 11:50:08,082 ERROR [[/address]] Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
 javax.faces.FacesException: java.lang.ClassCastException: com.sun.facelets.component.RepeatRenderer
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:354)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
         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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
         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:5052)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Any ideas? Do I need to modify web.xml? I really want to use ICEFaces on my project, so any help is really appreciated.

John
[Email]
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Hi diablo341,

If you're using MyFaces you'll have to remove the Sun JSF RI context listener. Are you using the MyFaces or Sun JSF RI jars in the web app? Also, how are you trying to integrate Seam into the application? We have some prelimary integration with Seam 1.0.1, but Seam 1.1 is problematic.

Thanks,
Philip

.
diablo341

Joined: 12/Nov/2006 00:00:00
Messages: 11
Offline


I'm using MyFaces 1.1.4. Do I need to include the MyFaces jars in the address.war file? Currently, they're located in server\default\deploy\jbossweb-tomcat55.sar\jsf-libs.

Where is the context listener defined in the address sample? I checked web.xml, but no context listener is defined. In the seam sample apps, it's in the web.xml file. I added this to the address web.xml:
Code:
<!-- MyFaces -->
     <listener>
         <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
     </listener>


but I got the same error:
Code:
14:18:15,145 ERROR [[/address]] Error configuring application listener of class com.sun.faces.config.ConfigureListener
 java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3711)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[Email]
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Sorry, my mistake, there's no Sun RI context listener declaration in the web.xml. The exception you're getting probably means that the Sun JSF RI jars on being picked up first on your classpath, but they're not in the web app lib directory. If you want to use MyFaces, then you could put these jars directly in the web app lib directory.

Thanks,
Philip

.
diablo341

Joined: 12/Nov/2006 00:00:00
Messages: 11
Offline


I've tried that without success. I don't have the Sun JSF RI jars anywhere in my server or the sample war. I put the MyFaces jars in the web-inf/lib folder of the address war. Still get the same error:
Code:
15:16:07,520 ERROR [[/address]] Error configuring application listener of class com.sun.faces.config.ConfigureListener
 java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3711)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


I even removed all of the jars that I copied into my server's lib directory that were listed in the ICEfaces documentation. Still nothing different. Any ideas?
[Email]
ted.goddard

Joined: 26/Oct/2004 00:00:00
Messages: 874
Offline



The ICEfaces distribution includes the MyFaces .jar files. When address.war is built with the MyFaces parameter set, does that help?

ant -Dmyfaces=""

[Email]
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Hi diablo341,

I've reconfigured the address demo. Just change the build.properties to point to your myfaces and icefaces lib directories. Try it out, it's working nicely for me.

Thanks,
Philip
 Filename address-demo-myfaces.zip [Disk] Download
 Description Address Demo configured for MyFaces
 Filesize 217 Kbytes
 Downloaded:  385 time(s)


.
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team