issue in stop running jvm, throwing errors.
dokiinfy Sep 15, 2010 8:22 AMHi,
I am using JBOSS EAP 5.0, and I am trying to stop a server Instance. To stop I am using "shutdown.sh -s <server Name>, but while shuting down i am getting error as below. So can some one please tell me, what is the issue and reason for this?
Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: JbossServerB [Root exception is javax.naming.CommunicationException: Failed to connect to server JbossServerB:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server JbossServerB:1099 [Root exception is java.net.UnknownHostException: JbossServerB]]]
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1763)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:693)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jboss.Shutdown.main(Shutdown.java:219)
Caused by: javax.naming.CommunicationException: Failed to connect to server JbossServerB:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server JbossServerB:1099 [Root exception is java.net.UnknownHostException: JbossServerB]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:335)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1734)
... 4 more
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server JbossServerB:1099 [Root exception is java.net.UnknownHostException: JbossServerB]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:305)
... 5 more
Caused by: java.net.UnknownHostException: JbossServerB
at java.net.InetAddress.getAllByName0(InetAddress.java:1157)
at java.net.InetAddress.getAllByName(InetAddress.java:1083)
at java.net.InetAddress.getAllByName(InetAddress.java:1019)
at java.net.InetAddress.getByName(InetAddress.java:969)
at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:81)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:301)
... 5 more