Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- Please help: problem integrating Trinidad, Richfaces

- Please help: problem integrating Trinidad, Richfaces

2007-07-18       - By kingcu

 Back
This problem is for integrating Trinidad 1.0.1, Richfaces 3.0.1 and Seam 2.0.0
Beta1 running on JBoss AS 4.2.0 GA. I know there is a seamdiscs example that
shows the integration. By checking out the seam project from CVS using tag
JBoss_Seam_2_0_0_B1, I had no problem building, deploying and running the
seamdiscs example.

So I followed the exact same packaging and used the exact same JARs and made
sure that the configuration XMLs were the same (web.xml, faces-config.xml,
application.xml). However, when deploying my EAR, I always get the following
exception:

10:40:38,407 ERROR [[/dm5]] Exception sending context initialized event to
listener instance of class org.jboss.seam.servlet.SeamListener
 | java.lang.RuntimeException Source code of java.lang.RuntimeException: Could not create Component: org.jboss.seam.core
.manager
 |   at org.jboss.seam.init.Initialization.addComponent(Initialization.java:908)
 |   at org.jboss.seam.init.Initialization.installComponents(Initialization
.java:839)
 |   at org.jboss.seam.init.Initialization.init(Initialization.java:506)
 |   at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener
.java:34)
 |   at org.apache.catalina.core.StandardContext Source code of org.apache.catalina.core.StandardContext(StandardContext
.java:3854)
 |   at org.apache.catalina.core.StandardContext Source code of org.apache.catalina.core.StandardContext(StandardContext.java
:4359)
 |   at org.apache.catalina.core.ContainerBase Source code of org.apache.catalina.core.ContainerBase(ContainerBase
.java:761)
 |   at org.apache.catalina.core.ContainerBase Source code of org.apache.catalina.core.ContainerBase(ContainerBase.java:741)
 |   at org.apache.catalina.core.StandardHost Source code of org.apache.catalina.core.StandardHost(StandardHost.java:553)
 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 |   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 |   at java.lang.reflect.Method Source code of java.lang.reflect.Method(Unknown Source)
 |   at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean
.java:297)
 |   at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
 |   at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java:659)
 |   at org.apache.catalina.core.StandardContext Source code of org.apache.catalina.core.StandardContext(StandardContext.java:5310)
 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 |   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 |   at java.lang.reflect.Method Source code of java.lang.reflect.Method(Unknown Source)
 |   at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean
.java:297)
 |   at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
 |   at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(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 Source code of org.jboss.system.ServiceMBeanSupport
(ServiceMBeanSupport.java:289)
 |   at org.jboss.system.ServiceMBeanSupport Source code of org.jboss.system.ServiceMBeanSupport
(ServiceMBeanSupport.java:245)
 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 |   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 |   at java.lang.reflect.Method Source code of java.lang.reflect.Method(Unknown Source)
 |   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 Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java:659)
 |   at org.jboss.system.ServiceController Source code of org.jboss.system.ServiceController$ServiceProxy.invoke
(ServiceController.java:978)
 |   at $Proxy0.start(Unknown Source)
 |   at org.jboss.system.ServiceController Source code of org.jboss.system.ServiceController(ServiceController.java:417)
 |   at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 |   at java.lang.reflect.Method Source code of java.lang.reflect.Method(Unknown Source)
 |   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 Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java:659)
 |   at org.jboss.mx.util.MBeanProxyExt Source code of org.jboss.mx.util.MBeanProxyExt(MBeanProxyExt.java:210)
 |   at $Proxy45.start(Unknown Source)
 |   at org.jboss.web.AbstractWebContainer Source code of org.jboss.web.AbstractWebContainer(AbstractWebContainer.java:466)
 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 |   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 |   at java.lang.reflect.Method Source code of java.lang.reflect.Method(Unknown Source)
 |   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 Source code of org.jboss.mx.interceptor.AbstractInterceptor(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.jboss42.DeployerInterceptor.start
(DeployerInterceptor.java:93)
 |   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 Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java:659)
 |   at org.jboss.mx.util.MBeanProxyExt Source code of org.jboss.mx.util.MBeanProxyExt(MBeanProxyExt.java:210)
 |   at $Proxy46.start(Unknown Source)
 |   at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:1025)
 |   at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:1015)
 |   at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:819)
 |   at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:782)
 |   at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 |   at java.lang.reflect.Method Source code of java.lang.reflect.Method(Unknown Source)
 |   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 Source code of org.jboss.mx.interceptor.AbstractInterceptor(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 Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java:659)
 |   at org.jboss.mx.util.MBeanProxyExt Source code of org.jboss.mx.util.MBeanProxyExt(MBeanProxyExt.java:210)
 |   at $Proxy9.deploy(Unknown Source)
 |   at org.jboss.deployment.scanner.URLDeploymentScanner Source code of org.jboss.deployment.scanner.URLDeploymentScanner
(URLDeploymentScanner.java:421)
 |   at org.jboss.deployment.scanner.URLDeploymentScanner Source code of org.jboss.deployment.scanner.URLDeploymentScanner
(URLDeploymentScanner.java:634)
 |   at org.jboss.deployment.scanner.AbstractDeploymentScanner Source code of org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread
.doScan(AbstractDeploymentScanner.java:263)
 |   at org.jboss.deployment.scanner.AbstractDeploymentScanner Source code of org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread
.loop(AbstractDeploymentScanner.java:274)
 |   at org.jboss.deployment.scanner.AbstractDeploymentScanner Source code of org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread
.run(AbstractDeploymentScanner.java:225)
 | Caused by: java.lang.IllegalArgumentException Source code of java.lang.IllegalArgumentException: no such setter method: org
.jboss.seam.faces.FacesManager.conversationIsLongRunningParameter
 |   at org.jboss.seam.util.Reflections.getSetterMethod(Reflections.java:220)
 |   at org.jboss.seam.Component.initInitializers(Component.java:431)
 |   at org.jboss.seam.Component.<init>(Component.java:257)
 |   at org.jboss.seam.Component.<init>(Component.java:207)
 |   at org.jboss.seam.init.Initialization.addComponent(Initialization.java:894)
 |   ... 94 more

The only thing I can think of is that when I use the JBoss 4.2.0 EJB 3 library
in JBoss Eclipse 1.6, the compiler is complaining that anonymous wrote :
\server\default\deploy\ejb3.deployer\jboss-ejb3x.jar is missing
but there is no such JAR under 4.2.0. So I had to use the EJB3 library from 4.0
.5 to compile my project and then deploy to 4.2.0.

I've been struggling with this for almost two days. Any help is appreciated.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic
&p=4065419#4065419

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4065419
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.