[JBoss Seam] - @PersistenceContext(type=PersistenceContextType.EXTENDED) qu
by mrohad
I've 2 Entities
User
Group
I would like to show in my xhtml value="#user.group.description"
I understood I must Extend my PersistenceContext.
does it have to be stateful bean or can I use also a stateless?
when I'm using a SF it works!
when I'm using a SL I am getting this exception:
anonymous wrote :
| 11:42:28,156 ERROR [STDERR] java.lang.ClassCastException: org.jboss.ejb3.stateless.StatelessBeanContext
| 11:42:28,156 ERROR [STDERR] at org.jboss.ejb3.injection.ExtendedPersistenceContextInjector.inject(ExtendedPersistenceContextInjector.java:57)
| 11:42:28,156 ERROR [STDERR] at org.jboss.ejb3.injection.ExtendedPersistenceContextInjector.inject(ExtendedPersistenceContextInjector.java:52)
| 11:42:28,156 ERROR [STDERR] at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:88)
| 11:42:28,156 ERROR [STDERR] at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:48)
| 11:42:28,156 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
| 11:42:28,156 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,156 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| 11:42:28,156 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,156 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| 11:42:28,156 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,166 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| 11:42:28,166 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,166 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
| 11:42:28,166 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
| 11:42:28,166 ERROR [STDERR] at $Proxy99.findWagers(Unknown Source)
| 11:42:28,166 ERROR [STDERR] at com.wannabet.wager.Wager$$FastClassByCGLIB$$9f8cbd7f.invoke()
| 11:42:28,166 ERROR [STDERR] at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| 11:42:28,166 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
| 11:42:28,166 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:54)
| 11:42:28,166 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invokeInContexts(SeamInterceptor.java:134)
| 11:42:28,166 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:106)
| 11:42:28,166 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:93)
| 11:42:28,166 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:44)
| 11:42:28,166 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor.intercept(ClientSideInterceptor.java:38)
| 11:42:28,166 ERROR [STDERR] at com.wannabet.wager.Wager$$EnhancerByCGLIB$$f9ca9128.findWagers()
| 11:42:28,166 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 11:42:28,166 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 11:42:28,166 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 11:42:28,166 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 11:42:28,166 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:16)
| 11:42:28,166 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:45)
| 11:42:28,166 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1475)
| 11:42:28,166 ERROR [STDERR] at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1389)
| 11:42:28,166 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1339)
| 11:42:28,166 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1323)
| 11:42:28,166 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
| 11:42:28,166 ERROR [STDERR] at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
| 11:42:28,166 ERROR [STDERR] at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
| 11:42:28,166 ERROR [STDERR] at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
| 11:42:28,166 ERROR [STDERR] at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
| 11:42:28,166 ERROR [STDERR] at com.sun.el.parser.AstGreaterThan.getValue(AstGreaterThan.java:41)
| 11:42:28,166 ERROR [STDERR] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
| 11:42:28,166 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| 11:42:28,166 ERROR [STDERR] at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
| 11:42:28,166 ERROR [STDERR] at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1076)
| 11:42:28,166 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
| 11:42:28,166 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 11:42:28,166 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 11:42:28,166 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeAttributes(DevTools.java:240)
| 11:42:28,166 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeStart(DevTools.java:284)
| 11:42:28,166 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:189)
| 11:42:28,176 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
| 11:42:28,176 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
| 11:42:28,176 ERROR [STDERR] at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:133)
| 11:42:28,176 ERROR [STDERR] at com.sun.facelets.tag.ui.UIDebug.writeDebugOutput(UIDebug.java:92)
| 11:42:28,176 ERROR [STDERR] at com.sun.facelets.tag.ui.UIDebug.encodeBegin(UIDebug.java:81)
| 11:42:28,176 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
| 11:42:28,176 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
| 11:42:28,176 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
| 11:42:28,176 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
| 11:42:28,176 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
| 11:42:28,176 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| 11:42:28,176 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,176 ERROR [STDERR] at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
| 11:42:28,176 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,176 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,176 ERROR [STDERR] at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| 11:42:28,176 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,176 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,176 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 11:42:28,176 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,176 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,176 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| 11:42:28,176 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| 11:42:28,176 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| 11:42:28,176 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| 11:42:28,176 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| 11:42:28,176 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| 11:42:28,176 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| 11:42:28,176 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| 11:42:28,176 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| 11:42:28,176 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| 11:42:28,176 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| 11:42:28,176 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| 11:42:28,176 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
| 11:42:28,176 ERROR [STDERR] java.lang.ClassCastException: org.jboss.ejb3.stateless.StatelessBeanContext
| 11:42:28,176 ERROR [STDERR] at org.jboss.ejb3.injection.ExtendedPersistenceContextInjector.inject(ExtendedPersistenceContextInjector.java:57)
| 11:42:28,176 ERROR [STDERR] at org.jboss.ejb3.injection.ExtendedPersistenceContextInjector.inject(ExtendedPersistenceContextInjector.java:52)
| 11:42:28,176 ERROR [STDERR] at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:88)
| 11:42:28,176 ERROR [STDERR] at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:48)
| 11:42:28,176 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
| 11:42:28,176 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,186 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| 11:42:28,186 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,186 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| 11:42:28,186 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,186 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| 11:42:28,186 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,186 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
| 11:42:28,186 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
| 11:42:28,186 ERROR [STDERR] at $Proxy99.findWagers(Unknown Source)
| 11:42:28,186 ERROR [STDERR] at com.wannabet.wager.Wager$$FastClassByCGLIB$$9f8cbd7f.invoke()
| 11:42:28,186 ERROR [STDERR] at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| 11:42:28,186 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
| 11:42:28,186 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:54)
| 11:42:28,186 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invokeInContexts(SeamInterceptor.java:134)
| 11:42:28,186 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:106)
| 11:42:28,186 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:93)
| 11:42:28,186 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:44)
| 11:42:28,186 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor.intercept(ClientSideInterceptor.java:38)
| 11:42:28,186 ERROR [STDERR] at com.wannabet.wager.Wager$$EnhancerByCGLIB$$f9ca9128.findWagers()
| 11:42:28,186 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 11:42:28,186 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 11:42:28,186 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 11:42:28,186 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 11:42:28,186 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:16)
| 11:42:28,186 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:45)
| 11:42:28,186 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1475)
| 11:42:28,186 ERROR [STDERR] at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1389)
| 11:42:28,186 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1339)
| 11:42:28,186 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1323)
| 11:42:28,186 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
| 11:42:28,186 ERROR [STDERR] at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
| 11:42:28,226 ERROR [STDERR] at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
| 11:42:28,226 ERROR [STDERR] at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
| 11:42:28,226 ERROR [STDERR] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
| 11:42:28,226 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| 11:42:28,226 ERROR [STDERR] at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
| 11:42:28,226 ERROR [STDERR] at javax.faces.component.UIData.getValue(UIData.java:1019)
| 11:42:28,226 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 11:42:28,226 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 11:42:28,226 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 11:42:28,226 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 11:42:28,226 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeAttributes(DevTools.java:240)
| 11:42:28,226 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeStart(DevTools.java:284)
| 11:42:28,226 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:189)
| 11:42:28,226 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
| 11:42:28,226 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
| 11:42:28,226 ERROR [STDERR] at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:133)
| 11:42:28,226 ERROR [STDERR] at com.sun.facelets.tag.ui.UIDebug.writeDebugOutput(UIDebug.java:92)
| 11:42:28,226 ERROR [STDERR] at com.sun.facelets.tag.ui.UIDebug.encodeBegin(UIDebug.java:81)
| 11:42:28,226 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
| 11:42:28,226 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
| 11:42:28,226 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
| 11:42:28,226 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
| 11:42:28,226 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
| 11:42:28,226 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| 11:42:28,226 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,226 ERROR [STDERR] at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
| 11:42:28,226 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,226 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,226 ERROR [STDERR] at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| 11:42:28,226 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,226 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,226 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 11:42:28,226 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,226 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,226 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| 11:42:28,226 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| 11:42:28,226 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| 11:42:28,226 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| 11:42:28,226 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| 11:42:28,226 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| 11:42:28,226 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| 11:42:28,226 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| 11:42:28,226 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| 11:42:28,226 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| 11:42:28,226 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| 11:42:28,226 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| 11:42:28,226 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
| 11:42:28,246 ERROR [STDERR] java.lang.ClassCastException: org.jboss.ejb3.stateless.StatelessBeanContext
| 11:42:28,246 ERROR [STDERR] at org.jboss.ejb3.injection.ExtendedPersistenceContextInjector.inject(ExtendedPersistenceContextInjector.java:57)
| 11:42:28,246 ERROR [STDERR] at org.jboss.ejb3.injection.ExtendedPersistenceContextInjector.inject(ExtendedPersistenceContextInjector.java:52)
| 11:42:28,246 ERROR [STDERR] at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:88)
| 11:42:28,246 ERROR [STDERR] at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:48)
| 11:42:28,246 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
| 11:42:28,246 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,246 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| 11:42:28,246 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,246 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| 11:42:28,246 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,246 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| 11:42:28,246 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,246 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
| 11:42:28,246 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
| 11:42:28,246 ERROR [STDERR] at $Proxy99.findWagers(Unknown Source)
| 11:42:28,246 ERROR [STDERR] at com.wannabet.wager.Wager$$FastClassByCGLIB$$9f8cbd7f.invoke()
| 11:42:28,246 ERROR [STDERR] at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| 11:42:28,246 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
| 11:42:28,246 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:54)
| 11:42:28,246 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invokeInContexts(SeamInterceptor.java:134)
| 11:42:28,246 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:106)
| 11:42:28,246 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:93)
| 11:42:28,246 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:44)
| 11:42:28,246 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor.intercept(ClientSideInterceptor.java:38)
| 11:42:28,286 ERROR [STDERR] at com.wannabet.wager.Wager$$EnhancerByCGLIB$$f9ca9128.findWagers()
| 11:42:28,286 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 11:42:28,286 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 11:42:28,286 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 11:42:28,286 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 11:42:28,286 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:16)
| 11:42:28,286 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:45)
| 11:42:28,286 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1475)
| 11:42:28,286 ERROR [STDERR] at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1389)
| 11:42:28,286 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1339)
| 11:42:28,286 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1323)
| 11:42:28,286 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
| 11:42:28,286 ERROR [STDERR] at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
| 11:42:28,286 ERROR [STDERR] at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
| 11:42:28,286 ERROR [STDERR] at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
| 11:42:28,286 ERROR [STDERR] at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
| 11:42:28,286 ERROR [STDERR] at com.sun.el.parser.AstEqual.getValue(AstEqual.java:41)
| 11:42:28,286 ERROR [STDERR] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
| 11:42:28,286 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| 11:42:28,286 ERROR [STDERR] at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
| 11:42:28,286 ERROR [STDERR] at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1076)
| 11:42:28,286 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:231)
| 11:42:28,286 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
| 11:42:28,286 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
| 11:42:28,286 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
| 11:42:28,286 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
| 11:42:28,286 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
| 11:42:28,286 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| 11:42:28,286 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,286 ERROR [STDERR] at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
| 11:42:28,286 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,286 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,286 ERROR [STDERR] at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| 11:42:28,286 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,286 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,286 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 11:42:28,286 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,286 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,286 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| 11:42:28,286 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| 11:42:28,286 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| 11:42:28,286 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| 11:42:28,286 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| 11:42:28,286 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| 11:42:28,286 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| 11:42:28,286 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| 11:42:28,286 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| 11:42:28,286 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| 11:42:28,286 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| 11:42:28,286 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| 11:42:28,286 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
| 11:42:28,296 ERROR [STDERR] 15/08/2006 11:42:28 com.sun.facelets.FaceletViewHandler handleRenderException
| SEVERE: Error Rendering View[/wager/eventWagers.xhtml]
| java.lang.ClassCastException: org.jboss.ejb3.stateless.StatelessBeanContext
| at org.jboss.ejb3.injection.ExtendedPersistenceContextInjector.inject(ExtendedPersistenceContextInjector.java:57)
| at org.jboss.ejb3.injection.ExtendedPersistenceContextInjector.inject(ExtendedPersistenceContextInjector.java:52)
| at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:88)
| at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:48)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
| at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
| at $Proxy99.findWagers(Unknown Source)
| at com.wannabet.wager.Wager$$FastClassByCGLIB$$9f8cbd7f.invoke()
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.jboss.seam.interceptors.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
| at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:54)
| at org.jboss.seam.ejb.SeamInterceptor.invokeInContexts(SeamInterceptor.java:134)
| at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:106)
| at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:93)
| at org.jboss.seam.interceptors.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:44)
| at org.jboss.seam.interceptors.ClientSideInterceptor.intercept(ClientSideInterceptor.java:38)
| at com.wannabet.wager.Wager$$EnhancerByCGLIB$$f9ca9128.findWagers()
| 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.seam.util.Reflections.invoke(Reflections.java:16)
| at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:45)
| at org.jboss.seam.Component.callComponentMethod(Component.java:1475)
| at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1389)
| at org.jboss.seam.Component.getInstance(Component.java:1339)
| at org.jboss.seam.Component.getInstance(Component.java:1323)
| at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
| at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
| at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
| at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
| at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
| at com.sun.el.parser.AstEqual.getValue(AstEqual.java:41)
| at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
| at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
| at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1076)
| at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:231)
| at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
| at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
| at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
| 11:42:28,366 ERROR [STDERR] java.lang.ClassCastException: org.jboss.ejb3.stateless.StatelessBeanContext
| 11:42:28,366 ERROR [STDERR] at org.jboss.ejb3.injection.ExtendedPersistenceContextInjector.inject(ExtendedPersistenceContextInjector.java:57)
| 11:42:28,366 ERROR [STDERR] at org.jboss.ejb3.injection.ExtendedPersistenceContextInjector.inject(ExtendedPersistenceContextInjector.java:52)
| 11:42:28,366 ERROR [STDERR] at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:88)
| 11:42:28,366 ERROR [STDERR] at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:48)
| 11:42:28,387 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
| 11:42:28,387 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,387 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| 11:42:28,387 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,387 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| 11:42:28,387 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,387 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| 11:42:28,387 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,387 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
| 11:42:28,387 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
| 11:42:28,387 ERROR [STDERR] at $Proxy99.findWagers(Unknown Source)
| 11:42:28,387 ERROR [STDERR] at com.wannabet.wager.Wager$$FastClassByCGLIB$$9f8cbd7f.invoke()
| 11:42:28,387 ERROR [STDERR] at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| 11:42:28,387 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
| 11:42:28,387 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:54)
| 11:42:28,387 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invokeInContexts(SeamInterceptor.java:134)
| 11:42:28,387 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:106)
| 11:42:28,387 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:93)
| 11:42:28,387 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:44)
| 11:42:28,387 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor.intercept(ClientSideInterceptor.java:38)
| 11:42:28,387 ERROR [STDERR] at com.wannabet.wager.Wager$$EnhancerByCGLIB$$f9ca9128.findWagers()
| 11:42:28,387 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 11:42:28,387 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 11:42:28,387 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 11:42:28,387 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 11:42:28,387 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:16)
| 11:42:28,387 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:45)
| 11:42:28,387 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1475)
| 11:42:28,387 ERROR [STDERR] at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1389)
| 11:42:28,387 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1339)
| 11:42:28,387 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1323)
| 11:42:28,387 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
| 11:42:28,387 ERROR [STDERR] at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
| 11:42:28,387 ERROR [STDERR] at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
| 11:42:28,387 ERROR [STDERR] at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
| 11:42:28,387 ERROR [STDERR] at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
| 11:42:28,397 ERROR [STDERR] at com.sun.el.parser.AstEqual.getValue(AstEqual.java:41)
| 11:42:28,397 ERROR [STDERR] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
| 11:42:28,397 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| 11:42:28,407 ERROR [STDERR] at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
| 11:42:28,407 ERROR [STDERR] at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1076)
| 11:42:28,407 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
| 11:42:28,407 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 11:42:28,407 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 11:42:28,407 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeAttributes(DevTools.java:240)
| 11:42:28,407 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeStart(DevTools.java:284)
| 11:42:28,407 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:189)
| 11:42:28,407 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
| 11:42:28,407 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
| 11:42:28,407 ERROR [STDERR] at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:107)
| 11:42:28,407 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.handleRenderException(FaceletViewHandler.java:677)
| 11:42:28,407 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:646)
| 11:42:28,407 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
| 11:42:28,407 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
| 11:42:28,407 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| 11:42:28,407 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,407 ERROR [STDERR] at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
| 11:42:28,417 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,417 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,417 ERROR [STDERR] at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| 11:42:28,417 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,417 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,447 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 11:42:28,447 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,447 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,447 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| 11:42:28,447 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| 11:42:28,447 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| 11:42:28,447 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| 11:42:28,447 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| 11:42:28,447 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| 11:42:28,447 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| 11:42:28,447 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| 11:42:28,447 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| 11:42:28,447 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| 11:42:28,447 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| 11:42:28,447 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| 11:42:28,447 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
| 11:42:28,447 ERROR [STDERR] java.lang.ClassCastException: org.jboss.ejb3.stateless.StatelessBeanContext
| 11:42:28,447 ERROR [STDERR] at org.jboss.ejb3.injection.ExtendedPersistenceContextInjector.inject(ExtendedPersistenceContextInjector.java:57)
| 11:42:28,447 ERROR [STDERR] at org.jboss.ejb3.injection.ExtendedPersistenceContextInjector.inject(ExtendedPersistenceContextInjector.java:52)
| 11:42:28,447 ERROR [STDERR] at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:88)
| 11:42:28,447 ERROR [STDERR] at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:48)
| 11:42:28,447 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
| 11:42:28,447 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,447 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| 11:42:28,447 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,447 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| 11:42:28,447 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,447 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| 11:42:28,447 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,457 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
| 11:42:28,457 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
| 11:42:28,457 ERROR [STDERR] at $Proxy99.findWagers(Unknown Source)
| 11:42:28,457 ERROR [STDERR] at com.wannabet.wager.Wager$$FastClassByCGLIB$$9f8cbd7f.invoke()
| 11:42:28,457 ERROR [STDERR] at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| 11:42:28,457 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
| 11:42:28,457 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:54)
| 11:42:28,457 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invokeInContexts(SeamInterceptor.java:134)
| 11:42:28,457 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:106)
| 11:42:28,457 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:93)
| 11:42:28,457 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:44)
| 11:42:28,457 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor.intercept(ClientSideInterceptor.java:38)
| 11:42:28,457 ERROR [STDERR] at com.wannabet.wager.Wager$$EnhancerByCGLIB$$f9ca9128.findWagers()
| 11:42:28,457 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 11:42:28,457 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 11:42:28,457 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 11:42:28,457 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 11:42:28,467 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:16)
| 11:42:28,467 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:45)
| 11:42:28,467 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1475)
| 11:42:28,467 ERROR [STDERR] at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1389)
| 11:42:28,467 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1339)
| 11:42:28,467 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1323)
| 11:42:28,477 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
| 11:42:28,477 ERROR [STDERR] at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
| 11:42:28,477 ERROR [STDERR] at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
| 11:42:28,477 ERROR [STDERR] at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
| 11:42:28,477 ERROR [STDERR] at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
| 11:42:28,477 ERROR [STDERR] at com.sun.el.parser.AstGreaterThan.getValue(AstGreaterThan.java:41)
| 11:42:28,477 ERROR [STDERR] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
| 11:42:28,477 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| 11:42:28,477 ERROR [STDERR] at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
| 11:42:28,477 ERROR [STDERR] at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1076)
| 11:42:28,477 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
| 11:42:28,477 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 11:42:28,477 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 11:42:28,477 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeAttributes(DevTools.java:240)
| 11:42:28,477 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeStart(DevTools.java:284)
| 11:42:28,477 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:189)
| 11:42:28,477 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
| 11:42:28,477 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
| 11:42:28,477 ERROR [STDERR] at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:107)
| 11:42:28,477 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.handleRenderException(FaceletViewHandler.java:677)
| 11:42:28,477 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:646)
| 11:42:28,477 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
| 11:42:28,477 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
| 11:42:28,477 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| 11:42:28,477 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,477 ERROR [STDERR] at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
| 11:42:28,477 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,477 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,477 ERROR [STDERR] at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| 11:42:28,477 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,477 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,477 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 11:42:28,477 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,477 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,477 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| 11:42:28,477 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| 11:42:28,477 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| 11:42:28,477 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| 11:42:28,477 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| 11:42:28,477 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| 11:42:28,477 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| 11:42:28,477 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| 11:42:28,477 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| 11:42:28,477 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| 11:42:28,477 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| 11:42:28,477 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| 11:42:28,477 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
| 11:42:28,477 ERROR [STDERR] java.lang.ClassCastException: org.jboss.ejb3.stateless.StatelessBeanContext
| 11:42:28,477 ERROR [STDERR] at org.jboss.ejb3.injection.ExtendedPersistenceContextInjector.inject(ExtendedPersistenceContextInjector.java:57)
| 11:42:28,477 ERROR [STDERR] at org.jboss.ejb3.injection.ExtendedPersistenceContextInjector.inject(ExtendedPersistenceContextInjector.java:52)
| 11:42:28,477 ERROR [STDERR] at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:88)
| 11:42:28,477 ERROR [STDERR] at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:48)
| 11:42:28,477 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
| 11:42:28,477 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,477 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| 11:42:28,477 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,477 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| 11:42:28,477 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,477 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| 11:42:28,477 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 11:42:28,477 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
| 11:42:28,477 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
| 11:42:28,477 ERROR [STDERR] at $Proxy99.findWagers(Unknown Source)
| 11:42:28,477 ERROR [STDERR] at com.wannabet.wager.Wager$$FastClassByCGLIB$$9f8cbd7f.invoke()
| 11:42:28,477 ERROR [STDERR] at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| 11:42:28,477 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
| 11:42:28,477 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:54)
| 11:42:28,517 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invokeInContexts(SeamInterceptor.java:134)
| 11:42:28,517 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:106)
| 11:42:28,517 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:93)
| 11:42:28,517 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:44)
| 11:42:28,517 ERROR [STDERR] at org.jboss.seam.interceptors.ClientSideInterceptor.intercept(ClientSideInterceptor.java:38)
| 11:42:28,517 ERROR [STDERR] at com.wannabet.wager.Wager$$EnhancerByCGLIB$$f9ca9128.findWagers()
| 11:42:28,517 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 11:42:28,517 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 11:42:28,517 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 11:42:28,517 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 11:42:28,517 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:16)
| 11:42:28,517 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:45)
| 11:42:28,517 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1475)
| 11:42:28,517 ERROR [STDERR] at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1389)
| 11:42:28,517 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1339)
| 11:42:28,517 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1323)
| 11:42:28,517 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
| 11:42:28,517 ERROR [STDERR] at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
| 11:42:28,517 ERROR [STDERR] at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
| 11:42:28,517 ERROR [STDERR] at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
| 11:42:28,517 ERROR [STDERR] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
| 11:42:28,517 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| 11:42:28,517 ERROR [STDERR] at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
| 11:42:28,517 ERROR [STDERR] at javax.faces.component.UIData.getValue(UIData.java:1019)
| 11:42:28,517 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 11:42:28,517 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 11:42:28,517 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 11:42:28,517 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 11:42:28,517 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeAttributes(DevTools.java:240)
| 11:42:28,517 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeStart(DevTools.java:284)
| 11:42:28,517 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:189)
| 11:42:28,517 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
| 11:42:28,517 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
| 11:42:28,517 ERROR [STDERR] at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:107)
| 11:42:28,517 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.handleRenderException(FaceletViewHandler.java:677)
| 11:42:28,517 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:646)
| 11:42:28,517 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
| 11:42:28,517 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
| 11:42:28,517 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| 11:42:28,517 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,517 ERROR [STDERR] at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
| 11:42:28,517 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,517 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,517 ERROR [STDERR] at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| 11:42:28,517 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,517 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,517 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 11:42:28,517 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 11:42:28,517 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 11:42:28,517 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| 11:42:28,527 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| 11:42:28,527 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| 11:42:28,527 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| 11:42:28,527 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| 11:42:28,527 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| 11:42:28,527 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| 11:42:28,527 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| 11:42:28,527 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| 11:42:28,527 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| 11:42:28,527 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| 11:42:28,527 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| 11:42:28,527 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965195#3965195
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965195
19 years, 10 months
[Installation, Configuration & Deployment] - Re: JBoss SSL problem
by LamasLam
I seems solve the problem with follow change.
in jboss-service.xml
<mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"
| name="jboss:service=invoker,type=jrmp,socketType=SSL">
| <attribute name="RMIObjectPort">14445</attribute>
| <attribute name="ServerAddress">${jboss.bind.address}</attribute>
| <attribute name="RMIClientSocketFactory">org.jboss.security.ssl.RMISSLClientSocketFactory</attribute>
| <attribute name="RMIServerSocketFactory">org.jboss.security.ssl.RMISSLServerSocketFactory</attribute>
| <attribute name="SecurityDomain">java:/jaas/RMI+SSL</attribute>
| <depends>jboss:service=TransactionManager</depends>
| <depends>jboss.security:service=JaasSecurityDomain,domain=RMI+SSL</depends>
| </mbean>
add jboss:service=TransactionManager .
Try it out. but is there any way to test whether the ejb is really go through ssl?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965194#3965194
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965194
19 years, 10 months
[EJB/JBoss] - Extending Principal and using getCallerPrincipal()
by harryworld
Hi,
I would like to ask a question about the stated topic.
My case is like that:
The SimplePrincipal originally shipped with JBoss is not enough to me, it contains only name, but I would like to add some more variables. Thus, I made my own MyPrincipal implementing java.security.Principal.
anonymous wrote :
| public class MyPrincipal implements Principal, Serializable {
| ...
| }
|
Moreover, I have made a new MyLoginModule extending DatabaseServerLoginModule, this class overrides the createIdentity() method so that the Principal instance created must be of the class MyPrincipal.
anonymous wrote :
| public class MyLoginModule extends DatabaseServerLoginModule {
| ...
| protected Principal createIdentity(String username) throws Exception {
| MyPrincipal p = null;
| if (principalClassName == null)
| p = new MyPrincipal(username);
| } else
| p = (MyPrincipal) super.createIdentity(username);
| return p;
| }
| }
|
These classes run successfully, and I did check the Principal created after the login() method is an instance of MyPrincipal.
Now, is the problem. Am I able to get this Principal in a Session Bean?
Before I made the new Principal and LoginModule, I can get the Principal instance through its interface using the sessionContext.getCallerPrincipal() method. I checked the instance I got and it is of the default class type - SimplePrincipal.
However, after I used the the new one - MyPrincipal, the result shows me the sessionContext.getCallerPrincipal() method also returns an instance of SimplePrincipal. Is this method points to the same Principal instance as the one I got in login()?
If not, is there any method for me to get the instance created in login()?
Thanks for your kindness and sincere help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965190#3965190
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965190
19 years, 10 months
[EJB 3.0] - ManyToMany problem
by andydale
I am currently trying to implement a really simple many to many relationship using students and courses, but i cannot get it to work. The error always seems to be with the Collection in the none owning side of the relationship.
Below are the exceptions i get:
anonymous wrote :
| 17:01:06,300 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
| name: test
| ...]
| 17:01:06,302 INFO [Ejb3Configuration] found EJB3 Entity bean: test.Course
| 17:01:06,307 INFO [Ejb3Configuration] found EJB3 Entity bean: test.Student
| 17:01:06,307 WARN [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
| 17:01:06,309 INFO [Configuration] Reading mappings from resource: META-INF/orm.xml
| 17:01:06,309 INFO [Ejb3Configuration] [PersistenceUnit: test] no META-INF/orm.xml found
| 17:01:06,311 INFO [AnnotationBinder] Binding entity from annotated class: test.Course
| 17:01:06,312 INFO [EntityBinder] Bind entity test.Course on table course
| 17:01:06,312 WARN [AnnotationBinder] Hibernate does not support SequenceGenerator.initialValue()
| 17:01:06,322 INFO [AnnotationBinder] Binding entity from annotated class: test.Student
| 17:01:06,322 INFO [EntityBinder] Bind entity test.Student on table student
| 17:01:06,323 WARN [AnnotationBinder] Hibernate does not support SequenceGenerator.initialValue()
| 17:01:06,368 WARN [ServiceController] Problem starting service persistence.units:ear=TestRelationships.ear,jar=TestRelationshipsEJB.jar,unitName=test
| org.hibernate.MappingException: Could not determine type for: java.util.Collection, for columns: [org.hibernate.mapping.Column(mCoursesEnrolledOn)]
| at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:266)
| at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:253)
| at org.hibernate.mapping.Property.isValid(Property.java:185)
| at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:395)
| at org.hibernate.mapping.RootClass.validate(RootClass.java:192)
| at org.hibernate.cfg.Configuration.validate(Configuration.java:1021)
| at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1206)
| at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631)
| at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760)
| at org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:350)
| at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:119)
| at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264)
| 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:99)
| 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 $Proxy120.start(Unknown Source)
| at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:82)
| at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:626)
| at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:475)
| at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:139)
| 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 $Proxy41.start(Unknown Source)
| at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449)
| 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.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
| 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 $Proxy42.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
| at sun.reflect.GeneratedMethodAccessor10.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:610)
| 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)
| 17:01:06,402 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=TestRelationships.ear,jar=TestRelationshipsEJB.jar,name=RelationTestBean,service=EJB3 with dependencies:
| 17:01:06,402 INFO [JmxKernelAbstraction] persistence.units:ear=TestRelationships.ear,jar=TestRelationshipsEJB.jar,unitName=test
| 17:01:06,405 INFO [EJB3Deployer] Deployed: file:/usr/local/jboss-4.0.4.GA/server/default/tmp/deploy/tmp56627TestRelationships.ear-contents/TestRelationshipsEJB.jar
| 17:01:06,407 INFO [EARDeployer] Started J2EE application: file:/usr/local/jboss-4.0.4.GA/server/default/deploy/TestRelationships.ear
| 17:01:06,410 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: persistence.units:ear=TestRelationships.ear,jar=TestRelationshipsEJB.jar,unitName=test
| State: FAILED
| Reason: org.hibernate.MappingException: Could not determine type for: java.util.Collection, for columns: [org.hibernate.mapping.Column(mCoursesEnrolledOn)]
| I Depend On:
| jboss.jca:service=ManagedConnectionFactory,name=Postgres_Test
| Depends On Me:
| jboss.j2ee:ear=TestRelationships.ear,jar=TestRelationshipsEJB.jar,name=RelationTestBean,service=EJB3
|
| ObjectName: jboss.j2ee:ear=TestRelationships.ear,jar=TestRelationshipsEJB.jar,name=RelationTestBean,service=EJB3
| State: NOTYETINSTALLED
| I Depend On:
| persistence.units:ear=TestRelationships.ear,jar=TestRelationshipsEJB.jar,unitName=test
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: persistence.units:ear=TestRelationships.ear,jar=TestRelationshipsEJB.jar,unitName=test
| State: FAILED
| Reason: org.hibernate.MappingException: Could not determine type for: java.util.Collection, for columns: [org.hibernate.mapping.Column(mCoursesEnrolledOn)]
| I Depend On:
| jboss.jca:service=ManagedConnectionFactory,name=Postgres_Test
| Depends On Me:
| jboss.j2ee:ear=TestRelationships.ear,jar=TestRelationshipsEJB.jar,name=RelationTestBean,service=EJB3
|
Here is the relevant contents of Course.java
| /**
| * The list of student's enrolled on the course.
| */
| private Set < Student > mEnrolledStudents = new HashSet < Student >();
| .......
|
| /**
| * Return the students enrolled on the course.
| * @return mEnrolledStudents student's
| */
| @ManyToMany(cascade = {CascadeType.PERSIST, CascadeType.MERGE }, fetch = FetchType.EAGER)
| @JoinTable(name = "course_student",
| joinColumns = {@JoinColumn(name = "course_id") },
| inverseJoinColumns = {@JoinColumn(name = "student_id") })
| public Set < Student > getStudents() {
| return mEnrolledStudents;
| }
|
|
| /**
| * Set the students enrolled on this course.
| * @param pEnrolledStudents students
| */
| public void setStudents(final Set < Student > pEnrolledStudents) {
| this.mEnrolledStudents = pEnrolledStudents;
| }
|
And the relevant contents in Student.java
| /**
| * The list of the course the student is enrolled on.
| */
| private Collection < Course > mCoursesEnrolledOn = new ArrayList < Course >();
| ......
| /**
| * Return the courses the student is enrolled on.
| * @return mCoursesEnrolledOn courses
| */
| @ManyToMany(cascade = {CascadeType.PERSIST, CascadeType.MERGE }, mappedBy = "mEnrolledStudents")
| public Collection < Course > getCourses() {
| return mCoursesEnrolledOn;
| }
|
|
| /**
| * Set the courses the student is enrolled on.
| * @param pCoursesEnrolledOn courses
| */
| public void setCourses(final Collection < Course > pCoursesEnrolledOn) {
| this.mCoursesEnrolledOn = pCoursesEnrolledOn;
| }
|
I cannot understand what is wrong with my code as it is the same as all the EJB 3 examples i have seen, and read (O'Reilly Enterprise Java Beans 3.0). Do i have to decalre the the JoinTable in both Entities as I found an older example that said that (Jan 2005), but i think you don't need to now.
Can anyone offer me any advice ?
Thanks in advance,
Andy
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965187#3965187
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965187
19 years, 10 months