hallo,

I have an resource adapter 'httpjca.rar' that is embedded into an
ear-file. When deploying this ear-file the resource adapter is
installed as an internal module and there is installed an
connection-factory for the rar.

I want to preset the in the ra.xml-configuration the jndi-name of this
resource adapter and connection-factory.
In the ra.xml i set a config-property 'jndiName' ti my desired name 'comfip'

But after installing to WebSphere the jndi-Name is automatically set
to 'javax.resource.cci.ConnectionFactory'.

Can anyone help me how to configure the resource adapterwell, so that
the right values are written during deployment?



here 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/dtd/connector_1_0.dtd";>
<connector>
        <display-name>httpAdapter</display-name>
        <description>JCA Adapter for ComFIP</description>
        <!--display-name>httpAdapterFE</display-name>
        <description>JCA Adapter for FormEdit</description-->
        <vendor-name>safir-wid</vendor-name>
        <spec-version>1.0</spec-version>
        <eis-type>HTTP</eis-type>
        <version>0.1</version>
        <license>
                <description></description>
                <license-required>false</license-required>
        </license>
        <resourceadapter>
                
<managedconnectionfactory-class>de.safir.web.jca.HttpEISManagedConnectionFactory</managedconnectionfactory-class>
                
<connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
        
<connectionfactory-impl-class>de.safir.web.jca.HttpEISConnectionFactoryImpl</connectionfactory-impl-class>
        
<connection-interface>javax.resource.cci.Connection</connection-interface>
        
<connection-impl-class>de.safir.web.jca.HttpEISConnection</connection-impl-class>
        <transaction-support>NoTransaction</transaction-support>
           <config-property>
             <description>Host to connect</description>
             <config-property-name>Host</config-property-name>
             <config-property-type>java.lang.String</config-property-type>
             <config-property-value>entwo210l</config-property-value>
           </config-property>
           <config-property>
             <description>Port to connect</description>
             <config-property-name>Port</config-property-name>
             <config-property-type>java.lang.Integer</config-property-type>
             <config-property-value>4110</config-property-value>
           </config-property>
           <config-property>
          <config-property-name>jndiName</config-property-name>
          <config-property-type>java.lang.String</config-property-type>
          <config-property-value>comfip</config-property-value>
        </config-property>
        <authentication-mechanism>
                <description>Basic</description>
                
<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
                
<credential-interface>javax.resource.security.PasswordCredential</credential-interface>
        </authentication-mechanism>
        <reauthentication-support>false</reauthentication-support>
        <security-permission>
                <description></description>
                <security-permission-spec>
                </security-permission-spec>
        </security-permission>
        </resourceadapter>
</connector>

Reply via email to