Community
Participate
Working Groups
The following are error message: jboss-stop: [java] Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to retrieve stub from server localhost/127.0.0.1:1099 [Root exception is java.io.EOFException]] [java] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1763) [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:693) [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686) [java] at javax.naming.InitialContext.lookup(InitialContext.java:392) [java] at org.jboss.Shutdown.main(Shutdown.java:219) [java] Caused by: javax.naming.CommunicationException: Failed to retrieve stub from server localhost/127.0.0.1:1099 [Root exception is java.io.EOFException] [java] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:327) [java] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1734) [java] ... 4 more [java] Caused by: java.io.EOFException [java] at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554) [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) [java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
Try to fix this issue by provide server-url during stop server, just like the following: <arg line="-s ${server.url}"/> instead of: <arg value="-S"/> Code reviewed by Edwin Tang. Checked in trunk, revision: 6737 2.0.2, revision: 6739 1.2.0, revision: 6741 1.1.4, revision: 6740
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink