1 Reply Latest reply on Mar 10, 2010 7:28 AM by jaikiran pai

    javax.naming.CommunicationException:Could not obtain connection to any of these urls

    bhanu vakamalla Newbie

      I am facing the following exception during lookup of remote interface.Please help me in fixing this issue.

      14:52:11,156 INFO  [STDOUT]  Inside Naming exception
      14:52:11,156 ERROR [STDERR] javax.naming.NamingException: Could not dereference
      object [Root exception is javax.naming.CommunicationException: Could not obtain
      connection to any of these urls: vwhq5275.whq.ual.com:6200 and discovery failed
      with error: javax.naming.CommunicationException: Receive timed out [Root except
      on is java.net.SocketTimeoutException: Receive timed out] [Root exception is ja
      ax.naming.CommunicationException: Failed to retrieve stub from server vwhq5275.
      hq.ual.com:6200 [Root exception is java.io.EOFException]]]
      14:52:11,156 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.resolveLinkNamingContext.java:1339)
      14:52:11,156 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(NamigContext.java:804)
      14:52:11,156 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(NamigContext.java:820)
      14:52:11,156 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(NamigContext.java:673)
      14:52:11,156 ERROR [STDERR]     at javax.naming.InitialContext.lookup(InitialCotext.java:392)
      14:52:11,156 ERROR [STDERR]     at com.ual.ipm.bean.IPMBaseBean.getOdiSessionObect(IPMBaseBean.java:101)
      14:52:11,156 ERROR [STDERR]     at com.ual.ipm.bean.IPMBaseBean.getServiceData(
      PMBaseBean.java:53)
      14:52:11,156 ERROR [STDERR]     at com.ual.ipm.bean.IPMPassengerInfoBean.getPax
      ltDetails(IPMPassengerInfoBean.java:111)
      14:52:11,156 ERROR [STDERR]     at org.apache.jsp.jsp.IPMPassengerManifest_jsp.
      jspService(IPMPassengerManifest_jsp.java:288)
      14:52:11,156 ERROR [STDERR]     at org.apache.jasper.runtime.HttpJspBase.servic
      (HttpJspBase.java:70)
      14:52:11,156 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpS
      rvlet.java:803)
      14:52:11,156 ERROR [STDERR]     at org.apache.jasper.servlet.JspServletWrapper.
      ervice(JspServletWrapper.java:369)
      14:52:11,156 ERROR [STDERR]     at org.apache.jasper.servlet.JspServlet.service
      spFile(JspServlet.java:322)
      14:52:11,156 ERROR [STDERR]     at org.apache.jasper.servlet.JspServlet.service
      JspServlet.java:249)
      14:52:11,156 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpS
      rvlet.java:803)
      14:52:11,156 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterCh
      in.internalDoFilter(ApplicationFilterChain.java:290)
      14:52:11,156 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterCh
      in.doFilter(ApplicationFilterChain.java:206)
      14:52:11,156 ERROR [STDERR]     at org.jboss.web.tomcat.filters.ReplyHeaderFilt
      r.doFilter(ReplyHeaderFilter.java:96)
      14:52:11,156 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterCh
      in.internalDoFilter(ApplicationFilterChain.java:235)
      14:52:11,156 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterCh
      in.doFilter(ApplicationFilterChain.java:206)
      14:52:11,156 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapperValv
      .invoke(StandardWrapperValve.java:235)
      14:52:11,156 ERROR [STDERR]     at org.apache.catalina.core.StandardContextValv
      .invoke(StandardContextValve.java:191)
      14:52:11,156 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityAssoci
      tionValve.invoke(SecurityAssociationValve.java:190)
      14:52:11,156 ERROR [STDERR]     at org.jboss.web.tomcat.security.JaccContextVal
      e.invoke(JaccContextValve.java:92)
      14:52:11,156 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContex
      EstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      14:52:11,156 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContex
      EstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      14:52:11,156 ERROR [STDERR]     at org.apache.catalina.core.StandardHostValve.i
      voke(StandardHostValve.java:127)
      14:52:11,156 ERROR [STDERR]     at org.apache.catalina.valves.ErrorReportValve.
      nvoke(ErrorReportValve.java:102)
      14:52:11,156 ERROR [STDERR]     at org.jboss.web.tomcat.service.jca.CachedConne
      tionValve.invoke(CachedConnectionValve.java:158)
      14:52:11,156 ERROR [STDERR]     at org.apache.catalina.core.StandardEngineValve
      invoke(StandardEngineValve.java:109)
      14:52:11,156 ERROR [STDERR]     at org.apache.catalina.connector.CoyoteAdapter.
      ervice(CoyoteAdapter.java:330)
      14:52:11,156 ERROR [STDERR]     at org.apache.coyote.http11.Http11Processor.pro
      ess(Http11Processor.java:828)
      14:52:11,156 ERROR [STDERR]     at org.apache.coyote.http11.Http11Protocol$Http
      1ConnectionHandler.process(Http11Protocol.java:601)
      14:52:11,156 ERROR [STDERR]     at org.apache.tomcat.util.net.JIoEndpoint$Worke
      .run(JIoEndpoint.java:447)
      14:52:11,156 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:619)
      14:52:11,156 ERROR [STDERR] Caused by: javax.naming.CommunicationException: Cou
      d not obtain connection to any of these urls: vwhq5275.whq.ual.com:6200 and dis
      overy failed with error: javax.naming.CommunicationException: Receive timed out
      [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root ex
      eption is javax.naming.CommunicationException: Failed to retrieve stub from ser
      er vwhq5275.whq.ual.com:6200 [Root exception is java.io.EOFException]]
      14:52:11,156 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.checkRef(Na
      ingContext.java:1727)
      14:52:11,156 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(Nami
      gContext.java:680)
      14:52:11,156 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(Nami
      gContext.java:673)
      14:52:11,156 ERROR [STDERR]     at javax.naming.InitialContext.lookup(InitialCo
      text.java:392)
      14:52:11,156 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.resolveLink
      NamingContext.java:1333)
      14:52:11,156 ERROR [STDERR]     ... 34 more
      14:52:11,156 ERROR [STDERR] Caused by: javax.naming.CommunicationException: Fai
      ed to retrieve stub from server vwhq5275.whq.ual.com:6200 [Root exception is ja
      a.io.EOFException]
      14:52:11,156 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.getServer(N
      mingContext.java:303)
      14:52:11,156 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.checkRef(Na
      ingContext.java:1698)
      14:52:11,156 ERROR [STDERR]     ... 38 more
      14:52:11,156 ERROR [STDERR] Caused by: java.io.EOFException
      14:52:11,156 ERROR [STDERR]     at java.io.ObjectInputStream$PeekInputStream.re
      dFully(ObjectInputStream.java:2281)
      14:52:11,156 ERROR [STDERR]     at java.io.ObjectInputStream$BlockDataInputStre
      m.readShort(ObjectInputStream.java:2750)
      14:52:11,156 ERROR [STDERR]     at java.io.ObjectInputStream.readStreamHeader(O
      jectInputStream.java:780)
      14:52:11,156 ERROR [STDERR]     at java.io.ObjectInputStream.<init>(ObjectInputtream.java:280)
      14:52:11,156 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.getServer(NmingContext.java:288)
      14:52:11,156 ERROR [STDERR]     ... 39 more
      14:52:18,766 INFO  [STDOUT] IPMPassengerInfoBean::dataset...{STA=FGFHGF, CARRIE=UA, SORTBY=PAXFIRSTNAME, SORTORDERIND=D, DATE=03/10/2010, DEPARRIND=D, FLTNO=1

      14:52:18,766 INFO  [STDOUT] sMode.....t
      14:52:18,766 INFO  [STDOUT] before lookup
      14:52:31,079 INFO  [STDOUT]  Inside Naming exception
      14:52:31,079 ERROR [STDERR] javax.naming.NamingException: Could not dereferenceobject [Root exception is javax.naming.CommunicationException: Could not obtain
      connection to any of these urls: vwhq5275.whq.ual.com:6200 and discovery failedwith error: javax.naming.CommunicationException: Receive timed out [Root except
      on is java.net.SocketTimeoutException: Receive timed out] [Root exception is jaax.naming.CommunicationException: Failed to retrieve stub from server vwhq5275.
      hq.ual.com:6200 [Root exception is java.io.EOFException]]]
      14:52:31,079 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.resolveLinkNamingContext.java:1339)
      14:52:31,079 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(NamigContext.java:804)
      14:52:31,079 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(NamigContext.java:820)
      14:52:31,079 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(NamigContext.java:673)
      14:52:31,079 ERROR [STDERR]     at javax.naming.InitialContext.lookup(InitialCotext.java:392)
      14:52:31,079 ERROR [STDERR]     at com.ual.ipm.bean.IPMBaseBean.getOdiSessionObect(IPMBaseBean.java:101)
      14:52:31,079 ERROR [STDERR]     at com.ual.ipm.bean.IPMBaseBean.getServiceData(PMBaseBean.java:53)
      14:52:31,079 ERROR [STDERR]     at com.ual.ipm.bean.IPMPassengerInfoBean.getPaxltDetails(IPMPassengerInfoBean.java:111)
      14:52:31,079 ERROR [STDERR]     at org.apache.jsp.jsp.IPMPassengerManifest_jsp.jspService(IPMPassengerManifest_jsp.java:288)
      14:52:31,079 ERROR [STDERR]     at org.apache.jasper.runtime.HttpJspBase.servic(HttpJspBase.java:70)
      14:52:31,079 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpSrvlet.java:803)
      14:52:31,079 ERROR [STDERR]     at org.apache.jasper.servlet.JspServletWrapper.ervice(JspServletWrapper.java:369)
      14:52:31,079 ERROR [STDERR]     at org.apache.jasper.servlet.JspServlet.servicespFile(JspServlet.java:322)
      14:52:31,079 ERROR [STDERR]     at org.apache.jasper.servlet.JspServlet.serviceJspServlet.java:249)
      14:52:31,079 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpSrvlet.java:803)
      14:52:31,079 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChin.internalDoFilter(ApplicationFilterChain.java:290)
      14:52:31,079 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChin.doFilter(ApplicationFilterChain.java:206)
      14:52:31,079 ERROR [STDERR]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      14:52:31,079 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChin.internalDoFilter(ApplicationFilterChain.java:235)
      14:52:31,079 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChin.doFilter(ApplicationFilterChain.java:206)
      14:52:31,079 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapperValv.invoke(StandardWrapperValve.java:235)
      14:52:31,079 ERROR [STDERR]     at org.apache.catalina.core.StandardContextValv.invoke(StandardContextValve.java:191)
      14:52:31,079 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityAssocitionValve.invoke(SecurityAssociationValve.java:190)
      14:52:31,079 ERROR [STDERR]     at org.jboss.web.tomcat.security.JaccContextVale.invoke(JaccContextValve.java:92)
      14:52:31,079 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContexEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      14:52:31,079 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContexEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      14:52:31,079 ERROR [STDERR]     at org.apache.catalina.core.StandardHostValve.ivoke(StandardHostValve.java:127)
      14:52:31,079 ERROR [STDERR]     at org.apache.catalina.valves.ErrorReportValve.nvoke(ErrorReportValve.java:102)
      14:52:31,079 ERROR [STDERR]     at org.jboss.web.tomcat.service.jca.CachedConnetionValve.invoke(CachedConnectionValve.java:158)
      14:52:31,079 ERROR [STDERR]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      14:52:31,079 ERROR [STDERR]     at org.apache.catalina.connector.CoyoteAdapter.ervice(CoyoteAdapter.java:330)
      14:52:31,079 ERROR [STDERR]     at org.apache.coyote.http11.Http11Processor.proess(Http11Processor.java:828)
      14:52:31,079 ERROR [STDERR]     at org.apache.coyote.http11.Http11Protocol$Http1ConnectionHandler.process(Http11Protocol.java:601)
      14:52:31,079 ERROR [STDERR]     at org.apache.tomcat.util.net.JIoEndpoint$Worke.run(JIoEndpoint.java:447)
      14:52:31,079 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:619)14:52:31,079 ERROR [STDERR] Caused by: javax.naming.CommunicationException: Cou
      d not obtain connection to any of these urls: vwhq5275.whq.ual.com:6200 and dis
      overy failed with error: javax.naming.CommunicationException: Receive timed out
      [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root ex
      eption is javax.naming.CommunicationException: Failed to retrieve stub from ser
      er vwhq5275.whq.ual.com:6200 [Root exception is java.io.EOFException]]
      14:52:31,079 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.checkRef(Na
      ingContext.java:1727)
      14:52:31,079 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(Nami
      gContext.java:680)
      14:52:31,079 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(Nami
      gContext.java:673)
      14:52:31,079 ERROR [STDERR]     at javax.naming.InitialContext.lookup(InitialCo
      text.java:392)
      14:52:31,079 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.resolveLink
      NamingContext.java:1333)
      14:52:31,079 ERROR [STDERR]     ... 34 more
      14:52:31,079 ERROR [STDERR] Caused by: javax.naming.CommunicationException: Fai
      ed to retrieve stub from server vwhq5275.whq.ual.com:6200 [Root exception is ja
      a.io.EOFException]
      14:52:31,079 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.getServer(N
      mingContext.java:303)
      14:52:31,079 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.checkRef(Na
      ingContext.java:1698)
      14:52:31,079 ERROR [STDERR]     ... 38 more
      14:52:31,079 ERROR [STDERR] Caused by: java.io.EOFException
      14:52:31,079 ERROR [STDERR]     at java.io.ObjectInputStream$PeekInputStream.re
      dFully(ObjectInputStream.java:2281)
      14:52:31,079 ERROR [STDERR]     at java.io.ObjectInputStream$BlockDataInputStre
      m.readShort(ObjectInputStream.java:2750)
      14:52:31,079 ERROR [STDERR]     at java.io.ObjectInputStream.readStreamHeader(O
      jectInputStream.java:780)
      14:52:31,079 ERROR [STDERR]     at java.io.ObjectInputStream.<init>(ObjectInput
      tream.java:280)
      14:52:31,079 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.getServer(N
      mingContext.java:288)
      14:52:31,079 ERROR [STDERR]     ... 39 more