Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- NoRouteToHostException on local lookup

- NoRouteToHostException on local lookup

2007-07-11       - By kanth_seenu

 Back
I have read and understood that if I specify
kind="physical" in my  tag in build script, even my local lookup's will use
JNDI.

I found some exceptions in my server log, when it was trying to do some local
lookups and when my server had actually lost its network connectivity(I
unplugged the cable myself).
I got the below exception

javax.naming.CommunicationException Source code of javax.naming.CommunicationException [Root exception is java.rmi
.ConnectIOException: Exception creating connection to: 192.168.27.126; nested
exception is:
   java.net.NoRouteToHostException Source code of java.net.NoRouteToHostException: No route to host: connect]
ERROR [STDERR]     at org.jnp.interfaces.NamingContext Source code of org.jnp.interfaces.NamingContext(NamingContext
.java:722)
ERROR [STDERR]     at org.jnp.interfaces.NamingContext Source code of org.jnp.interfaces.NamingContext(NamingContext
.java:587)
ERROR [STDERR]     at javax.naming.InitialContext Source code of javax.naming.InitialContext(InitialContext.java
:351)
ERROR [STDERR]     at com.common.license.interfaces.LicenseVerifierUtil
.lookupHome(LicenseVerifierUtil.java:20)
ERROR [STDERR]     at java.lang.Thread Source code of java.lang.Thread(Thread.java:595)
ERROR [STDERR] Caused by: java.rmi.ConnectIOException Source code of java.rmi.ConnectIOException: Exception creating
connection to: 192.168.27.126; nested exception is:
   java.net.NoRouteToHostException Source code of java.net.NoRouteToHostException: No route to host: connect
ERROR [STDERR]     at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint
.java:587)
ERROR [STDERR]     at sun.rmi.transport.tcp.TCPChannel.createConnection
(TCPChannel.java:185)
ERROR [STDERR]     at sun.rmi.transport.tcp.TCPChannel.newConnection
(TCPChannel.java:171)
ERROR [STDERR]     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
ERROR [STDERR]     at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
ERROR [STDERR]     at org.jnp.interfaces.NamingContext Source code of org.jnp.interfaces.NamingContext(NamingContext
.java:625)
ERROR [STDERR]     ... 6 more
ERROR [STDERR] Caused by: java.net.NoRouteToHostException Source code of java.net.NoRouteToHostException: No route to host:
connect
ERROR [STDERR]     at java.net.PlainSocketImpl Source code of java.net.PlainSocketImpl(Native Method)
ERROR [STDERR]     at java.net.PlainSocketImpl Source code of java.net.PlainSocketImpl(PlainSocketImpl.java
:333)
ERROR [STDERR]     at java.net.PlainSocketImpl Source code of java.net.PlainSocketImpl
(PlainSocketImpl.java:195)
ERROR [STDERR]     at java.net.PlainSocketImpl Source code of java.net.PlainSocketImpl(PlainSocketImpl.java
:182)
ERROR [STDERR]     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java
:366)
ERROR [STDERR]     at java.net.Socket Source code of java.net.Socket(Socket.java:519)
ERROR [STDERR]     at java.net.Socket Source code of java.net.Socket(Socket.java:469)
ERROR [STDERR]     at java.net.Socket Source code of java.net.Socket(Socket.java:366)
ERROR [STDERR]     at java.net.Socket Source code of java.net.Socket(Socket.java:179)
ERROR [STDERR]     at sun.rmi.transport.proxy.RMIDirectSocketFactory
.createSocket(RMIDirectSocketFactory.java:22)
ERROR [STDERR]     at sun.rmi.transport.proxy.RMIMasterSocketFactory
.createSocket(RMIMasterSocketFactory.java:128)
ERROR [STDERR]     at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint
.java:569)

192.168.27.126 is my machine ip

Can anyone please help me to understand how to do a safe lookup even when the
server has lost its network connectivity. I read about component based lookups
and ended with naming exceptions....



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic
&p=4063014#4063014

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4063014
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.