Hi All,
I tried again. And still not successful, please find the stack trace below -
INFO: I/O exception (java.net.ConnectException) caught when processing request:
Connection refused: connect
Jul 13, 2011 12:10:36 PM org.apache.commons.httpclient.HttpMethodDirector
executeWithRetry
INFO:
Rohan,
what you have never clearly explained until now in this rather long thread, is what you
are exactly trying to do.
Is it :
a) an external application written in Java, which is trying to connect to
Tomcat ?
(and the log lines below are from the logfile of that application)
OR
b) is
I really apologize for the confusion created.
We are having an application, which is deployed on tomcat. Rather we are
shipping the application with tomcat. After extraction (complete installation),
the application is placed under the webapps directory.
The logs that I have shared is from the
From: Rohan Kadam [mailto:roha...@cybage.com]
Subject: RE: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)
I tried again. And still not successful, please find the stack trace below -
INFO: I/O exception (java.net.ConnectException) caught when processing
request:
Rohan Kadam wrote:
I really apologize for the confusion created.
We are having an application, which is deployed on tomcat. Rather we are
shipping the application with tomcat. After extraction (complete installation),
the application is placed under the webapps directory.
The logs that I
Caldarale, Charles R wrote:
From: Rohan Kadam [mailto:roha...@cybage.com]
Subject: RE: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)
I tried again. And still not successful, please find the stack trace below -
INFO: I/O exception (java.net.ConnectException) caught when
Hi André,
Yes, whatever your understanding is correct. And also the connector tag is
inside of Tomcat B.
Thanks.
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Wednesday, July 13, 2011 4:52 PM
To: Tomcat Users List
Subject: Re: Tomcat is not able to connect to
Rohan Kadam wrote:
Hi André,
Yes, whatever your understanding is correct. And also the connector tag is
inside of Tomcat B.
Ok, then Charles' earlier message was correct, and the problem has nothing to do with
Tomcat per se.
Your web application A makes its own TCP connection to webserver
We are attempting to run identical servlets under several Tomcat 7.0.8 nodes
behind a load balancer (Apache 2.0.54 using mod_jk), but we have been unable to
get sticky sessions to work. Initial requests are forwarded to a node as
expected, but subsequent requests from the same client are being
Hi,
Apologies in advance if this is the wrong mailing list. I was unable to find
one specific to mod_jk and this looked the most relevant.
I have the following apache tomcat server configuration set up: Apache 2.2.3 ,
mod_jk 1.2.32 , and tomcat 6.0.32 running HelloWorld.war
If I send a
On 13/07/2011 14:37, Lataxes, Karl wrote:
We are attempting to run identical servlets under several Tomcat 7.0.8 nodes
behind a load balancer (Apache 2.0.54 using mod_jk), but we have been unable
to get sticky sessions to work. Initial requests are forwarded to a node as
expected, but
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
CVE-2011-2526: Apache Tomcat Information disclosure and availability
vulnerabilities
Severity: low
Vendor:
The Apache Software Foundation
Versions Affected:
Tomcat 7.0.0 to 7.0.18
Tomcat 6.0.0 to 6.0.32
Tomcat 5.5.0 to 5.0.33
On 12/07/2011 20:47, Terence M. Bandoian wrote:
Hi, Kris-
I tried using ScheduledExecutorService but ran into the same problem.
After awaiting termination:
executorService.shutdown();
try
{
while (
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Great catch to all who were involved in discovery and mitigation of this
vulnerability.
Since the APR flavor of this vulnerability uses native code to crash the
JVM and/or read files without asking the SecurityManager for permission,
does that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Terence,
On 7/12/2011 3:47 PM, Terence M. Bandoian wrote:
executorService.shutdown();
try { while ( !executorService.awaitTermination( 1, TimeUnit.SECONDS
) );
Thread.sleep( 1000 ); } catch ( InterruptedException ie ) { }
We use a
Hello,
We have recently upgraded our tomcats to Tomcat7 in order to gain the new
exposure to the configuration of the session cookie, namely the max age
property. I had tried reading posts about getting it to work with tomcat6 but
writing multiple cookies to the request caused problems for
On 13/07/2011 17:14, Christopher Schultz wrote:
All,
Great catch to all who were involved in discovery and mitigation of this
vulnerability.
Konstantin found the problems - he deserves most of the credit.
Since the APR flavor of this vulnerability uses native code to crash the
JVM and/or
We're not using cookies.
Our application is not web based, but accepts HTTP PUTS via client requests
that enter our network from external sources. We are not URL encoding, as our
clients are not configured to accept it. If we have to include URL encoding,
both our client and server
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Josh,
On 7/13/2011 2:14 PM, Josh Simmons wrote:
We tried to set the cookie max age to 3 hours, the exact same time as
our session timeout.
So, this is a non-session cookie?
However, I was extremely surprised that the session cookie didn't
get
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 7/13/2011 2:28 PM, Mark Thomas wrote:
No, since all that code runs in Tomcat's security context which has
read everything permissions (by default) anyway. Logically, if a
system admin doesn't want Tomcat to read those files, they wouldn't
On 13/07/2011 19:39, Lataxes, Karl wrote:
We're not using cookies.
Our application is not web based, but accepts HTTP PUTS via client requests
that enter our network from external sources. We are not URL encoding, as
our clients are not configured to accept it. If we have to include URL
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 7/13/2011 3:12 PM, Mark Thomas wrote:
On 13/07/2011 19:39, Lataxes, Karl wrote:
We're not using cookies.
Our application is not web based, but accepts HTTP PUTS via client
requests that enter our network from external sources. We are
is it possible that when you turn on SSL, you are using the regular BIO
connector when you use SSL and Comet is not supported by that connector.
best
Filip
On 7/11/2011 11:05 AM, Sudeep Pradhan wrote:
Hi Filip,
I have tried the app with tomcat 6.0.32 and 7.0.16, and the result is the same.
I
you've misconfigured it. the driverClassName would have to be a driver.
Using XA data sources needs to create the datasource for those connections
first.
There is an example towards the bottom of
http://www.tomcatexpert.com/blog/2010/04/01/configuring-jdbc-pool-high-concurrency
Filip
On
Hi Filip,
Thanks for the reply.
I don't think that I am using BIO connector for SSL. I don't see any such
option in the server.xml. The connector is as follows:
Connector
protocol=org.apache.coyote.http11.Http11NioProtocol
port=8443 minSpareThreads=5 maxSpareThreads=75
I was afraid I wasn't being specific enough - sorry.
session-config
session-timeout180/session-timeout
cookie-config
max-age
10800
/max-age
/cookie-config
/session-config
We do not want to use the default cookie max age of -1 for our session cookie.
We
Hi.
I am not the one who can really answer your question, but
1) this is the right list for Apache/Tomcat connectors (mod_jk among them)
2) a question : do these CLOSE_WAIT sockets bother you for some specific reason
?
In a totally different context, I have had problems with Linux systems
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Josh,
On 7/13/2011 5:15 PM, Josh Simmons wrote:
I was afraid I wasn't being specific enough - sorry.
session-config session-timeout180/session-timeout
cookie-config max-age 10800 /max-age /cookie-config
/session-config
Can you post your
Hi,
I have a set up where there are multiple catalina bases. All share a single
tomcat parent.
In this set up, can i still set up tomcat as service such that there is one
service for each base. ?
I am using the Tomcat 7.0.16 if thats important.
Thanks,
Anand
On 13/07/2011 22:46, Anand HS wrote:
Hi,
I have a set up where there are multiple catalina bases. All share a single
tomcat parent.
In this set up, can i still set up tomcat as service such that there is one
service for each base. ?
Yes, just make sure you give them separate names.
Mark
On 13.07.2011 00:36, eurotrans-Verlag wrote:
Hmm, could it be that the Java ImageIO is re-using OutputStreams after
calling ImageIO.write(img, PNG, out), so that I'm getting such a
IllegalStateException? (I think I read somewhere that Tomcat is recycling
OutputStream objects)
Maybe that
On 13.07.2011 23:16, André Warnier wrote:
Hi.
I am not the one who can really answer your question, but
1) this is the right list for Apache/Tomcat connectors (mod_jk among them)
2) a question : do these CLOSE_WAIT sockets bother you for some specific
reason ?
In a totally different
Hi Rainer,
-Original Message-
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
Sent: Thursday, July 14, 2011 12:17 AM
At least there was trouble about Java2D for several users in the past.
One such issue:
https://issues.apache.org/bugzilla/show_bug.cgi?id=41772
Our web.xml file minus listeners and servlet config. I also removed some
taglib definitions.
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
2011/7/14 Mark Thomas ma...@apache.org:
On 13/07/2011 22:46, Anand HS wrote:
Hi,
I have a set up where there are multiple catalina bases. All share a single
tomcat parent.
In this set up, can i still set up tomcat as service such that there is one
service for each base. ?
Yes, just make
2011/7/14 Josh Simmons josh.simm...@colinx.com:
Our web.xml file minus listeners and servlet config. I also removed some
taglib definitions.
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
On 1:59 PM, Pid wrote:
ATimerTask is a private instance in AServletContextListener, is this
necessary and if so, why?
What logic is contained in ATimerTask?
Are you overriding TimerTask.cancel() and do you catch InterruptedException?
p
Hi, Pid-
For the sake of clarity, I'll repeat this
Thanks Mark and Konstantin for tips.
On Wed, Jul 13, 2011 at 5:16 PM, Konstantin Kolinko
knst.koli...@gmail.comwrote:
2011/7/14 Mark Thomas ma...@apache.org:
On 13/07/2011 22:46, Anand HS wrote:
Hi,
I have a set up where there are multiple catalina bases. All share a
single
tomcat
On 1:59 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Terence,
On 7/12/2011 3:47 PM, Terence M. Bandoian wrote:
executorService.shutdown();
try { while ( !executorService.awaitTermination( 1, TimeUnit.SECONDS
) );
Thread.sleep( 1000 ); } catch (
On 1:59 PM, Bill Miller wrote:
The problem is obviously that the thread within the Timer needs time to
properly shutdown, the
non-obvious part is how long does it need, and how do you detect it's done?.
Normally you would do
a Thread.join() to ensure a thread has stopped before continuing,
40 matches
Mail list logo