0 Replies Latest reply on May 23, 2005 11:30 AM by gobinda

    Deployment of rar to jboss-4.0.0

    gobinda

      Good day. I have a third part RAR that i would like to deploy to jboss. The vendor has provided a generic deployment descriptor and also one for weblogic. How can this be adopted for jboss and deployed ?
      Please find below the contents of ra.xml and weblogic-ra.xml

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

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


      <display-name>charging@vantage connector</display-name>
      J2EE Connector for Charging@vantage V2.1.
      <vendor-name>Siemens</vendor-name>
      <spec-version>1.0</spec-version>
      <eis-type>Charging@vantage V2.1</eis-type>
      2.1

      <managedconnectionfactory-class>de.siemens.advantage.payment.payplugin.impl.connector.ManagedPayAdvConnectionFactory</managedconnectionfactory-class>
      <connectionfactory-interface>de.siemens.advantage.payment.payplugin.intf.connector.PayAdvConnectionFactory</connectionfactory-interface>
      <connectionfactory-impl-class>de.siemens.advantage.payment.payplugin.impl.connector.PayAdvConnectionFactoryImpl</connectionfactory-impl-class>
      <connection-interface>de.siemens.advantage.payment.payplugin.intf.connector.PayAdvConnection</connection-interface>
      <connection-impl-class>de.siemens.advantage.payment.payplugin.impl.connector.PayAdvConnectionImpl</connection-impl-class>
      <transaction-support>NoTransaction</transaction-support>

      <config-property>
      The logging level to be used. Must be one of DEBUG,INFO,WARN,ERROR or FATAL.
      <config-property-name>LogLevel</config-property-name>
      <config-property-type>java.lang.String</config-property-type>
      <config-property-value>WARN</config-property-value>
      </config-property>

      <config-property>

      URL of the CORBA NameService.
      Syntax is corbaloc::[IP-Addr]:[Port]/NameService.
      No default value.

      <config-property-name>NameServiceURL</config-property-name>
      <config-property-type>java.lang.String</config-property-type>
      <config-property-value>corbaloc::172.22.33.18:2061/NameService</config-property-value>
      </config-property>

      <config-property>
      Prefix of the transaction ID for this host. Maximum of 4 digits.
      <config-property-name>TransactionHostId</config-property-name>
      <config-property-type>java.lang.String</config-property-type>
      <config-property-value>1234</config-property-value>
      </config-property>

      <config-property>
      Timeout while waiting for confirmations (milliseconds).
      <config-property-name>ConfirmationTimeout</config-property-name>
      <config-property-type>java.lang.Integer</config-property-type>
      <config-property-value>30000</config-property-value>
      </config-property>

      <config-property>

      Timeout while waiting for the confirmation of alive messages (milliseconds).
      A warning will be written to the log file if expired.

      <config-property-name>AliveTestTimeout</config-property-name>
      <config-property-type>java.lang.Integer</config-property-type>
      <config-property-value>20000</config-property-value>
      </config-property>

      <config-property>
      Interval for sending alive messages (milliseconds).
      <config-property-name>AliveTestInterval</config-property-name>
      <config-property-type>java.lang.Integer</config-property-type>
      <config-property-value>30000</config-property-value>
      </config-property>

      <config-property>
      Timeout while waiting for response (milliseconds).
      <config-property-name>ResponseTimeout</config-property-name>
      <config-property-type>java.lang.Integer</config-property-type>
      <config-property-value>20000</config-property-value>
      </config-property>

      <config-property>
      The maximum number of parallel requests allowed.
      <config-property-name>MaxNumOfParallelRequests</config-property-name>
      <config-property-type>java.lang.Integer</config-property-type>
      <config-property-value>100</config-property-value>
      </config-property>

      <config-property>
      The timeout when contacting the CORBA NameService (milliseconds).
      <config-property-name>NameServiceTimeout</config-property-name>
      <config-property-type>java.lang.Integer</config-property-type>
      <config-property-value>20000</config-property-value>
      </config-property>

      <config-property>
      Time interval for refreshing the internal pool of CORBA stubs (milliseconds).
      <config-property-name>CorbaObjectPoolRefreshInterval</config-property-name>
      <config-property-type>java.lang.Integer</config-property-type>
      <config-property-value>300000</config-property-value>
      </config-property>

      <config-property>
      The port used for the local object adapter. Must be within range [ 1024, 65535 ] and NOT be used by any other application.
      <config-property-name>OAPort</config-property-name>
      <config-property-type>java.lang.Integer</config-property-type>
      <config-property-value>49677</config-property-value>
      </config-property>

      <!-- The following stuff is needed due to a bug in the Sun ONE AS7 -->
      <!-- which prevents RAR files without the following tag from deployment -->
      <authentication-mechanism>
      <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
      <credential-interface>javax.resource.security.PasswordCredential</credential-interface>
      </authentication-mechanism>

      <reauthentication-support>false</reauthentication-support>





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

      <connection-factory-name>PayAdvConnectionFactory</connection-factory-name>
      <jndi-name>eis/PayAdvConnector</jndi-name>

      <pool-params>
      <initial-capacity>5</initial-capacity>
      <max-capacity>100</max-capacity>
      <capacity-increment>1</capacity-increment>
      <shrinking-enabled>true</shrinking-enabled>
      <shrink-period-minutes>5</shrink-period-minutes>
      <connection-cleanup-frequency>-1</connection-cleanup-frequency>
      <connection-duration-time>-1</connection-duration-time>
      <connection-maxidle-time>0</connection-maxidle-time>
      <connection-profiling-enabled>true</connection-profiling-enabled>
      </pool-params>

      <security-principal-map>
      </security-principal-map>

      </weblogic-connection-factory-dd>