activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JM-AWL <jean-marcel.f...@atosorigin.com>
Subject Ldap discovery mechanism using permanent sync causes java.io.IOException
Date Wed, 08 Apr 2009 08:41:05 GMT

Hi,

I'am using Ldap discovery mechanism with permanent sync with release 5.2.0
and Sun OpenDS 1.2.0 as Ldap Server.

ActiveMQ reads his networkConnector configuration in the Ldap tree and
establishs the broker connection.
When the parameters change in the Ldap tree (in the following, the
ipServicePort has changed), it causes java.io.IOException.

Does anybody encounter this problem ?

Logs:

2009-04-03 11:02:17,510[Thread-12      ] DEBUG LdapNetworkConnector          
- entry changed
2009-04-03 11:02:17,510[Thread-12      ] DEBUG LdapNetworkConnector          
- retrieved UUID from SearchResult
[cn=myactivemq,dc=brokers,dc=mynetworkofbrokers,dc=com]
2009-04-03 11:02:17,510[Thread-12      ] DEBUG LdapNetworkConnector          
- connector referenced removed for URI [static:(tcp://10.0.0.1:11616)], UUID
[cn=myactivemq,dc=brokers,dc=mynetworkofbrokers,dc=com], remaining
reference(s) [0]
2009-04-03 11:02:17,511[Thread-12      ] DEBUG DemandForwardingBridge        
-  stopping myactivemq-2.mynetworkofbrokers.com bridge to
myactivemq.mynetworkofbrokers.com is disposed already ? false
2009-04-03 11:02:17,514[Thread-12      ] DEBUG VMTransportFactory            
- Shutting down VM connectors for broker:
myactivemq-2.mynetworkofbrokers.com
2009-04-03 11:02:17,515[2.mynetworkofbrokers.com#0] DEBUG
TransportConnection            - Stopping connection:
vm://myactivemq-2.mynetworkofbrokers.com#0
2009-04-03 11:02:18,516 [2.mynetworkofbrokers.com#0] DEBUG
TransportConnection            - Stopped transport:
vm://myactivemq-2.mynetworkofbrokers.com#0
2009-04-03 11:02:18,517 [2.mynetworkofbrokers.com#0] DEBUG
TransportConnection            - Cleaning up connection resources:
vm://myactivemq-2.mynetworkofbrokers.com#0
2009-04-03 11:02:18,517 [2.mynetworkofbrokers.com#0] DEBUG AbstractRegion                
- Removing consumer: ID:host-50886-1238749294244-2:1:1:2
2009-04-03 11:02:18,519 [2.mynetworkofbrokers.com#0] DEBUG AMQMessageStore               
- flush starting ...
2009-04-03 11:02:18,520 [2.mynetworkofbrokers.com#0] DEBUG
TransportConnection            - Connection Stopped:
vm://myactivemq-2.mynetworkofbrokers.com#0
2009-04-03 11:02:18,521 [Thread-12      ] INFO  TransportConnector            
- Connector vm://myactivemq-2.mynetworkofbrokers.com Stopped
2009-04-03 11:02:18,521 [Thread-12      ] DEBUG TcpTransport                  
- Stopping transport tcp:///10.0.0.1:11616
2009-04-03 11:02:18,522 [Thread-12      ] INFO  DemandForwardingBridge        
- myactivemq-2.mynetworkofbrokers.com bridge to
myactivemq.mynetworkofbrokers.com stopped
2009-04-03 11:02:18,522 [Thread-12      ] INFO  NetworkConnector              
- Network Connector localhost Stopped
2009-04-03 11:02:18,522 [Thread-12      ] INFO  LdapNetworkConnector          
- connector removed with URI [static:(tcp://10.0.0.1:11616)]
2009-04-03 11:02:18,523 [Thread-12      ] DEBUG LdapNetworkConnector          
- retrieved UUID from SearchResult
[cn=myactivemq,dc=brokers,dc=mynetworkofbrokers,dc=com]
2009-04-03 11:02:18,523 [Thread-12      ] DEBUG LdapNetworkConnector          
- retrieved URI from SearchResult [static:(tcp://10.0.0.1:31616)]
2009-04-03 11:02:18,526 [Thread-12      ] ERROR LdapNetworkConnector          
- ERR: caught unexpected exception
	:
org.apache.activemq:BrokerName=myactivemq-2.mynetworkofbrokers.com,Type=NetworkConnector,NetworkConnectorName=localhost
        at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
        at
org.apache.activemq.broker.BrokerService.registerNetworkConnectorMBean(BrokerService.java:1490)
        at
org.apache.activemq.broker.BrokerService.addNetworkConnector(BrokerService.java:338)
        at
org.apache.activemq.broker.BrokerService.addNetworkConnector(BrokerService.java:290)
        at
org.apache.activemq.network.LdapNetworkConnector.addConnector(LdapNetworkConnector.java:317)
        at
org.apache.activemq.network.LdapNetworkConnector.objectChanged(LdapNetworkConnector.java:456)
        at javax.naming.event.NamingEvent.dispatch(Unknown Source)
        at com.sun.jndi.ldap.EventQueue.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: javax.management.InstanceAlreadyExistsException:
org.apache.activemq:BrokerName=myactivemq-2.mynetworkofbrokers.com,Type=NetworkConnector,NetworkConnectorName=localhost
        at com.sun.jmx.mbeanserver.Repository.addMBean(Unknown Source)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(Unknown
Source)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(Unknown
Source)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(Unknown
Source)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown
Source)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown
Source)
        at
org.apache.activemq.broker.BrokerService.registerNetworkConnectorMBean(BrokerService.java:1487)
        ... 7 more

-- 
View this message in context: http://www.nabble.com/Ldap-discovery-mechanism-using-permanent-sync-causes-java.io.IOException-tp22945779p22945779.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message