Hi
I could resolve the problem. There was incorrect URL mentioned in web.xml
of
my application warfile. Actually, i don't deal with configuring this part
of
coding -- as i do just administer. And, hence, i did have faith in my
developer who made all changes. After that, the errors were really weird,
and when i tried searching in google, did not find anything that can help
resolving my problem.
Finally, started from scratch and reached to root cause of failure....
Thanks for your reply David.....I was given downtime, so was looking out
for
instantaneous help......
Regards,
Nehal
-----Original Message-----
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Monday, December 12, 2005 6:41 PM
To: Tomcat Users List
Subject: Re: Please respond to my query --- in need of help badly!!
1) Begging is very unbecoming. Have you tried googling for 'tomcat
java.net.ConnectException'?
2) On the surface, it would appear some of your webapp code is
attempting to connect to another service, but doesn't have the privilege
to do so. If tomcat is running with a security manager, check it's
settings.
--David
Nehal Sangoi wrote:
Hi,
I am facing problems while opening lookups for another tomcat instance
thru
apache url of one tomcat instance. Here is, what i am doing --
Logon to apache url of one tomcat instance.
click on lookup -- that points to another tomcat instace app....
No errors in apache logs...
Errors in first tomcat instance are as follows :
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
at sun.net.www.http.HttpClient.New(HttpClient.java:287)
at sun.net.www.http.HttpClient.New(HttpClient.java:299)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnect
i
on.java:792)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.
j
ava:744)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:
6
69)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnectio
n
.java:913)
at
com.ges.expd2.util.ClientLookupServlet.doGet(ClientLookupServlet.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
n
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
h
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
a
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
a
va:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
6
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10
5
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
a
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678
)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
v
a:684)
at java.lang.Thread.run(Thread.java:595)
java.lang.NullPointerException
at
com.ges.expd2.util.ClientLookupServlet.doGet(ClientLookupServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
n
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
h
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
a
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
a
va:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
6
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10
5
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
a
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678
)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
v
a:684)
at java.lang.Thread.run(Thread.java:595)
Thanks & Regards,
Nehal
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
=======================================
David Smith
Network Operations Supervisor
Department of Entomology
College of Agriculture & Life Sciences
Cornell University
2132 Comstock Hall
Ithaca, NY 14853
Phone: 607.255.9571
Fax: 607.255.0939
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]