1 Reply Latest reply on May 24, 2005 9:20 AM by Scott Stark

    Deployment or rar to jboss4

    ashwin gobind Newbie

      I am trying to deploy a rar to Jboss4. Please provide me with what should go into my deployment descriptor. The rar.xml packaged in the rar is listed below.

      rar.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>