Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

EJB 3 jboss 4.2 error

Hello World :),

i'm trying to learn ejb3. i found this tutorial for the classic "hello world" ( I'm not using eclipse europa, i`m using eclipse helios. Anyway in eclipse europa i get the same errors.

At the beggining i used jboss 6 but it didn't let me deploy the ear. Now i'm using jboss4.2 just like the tutorial says, i can deploy the ear file but when i click the link in the servlet i get the folowing error:

11:44:00,801 ERROR [[TestServlet]] Servlet.service() for servlet TestServlet threw exceptionjava.lang.ClassCastException: $Proxy72 cannot be cast to lesson.stateless.HelloWorld at lesson.servlets.TestServlet.doGet( at javax.servlet.http.HttpServlet.service( at javax.servlet.http.HttpServlet.service( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( at org.apache.catalina.core.ApplicationFilterChain.doFilter( at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( at org.apache.catalina.core.ApplicationFilterChain.doFilter( at org.apache.catalina.core.StandardWrapperValve.invoke( at org.apache.catalina.core.StandardContextValve.invoke( at at at org.apache.catalina.core.StandardHostValve.invoke( at org.apache.catalina.valves.ErrorReportValve.invoke( at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke( at org.apache.catalina.core.StandardEngineValve.invoke( at org.apache.catalina.connector.CoyoteAdapter.service( at org.apache.coyote.http11.Http11Processor.process( at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( at$ at
Sign In or Register to comment.