4 Replies Latest reply on Aug 22, 2013 4:55 AM by dattathreya bonakurthi

    javax naming serviceunavailableexception failed to connect to server localhost 1099

    dattathreya bonakurthi Newbie

      Hi team,

       

      I m getting below error

      javax naming serviceunavailableexception failed to connect to server <old_hostname> 1099

       

      At present in my system, the jboss is clonned from the another system and make up.

       

      It is running well but whenever if there are requests coming to it they taking more time compared to earlier one.

       

      From the serverlog file I can see it is trying to point to the old hostname...

       

      At the time of clonning I had made required changes and updated all the HOST & IP entries.

       

      Can anyone suggest me how I can make my system not to point to old host name ..

       

      javax.naming.CommunicationException: Failed to connect to server TVCLTAPSE01:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server TVCLTAPSE01:1099 [Root exception is java.net.UnknownHostException: TVCLTAPSE01]]

              at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:274)    

              at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533)

              at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634)

              at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)

              at javax.naming.InitialContext.lookup(InitialContext.java:351)

              at org.jboss.soa.esb.helpers.NamingContextPool.createContext(NamingContextPool.java:350)

              at org.jboss.soa.esb.helpers.NamingContextPool.getContext(NamingContextPool.java:304)

              at org.jboss.soa.esb.helpers.NamingContextPool.getContext(NamingContextPool.java:159)

              at org.jboss.soa.esb.helpers.NamingContextPool.getNamingContext(NamingContextPool.java:410)

              at org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.getFactoryConnection(JmsConnectionPool.java:310)

              at org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.internalGetSession(JmsConnectionPool.java:222)

              at org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.getSession(JmsConnectionPool.java:194)

              at org.jboss.internal.soa.esb.couriers.JmsCourier.getJmsSession(JmsCourier.java:159)

              at org.jboss.internal.soa.esb.couriers.JmsCourier.createMessageProducer(JmsCourier.java:385)

              at org.jboss.internal.soa.esb.couriers.JmsCourier.internalDeliver(JmsCourier.java:209)

              at org.jboss.internal.soa.esb.couriers.JmsCourier.deliver(JmsCourier.java:181)

              at org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.deliver(TwoWayCourierImpl.java:189)

              at org.jboss.soa.esb.client.ServiceInvoker$EPRInvoker.attemptDelivery(ServiceInvoker.java:667)

              at org.jboss.soa.esb.client.ServiceInvoker$EPRInvoker.access$200(ServiceInvoker.java:569)

              at org.jboss.soa.esb.client.ServiceInvoker.post(ServiceInvoker.java:359)

              at org.jboss.soa.esb.client.ServiceInvoker.deliverSync(ServiceInvoker.java:219)

              at org.jboss.soa.esb.listeners.message.UncomposedMessageDeliveryAdapter.deliverSyncWithoutDecomposing(UncomposedMessageDeliveryAdapter.java:107)

              at org.jboss.soa.esb.listeners.message.UncomposedMessageDeliveryAdapter.deliverSync(UncomposedMessageDeliveryAdapter.java:86)

              at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.invoke(JBossRemotingGatewayListener.java:371)

              at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769)

              at org.jboss.remoting.transport.coyote.CoyoteInvoker.service(CoyoteInvoker.java:310)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

              at java.lang.Thread.run(Thread.java:595)

      Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server TVCLTAPSE01:1099 [Root exception is java.net.UnknownHostException: TVCLTAPSE01]

              at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:248)

              ... 29 more

      Caused by: java.net.UnknownHostException: TVCLTAPSE01

              at java.net.InetAddress.getAllByName0(InetAddress.java:1150)