facebook

Oracle 9iAS deployment descriptors [Closed]

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

    dbaptist
    Member

    Hi guys,

    I’ve been busy setting up a simple j2ee project and trying to get it deployed on Oracle 9iAS. I’ve created a simple stateless session bean with relevant xdoclet:

    /*
    * @ejb.bean name = “TestBean”
    * type = “Stateless”
    * display-name = “Test”
    * description = “Test EJB”
    * view-type = “remote”
    * jndi-name = “test/sejb/TestBean”
    *
    * @ejb.interface remote-class = “test.sejb.Test”
    */

    When I run the Xdoclet generator, it creates the orion-ejb-jar.xml file, but it doesn’t generate the attributes for “location” (ie jndi-name), etc. This is the generated deployment descriptor:

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <!DOCTYPE orion-ejb-jar PUBLIC “-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN” “http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd”&gt;
    <orion-ejb-jar deployment-version=”9.0.3.0.0″>
    <enterprise-beans>
    <!– Session Beans deployment –>
    <session-deployment name=”TestBean”> <!– MISSING ATTRIBUTES HERE?–>
    </session-deployment>
    <!– Entity Beans deployment –>
    <!– Message Driven Beans deployment –>
    </enterprise-beans>
    </orion-ejb-jar>

    Is this a bug, or am I doing something wrong?

    Thanks,

    Diego

    #200293 Reply

    dbaptist
    Member

    Found out what the problem was … I forgot to use @oc4j.bean xdoclet properties as well. 😳

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Oracle 9iAS deployment descriptors [Closed]

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