For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 5 replies, 4 voices, and was last updated 20 years, 3 months ago by
jopaloma.
-
AuthorPosts
-
aamontenMemberHi 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″>
</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”><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
February 3, 2006 at 8:20 am #245998
Riyad KallaMemberAlejandro,
What error are you seeing? Also I don’t think XDoclet supports Geronimo out of the box yet.February 6, 2006 at 7:01 am #246154
aamontenMemberwell 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
February 6, 2006 at 8:05 am #246157
Riyad KallaMemberFrom what I can tell XDoclet does not support Gernonimo at this time, I’m sorry I don’t have more information for you.
February 7, 2006 at 12:04 am #246198
GregMemberTry 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.htmlMay 9, 2006 at 1:29 am #251793
jopalomaMemberDoes 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.
-
AuthorPosts
