5 Replies Latest reply on Nov 5, 2003 12:27 PM by Adrian Brock

    Deploy JCA

    isaias Newbie

      Hi all,

      I've developed a Connector, how to deploy this Connector and access it througth of a JNDI name?

      My rar file is myjca.rar
      I put this in deploy dir, and this appear on jmx-console.


        • 1. Re: Deploy JCA
          Adrian Brock Master

          You need a -ds.xml to create an instance of the
          connection factory and a connection manager/pool

          See jms-ds.xml or one of the other examples in
          docs/examples/jms that is not a db deployment.


          • 2. Re: Deploy JCA
            isaias Newbie


            I try see there files, but don't resolve my problem.


            • 3. Re: Deploy JCA
              Adrian Brock Master

              What is your problem?

              Just looking at the files won't create a new one
              that deploys your managed connection factory. :-)


              • 4. Re: Deploy JCA
                isaias Newbie

                I need to pass in descriptor whats the ConnectionManager, Connection factory and so.

                Follow my ra.xml

                <?xml version="1.0" encoding="UTF-8"?>

                <!DOCTYPE connector PUBLIC '-//Sun Microsystems, Inc.//DTD Connector 1.0//EN' 'http://java.sun.com/j2ee/dtds/connector_1_0.dtd'>

                <eis-type>Real Time</eis-type>


                In Weblogic have a weblogic-ra.xml with this content

                <?xml version="1.0"?>

                <!DOCTYPE weblogic-connection-factory-dd PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 Connector//EN' 'http://www.bea.com/servers/wls600/dtd/weblogic600-ra.dtd'>


                This form i can access the Adapter througth my Bean with JNDI.


                • 5. Re: Deploy JCA
                  Adrian Brock Master

                  You don't seem to understanding what I'm saying.

                  In weblogic you have a weblogic-ra.xml
                  in jboss you NEED a myconnector-ds.xml

                  <?xml version="1.0" encoding="UTF-8"?>


                  Then are a number of different extra
                  configuration options like pool size, idle timeout, xa
                  support, etc.

                  NOTE: It is actually bound to java:/MyConnector