This content has been marked as final.
Show 1 reply
-
1. Re: Deploy a Weblogic 5.1 EJB on JBoss 4.0.1
jwebinfo Feb 2, 2005 5:45 PM (in response to joybhowmik)All JBoss wants to see from jboss.xml (the equivalent to weblogic-ejb-jar.xml) is the following ...
<jboss [instead of weblogic-ejb-jar]> <resource-managers> <resource-manager> <res-name>jdbc/YOURDATASOURCE</res-name> <res-jndi-name>java:/jdbc/YOURDATASOURCE</res-jndi-name> </resource-manager> ... </resource-managers> <enterprise-beans> <session [instead of ejb-reference-description]> <ejb-name>YourEjbName</ejb-name> <jndi-name>YourEjbJndiName</jndi-name> </session [instead of ejb-reference-description]> ... </enterprise-beans> </jboss [instead of weblogic-ejb-jar]>
Foe-Deployer is not very reliable. So just do it by hand - once you do one, it gets easier. JBoss's deployment descriptors are easier to write than WL. Check out your jboss DTD (JBOSS_DIST\docs\dtd folder) for more samples.
You only need to reference your resource managers once in the file! Be sure to note the java:/ prefix for your resource manager's jndi name.
Hope that helps.