I am trying to deploy a JCA resource adapter in JBoss 2.3Beta (as of 11 am
this morning).  It is appearing to deploy correctly except for setting any
of the properties.  I put some debug code in to see what was going on and
found this.

Properties as found in jboss.jcml:
                <attribute name="Properties">
                        # Name of Resource
                        Name=test01
                        # FCCN of Connector
        
Connector=com.attachmate.connectors.xatest.XATestConnector
                        # Task file to open
                        TaskFile=abc
                </attribute>

Properties in props String in
ConnectionFactoryLoader.loadConnectionFactory():
"# Name of Resource                    Name=test01                     #
FCCN of Connector
Connector=com.attachmate.connectors.xatest.XATestConnector
# Task file to open                     TaskFile=abc"
(one continuous line with not cr/lf)

When the java.util.Properties.load is complete the property bag is empty.
My guess is because the property loader is line oriented and ignore
everything on a line after the "#".  I found this same problem in the
ConnectionManagerProperties section as well.  Is there something that I am
missing or is this a bug in the ConnectionFactoryLoader?

Jacob S. Barrett
Software Engineer
Attachmate Corporation
[EMAIL PROTECTED]
360-715-1170 x247



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to