[jboss-user] [JBoss Seam] - Could not instantiate Seam component/No object bound to name

Echnaton do-not-reply at jboss.com
Wed Jan 3 14:34:05 EST 2007


i get the errors which i mentioned in the topic but i dont understand why.
this is the stacktrace:


  | EJB5018: An exception was thrown during an ejb invocation on [LokalEinloggenBean]
  | javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: org.jboss.seam.InstantiationException: Could not instantiate Seam component: benutzerbean
  | org.jboss.seam.InstantiationException: Could not instantiate Seam component: benutzerbean
  |         at org.jboss.seam.Component.newInstance(Component.java:1722)
  |         at org.jboss.seam.Component.getInstance(Component.java:1625)
  |         at org.jboss.seam.Component.getInstance(Component.java:1592)
  |         at org.jboss.seam.Component.getInstanceToInject(Component.java:1842)
  |         at org.jboss.seam.Component.injectFields(Component.java:1342)
  |         at org.jboss.seam.Component.inject(Component.java:1112)
  |         at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:48)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:51)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
  |         at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  |         at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  |         at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:49)
  |         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 com.sun.ejb.containers.interceptors.AroundInvokeInterceptor$1.run(InterceptorManager.java:485)
  |         at java.security.AccessController.doPrivileged(Native Method)
  |         at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:479)
  |         at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:414)
  |         at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:188)
  |         at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3839)
  |         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:184)
  |         at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:118)
  |         at $Proxy1222.getBenutzername(Unknown Source)
  |         at projektplaner.LokalEinloggenLocal$$FastClassByCGLIB$$6b241b61.invoke(<generated>)
  |         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  |         at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  |         at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  |         at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38)
  |         at sun.reflect.GeneratedMethodAccessor991.invoke(Unknown Source)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.interceptors.SynchronizationInterceptor.serialize(SynchronizationInterceptor.java:30)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
  |         at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  |         at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  |         at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:82)
  |         at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
  |         at org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$d7ce8136.getBenutzername(<generated>)
  |         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 javax.el.BeanELResolver.getValue(BeanELResolver.java:273)
  |         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
  |         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
  |         at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
  |         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  |         at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
  |         at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
  |         at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:100)
  |         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:279)
  |         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:207)
  |         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
  |         at org.jboss.seam.ui.JSF.renderChild(JSF.java:179)
  |         at org.jboss.seam.ui.JSF.renderChildren(JSF.java:162)
  |         at org.jboss.seam.ui.UIDecorate.encodeChildren(UIDecorate.java:162)
  |         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
  |         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
  |         at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
  |         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
  |         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
  |         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
  |         at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
  |         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
  |         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
  |         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
  |         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  |         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
  |         at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
  |         at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
  |         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
  |         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
  |         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
  |         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
  |         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
  |         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
  |         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
  |         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
  |         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
  |         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
  |         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
  |         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
  |         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
  |         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
  |         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
  | Caused by: javax.naming.NameNotFoundException: No object bound to name java:comp/env/Projektplaner-ejb/BenutzerBean/local
  |         at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:751)
  |         at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:156)
  |         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:307)
  |         at javax.naming.InitialContext.lookup(InitialContext.java:351)
  |         at org.jboss.seam.Component.instantiateSessionBean(Component.java:1027)
  |         at org.jboss.seam.Component.instantiate(Component.java:1013)
  |         at org.jboss.seam.Component.newInstance(Component.java:1718)
  |         ... 141 more
  | javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: org.jboss.seam.InstantiationException: Could not instantiate Seam component: benutzerbean
  |         at com.sun.ejb.containers.BaseContainer.checkExceptionClientTx(BaseContainer.java:3588)
  |         at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3436)
  |         at com.sun.ejb.containers.StatefulSessionContainer.postInvokeTx(StatefulSessionContainer.java:2583)
  |         at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1247)
  |         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:192)
  |         at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:118)
  |         at $Proxy1222.getBenutzername(Unknown Source)
  |         at projektplaner.LokalEinloggenLocal$$FastClassByCGLIB$$6b241b61.invoke(<generated>)
  |         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  |         at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  |         at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  |         at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38)
  |         at sun.reflect.GeneratedMethodAccessor991.invoke(Unknown Source)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.interceptors.SynchronizationInterceptor.serialize(SynchronizationInterceptor.java:30)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
  |         at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  |         at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  |         at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:82)
  |         at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
  |         at org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$d7ce8136.getBenutzername(<generated>)
  |         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 javax.el.BeanELResolver.getValue(BeanELResolver.java:273)
  |         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
  |         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
  |         at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
  |         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  |         at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
  |         at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
  |         at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:100)
  |         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:279)
  |         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:207)
  |         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
  |         at org.jboss.seam.ui.JSF.renderChild(JSF.java:179)
  |         at org.jboss.seam.ui.JSF.renderChildren(JSF.java:162)
  |         at org.jboss.seam.ui.UIDecorate.encodeChildren(UIDecorate.java:162)
  |         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
  |         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
  |         at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
  |         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
  |         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
  |         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
  |         at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
  |         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
  |         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
  |         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
  |         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  |         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
  |         at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
  |         at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
  |         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
  |         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
  |         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
  |         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
  |         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
  |         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
  |         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
  |         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
  |         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
  |         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
  |         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
  |         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
  |         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
  |         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
  |         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
  | Error Rendering View[/lokaleinloggen.xhtml]
  | javax.faces.FacesException: javax.el.ELException: /lokaleinloggen.xhtml @35,132 value="#{lokaleinloggen.benutzername}": javax.ejb.EJBTransactionRolledbackException
  |         at javax.faces.component.UIOutput.getValue(UIOutput.java:176)
  |         at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:100)
  |         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:279)
  |         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:207)
  |         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
  |         at org.jboss.seam.ui.JSF.renderChild(JSF.java:179)
  |         at org.jboss.seam.ui.JSF.renderChildren(JSF.java:162)
  |         at org.jboss.seam.ui.UIDecorate.encodeChildren(UIDecorate.java:162)
  |         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
  |         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
  |         at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
  |         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
  |         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
  |         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
  |         at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
  |         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
  |         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
  |         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
  |         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  |         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
  |         at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
  |         at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
  |         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
  |         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
  |         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
  |         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
  |         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
  |         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
  |         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
  |         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
  |         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
  |         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
  |         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
  |         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
  |         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
  |         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
  |         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
  | Caused by: javax.el.ELException: /lokaleinloggen.xhtml @35,132 value="#{lokaleinloggen.benutzername}": javax.ejb.EJBTransactionRolledbackException
  |         at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
  |         at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
  |         ... 50 more
  | Caused by: javax.ejb.EJBTransactionRolledbackException
  |         at com.sun.ejb.containers.BaseContainer.mapBusinessInterfaceException(BaseContainer.java:1373)
  |         at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1290)
  |         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:192)
  |         at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:118)
  |         at $Proxy1222.getBenutzername(Unknown Source)
  |         at projektplaner.LokalEinloggenLocal$$FastClassByCGLIB$$6b241b61.invoke(<generated>)
  |         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  |         at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  |         at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  |         at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38)
  |         at sun.reflect.GeneratedMethodAccessor991.invoke(Unknown Source)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.interceptors.SynchronizationInterceptor.serialize(SynchronizationInterceptor.java:30)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
  |         at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  |         at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  |         at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:82)
  |         at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
  |         at org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$d7ce8136.getBenutzername(<generated>)
  |         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 javax.el.BeanELResolver.getValue(BeanELResolver.java:273)
  |         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
  |         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
  |         at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
  |         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  |         at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
  |         ... 51 more
  | Caused by: javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: org.jboss.seam.InstantiationException: Could not instantiate Seam component: benutzerbean
  |         at com.sun.ejb.containers.BaseContainer.checkExceptionClientTx(BaseContainer.java:3588)
  |         at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3436)
  |         at com.sun.ejb.containers.StatefulSessionContainer.postInvokeTx(StatefulSessionContainer.java:2583)
  |         at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1247)
  |         ... 98 more
  | EJB5018: An exception was thrown during an ejb invocation on [LokalEinloggenBean]
  | javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
  |         at com.sun.ejb.containers.BaseContainer.useClientTx(BaseContainer.java:3254)
  |         at com.sun.ejb.containers.BaseContainer.preInvokeTx(BaseContainer.java:3134)
  |         at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1158)
  |         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:182)
  |         at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:118)
  |         at $Proxy1222.getBenutzername(Unknown Source)
  |         at projektplaner.LokalEinloggenLocal$$FastClassByCGLIB$$6b241b61.invoke(<generated>)
  |         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  |         at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  |         at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  |         at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38)
  |         at sun.reflect.GeneratedMethodAccessor991.invoke(Unknown Source)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.interceptors.SynchronizationInterceptor.serialize(SynchronizationInterceptor.java:30)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
  |         at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  |         at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  |         at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:82)
  |         at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
  |         at org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$d7ce8136.getBenutzername(<generated>)
  |         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 javax.el.BeanELResolver.getValue(BeanELResolver.java:273)
  |         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
  |         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
  |         at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
  |         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  |         at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
  |         at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
  |         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 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.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 com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
  |         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
  |         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
  |         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  |         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
  |         at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
  |         at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
  |         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
  |         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
  |         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
  |         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
  |         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
  |         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
  |         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
  |         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
  |         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
  |         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
  |         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
  |         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
  |         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
  |         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
  |         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
  | EJB5018: An exception was thrown during an ejb invocation on [LokalEinloggenBean]
  | javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
  |         at com.sun.ejb.containers.BaseContainer.useClientTx(BaseContainer.java:3254)
  |         at com.sun.ejb.containers.BaseContainer.preInvokeTx(BaseContainer.java:3134)
  |         at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1158)
  |         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:182)
  |         at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:118)
  |         at $Proxy1222.getPasswort(Unknown Source)
  |         at projektplaner.LokalEinloggenLocal$$FastClassByCGLIB$$6b241b61.invoke(<generated>)
  |         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  |         at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  |         at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  |         at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
  |         at sun.reflect.GeneratedMethodAccessor992.invoke(Unknown Source)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38)
  |         at sun.reflect.GeneratedMethodAccessor991.invoke(Unknown Source)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.interceptors.SynchronizationInterceptor.serialize(SynchronizationInterceptor.java:30)
  |         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:18)
  |         at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  |         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  |         at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
  |         at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  |         at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  |         at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:82)
  |         at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
  |         at org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$d7ce8136.getPasswort(<generated>)
  |         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 javax.el.BeanELResolver.getValue(BeanELResolver.java:273)
  |         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
  |         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
  |         at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
  |         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  |         at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
  |         at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
  |         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 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.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 com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
  |         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
  |         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
  |         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  |         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
  |         at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
  |         at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
  |         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
  |         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
  |         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
  |         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
  |         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
  |         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
  |         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  |         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
  |         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
  |         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
  |         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
  |         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
  |         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
  |         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
  |         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
  |         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
  |         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
  | 

