facebook

Problem in invoking EJB2.x remotely in MyEclipse

💡
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. WebSphere Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #302931 Reply

    amey_0309
    Member

    Hi

    I have developed EJB2.x using MyEclipse7.5 & packaged it in ear.I have created ejb interfaces using XDoclet.The ear is deployed on WAS 6.1,using command console.

    Now, when I am trying to invoke the EJB using Remote call, I get following error

    java.lang.ClassCastException: Unable to load class: rule.service.interfaces._RuleServiceHome_Stub

    I have gone through the link
    https://www.genuitec.com/forums/topic/the-prepare-for-deployment-function-for-ejb-project-in-rad-2/

    I understand from the link, that stubs can not be created using MyEclipse

    Now, what will be the preferred solution for me
    – Creating stubs externally & putting in ejb client jar?? (If yes, how??)
    – Invoking remote ejb by any other way?? (If yes, how)

    Please note, I can not use web client to invoke ejb remotely.

    Any help/guidance is appreciated.

    Thanks & Regards
    Amey

    #302948

    Unfortunately we found out about this bug only after ME 7.5 was released. It is fixed in 8.0 M1.

    #303007

    amey_0309
    Member

    Can ejbdeploy.bat be an alternative?
    If yes, where can I find exact steps/procedure to implement it.

    We can not migrate to MyEclipse 8, Can you please let me know how we can achieve this in MyEclipse 7.5?Any workaround?Any fix, that we can include?

    Any guidance/help is appreciated.

    Thanks & Regards
    Amey

    #303008

    There is no walkaround. You may export EJB as deployable jar and deploy it manually.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Problem in invoking EJB2.x remotely in MyEclipse

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