[jboss-user] [JBoss Seam] - Re: ConvertEntity Seam 2.0 issue
trouby
do-not-reply at jboss.com
Tue Jul 3 12:57:29 EDT 2007
Ok,
So the TopLinkPersistenceProvider class is ready,
I'll do some testing, make sure it works fine and upload a jar file to the wiki so other people using Toplink as JPA will be able to use it.
Well, back to the original reason of this post, even when using the s:convertEntity, I get the same exception,
Now I'm sure it has something with the hibernate core (hibernate3.jar file), when hibernate core is in my libs, I get the exception, when its not, everything works just fine (but of course I need it, otherwise validations do not work properly)
What could be the reason for that? I'm reposting the exception, just in case.
| rDelegate.java:114)
| at $Proxy1992.getSearchTargetAttributesByNameString(Unknown Source)
| 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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:61)
| at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:72)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
| at org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
| at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:50)
| at org.javassist.tmp.java.lang.Object_$$_javassist_2.getSearchTargetAttributesByNameString(Object_$$_javassist_2.java)
| 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 javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
| at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
| at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
| at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
| at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
| at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
| at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| ... 62 more
| Caused by: javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
| at com.sun.ejb.containers.BaseContainer.useClientTx(BaseContainer.java:3338)
| at com.sun.ejb.containers.BaseContainer.preInvokeTx(BaseContainer.java:3218)
| at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1195)
| at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:182)
| ... 90 more
| |#]
|
| [#|2007-07-03T19:55:28.718+0300|INFO|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=19;_ThreadName=httpSSLWorkerThread-8181-1;TargetSystemAttributeSeamBean;|EJB5018: An exception was thrown during an ejb invocation on [TargetSystemAttributeSeamBean]|#]
|
| [#|2007-07-03T19:55:28.718+0300|INFO|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=19;_ThreadName=httpSSLWorkerThread-8181-1;|
| javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
| at com.sun.ejb.containers.BaseContainer.useClientTx(BaseContainer.java:3338)
| at com.sun.ejb.containers.BaseContainer.preInvokeTx(BaseContainer.java:3218)
| at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1195)
| at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:182)
| at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:114)
| at $Proxy1992.getSearchTargetAttributesByNameString(Unknown Source)
| 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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:61)
| at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:72)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
| at org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
| at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:50)
| at org.javassist.tmp.java.lang.Object_$$_javassist_2.getSearchTargetAttributesByNameString(Object_$$_javassist_2.java)
| 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 javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
| at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
| at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
| at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
| at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
| at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
| at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
| at sun.reflect.GeneratedMethodAccessor4560.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at com.sun.facelets.util.DevTools.writeAttributes(DevTools.java:240)
| at com.sun.facelets.util.DevTools.writeStart(DevTools.java:284)
| at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:189)
| at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
| at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
| at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:107)
| at com.sun.facelets.FaceletViewHandler.handleRenderException(FaceletViewHandler.java:677)
| at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:646)
| at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
| at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
| at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
| at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
| at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
| at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
| at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:40)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:140)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
| at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
| at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
| at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
| at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
| at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
| at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
| at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
| at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
| at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
| at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
| at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
| at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
| at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
| at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
| at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
| at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
| at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
| at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
| at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:427)
| at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:215)
| at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
| at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
| |#]
|
As always - many thanks,
Asaf.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060081#4060081
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060081
More information about the jboss-user
mailing list