the error occurs, when i load the following page:


  | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  | <html xmlns="http://www.w3.org/1999/xhtml"
  |       xmlns:ui="http://java.sun.com/jsf/facelets"
  |       xmlns:h="http://java.sun.com/jsf/html"
  |       xmlns:s="http://jboss.com/products/seam/taglib"
  |       xmlns:f="http://java.sun.com/jsf/core">
  |     
  |     <body>
  |         
  |         <ui:composition template="haupttemplate.xhtml">
  |             <ui:define name="titel">  
  |                 Einloggen
  |             </ui:define>
  |             
  |             <ui:define name="koerper">                           
  |                 <div class="inputform">
  |                     <h:form>
  |                         <!--<f:facet name="beforeInvalidField">
  |                         <h:graphicImage src="img/error.gif"/>
  |                         </f:facet>-->
  |                         <f:facet name="aroundInvalidField">
  |                             <s:span styleClass="error"/>
  |                         </f:facet>  
  |                         <f:facet name="afterInvalidField">
  |                             <s:message/>
  |                         </f:facet>
  |                         <s:validateAll>
  |                             <table>        
  |                                 <tr>
  |                                     <td> 
  |                                         Benutzername
  |                                     </td>
  |                                     <td>
  |                                         <s:decorate>  
  |                                             <h:inputText id="benutzername" value="#{lokaleinloggen.benutzername}" required="true"/>
  |                                         </s:decorate>
  |                                     </td>
  |                                 </tr>
  |                                 <tr>
  |                                     <td>
  |                                         Passwort 
  |                                     </td>
  |                                     <td>
  |                                         <s:decorate>    
  |                                             <h:inputSecret id="passwort" value="#{lokaleinloggen.passwort}" required="true"/>
  |                                         </s:decorate>   
  |                                     </td>
  |                                 </tr>
  |                                 <tr>
  |                                     <td>
  |                                         <h:commandButton type="submit" value="Einloggen" action="#{lokaleinloggen.einloggen}"/>
  |                                     </td>
  |                                     <td>
  |                                         
  |                                     </td>
  |                                 </tr>
  |                             </table>
  |                         </s:validateAll>
  |                     </h:form>
  |                     <div>
  |                         <h:messages globalOnly="true"/>
  |                     </div>
  |                 </div>
  |             </ui:define>
  |             
  |         </ui:composition>
  |         
  |     </body>
  | </html>

