[
https://issues.apache.org/jira/browse/AMQ-9109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré resolved AMQ-9109.
---------------------------------------
Fix Version/s: (was: NEEDS_REVIEW)
Resolution: Invalid
That's not actually a problem/bug in ActiveMQ but in client code. I suggest to
use the mailing list for such question. Thanks.
> I tried upgrading from 5.14 to 5.17.2 latest available but at the final stage
> getting invalid error
> ---------------------------------------------------------------------------------------------------
>
> Key: AMQ-9109
> URL: https://issues.apache.org/jira/browse/AMQ-9109
> Project: ActiveMQ
> Issue Type: Bug
> Components: AMQP
> Affects Versions: 5.17.2
> Reporter: Bharath Kumar CM
> Priority: Blocker
> Labels: security
>
> Hello,
> After upgrading from 5.14 to 5.17.2 latest getting below error:
>
>
> {code:java}
> 2022-10-08 06:49:04,821 | WARN | Transport Connection to:
> tcp://10.10.12.12:11364 failed: User name [admin] or password is invalid. |
> org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
> Transport: ssl:///10.10.12.12:11364
> 2022-10-08 06:49:06,820 | INFO | Stopping tcp://10.10.12.12:11364 because
> Failed with SecurityException: User name [admin] or password is invalid. |
> org.apache.activemq.broker.TransportConnection | ActiveMQ
> BrokerService[dbaas_broker] Task-2
> 2022-10-08 06:54:12,459 | WARN | Failed to add Connection
> id=ID:server-33355-1665211732359-5:2,
> clientId=ID:server-33355-1665211732359-5:2, clientIP=10.12.13.13 due to User
> name [admin] or password is invalid. |
> org.apache.activemq.broker.TransportConnection | ActiveMQ Transport:
> ssl:///10.10.12.12:39447
>
> {code}
>
> *In 5.14 activemq.xml file I was using below bean.*
>
> {code:java}
> <bean
> class="org.jasypt.spring31.properties.EncryptablePropertyPlaceholderConfigurer"
> id="propertyConfigurer">
> <constructor-arg ref="configurationEncryptor" />
> <property name="location"
> value="file:${activemq.base}/conf/credentials-enc.properties" />
>
> {code}
>
> *Based on some suggestions in some blogs I used below bean in 5.17.2*
>
>
> {code:java}
> <bean
> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> <property name="locations">
> <value>file:${activemq.base}/conf/credentials-enc.properties</value>
> </property>
> </bean>
>
> {code}
>
> However I feel like I'm missing <constructor-arg ref="configurationEncryptor"
> /> here in 5.17.2 configuration file.
> Please help me out what's the right *springframework* bean for 5.17.2 to work
> well with encrypted credential file.
>
> I dont see it anywhere in ActiveMQ documentation of 5.17.2.
>
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)