[JNDI and Naming] - javax naming serviceunavailableexception failed to connect to server localhost 1099
dattathreya bonakurthi <[email protected]> Mon, 19 Aug 2013 04:54:16 -0400
| Newsgroups | gmane.comp.java.jboss.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_1471704_1711329081.1376902456159
Content-Type: multipart/alternative;
boundary="----=_Part_1471703_1586630114.1376902456159"
------=_Part_1471703_1586630114.1376902456159
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
dattathreya bonakurthi [https://community.jboss.org/people/dattathreya] cre=
ated the discussion
"javax naming serviceunavailableexception failed to connect to server local=
host 1099"
To view the discussion, visit: https://community.jboss.org/message/833021#8=
33021
--------------------------------------------------------------
Hi team,
I m getting below error=20
javax naming serviceunavailableexception failed to connect to server <old_h=
ostname> 1099
At present in my system, the jboss is clonned from the another system and m=
ake up.
It is running well but whenever if there are requests coming to it they tak=
ing 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 HOS=
T & IP entries.
Can anyone suggest me how I can make my system not to point to old host nam=
e ..
javax.naming.CommunicationException: Failed to connect to server TVCLTAPSE0=
1:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed =
to connect to server TVCLTAPSE01:1099 [Root exception is java.net.UnknownHo=
stException: TVCLTAPSE01]]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jnp.interfaces.NamingCont=
ext.getServer(NamingContext.java:274)=C2=A0=C2=A0=C2=A0=C2=A0=20
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jnp.interfaces.NamingCont=
ext.checkRef(NamingContext.java:1533)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jnp.interfaces.NamingCont=
ext.lookup(NamingContext.java:634)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jnp.interfaces.NamingCont=
ext.lookup(NamingContext.java:627)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at javax.naming.InitialContext.l=
ookup(InitialContext.java:351)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.soa.esb.helpers.Nam=
ingContextPool.createContext(NamingContextPool.java:350)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.soa.esb.helpers.Nam=
ingContextPool.getContext(NamingContextPool.java:304)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.soa.esb.helpers.Nam=
ingContextPool.getContext(NamingContextPool.java:159)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.soa.esb.helpers.Nam=
ingContextPool.getNamingContext(NamingContextPool.java:410)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.internal.soa.esb.ro=
setta.pooling.JmsConnectionPool.getFactoryConnection(JmsConnectionPool.java=
:310)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.internal.soa.esb.ro=
setta.pooling.JmsConnectionPool.internalGetSession(JmsConnectionPool.java:2=
22)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.internal.soa.esb.ro=
setta.pooling.JmsConnectionPool.getSession(JmsConnectionPool.java:194)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.internal.soa.esb.co=
uriers.JmsCourier.getJmsSession(JmsCourier.java:159)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.internal.soa.esb.co=
uriers.JmsCourier.createMessageProducer(JmsCourier.java:385)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.internal.soa.esb.co=
uriers.JmsCourier.internalDeliver(JmsCourier.java:209)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.internal.soa.esb.co=
uriers.JmsCourier.deliver(JmsCourier.java:181)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.internal.soa.esb.co=
uriers.TwoWayCourierImpl.deliver(TwoWayCourierImpl.java:189)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.soa.esb.client.Serv=
iceInvoker$EPRInvoker.attemptDelivery(ServiceInvoker.java:667)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.soa.esb.client.Serv=
iceInvoker$EPRInvoker.access$200(ServiceInvoker.java:569)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.soa.esb.client.Serv=
iceInvoker.post(ServiceInvoker.java:359)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.soa.esb.client.Serv=
iceInvoker.deliverSync(ServiceInvoker.java:219)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.soa.esb.listeners.m=
essage.UncomposedMessageDeliveryAdapter.deliverSyncWithoutDecomposing(Uncom=
posedMessageDeliveryAdapter.java:107)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.soa.esb.listeners.m=
essage.UncomposedMessageDeliveryAdapter.deliverSync(UncomposedMessageDelive=
ryAdapter.java:86)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.soa.esb.listeners.g=
ateway.JBossRemotingGatewayListener.invoke(JBossRemotingGatewayListener.jav=
a:371)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.remoting.ServerInvo=
ker.invoke(ServerInvoker.java:769)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jboss.remoting.transport.=
coyote.CoyoteInvoker.service(CoyoteInvoker.java:310)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.coyote.http11.Http=
11Processor.process(Http11Processor.java:844)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.coyote.http11.Http=
11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.tomcat.util.net.JI=
oEndpoint$Worker.run(JIoEndpoint.java:446)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at java.lang.Thread.run(Thread.j=
ava:595)
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to s=
erver TVCLTAPSE01:1099 [Root exception is java.net.UnknownHostException: TV=
CLTAPSE01]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.jnp.interfaces.NamingCont=
ext.getServer(NamingContext.java:248)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ... 29 more
Caused by: java.net.UnknownHostException: TVCLTAPSE01
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at java.net.InetAddress.getAllBy=
Name0(InetAddress.java:1150)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/833021#833021]
Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=3D1&co=
ntainerType=3D14&container=3D2083]
------=_Part_1471703_1586630114.1376902456159
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link=3D"#355491" alink=3D"#4262a1" vlink=3D"#355491" style=3D"backgro=
und: #e2e2e2; margin: 0; padding: 20px;">
<div>
=09<table cellpadding=3D"0" bgcolor=3D"#FFFFFF" border=3D"0" cellspacing=3D=
"0" style=3D"border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -=
moz-border-radius: 6px; -webkit-border-radius: 6px;">
=09=09<tbody>
=09=09=09<tr>
=09=09=09=09<td>
=09=09=09=09=09<table border=3D"0" cellpadding=3D"0" cellspacing=3D"0" bgco=
lor=3D"#FFFFFF" style=3D"border: solid 2px #ccc; background: #dadada; width=
: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
=09=09=09=09=09=09<tbody>
=09=09=09=09=09=09=09<tr>
=09=09=09=09=09=09=09=09<td bgcolor=3D"#000000" valign=3D"middle" height=3D=
"58px" style=3D"border-bottom: 1px solid #ccc; padding: 20px; -moz-border-r=
adius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-ri=
ght-radius: 5px; -webkit-border-top-left-radius: 5px;">
=09=09=09=09=09=09=09=09=09<h1 style=3D"color: #333333; font: bold 22px Ari=
al, Helvetica, sans-serif; margin: 0; display: block !important;">
=09=09=09=09=09=09=09=09=09<!-- To have a header image/logo replace the nam=
e below with your img tag -->
=09=09=09=09=09=09=09=09=09<!-- Email clients will render the images when t=
he message is read so any image -->
=09=09=09=09=09=09=09=09=09<!-- must be made available on a public server, =
so that all recipients can load the image. -->
=09=09=09=09=09=09=09=09=09<a href=3D"https://community.jboss.org/index.jsp=
a" style=3D"text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
=09=09=09=09=09=09=09=09</td>
=09=09=09=09=09=09=09</tr>
=09=09=09=09=09=09=09<tr>
=09=09=09=09=09=09=09=09<td bgcolor=3D"#FFFFFF" style=3D"font: normal 12px =
Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-ra=
dius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-b=
ottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style=
=3D"margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
javax naming serviceunavailableexception failed to connect to server lo=
calhost 1099
</h3>
<span style=3D"margin-bottom: 10px;">
created by <a href=3D"https://community.jboss.org/people/dattathreya">d=
attathreya bonakurthi</a> in <i>JNDI and Naming</i> - <a href=3D"https://co=
mmunity.jboss.org/message/833021#833021">View the full discussion</a>
</span>
<hr style=3D"margin: 20px 0; border: none; background-color: #dadada; heigh=
t: 1px;">
<div class=3D"jive-rendered-content"><p>Hi team,</p><p style=3D"min-height:=
8pt; height: 8pt; padding: 0px;"> </p><p>I m getting below error </p>=
<p>javax naming serviceunavailableexception failed to connect to server <=
;old_hostname> 1099</p><p style=3D"min-height: 8pt; height: 8pt; padding=
: 0px;"> </p><p>At present in my system, the jboss is clonned from the=
another system and make up.</p><p style=3D"min-height: 8pt; height: 8pt; p=
adding: 0px;"> </p><p>It is running well but whenever if there are req=
uests coming to it they taking more time compared to earlier one.</p><p sty=
le=3D"min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>From the se=
rverlog file I can see it is trying to point to the old hostname...</p><p s=
tyle=3D"min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>At the ti=
me of clonning I had made required changes and updated all the HOST & I=
P entries.</p><p style=3D"min-height: 8pt; height: 8pt; padding: 0px;">=
0;</p><p>Can anyone suggest me how I can make my system not to point to old=
host name ..</p><p style=3D"min-height: 8pt; height: 8pt; padding: 0px;">&=
#160;</p><p>javax.naming.CommunicationException: Failed to connect to serve=
r TVCLTAPSE01:1099 [Root exception is javax.naming.ServiceUnavailableExcept=
ion: Failed to connect to server TVCLTAPSE01:1099 [Root exception is java.n=
et.UnknownHostException: TVCLTAPSE01]]</p><p>     =
   at org.jnp.interfaces.NamingContext.getServer(NamingContext.ja=
va:274)     </p><p>      =
  at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533=
)</p><p>        at org.jnp.interfaces.Na=
mingContext.lookup(NamingContext.java:634)</p><p>    &#=
160;   at org.jnp.interfaces.NamingContext.lookup(NamingContext.j=
ava:627)</p><p>        at javax.naming.I=
nitialContext.lookup(InitialContext.java:351)</p><p>    =
;    at org.jboss.soa.esb.helpers.NamingContextPool.createCo=
ntext(NamingContextPool.java:350)</p><p>      =
;  at org.jboss.soa.esb.helpers.NamingContextPool.getContext(NamingCon=
textPool.java:304)</p><p>        at org.=
jboss.soa.esb.helpers.NamingContextPool.getContext(NamingContextPool.java:1=
59)</p><p>        at org.jboss.soa.esb.h=
elpers.NamingContextPool.getNamingContext(NamingContextPool.java:410)</p><p=
>        at org.jboss.internal.soa.esb.r=
osetta.pooling.JmsConnectionPool.getFactoryConnection(JmsConnectionPool.jav=
a:310)</p><p>        at org.jboss.intern=
al.soa.esb.rosetta.pooling.JmsConnectionPool.internalGetSession(JmsConnecti=
onPool.java:222)</p><p>        at org.jb=
oss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.getSession(JmsConnec=
tionPool.java:194)</p><p>        at org.=
jboss.internal.soa.esb.couriers.JmsCourier.getJmsSession(JmsCourier.java:15=
9)</p><p>        at org.jboss.internal.s=
oa.esb.couriers.JmsCourier.createMessageProducer(JmsCourier.java:385)</p><p=
>        at org.jboss.internal.soa.esb.c=
ouriers.JmsCourier.internalDeliver(JmsCourier.java:209)</p><p>  &=
#160;     at org.jboss.internal.soa.esb.couriers.JmsCou=
rier.deliver(JmsCourier.java:181)</p><p>      =
;  at org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.deliver(Tw=
oWayCourierImpl.java:189)</p><p>        =
at org.jboss.soa.esb.client.ServiceInvoker$EPRInvoker.attemptDelivery(Servi=
ceInvoker.java:667)</p><p>        at org=
.jboss.soa.esb.client.ServiceInvoker$EPRInvoker.access$200(ServiceInvoker.j=
ava:569)</p><p>        at org.jboss.soa.=
esb.client.ServiceInvoker.post(ServiceInvoker.java:359)</p><p>  &=
#160;     at org.jboss.soa.esb.client.ServiceInvoker.de=
liverSync(ServiceInvoker.java:219)</p><p>     =
0;  at org.jboss.soa.esb.listeners.message.UncomposedMessageDeliveryAd=
apter.deliverSyncWithoutDecomposing(UncomposedMessageDeliveryAdapter.java:1=
07)</p><p>        at org.jboss.soa.esb.l=
isteners.message.UncomposedMessageDeliveryAdapter.deliverSync(UncomposedMes=
sageDeliveryAdapter.java:86)</p><p>      =
0; at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.invo=
ke(JBossRemotingGatewayListener.java:371)</p><p>    =
60;   at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.ja=
va:769)</p><p>        at org.jboss.remot=
ing.transport.coyote.CoyoteInvoker.service(CoyoteInvoker.java:310)</p><p>&#=
160;       at org.apache.coyote.http11.Http11=
Processor.process(Http11Processor.java:844)</p><p>    &=
#160;   at org.apache.coyote.http11.Http11Protocol$Http11Connecti=
onHandler.process(Http11Protocol.java:583)</p><p>    &#=
160;   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEn=
dpoint.java:446)</p><p>        at java.l=
ang.Thread.run(Thread.java:595)</p><p>Caused by: javax.naming.ServiceUnavai=
lableException: Failed to connect to server TVCLTAPSE01:1099 [Root exceptio=
n is java.net.UnknownHostException: TVCLTAPSE01]</p><p>   &#=
160;    at org.jnp.interfaces.NamingContext.getServer(Naming=
Context.java:248)</p><p>        ... 29 m=
ore</p><p>Caused by: java.net.UnknownHostException: TVCLTAPSE01</p><p> =
;       at java.net.InetAddress.getAllByName0=
(InetAddress.java:1150)</p></div>
<div style=3D"background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style=3D"margin: 0;">Reply to this message by <a href=3D"https://com=
munity.jboss.org/message/833021#833021">going to Community</a></p>
=09<p style=3D"margin: 0;">Start a new discussion in JNDI and Naming at <a =
href=3D"https://community.jboss.org/choose-container!input.jspa?contentType=
=3D1&containerType=3D14&container=3D2083">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
------=_Part_1471703_1586630114.1376902456159--
------=_Part_1471704_1711329081.1376902456159
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user
------=_Part_1471704_1711329081.1376902456159--