this is my web.xml. as you can see the class BenutzerBean is bound (even if it isnt used in the webapp directly...):

  | <?xml version="1.0" encoding="UTF-8"?>
  | <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
  |     <context-param>
  |         <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
  |         <param-value>server</param-value>
  |     </context-param>
  |     
  |     <context-param>
  |         <param-name>com.sun.faces.verifyObjects</param-name>
  |         <param-value>true</param-value>
  |     </context-param>
  |     
  |     <context-param>
  |         <param-name>com.sun.faces.validateXml</param-name>
  |         <param-value>true</param-value>
  |     </context-param>
  |     
  |     <context-param>
  |         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
  |         <param-value>.xhtml</param-value>
  |     </context-param>
  |     
  |     <context-param>
  |         <param-name>facelets.DEVELOPMENT</param-name>
  |         <param-value>true</param-value>
  |     </context-param>
  |     
  |     <servlet>
  |         <servlet-name>Faces Servlet</servlet-name>
  |         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
  |         <load-on-startup>1</load-on-startup>
  |     </servlet>
  |     
  |     <servlet-mapping>
  |         <servlet-name>Faces Servlet</servlet-name>
  |         <url-pattern>*.xhtml</url-pattern>
  |     </servlet-mapping>
  |     
  |     <session-config>
  |         <session-timeout>
  |             30
  |         </session-timeout>
  |     </session-config>
  |     
  |     <welcome-file-list>
  |         <welcome-file>
  |             /index.xhtml
  |         </welcome-file>
  |     </welcome-file-list>
  |     
  |     <context-param>
  |         <param-name>javax.faces.CONFIG_FILES</param-name>
  |         <param-value>/WEB-INF/navigation.xml</param-value>
  |     </context-param>
  |     
  |     <!-- und zu guter letzt der seam spezifische teil!
  |     -->
  |     
  |     <filter>
  |         <filter-name>Seam Redirect Filter</filter-name>
  |         <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
  |     </filter>
  |     
  |     <filter-mapping>
  |         <filter-name>Seam Redirect Filter</filter-name>
  |         <url-pattern>*.xhtml</url-pattern>
  |     </filter-mapping>
  |     
  |     <filter>
  |         <filter-name>Seam Exception Filter</filter-name>
  |         <filter-class>org.jboss.seam.servlet.SeamExceptionFilter</filter-class>
  |     </filter>
  |     
  |     <filter-mapping>
  |         <filter-name>Seam Exception Filter</filter-name>
  |         <url-pattern >*.xhtml</url-pattern>
  |     </filter-mapping>
  |     
  |     <listener>
  |         <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
  |     </listener>
  |     
  |     <!--
  |     ejb-definition - nervt zwar total, muss aber sein
  |     vorlage:
  |     <ejb-local-ref>
  |         <ejb-ref-name>Projektplaner-ejb/IndexActionBean/local</ejb-ref-name>
  |         <ejb-ref-type>Session</ejb-ref-type>
  |         <local>projektplaner.IndexActionLocal</local>
  |         <ejb-link>IndexActionBean</ejb-link>
  |     </ejb-local-ref>
  |     -->
  |     
  |     <ejb-local-ref>
  |         <ejb-ref-name>Projektplaner-ejb/Benutzer/local</ejb-ref-name>
  |         <ejb-ref-type>Entity</ejb-ref-type>
  |         <ejb-link>Benutzer</ejb-link>
  |     </ejb-local-ref>
  |         
  |     <ejb-local-ref>
  |         <ejb-ref-name>Projektplaner-ejb/Projekt/local</ejb-ref-name>
  |         <ejb-ref-type>Entity</ejb-ref-type>
  |         <ejb-link>Projekt</ejb-link>
  |     </ejb-local-ref>
  |         
  |     <ejb-local-ref>
  |         <ejb-ref-name>Projektplaner-ejb/Einladung/local</ejb-ref-name>
  |         <ejb-ref-type>Entity</ejb-ref-type>
  |         <ejb-link>Einladung</ejb-link>
  |     </ejb-local-ref>
  |         
  |     <ejb-local-ref>
  |         <ejb-ref-name>Projektplaner-ejb/Nachricht/local</ejb-ref-name>
  |         <ejb-ref-type>Entity</ejb-ref-type>
  |         <ejb-link>Nachricht</ejb-link>
  |     </ejb-local-ref>
  |     
  |     <ejb-local-ref>
  |         <ejb-ref-name>Projektplaner-ejb/BenutzerBean/local</ejb-ref-name>
  |         <ejb-ref-type>Session</ejb-ref-type>
  |         <ejb-link>BenutzerBean</ejb-link>
  |     </ejb-local-ref>    
  | 
  |     <ejb-local-ref>
  |         <ejb-ref-name>Projektplaner-ejb/AktuellerBenutzerBean/local</ejb-ref-name>
  |         <ejb-ref-type>Session</ejb-ref-type>
  |         <local>projektplaner.BenutzerLocal</local>
  |         <ejb-link>AktuellerBenutzerBean</ejb-link>
  |     </ejb-local-ref>
  |     
  |     <ejb-local-ref>
  |         <ejb-ref-name>Projektplaner-ejb/BenutzerIDSicherheitsstringVerknuepferBean/local</ejb-ref-name>
  |         <ejb-ref-type>Session</ejb-ref-type>
  |         <local>projektplaner.BenutzerIDSicherheitsstringVerknuepferLocal</local>
  |         <ejb-link>BenutzerIDSicherheitsstringVerknuepferBean</ejb-link>
  |     </ejb-local-ref>
  |     
  |     <ejb-local-ref>
  |         <ejb-ref-name>Projektplaner-ejb/IndexBean/local</ejb-ref-name>
  |         <ejb-ref-type>Session</ejb-ref-type>
  |         <local>projektplaner.IndexLocal</local>
  |         <ejb-link>IndexBean</ejb-link>
  |     </ejb-local-ref>
  |     
  |     <ejb-local-ref>
  |         <ejb-ref-name>Projektplaner-ejb/LokalEinloggenBean/local</ejb-ref-name>
  |         <ejb-ref-type>Session</ejb-ref-type>
  |         <local>projektplaner.LokalEinloggenLocal</local>
  |         <ejb-link>LokalEinloggenBean</ejb-link>
  |     </ejb-local-ref>
  |     
  |     <ejb-local-ref>
  |         <ejb-ref-name>Projektplaner-ejb/LokaleRegistrierungBean/local</ejb-ref-name>
  |         <ejb-ref-type>Session</ejb-ref-type>
  |         <local>projektplaner.LokaleRegistrierungLocal</local>
  |         <ejb-link>LokaleRegistrierungBean</ejb-link>
  |     </ejb-local-ref>
  |     
  |     <ejb-local-ref>
  |         <ejb-ref-name>Projektplaner-ejb/EntferntEinloggenBean/local</ejb-ref-name>
  |         <ejb-ref-type>Session</ejb-ref-type>
  |         <local>projektplaner.EntferntEinloggenLocal</local>
  |         <ejb-link>EntferntEinloggenBean</ejb-link>
  |     </ejb-local-ref>
  |     
  |     <ejb-local-ref>
  |         <ejb-ref-name>Projektplaner-ejb/EntfernteSystemRegistrierungBean/local</ejb-ref-name>
  |         <ejb-ref-type>Session</ejb-ref-type>
  |         <local>projektplaner.EntfernteSystemRegistrierungLocal</local>
  |         <ejb-link>EntfernteSystemRegistrierungBean</ejb-link>
  |     </ejb-local-ref>
  |     
  |     <ejb-local-ref>
  |         <ejb-ref-name>Projektplaner-ejb/SicherheitsstringListeVerwalterBean/local</ejb-ref-name>
  |         <ejb-ref-type>Session</ejb-ref-type>
  |         <local>projektplaner.SicherheitsstringListeVerwalterLocal</local>
  |         <ejb-link>SicherheitsstringListeVerwalterBean</ejb-link>
  |     </ejb-local-ref>
  |     
  |     <ejb-local-ref>
  |         <ejb-ref-name>Projektplaner-ejb/UebersichtBean/local</ejb-ref-name>
  |         <ejb-ref-type>Session</ejb-ref-type>
  |         <local>projektplaner.UebersichtLocal</local>
  |         <ejb-link>UebersichtBean</ejb-link>
  |     </ejb-local-ref>
  | </web-app>
  | 

