facebook

[Closed] Generating EJB stubs for deployment on Websphere

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #247922 Reply

    Jan Abt
    Member

    As I start up my test app I get an exception because (I think) Websphere 5.1 is looking for certain generated stub classes in order to talk to my EJB class. I don’t know how to generate this Stub stuff.
    When I run Doclet (I know very little about Doclets) a few new classes are generated not though the ones aparently needed.

    For
    TestBean.java – TestHome.java – Test.java

    XDoclet generates
    TestLocal.java – TestLocalHome – TestSession.java

    The stack says the following:

    [3/7/06 13:59:01:047 EST] 7e14ae5d ServletInstan E SRVE0100E: Did not realize init() exception thrown by servlet LoginController: javax.servlet.ServletException: Unable to load class: com.ejb.test_TestHome_Stub:
    :

    If you have any ideas on the subject, let me know.
    Thank you

    #247930

    Riyad Kalla
    Member

    You have to deploy your application to WebSphere as a packaged archive, then in WebSphere admin console, you have to deploy the app again, this step of “deploying” an enterprise app is the one that generates all the stubs and it’s app server specific which is why we don’t do it for you.

    #247942

    Jan Abt
    Member

    Thanks a lot, that did it.
    Jan

    #247950

    Riyad Kalla
    Member

    Good deal.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed] Generating EJB stubs for deployment on Websphere

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