facebook

how to generate weblogic-application.xml

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #264955 Reply

    manjesh
    Member

    Is there a way to generate weblogic-application.xml for my application(.EAR) with the following config
    IDE: MyEclipse 5.1
    AS: weblogic 8.1

    thanks
    Manjesh

    #265001 Reply

    Riyad Kalla
    Member

    Manjesh,
    You use XDoclet to do this. You can right click on your project, go to Properties, then go to MyEclipse > XDoclet. From there you can right-click and Add one of the standard doclets, then configure it how you need to generate the file you mentioned.

    #265015 Reply

    manjesh
    Member

    thanks riyad for your reply. But I have done that part already. 🙁

    alrite..I will elaborate on the problem that I am facing right now.

    I’ve structured my app like this

    BeaTestEAR
    – BeaTestEJB
    – BeaTestWeb

    now for BeaTestEJB project, I have added “StandardEJB” xdoclet. Under the “ejbdoclet”, I have added “weblogic” doclet with the following settings
    Createtables=Disabled
    Version=8.1
    destDir=src/META-INF
    mergeDir=merge/

    – which generates “weblogic-ejb-jar.xml”

    for the BeaTestWeb project, I have added “StandardWeb” xdoclet. Under the “webdoclet”, I have added “weblogicwebxml” doclet with the following settings
    Version=8.1
    destDir=src/META-INF
    mergeDir=merge/

    – which generated “weblogic.xml”

    now for the BeaTestEAR project, changing the project modules would update my “application.xml”. However, weblogic server would also require a “weblogic-application.xml”. So is there a way to generate “weblogic-application.xml” file with MyEclipse? Cuz I don’t think I can find BeaTestEAR->MyEclipse->Xdoclet.

    #265023 Reply

    Riyad Kalla
    Member

    Sorry for the misunderstanding, you are correct there isn’t a way to generate this file for you at this time from MyEclipse.

    #265538 Reply

    manjesh
    Member

    oops..forgot to comment on this thread.
    After talking to the BEA support guys, I got to know the missing piece of the jigsaw puzzle.

    Once we crank out the .EAR file using MyEclipse, one should open the same .EAR using “BEA Weblogic Builder” and export it as an archive. This would generate the weblogic-application.xml 🙂

    #265547 Reply

    Riyad Kalla
    Member

    Very cool, thank you for following up and we appreciate the BEA support team helping out here.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: how to generate weblogic-application.xml

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