and at last here is the code of the 2 beans which are producing the error

  | /*
  |  * BenutzerBean.java
  |  */
  | 
  | package projektplaner;
  | 
  | import javax.ejb.Remove;
  | import javax.ejb.Stateful;
  | import javax.persistence.EntityManager;
  | import javax.persistence.PersistenceContext;
  | import javax.persistence.PersistenceContextType;
  | import javax.persistence.Query;
  | import org.jboss.seam.ScopeType;
  | import org.jboss.seam.annotations.Destroy;
  | import org.jboss.seam.annotations.In;
  | import org.jboss.seam.annotations.Logger;
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.annotations.Scope;
  | import org.jboss.seam.core.FacesMessages;
  | import org.jboss.seam.log.Log;
  | import projektplaner.Exceptions.BenutzerExistiertnichtException;
  | 
  | /**
  |  *
  |  * @author Echnaton
  |  */
  | @Stateful
  | @Name("benutzerbean")
  | @Scope(ScopeType.SESSION)
  | public class BenutzerBean implements BenutzerLocal
  | {
  |     @In(create=true)
  |     private Benutzer benutzer;
  |         
  |     @PersistenceContext(type=PersistenceContextType.EXTENDED)
  |     private EntityManager em;
  |     
  |     @Logger
  |     private Log log;
  |     
  |     @In
  |     private FacesMessages facesMessages;
  |             
  |     private String passwortwiederholung;
  |     
  |     public String getPasswortwiederholung()
  |     {
  |         return passwortwiederholung;
  |     }
  |     
  |     public void setPasswortwiederholung(String passwortwiederholung)
  |     {
  |         this.passwortwiederholung = passwortwiederholung;
  |     }
  |     
  |     /** Creates a new instance of BenutzerBean */
  |     public BenutzerBean()
  |     {
  |     }
  |     
  |     public void persistiere()
  |     {
  |         try
  |         {
  |             getBenutzer().setVvbenutzername(getBenutzer().getBenutzername());
  |             getBenutzer().setVvpasswort(getBenutzer().getPasswort());
  |             em.persist(getBenutzer());
  |             facesMessages.add("Benutzer #{aktuellerbenutzer.benutzername} erfolgreich registriert. Sie können sich jetzt einloggen!");
  |             log.info("Neuer Benutzer registriert #{aktuellerbenutzer.benutzername}");
  |         }
  |         catch(Exception e)
  |         {
  |             facesMessages.add("Ein Fehler ist aufgetreten!");
  |             log.info("Fehler beim persistieren des Nutzers #{aktuellerbenutzer.benutzername} aufgetreten");
  |         }
  |     }
  | 
  |     public Benutzer getBenutzerNachBenutzername(String benutzername) throws BenutzerExistiertnichtException
  |     {
  |         Query q = em.createNamedQuery("Benutzer.findByBenutzername").setParameter("benutzername", benutzername);
  |         
  |         try
  |         {
  |             return (Benutzer)(q.getSingleResult());
  |         }
  |         catch(Exception e)
  |         {
  |             throw new BenutzerExistiertnichtException("Es wurde nach einm Benutzer gesucht, der nicht existiert");
  |         }
  |     }
  |     
  |     public Benutzer getBenutzer()
  |     {
  |         return benutzer;
  |     }
  |     
  |     public void setBenutzer(Benutzer benutzer)
  |     {
  |         this.benutzer = benutzer;
  |     }
  |     
  |     @Remove @Destroy
  |     public void destroy()
  |     {}   
  | }
  | 

