Bugs item #639102, was opened at 2002-11-15 21:04
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=639102&group_id=22866

Category: JBossCX
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Don Lind (dlind)
Assigned to: David Jencks (d_jencks)
Summary: JCA: ra.xml config-property ignored

Initial Comment:
My OS is Windows 2000 with latest service packs.
JDK is 1.4.0_01-b03 with j2sdkee 1.3.1

Problem happens on JBoss 4.0.2 and 4.0.4.

My JCA Adapter has an ra.xml file with several <config-
property> values specified.  When I deploy under the 
Sun Reference Implementation J2EE server, during 
initialization, my adapter gets called by the app server 
with each specified <config-property>.

But, when I deploy under JBoss, JBoss does not make 
those calls into my adapter.  If I copy the <config-
property> information into my adapter's eProcessJCA-
service.xml file, JBoss then makes the calls into my 
adapter as it's being initialized.

So, JBoss *can* make the calls into my adapter.  But, it 
doesn't make the calls based on info in the ra.xml file.

And, I know JBoss is seeing the info in the ra.xml file 
because it shows up in the mbean with the mbean 
description of "Description of a deployed Resource 
Adapter".

I'd expect that if there are <config-property> entries in 
the ra.xml, that JBoss would call my adapter with those 
values (and that the *-service.xml <config-property> 
values would override anything in the ra.xml).

Below is 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>eProcess Resource Adapter</display-
name>
    <description>eProcess JCA Connector</description>
    <vendor-name>FileNET Corporation</vendor-name>
    <spec-version>1.0</spec-version>
    <eis-type>eProcess</eis-type>
    <version>1.0</version>
    <resourceadapter>
        <managedconnectionfactory-
class>filenet.vw.jca.FNePManagedConnectionFactory</
managedconnectionfactory-class>
        <connectionfactory-
interface>javax.resource.cci.ConnectionFactory</connec
tionfactory-interface>
        <connectionfactory-impl-
class>filenet.vw.jca.FNePConnectionFactory</connectio
nfactory-impl-class>
        <connection-
interface>javax.resource.cci.Connection</connection-
interface>
        <connection-impl-
class>filenet.vw.jca.FNePConnection</connection-impl-
class>
        <transaction-support>XATransaction</transaction-
support>
        <config-property>
            <config-property-name>ServerName</config-
property-name>
            <config-property-type>java.lang.String</config-
property-type>
            <config-property-value>Don</config-property-
value>
        </config-property>
        <config-property>
            <description>The URL to the eProcess 
Router</description>
            <config-property-name>ConnectionURL</config-
property-name>
            <config-property-type>java.lang.String</config-
property-type>
            <config-property-value>vwrouter</config-property-
value>
        </config-property>
        <config-property>
            <description>The eProcess Router 
Port</description>
            <config-property-name>PortNumber</config-
property-name>
            <config-property-type>java.lang.String</config-
property-type>
            <config-property-value>1099</config-property-
value>
        </config-property>
        <config-property>
            <config-property-name>UserName</config-
property-name>
            <config-property-type>java.lang.String</config-
property-type>
            <config-property-value>SysAdmin</config-
property-value>
        </config-property>
        <config-property>
            <config-property-name>Password</config-
property-name>
            <config-property-type>java.lang.String</config-
property-type>
            <config-property-value>SysAdmin</config-
property-value>
        </config-property>
        <authentication-mechanism>
            <authentication-mechanism-
type>BasicPassword</authentication-mechanism-type>
            <credential-
interface>javax.resource.security.PasswordCredential</c
redential-interface>
        </authentication-mechanism>
        <reauthentication-support>false</reauthentication-
support>
    </resourceadapter>
</connector>

----------------------------------------------------------------------

>Comment By: David Jencks (d_jencks)
Date: 2002-11-23 16:55

Message:
Logged In: YES 
user_id=60525

Thanks for pointing this out.  I've fixed it in branches 3.0, 3.2, and head.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=639102&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to