facebook

Xdoclet and Geronimo

💡
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 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #245960 Reply

    aamonten
    Member

    Hi I would like to try to deploy an application I have running on JBoss on Geronimo, but I have problems for generating my openejb-jar.xml,as I supposed that was the right one to use as Geronimo is based on openejb, well the generated file contains:

    <?xml version=”1.0″ encoding=””?>

    <openejb-jar xmlns=”http://www.openejb.org/openejb-jar/1.1″&gt;

    </openejb-jar>

    While my jboss.xml contains:

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <!DOCTYPE jboss PUBLIC “-//JBoss//DTD JBOSS 4.0//EN” “http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd”&gt;

    <jboss>

    <enterprise-beans>

    <!–
    To add beans that you have deployment descriptor info for, add
    a file to your XDoclet merge directory called jboss-beans.xml that contains
    the <session></session>, <entity></entity> and <message-driven></message-driven>
    markup for those beans.
    –>

    <session>
    <ejb-name>Functions</ejb-name>
    <jndi-name>ejb/Functions</jndi-name>

    <method-attributes>
    </method-attributes>
    </session>
    <session>
    <ejb-name>DataBaseEngine</ejb-name>
    <jndi-name>ejb/DataBaseEngine</jndi-name>

    <method-attributes>
    </method-attributes>
    </session>
    <session>
    <ejb-name>FunctionExecuter</ejb-name>
    <jndi-name>ejb/FunctionExecuter</jndi-name>

    <method-attributes>
    </method-attributes>
    </session>
    <session>
    <ejb-name>ServiceExecuter</ejb-name>
    <jndi-name>ejb/ServiceExecuter</jndi-name>

    <method-attributes>
    </method-attributes>
    </session>
    <session>
    <ejb-name>Services</ejb-name>
    <jndi-name>ejb/Services</jndi-name>

    <method-attributes>
    </method-attributes>
    </session>

    <!–
    write a merge file jboss-webservices.ent for webservice-description
    –>

    </enterprise-beans>

    <!–
    To specify your own assembly descriptor info here, add a file to your
    XDoclet merge directory called jboss-assembly-descriptor.xml that contains
    the <assembly-descriptor></assembly-descriptor> markup.
    –>
    <assembly-descriptor>
    <!– message destinations –>
    <!–
    To specify additional message-destination elements, add a file in the merge
    directory called jboss-message-destinations.ent that contains them.
    –>
    </assembly-descriptor>

    <resource-managers>
    </resource-managers>

    <!–
    | for container settings, you can merge in jboss-container.xml
    | this can contain <invoker-proxy-bindings/> and <container-configurations/>
    –>

    </jboss>

    Both are generated with XDoclet, any idea where my error is?

    Regards Alejandro

    #245998

    Riyad Kalla
    Member

    Alejandro,
    What error are you seeing? Also I don’t think XDoclet supports Geronimo out of the box yet.

    #246154

    aamonten
    Member

    well the main problem is that XDoclet is not generating the information about my ejbs for geronimo as it do for jboss. So I have a doubt if XDoclet works for Geronimo, I know it does for OpenEJB and geronimo is based on OpenEJB

    #246157

    Riyad Kalla
    Member

    From what I can tell XDoclet does not support Gernonimo at this time, I’m sorry I don’t have more information for you.

    #246198

    Greg
    Member

    Try adding an openejb subtask to your EJB configuration in the MyEclipse-EJB page. If you have the openejb task installed it will generate a openejb xml file. Take a look at the options to the openejb task to make sure you have the settings corretcly.
    http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/openejb/ejb/OpenEJBSubTask.html

    #251793

    jopaloma
    Member

    Does anybody know about the correct configuration settings for openejb? Currently I’m getting just an empty openejb-jar.xml (the one with just start and end tags).

    I have been looking at the configuration options for the openejb task, but can’t figure out what I should change in order to make xdoclet generate something.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Xdoclet and Geronimo

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