On 23/01/2012 03:49, removeps-c...@yahoo.com wrote:
Am running Tomcat 7 and see this in the logs:
SEVERE: Exception performing authentication
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:
Connection.close() has already been called. Invalid operation in this state.
Sorry to possibly state the obvious, but are there perhaps files that are not
being closed?
This can often happen if code goes into a catch, and a file is not closed.
Best to have a finally block which checks if a file is open, and closes it.
Robert Purvis
-Original Message-
From:
James,
On 19.1.2012 18:05, James Lampert wrote:
You must find keystore with earlier generated key pair (the one you
also used to generate CSR for CA), and import all three certificates
into that keystore.
At this point, I still don't have the keystore used to generate the CSR,
but I *do* now
-Original Message-
From: Brooke Hedrick [mailto:brooke.t.hedr...@gmail.com]
Sent: 20 January 2012 12:50
To: Tomcat Users List
Subject: RE: Cannot rid of expired Certificate ...
On Jan 20, 2012 6:47 AM, Brooke Hedrick brooke.t.hedr...@gmail.com
wrote:
H
On Jan 20, 2012 4:23 AM,
Andrew Erskine wrote:
...
Not sure what APR is ?
To save someone else the time :
See : http://apr.apache.org/
In essence, APR is a software library which contains a number of TCP-socket-related
functions which /can/ be used by software applications (such as Apache httpd and Tomcat),
as a
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: 23 January 2012 10:46
To: Tomcat Users List
Subject: Re: Cannot rid of expired Certificate ...
Andrew Erskine wrote:
...
Not sure what APR is ?
To save someone else the time :
See : http://apr.apache.org/
In
Andrew Erskine wrote:
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: 23 January 2012 10:46
To: Tomcat Users List
Subject: Re: Cannot rid of expired Certificate ...
Andrew Erskine wrote:
...
Not sure what APR is ?
To save someone else the time :
See :
Hello Robert,
We are talking about an app which has been grown since years and now migrated
to Tomcat. Most of the main code is migrated to use spring jdbc and spring 3.0
mvc. Would you recommend some way that i can spot the issue from inspecting the
open file descriptors once the server
Hi all,
We have Tomcat 6.0.35 in our production Environment running on Linux, and we
have configured to use tomcatThreadPool with maxThreads=500 and
minSpareThreads=50 with default connectionTimeout(which is 6 sec). We have
two connectors (http and ssl) It has been giving some problems
On Mon, 2012-01-23 at 05:33 -0800, gnath wrote:
Hello Robert,
We are talking about an app which has been grown since years and now migrated
to Tomcat. Most of the main code is migrated to use spring jdbc and spring
3.0 mvc.
Would you recommend some way that i can spot the issue from
On Mon, 2012-01-23 at 05:44 -0800, gnath wrote:
Hi all,
We have Tomcat 6.0.35 in our production Environment running on Linux, and we
have configured to use tomcatThreadPool with maxThreads=500 and
minSpareThreads=50 with default connectionTimeout(which is 6 sec).
We have two
gnath wrote:
Hi all,
We have Tomcat 6.0.35 in our production Environment running on Linux, and we
have configured to use tomcatThreadPool with maxThreads=500 and
minSpareThreads=50 with default connectionTimeout(which is 6 sec).
Which would be about 16 hours. I am not sure of the
On 23/01/2012 14:06, Daniel Mikusa wrote:
On Mon, 2012-01-23 at 05:44 -0800, gnath wrote:
Hi all,
We have Tomcat 6.0.35 in our production Environment running on Linux, and we
have configured to use tomcatThreadPool with maxThreads=500 and
minSpareThreads=50 with default
André Warnier wrote:
gnath wrote:
Hi all,
We have Tomcat 6.0.35 in our production Environment running on Linux,
and we have configured to use tomcatThreadPool with maxThreads=500 and
minSpareThreads=50 with default connectionTimeout(which is 6 sec).
Which would be about 16 hours. I am
From: Andrew Erskine [mailto:a.ersk...@darasoft.com]
Subject: RE: Cannot rid of expired Certificate ...
Heres my server.xml ..
Only part of it, unfortunately.
Connector
port=443 minProcessors=5 maxProcessors=75
Jan 23, 2012 10:58:37 AM (main)
Some key authorities recently changed the default from 1024 to 2048 bit
keys.
On some occasions I've been forced to delete my keystore and start from
scratch to make sure there are no unsuitable keys still in there.
On 23/01/12 11:45 PM, André Warnier a...@ice-sa.com wrote:
Andrew Erskine
Thanks Dan and p
Sure, i will collect the thread dump once it happens again. Mean while here my
server.xml content related to executor and connectors:
Executor name=tomcatThreadPool
namePrefix=catalina-exec-
maxThreads=500
Hi Andre,
Sorry, my mistake.
you are right. i actually meant milliseconds. However i checked my
configuration again and here is what i have : ( I have the http connector
configured at 2 ms. and the secured one left at default 6 ms)
Executor name=tomcatThreadPool
gnath wrote:
Hi Andre,
Sorry, my mistake.
you are right. i actually meant milliseconds. However i checked my
configuration again and here is what i have : ( I have the http connector
configured at 2 ms. and the secured one left at default 6 ms)
Executor name=tomcatThreadPool
Please ignore my previously sent edited configuration. Here is what our
configurations are without editing them :
Executor name=tomcatThreadPool
namePrefix=catalina-exec-
maxThreads=500
minSpareThreads=50/
Connector enableLookups=false
On Mon, 2012-01-23 at 06:24 -0800, gnath wrote:
Thanks Dan and p
Sure, i will collect the thread dump once it happens again. Mean while here
my server.xml content related to executor and connectors:
Executor name=tomcatThreadPool
namePrefix=catalina-exec-
Sure i will keep monitoring the Thread count as you said using jstack and keep
you posted once the server hangs again.
Thanks
-G
From: Daniel Mikusa dmik...@vmware.com
To: Tomcat Users List users@tomcat.apache.org; gnath
gautam_exquis...@yahoo.com
Sent:
I hope somebody can help me.
I have a test-server on my macbook pro and it takes forever to restart the
server do anyone have a clue to whats happening. I have run the
configuration just fine on a windows laptop.
It also takes forever with the default configuration.
I just the following guide
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 1/22/12 5:08 PM, ma...@apache.org wrote:
Christopher Schultz ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1
David,
On 1/21/12 3:02 AM, David Jorm wrote:
Based on reading the advisory and Tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
G,
On 1/22/12 6:18 PM, gnath wrote:
We have 2 connectors (one for http and another for https) using
the tomcatThreadPool. I have the connectionTimeout=2 for
http connector. However i was told that our https connector might
not be used by the
On Mon, 2012-01-23 at 07:41 -0800, Oliver Due Billing wrote:
I hope somebody can help me.
I have a test-server on my macbook pro and it takes forever to restart the
server do anyone have a clue to whats happening.
What is the exact version of Java Tomcat? Also, how many applications
do
gnath wrote:
Please ignore my previously sent edited configuration. Here is what our
configurations are without editing them :
Executor name=tomcatThreadPool
namePrefix=catalina-exec-
maxThreads=500
minSpareThreads=50/
Connector
gnath wrote:
Please ignore my previously sent edited configuration. Here is what our
configurations are without editing them :
Executor name=tomcatThreadPool
namePrefix=catalina-exec-
maxThreads=500
minSpareThreads=50/
Connector
We're now trying to bring up Tomcat 7 on a V5R4 AS/400, after
successfully doing so on V6 and V7 boxes. They have Java 6 installed,
and I'm told that they installed some PTFs over the weekend, but it's
still crashing on takeoff.
In catalina.sh, we have:
# Java 6 settings if needed
Initially I thought that my RootJDBCRealm might be the problem, but how can
that be? RootJDBCRealm extends Tomcat's own JDBCRealm. It overrides
authenticate to call super.authenticate and if there are 3 failures (in that
super.authenticate returns null), then it locks out the user. So could
2012/1/23 removeps-c...@yahoo.com:
Initially I thought that my RootJDBCRealm might be the problem, but how can
that be? RootJDBCRealm extends Tomcat's own JDBCRealm. It overrides
authenticate to call super.authenticate and if there are 3 failures (in that
super.authenticate returns
On Mon, 2012-01-23 at 10:21 -0800, removeps-c...@yahoo.com wrote:
Initially I thought that my RootJDBCRealm might be the problem, but how can
that be?
RootJDBCRealm extends Tomcat's own JDBCRealm. It overrides authenticate to
call super.authenticate and if there are 3 failures (in that
From: James Lampert [mailto:jam...@touchtonecorp.com]
Subject: Tomcat 7 in Java 6 on V5R4 (. . . 3 . . . 2 . . . 1 . . .
crash-on-takeoff)
In catalina.sh, we have:
# Java 6 settings if needed
export -s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
G,
On 1/23/12 8:44 AM, gnath wrote:
Recently i happened to check our access logs when the server hung
and stopped responding. We were printing the thread number in the
logs and i have seen the number going upto 770 (though the max is
configured
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
On 1/23/12 1:21 PM, removeps-c...@yahoo.com wrote:
Initially I thought that my RootJDBCRealm might be the problem,
but how can that be? RootJDBCRealm extends Tomcat's own JDBCRealm.
It overrides authenticate to call
--- On Mon, 1/23/12, Daniel Mikusa dmik...@vmware.com wrote:
From: Daniel Mikusa dmik...@vmware.com
Subject: Re: Connection.close() has already been called during login
To: Tomcat Users List users@tomcat.apache.org
Date: Monday, January 23, 2012, 10:55 AM
On Mon, 2012-01-23 at 10:21 -0800,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
On 1/23/12 2:54 PM, removeps-c...@yahoo.com wrote:
Sorry, I did not know about [LockOutRealm]. Will this class work
if you have many Tomcats on different machines (possibly load
balancing) so regardless of which exact
On Tue, Oct 11, 2011 at 6:42 AM, Mark Thomas ma...@apache.org wrote:
I have added a patch based on the previous patches that adds:
- threaded start/stop for Contexts
- threaded start/stop for Hosts
- threaded deployment
Control over the number of threads is via server.xml and/or JMX. This
My code does not talk to another cluster as I have a single Tomcat only, but
just wondering how one would scale.
Maybe the strategy to handle clusters is to write information, such as the list
of the users to the number of times they have logged in in the last hour, into
a location shared by
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
On 1/23/12 4:20 PM, removeps-c...@yahoo.com wrote:
My code does not talk to another cluster as I have a single Tomcat
only, but just wondering how one would scale.
Me too.
Maybe the strategy to handle clusters is to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lau,
On 1/18/12 6:52 PM, Lau Eng Huat wrote:
I have a strange problem. I have deleted a servlet from the project
in netbeans but the uncompile source code still says the file
exist.
I'll bite. What does uncomple source code mean.
Did you delete
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
On 1/18/12 12:37 PM, James Lampert wrote:
So far, I've had complete success using self-signed certificates,
both here and on the customer box, once I found out that the CN
needs to match the domain name.
;)
But now, we're trying to get
Christopher Schultz wrote:
Did you also put your server's key into the keystore?
It seems that when the customer rep jumped the gun and submitted a CSR
to Thawte before we even had Tomcat running on a self-signed
certificate, he did so using IBM DCM, whose keystores are incompatible
with
--- On Mon, 1/23/12, Christopher Schultz ch...@christopherschultz.net wrote:
From: Christopher Schultz ch...@christopherschultz.net
Subject: Re: Connection.close() has already been called during login
To: Tomcat Users List users@tomcat.apache.org
Date: Monday, January 23, 2012, 2:42 PM
On 24/01/12 08:50, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lau,
On 1/18/12 6:52 PM, Lau Eng Huat wrote:
I have a strange problem. I have deleted a servlet from the project
in netbeans but the uncompile source code still says the file
exist.
I'll bite. What
Caldarale, Charles R wrote:
One thing you didn't tell us was exactly how you start Tomcat. Have
you tried starting Tomcat from a command prompt so you can see the
display of the derived variables, such as CLASSPATH?
We start it from a variation of the OS/400 CL program given in this blog
Dear Users
Why am I able to access images stored here:
http://localhost:8080/imageUploader/1234.jpg
but not here:
http://localhost:8080/imageUploader/WEB-INF/images/1234.jpg
File permissions are the same
Any ideas?
Thanks
Alastair
On Tue, Jan 24, 2012 at 12:21 PM, Alastair Baldwin
alastairgbald...@yahoo.co.uk wrote:
Dear Users
Why am I able to access images stored here:
http://localhost:8080/imageUploader/1234.jpg
but not here:
http://localhost:8080/imageUploader/WEB-INF/images/1234.jpg
File permissions are
Tomcat doesn't let you access anything in the META-INF or WEB-INF folders.
These folders have config for your system, and may contain passwords (such as
META-INF/context.xml which has passwords for the datasources). Besides, people
can get into WEB-INF/lib and WEB-INF/classes and web.xml and
From: removeps-c...@yahoo.com [mailto:removeps-c...@yahoo.com]
Subject: Re: Unable to access images stored in webapps/myapp/WEB-INF/images
?
Tomcat doesn't let you access anything in the META-INF or WEB-INF folders.
It's not just Tomcat - the servlet spec forbids direct client access to
Did a thread dump.. I have some locked threads and it just keeps going, any
smoking gun here?
Oliver-Billings-MacBook-Pro:bin ob$ sudo jstack -l 18866
2012-01-24 08:26:03
Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.4-b02-402 mixed
mode):
http-bio-80-exec-11 daemon prio=5 tid=10d0e2000
On 23 Jan 2012, at 21:12, David Rees dree...@gmail.com wrote:
On Tue, Oct 11, 2011 at 6:42 AM, Mark Thomas ma...@apache.org wrote:
I have added a patch based on the previous patches that adds:
- threaded start/stop for Contexts
- threaded start/stop for Hosts
- threaded deployment
Control
52 matches
Mail list logo