facebook

weblogic-ejb-jar.xml created in wrong dir? [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #204329 Reply

    harryajh
    Member

    Using eclipse 2.1.2, myeclipse 2.6.200 (2.7)

    Followed ejb tutorial, created xdoclet & ran – when deployed to Weblogic 6.1 exception thrown –

    An error occurred while reading the deployment descriptor. The error was:
    java.io.FileNotFoundException: META-INF/weblogic-ejb-jar.xml not found in jar file

    This is because this file is created one level above the “META-INF” dir – moving it in here resolves the exception but which is right?

    Also any chance of a “EJB Client” example of how to get this ejb once deployed?

    #204348 Reply

    Scott Anderson
    Participant

    It goes in META-INF/weblogic-ejb-jar.xml. You need to set the destDir property in the weblogic task of the ejbdoclet to be META-INF/ rather than unset, which is the root.

    #204366 Reply

    harryajh
    Member

    after the normal Java 1 step forward 2 steps back approach it finally managed to create the file – had to use src/META-INF though

    thanks – now on to the next brick wall!

    #204377 Reply

    Scott Anderson
    Participant

    Carry on! I must admit I went throught the same thing when I tried to get XDoclet set up the first time. It’s a bit of a pain to get everything just right, but once you do it’s certainly nice.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: weblogic-ejb-jar.xml created in wrong dir? [Closed]

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