facebook

Problem while testing EJB3 Struts Tutorial

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #266772 Reply

    Hi,

    I tried to test the project sample whose download link is: http://www.laliluna.de/ejb-3-struts-tutorial-jboss.html
    but i failed to deploy and test it on my boss-4.0.5.GA , the EAR file is generetaed with success but while i try to view the conten t nothing is displayed neither on the http://localhost:8080/EJBStruts neither on the http://localhost:8080/EJBStrutsWeb/ whose content is displayed as empty one ( i checked the EAR file and its size is nearly 1,68 Mo)
    Can anyone suggest a solution or even give me more detailes steps of deployment process? 😳

    thanks you

    #266801 Reply

    Riyad Kalla
    Member

    Moving to Documentation

    King, please email Sebastian about those tutorials, he does a great job with them but they aren’t created by the MyEclipse/Genuitec group.

    #266859 Reply

    ok i fixed some problems and i can now display the first page but it seems that i can’t test any EJB , in fact here is the error stack that it displayed on my Jboss Console

    
    
    type Exception report
    
    message 
    
    description The server encountered an internal error () that prevented it from fulfilling this request.
    
    exception 
    
    javax.servlet.ServletException: javax.naming.NameNotFoundException: BookDaoImp not bound
        org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
        org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
        org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        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:96)
    
    
    root cause 
    
    java.lang.RuntimeException: javax.naming.NameNotFoundException: BookDaoImp not bound
        de.laliluna.library.struts.action.CreateSampleDataAction.execute(CreateSampleDataAction.java:52)
        org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
        org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        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:96)
    
    
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
    
    

    So i think that the EJB set is not deployed correctly, how can i fix this?
    thanks[/quote]

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Problem while testing EJB3 Struts Tutorial

You must be logged in to post in the forum log in