Re: Failed network connector can not be re-established

2016-03-13 Thread alt_alt
Thanks for you advice for tuning JDBC and configuration of network connector, and we'll definitely try that. But it looks like the network connector is closed from the source side due to local JDBC exception(the source side means the source ActiveMQ server of forwarded message via network connector

Re: Failed network connector can not be re-established

2016-03-11 Thread alt_alt
Hi Tim, Thanks for your advice, I've already filed a jira ticket for it. It is AMQ-6200 Add a retry mechanism would be a decent solution to my problem, and I agree with you that just ignoring the exception is not a good one. Please add this feature to future ActiveMQ release. We can disable pooling

Re: Failed network connector can not be re-established

2016-03-10 Thread alt_alt
Hi Tim, Thanks for your useful tips. I agree that there may be some configuration problem in JDBS store, but I don't think the network connector should just be stopped and never be restarted again without restarting ActiveMQ service due to exeption in JDBC store. I don't think it is an acceptable b

Re: Failed network connector can not be re-established

2016-03-09 Thread alt_alt
Hi Tim, Really appreciated for your reply, here is the datasource configuration, just the same as the one shown in ActiveMQ webpage. What's the performance impact if I set poolPreparedStatements to false? Best Regards -- View this message

Re: Failed network connector can not be re-established

2016-03-09 Thread alt_alt
Hi Tim, Really appreciated for your reply, here is the datasource configuration, just the same as the one shown in ActiveMQ webpage. What's the performance impact if I set poolPreparedStatements to false? Best Regards -- View this message in c

Failed network connector can not be re-established

2016-03-08 Thread alt_alt
*Configuration for network connector: * *log: *2016-03-03 14:41:13,070 | WARN | JDBC Failure: Borrow prepareStatement from pool failed | org.apache.activemq.store.jdbc.JDBCPersistenceAdapter | ActiveMQ Transport: tcp://10.102.44.181:61616@38805 org.apache.commons.dbcp.SQLNestedException: Borro

Every jms connection will create another ldap connection.

2015-09-16 Thread alt_alt
I used Active Directory for activemq authentication, and I noticed that every time a new jms connection is established between client and activemq server, the activemq server will create a ldap connection between Active Directory even the refresh is disabled, can anyone tell me the reason. It's so

Unable to apply policy when set refreshInterval=-1 for cachedLDAPAuthorizationMap

2015-09-16 Thread alt_alt
the LDAP server I used is Active Directory. when I try to set refreshInterval=-1 for cachedLDAPAuthorizationMap, I got the following errors: ERROR | Caught unexpected exception. javax.naming.OperationNotSupportedException: [LDAP: error code 12 - 0057: LdapErr: DSID-0C090796, comment: Error proc

Re: Is there any way to encrypt connectionPassword in LDAPLoginModule

2015-08-31 Thread alt_alt
No update until now, is there any plan to fix it? Please NOTE it is a serious security issue if we want to make it on production environment -- View this message in context: http://activemq.2283324.n4.nabble.com/Is-there-any-way-to-encrypt-connectionPassword-in-LDAPLoginModule-tp4697979p470155

Re: Is there any way to encrypt connectionPassword in LDAPLoginModule

2015-06-23 Thread alt_alt
I just created a jira ticket AMQ-5860. Please take a look at it -- View this message in context: http://activemq.2283324.n4.nabble.com/Is-there-any-way-to-encrypt-connectionPassword-in-LDAPLoginModule-tp4697979p4698120.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Is there any way to encrypt connectionPassword in LDAPLoginModule

2015-06-18 Thread alt_alt
Thanks for your help! I'll fire a ticket for it -- View this message in context: http://activemq.2283324.n4.nabble.com/Is-there-any-way-to-encrypt-connectionPassword-in-LDAPLoginModule-tp4697979p4697983.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Is there any way to encrypt connectionPassword in LDAPLoginModule

2015-06-18 Thread alt_alt
Thanks a lot for your reply. I've tried the cached ldap authorization map. But I still need to set connectionPassoword in cleartext in login.config file to make it work. I really want to know if it is possible to encrypt password in login.config file. -- View this message in context: http://act

Is there any way to encrypt connectionPassword in LDAPLoginModule

2015-06-18 Thread alt_alt
Hi all, I am using ldap service to do authentication and authorization, and I need to set connectionPassword for LDAPLoginModule in login.config file. Is there any way to encrypt this password. Any response is highly appreciated. Thanks -- View this message in context: http://activemq.2283324

Re: logSize of LevelDB Store not work

2015-06-01 Thread alt_alt
Not work on replicated leveldb store. Sorry for confusion. Anyone knows why? -- View this message in context: http://activemq.2283324.n4.nabble.com/logSize-of-LevelDB-Store-not-work-tp4697160p4697161.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

logSize of LevelDB Store not work

2015-06-01 Thread alt_alt
I set the logSize to 2GB, but after I start activemq instance, I found the size of log is also 100 MB. Tried on both 5.10.2 and 5.11.1. Anyone knows is it a bug or I missed something? -- View this message in context: http://activemq.2283324.n4.nabble.com/logSize-of-LevelDB-Store-not-work-tp4697

How to exclude javax from activemq-all.jar

2015-02-11 Thread alt_alt
Hi all I am new to activemq, and I encounter an issue when using activemq. It is because we have our own version of javax.jms and there is another one in activemq-all.jar, which leads to conflict. Could any one tell me how to exclude the javax from activemq-all? I am using maven. -- View this m