and the sf action bean

  | /*
  |  * LocalLoginBean.java
  |  *
  |  * Created on 25. Dezember 2006, 21:40
  |  *
  |  * To change this template, choose Tools | Template Manager
  |  * and open the template in the editor.
  |  */
  | 
  | package projektplaner;
  | 
  | import javax.ejb.EJB;
  | import javax.ejb.Remove;
  | import javax.ejb.Stateful;
  | import javax.persistence.EntityManager;
  | import javax.persistence.PersistenceContext;
  | import org.jboss.seam.ScopeType;
  | import org.jboss.seam.annotations.Destroy;
  | import org.jboss.seam.annotations.In;
  | import org.jboss.seam.annotations.Logger;
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.annotations.Out;
  | import org.jboss.seam.annotations.Scope;
  | import org.jboss.seam.core.FacesMessages;
  | import org.jboss.seam.log.Log;
  | import projektplaner.Exceptions.BenutzerExistiertnichtException;
  | 
  | /**
  |  *
  |  * @author Echnaton
  |  */
  | @Stateful
  | @Name("lokaleinloggen")
  | @Scope(ScopeType.SESSION)
  | public class LokalEinloggenBean implements LokalEinloggenLocal
  | {    
  |     @In(create=true)
  |     private BenutzerBean benutzerbean;
  |     
  |     @In
  |     private FacesMessages facesMessages;

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997679




More information about the jboss-user mailing list