[
https://issues.jboss.org/browse/AS7-1452?page=com.atlassian.jira.plugin.s...
]
Martin Phillips edited comment on AS7-1452 at 9/7/11 4:36 AM:
--------------------------------------------------------------
+1 for this issue. I'm running into it when attempting to deploy/define connection
factories with the WebSphere MQ Resource Adapter
e.g. rather than '1420' being passed to the resource adapter classes, we are
getting '("port" => "1420")'
11:00:19,912 INFO
[org.jboss.as.connector.metadata.deployment.ResourceAdapterXmlDeploymentService$AS7RaXmlDeployer]
(MS
C service thread 1-3) Registered connection factory java:jboss/IVTCF
11:00:19,912 INFO [stdout] (MSC service thread 1-3) MQJCA4006:Could not parse
'port' : '("port" => "1420")' using default
'1414'.
I've tried this on 7.0.1 and the latest jboss-as-7.1.0.Alpha1-SNAPSHOT from 5th Sept
2011
was (Author: mphillip):
+1 for this issue. I'm running into it when attempting to deploy/define
connection factories with the WebSphere MQ Resource Adapter
e.g. rather than '1420' being passed to the resource adapter classes, we are
getting '("port" => "1420")'
11:00:19,912 INFO
[org.jboss.as.connector.metadata.deployment.ResourceAdapterXmlDeploymentService$AS7RaXmlDeployer]
(MS
C service thread 1-3) Registered connection factory java:jboss/IVTCF
11:00:19,912 INFO [stdout] (MSC service thread 1-3) MQJCA4006:Could not parse
'port' : '("port" => "1420")' using default
'1414'.
Resource Adapter config-property value passed incorrectly
---------------------------------------------------------
Key: AS7-1452
URL:
https://issues.jboss.org/browse/AS7-1452
Project: Application Server 7
Issue Type: Bug
Components: JCA
Affects Versions: 7.0.0.Beta1
Environment: MacOSX, JDK 1.6.0_26
Reporter: Brian Wallis
Assignee: Stefano Maestri
Priority: Critical
Attachments: jackrabbit-jca-2.2.7.rar.log
Possibly related to AS-1304
See the forum (link below) for details on how to reproduce.
In the resource-adapter connection definition when you specify properties for the adapter
like so:
<connection-definition
class-name="org.apache.jackrabbit.jca.JCAManagedConnectionFactory"
jndi-name="java:/jca/DocumentStore" enabled="true"
use-java-context="true"
pool-name="jackrabbit-jca-2_2_7_rar-Pool"
use-ccm="true">
<config-property name="HomeDir">
/Users/bwallis/InfoMedix/JBoss/jboss-as-7.1.0.Alpha1-SNAPSHOT/repository
</config-property>
<config-property name="ConfigFile">
/Users/bwallis/InfoMedix/JBoss/jboss-as-7.1.0.Alpha1-SNAPSHOT/repository/repository.xml
</config-property>
...
The values passed through to the resource adapter seems to come through as the strings
("HomeDir" =>
"/Users/bwallis/InfoMedix/JBoss/jboss-as-7.1.0.Alpha1-SNAPSHOT/repository")
("ConfigFile" =>
"/Users/bwallis/InfoMedix/JBoss/jboss-as-7.1.0.Alpha1-SNAPSHOT/repository/repository.xml")
ie: not just the path as required. Result in the jackrabbit adapter case is that a
directory called '("HomeDir" => "' is created.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira