[
https://issues.jboss.org/browse/AS7-4521?page=com.atlassian.jira.plugin.s...
]
Jeff Mesnil commented on AS7-4521:
----------------------------------
@Theo, this is another minor issue for non-pooled connection factory.
user / password attributes are used only for pooled connection factory. They are *not*
used by regular JMS connection factory (it is up to the caller to pass the user
credentials when creating the JMS connection).
The XSD does not define user / password element for <connection-factory> but our
parser is too laxist and let them through.
I'll fix it so it is clear from the start that they are not allowed for regular
<connection-factory> =>
https://issues.jboss.org/browse/AS7-4531
pooled-connection-factory credentials fail to persist between server
restarts
-----------------------------------------------------------------------------
Key: AS7-4521
URL:
https://issues.jboss.org/browse/AS7-4521
Project: Application Server 7
Issue Type: Bug
Components: JMS
Environment: AS7 upstream (dated 16th April 2012)
Reporter: Theo Cleminson
Assignee: Jeff Mesnil
Labels: jbossas7, jms, pooled-connection-factory
Fix For: 7.1.2.Final-redhat1
While trying to test a fix for a remote ejb issue I have found a problem with
pooled-connection-factory credentials.
It appears JBoss 7.1.2 nightly snapshot (16th April 2012) has tightened up security
somewhat such that credentials are now required for internal pooled connection factory.
I have found that user credentials specified for the hornetq configuration are not
persisted between server restarts.
For example. In the following configuration my server starts correctly the first time.
However the <user> and <password> elements are mysteriously deleted by the
app server.
<jms-connection-factories>
<pooled-connection-factory name="hornetq-ra">
<transaction mode="xa"/>
<connectors>
<connector-ref connector-name="remote-jms"/>
</connectors>
<entries>
<entry name="java:/remote-JmsXA"/>
</entries>
<user>jmsUser</user>
<password>mypass</password>
</pooled-connection-factory>
</jms-connection-factories>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira