[esb-issues] [JBoss JIRA] Commented: (JBESB-1356) parsing error using IPv6 format addresses other than ::1 (localhost) for JNDI URL in jboss-esb.xml

Len DiMaggio (JIRA) jira-events at lists.jboss.org
Tue Nov 20 22:51:18 EST 2007


    [ http://jira.jboss.com/jira/browse/JBESB-1356?page=comments#action_12388552 ] 
            
Len DiMaggio commented on JBESB-1356:
-------------------------------------

I'll try when I'm back in the office - I'm at home on the RH VPN and am getting a no route to host on all IPv6 addresses - so I *guess* the parsing error is resolved. Will retry on Monday.

> parsing error using IPv6 format addresses other than ::1 (localhost) for JNDI URL in jboss-esb.xml
> --------------------------------------------------------------------------------------------------
>
>                 Key: JBESB-1356
>                 URL: http://jira.jboss.com/jira/browse/JBESB-1356
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Configuration
>    Affects Versions: 4.2.1 CP1
>         Environment: revision 16707
>            Reporter: Len DiMaggio
>         Assigned To: Mark Little
>            Priority: Minor
>
> It looks as though there is a parsing error using IPv6 format addresses other than ::1 (localhost) for the JNDI URL as expressed in jboss-esb.xml
> For example - this works:
>     <providers>
>           <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
>                         jndi-URL="jnp://::1:1099" jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
>                         jndi-pkg-prefix="org.jboss.naming:org.jnp.interfaces">
> But this:
>     <providers>
>           <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
>                         jndi-URL="jnp://fe80::210:c6ff:fede:1c8f:1099" jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
>                         jndi-pkg-prefix="org.jboss.naming:org.jnp.interfaces">
> Results in this exception:
> Caused by: javax.naming.CommunicationException: Could not obtain connection to any of these urls: fe80::210:c6ff:fede:1c8f:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server fe80:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server fe80:1099 [Root exception is java.net.UnknownHostException: fe80]]]
> org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleException: Unexpected configuration exception from prepareMessageReceiver
>         at org.jboss.soa.esb.listeners.gateway.JmsGatewayListener.doInitialise(JmsGatewayListener.java:118)
>         at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(AbstractManagedLifecycle.java:133)
>         at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.initialiseInstances(ManagedLifecycleController.java:150)
>         at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(ManagedLifecycleController.java:69)
>         at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment.startService(JBoss4ESBDeployment.java:83)
>         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
>         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
>         at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
>         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
>         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
>         at $Proxy0.start(Unknown Source)
>         at org.jboss.system.ServiceController.start(ServiceController.java:417)
>         at org.jboss.system.ServiceController.start(ServiceController.java:435)
>         at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
>         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
>         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>         at $Proxy4.start(Unknown Source)
>         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
>         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
>         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
>         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
>         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
>         at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
>         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>         at $Proxy9.deploy(Unknown Source)
>         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
>         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
>         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
>         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
>         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
> Caused by: org.jboss.soa.esb.ConfigurationException: Failed to obtain queue session from pool
>         at org.jboss.soa.esb.listeners.gateway.JmsGatewayListener.prepareMessageReceiver(JmsGatewayListener.java:380)
>         at org.jboss.soa.esb.listeners.gateway.JmsGatewayListener.doInitialise(JmsGatewayListener.java:106)
>         ... 51 more
> Caused by: javax.naming.CommunicationException: Could not obtain connection to any of these urls: fe80::210:c6ff:fede:1c8f:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server fe80:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server fe80:1099 [Root exception is java.net.UnknownHostException: fe80]]]
>         at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1416)
>         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:596)
>         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
>         at javax.naming.InitialContext.lookup(InitialContext.java:351)
>         at org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.addAnotherSession(JmsConnectionPool.java:134)
>         at org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.getSession(JmsConnectionPool.java:201)
>         at org.jboss.soa.esb.listeners.gateway.JmsGatewayListener.prepareMessageReceiver(JmsGatewayListener.java:377)
>         ... 52 more
> Caused by: javax.naming.CommunicationException: Failed to connect to server fe80:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server fe80:1099 [Root exception is java.net.UnknownHostException: fe80]]
>         at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)
>         at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1387)
>         ... 58 more
> Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server fe80:1099 [Root exception is java.net.UnknownHostException: fe80]
>         at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243)
>         ... 59 more
> Caused by: java.net.UnknownHostException: fe80
>         at java.net.InetAddress.getAllByName0(InetAddress.java:1150)
>         at java.net.InetAddress.getAllByName(InetAddress.java:1072)
>         at java.net.InetAddress.getAllByName(InetAddress.java:1008)
>         at java.net.InetAddress.getByName(InetAddress.java:958)
>         at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:76)
>         at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list