EJBException in Servlet (EJB3 Trailblazer)
nmazloumi Dec 21, 2005 6:07 AMHi I followed the EJB3 Tutorial on Authors and Articles and Deployed my application. Calling the Servlet under http://localhost:8080/authors/authors results in the following Exception.
Any idea? My guess is that I need to start the Hypersonic database and/or configure JBoss/EJB3 to work with a persistance layer but the trailblazer doesn't contain any information on that. But maybe its a completely different problem here
Greetings,
Nima
type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.ejb.EJBException: null; CausedByException is: null org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:46) org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:70) org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:134) org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:61) org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:39) org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:63) org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:32) org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:91) org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:189) org.jboss.aop.Dispatcher.invoke(Dispatcher.java:107) org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:37) org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:88) $Proxy69.getAllAuthors(Unknown Source) articles.web.AuthorServlet.showArticles(AuthorServlet.java:61) articles.web.AuthorServlet.doPost(AuthorServlet.java:43) articles.web.AuthorServlet.doGet(AuthorServlet.java:33) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.