[jboss-jira] [JBoss JIRA] (AS7-4521) pooled-connection-factory credentials fail to persist between server restarts
Hans Steiner (JIRA)
jira-events at lists.jboss.org
Mon Apr 16 07:33:18 EDT 2012
[ https://issues.jboss.org/browse/AS7-4521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12684443#comment-12684443 ]
Hans Steiner edited comment on AS7-4521 at 4/16/12 7:31 AM:
------------------------------------------------------------
Creating this entry with jboss-cli seems to be successful
[standalone at localhost:9999 /] /subsystem=messaging/hornetq-server=default/pooled-connection-factory=hornetq-ra:write-attribute(name=user, value=guest)
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
but also does not store the property permanently.
The standalone.xml config file is unchanged and the username is lost afer
reload or system restart.
was (Author: hans-juergen.stemmer.vkb.de):
Creating this entry with jboss-cli seems to be successful
[standalone at localhost:9999 /] /subsystem=messaging/hornetq-server=default/pooled-connection-factory=hornetq-ra:write-attribute(name=user, value=guest)
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
but also does not store the property permanently.
The standalone.xml config file is unchanged and the username is lost afer
reload oder system restart.
> 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: Andy Taylor
> 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
More information about the jboss-jira
mailing list