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
 
- problem with persistence: EJB and POJO in SEAM 2.0B

- problem with persistence: EJB and POJO in SEAM 2.0B

2007-07-13       - By szaccaria

 Back
After migrate to SEAM 2.0B I have some problem to deploy my app
This is the log


 | 2007-07-13 17:07:02,929 INFO  [org.jboss.seam.init.Initialization] two
components with same name, higher precedence wins: org.jboss.seam.core
.expressions
 | 2007-07-13 17:07:02,945 INFO  [org.jboss.seam.Component] Component: org
.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss
.seam.core.Init
 | 2007-07-13 17:07:03,007 WARN  [org.jboss.seam.init.Initialization] Did not
install PojoCache due to NoClassDefFoundError: org/jgroups/MembershipListener
 | 2007-07-13 17:07:03,007 INFO  [org.jboss.seam.init.Initialization]
Installing components...
 | 2007-07-13 17:07:03,054 ERROR [org.apache.catalina.core.ContainerBase.
[jboss.web].[localhost].[/com.cesaco.wfcoin]] 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: account
 |   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(NativeMethodAccessorImpl
.java:39)
 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
 |   at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:585)
 |   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(NativeMethodAccessorImpl
.java:39)
 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
 |   at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:585)
 |   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.GeneratedMethodAccessor3.invoke(Unknown Source)
 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
 |   at java.lang.reflect.Method Source code of java.lang.reflect.Method(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 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.GeneratedMethodAccessor9.invoke(Unknown Source)
 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
 |   at java.lang.reflect.Method Source code of java.lang.reflect.Method(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 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(NativeMethodAccessorImpl
.java:39)
 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
 |   at java.lang.reflect.Method Source code of java.lang.reflect.Method(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 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
(DelegatingMethodAccessorImpl.java:25)
 |   at java.lang.reflect.Method Source code of java.lang.reflect.Method(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 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
(AbstractDeploymentScanner.java:336)
 |   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.GeneratedMethodAccessor3.invoke(Unknown Source)
 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
 |   at java.lang.reflect.Method Source code of java.lang.reflect.Method(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 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.GeneratedMethodAccessor9.invoke(Unknown Source)
 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
 |   at java.lang.reflect.Method Source code of java.lang.reflect.Method(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 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 $Proxy4.start(Unknown Source)
 |   at org.jboss.deployment.SARDeployer Source code of org.jboss.deployment.SARDeployer(SARDeployer.java:302)
 |   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:819)
 |   at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:782)
 |   at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:766)
 |   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 Source code of java.lang.reflect.Method(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 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 $Proxy5.deploy(Unknown Source)
 |   at org.jboss.system.server.ServerImpl Source code of org.jboss.system.server.ServerImpl(ServerImpl.java:482)
 |   at org.jboss.system.server.ServerImpl Source code of org.jboss.system.server.ServerImpl(ServerImpl.java:362)
 |   at org.jboss.Main Source code of org.jboss.Main(Main.java:200)
 |   at org.jboss.Main Source code of org.jboss.Main$1.run(Main.java:508)
 |   at java.lang.Thread Source code of java.lang.Thread(Thread.java:595)
 | Caused by: java.lang.IllegalArgumentException Source code of java.lang.IllegalArgumentException: component class is abstract:
account
 |   at org.jboss.seam.Component.<init>(Component.java:225)
 |   at org.jboss.seam.Component.<init>(Component.java:207)
 |   at org.jboss.seam.init.Initialization.addComponent(Initialization.java:894)
 |   ... 139 more
 | 2007-07-13 17:07:03,709 ERROR [org.apache.catalina.core.StandardContext]
Error listenerStart
 | 2007-07-13 17:07:03,725 ERROR [org.apache.catalina.core.StandardContext]
Context [/com.cesaco.wfcoin] startup failed due to previous errors
 | 2007-07-13 17:07:03,943 WARN  [org.jboss.system.ServiceController] Problem
starting service jboss.web.deployment:war=com.cesaco.wfcoin.war,id=-1312527787
 |

I supose the problem is the persistence
In my app I use EJB
With JBOSS 4.0.5 and EJB + SEAM 1.2.1 my app fuction
With JBOSS 4.2GA and SEAM 2.0B not function

Have some idea?

Thanks

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

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

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