facebook

Problem Accessing EJB LocalHome In Weblogic 8.1

💡
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. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #246031 Reply

    aronbock
    Member

    Hi, I’m new to MyEclipse, and am using it w/ XDoclet to generate an EJB Session bean, called from a web app, both part of an EAR project. I created these per a MyEclipse tutorial, and each EAR component is a separate project. I deployed to JBoxx 4.0 (by deploying each EAR component separately), and things work fine: web app classes can instantiate either remote or local interfaces to the EJB, and call its methods. This is a huge help in development since I can debug seamlessly from web app to EJB and back.

    I deployed the same app to Weblogic 8.1 … and found a couple things:

    — for Weblogic 8.1, XDoclet generated only the remote interfaces/support; is there a comprehensive paper to special switches for Weblogic 8.1?

    — more important, after EJB is deployed to Weblogic 8.1, both remote and local interfaces are “registered”, but only the remote one seems accessible from the web app. Attempts to accss the local interface fail w/ a JNDI lookup problem. What’s more, even using Weblogic’s own console to “test” registered interfaces fails for the local interface with “The EJB xxxLocalHome has not been tested successfully. There was a problem determining the JNDI Name of the given bean.”

    I would like to maintain separate projects during development, and deploy as a packaged EAR only when the app is rolled out. Is there a known workaround?

    Thank you.

    #246054

    Riyad Kalla
    Member

    — for Weblogic 8.1, XDoclet generated only the remote interfaces/support; is there a comprehensive paper to special switches for Weblogic 8.1?

    Not provided by MyEclipse, but because it is straight XDoclet you can try googling for information pertaining to this.

    I will ask someone else to look into your 2nd issue.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problem Accessing EJB LocalHome In Weblogic 8.1

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