1 Reply Latest reply on Feb 2, 2005 5:45 PM by Jerry Welch

    Deploy a Weblogic 5.1 EJB on JBoss 4.0.1

    Joy Bhowmik Newbie

      I am trying to make an equivalent jboss.xml from a weblogic-ejb-jar.xml. The weblogic DD is for Weblogic v 5.1. Here is a sample:

      <?xml version="1.0"?>

      <!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN' 'file:///o:/jar/weblogic-ejb-jar.dtd'>




      Can someone tell me what are the jboss specific tags that will be replacing the given tags above.

      Additional information:
      I tried the FOEDeployer as provided in Wiki but unfortunately this did not deploy the application. I guess the converter only works for Weblogic v6 EJBs
      Also tried to deploy the jarred application without the weblogic-ejb-jar files- and even this did not deploy the application.

      Any help will be greatly appreciated.

        • 1. Re: Deploy a Weblogic 5.1 EJB on JBoss 4.0.1
          Jerry Welch Newbie

          All JBoss wants to see from jboss.xml (the equivalent to weblogic-ejb-jar.xml) is the following ...

          <jboss [instead of weblogic-ejb-jar]>
           <session [instead of ejb-reference-description]>
           </session [instead of ejb-reference-description]>
          </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.