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, b
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 ( InterruptedExc
Thanks Mark and Konstantin for tips.
On Wed, Jul 13, 2011 at 5:16 PM, Konstantin Kolinko
wrote:
> 2011/7/14 Mark Thomas :
> > 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, c
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 h
2011/7/14 Josh Simmons :
> Our web.xml file minus listeners and servlet config. I also removed some
> taglib definitions.
>
>
>
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
Eh... remove the above. It isn't servlet 2.3 we
2011/7/14 Mark Thomas :
> 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 y
Our web.xml file minus listeners and servlet config. I also removed some
taglib definitions.
http://java.sun.com/dtd/web-app_2_3.dtd";>
http://java.sun.com/xml/ns/javaee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
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
> http://ne
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 diff
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 tha
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
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
-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.
>
> 180
> 10800
>
Can you post your entire web.xml? You can remove all the servlet,
listener, and security constraint stuff.
> We do not
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 when
I was afraid I wasn't being specific enough - sorry.
180
10800
We do not want to use the default cookie max age of -1 for our session cookie.
We would like for our session to persist across browser restart (I know this
might be frowned upon but i
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:
Also, It does *work sometimes*. I get a proper streaming output of the weather
feeds when it works.
Hope this helps you understand
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 7/12/
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
-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.
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
-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
-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
> ge
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 applicatio
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 an
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 qui
-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 Thre
-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 m
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 ( !executorService.awaitTe
-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
Previous
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 s
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 request
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
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
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 IP
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 pro
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 hav
> 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: Conne
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
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 it
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: Retry
40 matches
Mail list logo