-
1. Re: Access to jnp://localhost:1100 is denied on IPv6 dual st
brian.stansberry May 22, 2008 11:02 AM (in response to ishai)Are you saying that if you used jnp://127.0.0.1:1100 it didn't work?
-
2. Re: Access to jnp://localhost:1100 is denied on IPv6 dual st
ishai May 22, 2008 11:14 AM (in response to ishai)It will not deploy to begin with.
-
3. Re: Access to jnp://localhost:1100 is denied on IPv6 dual st
brian.stansberry May 22, 2008 3:48 PM (in response to ishai)Can you share more details on the deployment failure?
-
4. Re: Access to jnp://localhost:1100 is denied on IPv6 dual st
ishai May 22, 2008 4:25 PM (in response to ishai)It's actually execution time exception with the preference to IPv4 stack
javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.CommunicationException: Could not obtain connection to any of these urls: 127.0.0.1:1100 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 127.0.0.1:1100 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 127.0.0.1:1100 [Root exception is java.net.ConnectException: Connection refused: connect]]]]
at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1067)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:700)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
Binding issues were happening with preference to IPv6 stack and are no longer an issue -
5. Re: Access to jnp://localhost:1100 is denied on IPv6 dual st
brian.stansberry May 24, 2008 9:06 AM (in response to ishai)I've been unable to reproduce your problem with the setup you sent me. I have no problem sending messages.
What's in your /etc/hosts file? Mine includes# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6
What params are you passing to run.sh when you start JBoss? -
6. Re: Access to jnp://localhost:1100 is denied on IPv6 dual st
ishai May 24, 2008 9:35 AM (in response to ishai)I have -Djava.net.preferIPv4Stack=true in run.sh
My localhost is resolved as ::1 and there are no explicit definitions in /etc/hosts for ::1.
127.0.0.1 localhost appears in the file. -
7. Re: Access to jnp://localhost:1100 is denied on IPv6 dual st
ishai May 29, 2008 4:49 PM (in response to ishai)I made a test on my system with the following line in the code (Windows 2k3):
127.0.0.1 localhost ::1 localhost6
This did not resolve the issue. I am able to ping localhost as ::1 and localhost6 as ::1 as well. 127.0.0.1 is pingable.
I think important part is that I am starting run.bat with -b <IPv4 IP>