Issue 64 in urlrewritefilter: Connection refused: connect

5 views
Skip to first unread message

urlrewri...@googlecode.com

unread,
Jan 29, 2010, 1:15:18 AM1/29/10
to urlre...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 64 by sunny.dyal: Connection refused: connect
http://code.google.com/p/urlrewritefilter/issues/detail?id=64

Hi,
is it possible to handle following exception using rulrewritefilter.

java.net.ConnectException: Connection refused: connect

Step to reproduce:
1. It occurs when server receive requests more then maxThreads.

I will look forward to hear from you.

Thanks

Sunny

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

urlrewri...@googlecode.com

unread,
Jan 29, 2010, 2:17:06 AM1/29/10
to urlre...@googlegroups.com

Comment #1 on issue 64 by avlesh: Connection refused: connect
http://code.google.com/p/urlrewritefilter/issues/detail?id=64

What do you mean? You'll get a net.ConnectException only when you are doing
rewriting
into type="redirect" or type="proxy". What kind of handling do you need?

urlrewri...@googlecode.com

unread,
Jan 29, 2010, 3:07:38 AM1/29/10
to urlre...@googlegroups.com

Comment #2 on issue 64 by sunny.dyal: Connection refused: connect
http://code.google.com/p/urlrewritefilter/issues/detail?id=64

I would like to check feasibility of urlrewritefilter for following
exception

java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:490)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1
037)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1
023)
at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
at java.lang.Thread.run(Unknown Source)

This exception occurs when tomcat reached maxThread. However, I don’t know
how to
tell when the client receives “connection refused”.

Please suggest.

urlrewri...@googlecode.com

unread,
Jan 29, 2010, 11:31:11 AM1/29/10
to urlre...@googlegroups.com

Comment #3 on issue 64 by avlesh: Connection refused: connect
http://code.google.com/p/urlrewritefilter/issues/detail?id=64

I still fail to understand why is this a rewrite problem? Can you please
post exact
details of the problem at hand?

urlrewri...@googlecode.com

unread,
Feb 13, 2010, 3:40:55 PM2/13/10
to urlre...@googlegroups.com
Updates:
Status: Invalid

Comment #4 on issue 64 by avlesh: Connection refused: connect
http://code.google.com/p/urlrewritefilter/issues/detail?id=64

Marking this as an invalid issue. The reported issues doesn't seem to have
anything
to do with URF.

Reply all
Reply to author
Forward
0 new messages