Using the PATH Variable worked fine.
Just some quick questions for a better understanding:
If a Java program calls System.loadLibrary(XXX), are all directories
specified by the PATH varibale searched for a DLL called XXX? In case there
are more directories specified that do contain a DLL called
Hi, this is my setup:
- Debian Lenny
- Tomcat 5.5
- Postgres 8.3
I'm running an app which is failing everytime it tries to get some data from
the DB with characters like [ÁÉÍÓÚáéíóú]. By failing I mean the
application isn't showing the data it should when Tomcat throws querys to
Postgres.
-
Just one thing I forgot to ask.
Using the PATH Variable works fine when starting the Tomcat from a command
shell.
Nevertheless if I start the Tomcat from within Eclipse (MyEclipse), it does
not care if the directory is specified in the PATH or not. The DLL is not
being loaded. In order for it
As above, you're using the wrong Listener type. LifecycleListener is
an
interface from org.apache.catalina and is not part of the Servlet Spec.
You need:
javax.servlet.ServletContextListener
Thanks, that did the trick. Glad I got that answer before going
completely mad ;)
Stephan
Hi,
I have jvm's, running tomcat and our application, exiting mysteriously,
and was wondering if anyone could give me some advice on how to debug
this thing.
There is nothing in catalina.out, nor our application logs, and no
hotspot error file. GC log looks normal. No trace in system logs.
I am
I thought I'd add the connector definitions too, :
Connector port=80
protocol=org.apache.coyote.http11.Http11AprProtocol
compression=1024 keepAliveTimeout=6
maxKeepAliveRequests=-1
enableLookups=false redirectPort=443 maxThreads=150
pollerSize=32768
On 24/02/2010 09:36, Taylan Develioglu wrote:
I thought I'd add the connector definitions too, :
Connector port=80
protocol=org.apache.coyote.http11.Http11AprProtocol
compression=1024 keepAliveTimeout=6
maxKeepAliveRequests=-1
enableLookups=false
On 24/02/2010 09:14, STEINER Stephan wrote:
As above, you're using the wrong Listener type. LifecycleListener is
an
interface from org.apache.catalina and is not part of the Servlet Spec.
You need:
javax.servlet.ServletContextListener
Thanks, that did the trick. Glad I got that
The GC log shows plenty of heap space left in all the spaces.
I purposely didn't bother replacing the variables because I figured they
would not be relevant.
But if you think they might provide clues they're as follows:
JAVA_HEAP_SIZE=18432M
JAVA_EDEN_SIZE=$(($(echo $JAVA_HEAP_SIZE|sed
2010/2/24 Taylan Develioglu tdevelio...@ebuddy.com:
Hi,
I have jvm's, running tomcat and our application, exiting mysteriously,
and was wondering if anyone could give me some advice on how to debug
this thing.
There is nothing in catalina.out, nor our application logs, and no
hotspot error
Hi...
I'm using the following files in Tomcat Apache.
workers.properties:
workers.tomcat_home=D:/tomcat6.0.18
workers.java_home=C:/Program Files/Java/jdk1.6.0_16
ps=/
worker.list=worker1
worker.worker1.type=ajp13
could you clarify if this failure is from client to server or server to client?
and who/what is generating the cert?
thanks,
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich.
Hi,
Does Tomcat have a Bayeux Implementation. I have seen posts that suggest it
does (the BayeuxServlet implementation of ComentProcessor), but cannot see
any reference to it in 6.0.24.
Has it been released, or is it on a RoadMap.
- kevin.
--
View this message in context:
George,
Thanks for the thoughts.
My first thought was that the problem was hardware related and that the
reason I could not see the problem was that the memtest86 did not
sufficiently stress the machine to change the temperature enough to cause a
failure. Subsequently, I built up another
Thank you Konstantin, I've read the thread you mentioned.
I should have mentioned the mysterious exit happens on several different
servers with different hardware and configuration. So it's very unlikely
it's being caused by a hardware issue.
It's also not the oom killer as I mentioned before, I
On 24/02/2010 11:04, kevind wrote:
Hi,
Does Tomcat have a Bayeux Implementation. I have seen posts that suggest it
does (the BayeuxServlet implementation of ComentProcessor), but cannot see
any reference to it in 6.0.24.
Has it been released, or is it on a RoadMap.
It is one of the extras
Hi
My googlefoo seems to be lacking here as I'm unable to find any info on
how I could set this up.
In essence I have multiple machines in a cluster and ideally I'd like to
have a central network share for war files to be kept. As it would save
me copying an updated war file to each individual
davefu wrote:
Hi, this is my setup:
- Debian Lenny
- Tomcat 5.5
- Postgres 8.3
I'm running an app which is failing everytime it tries to get some data from
the DB with characters like [ÁÉÍÓÚáéíóú]. By failing I mean the
application isn't showing the data it should when Tomcat throws querys
Thanks Mark, that was a quick response!
I had a feeling that would be a case, for some reason I was under the
impression you could separate the locations.
Batch file it is then
Thanks again
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: 24 February 2010 11:41
To:
On 24/02/2010 11:31, James Law wrote:
Hi
My googlefoo seems to be lacking here as I'm unable to find any info on
how I could set this up.
In essence I have multiple machines in a cluster and ideally I'd like to
have a central network share for war files to be kept. As it would save
me copying
Taylan Develioglu wrote:
Hi,
I have jvm's, running tomcat and our application, exiting mysteriously,
and was wondering if anyone could give me some advice on how to debug
this thing.
There is nothing in catalina.out, nor our application logs, and no
hotspot error file. GC log looks normal. No
Hi.
Apologising for top-posting in this case.
the configuration files below look like you have re-used some old files
left over from some old versions of just about everything.
I suggest that you check the current Tomcat documentation for Tomcat
6.0, and remove/correct all the settings and
Taylan,
I am the person who started the Tomcat dies suddenly thread which I still
haven't resolved. I am curious about the pattern of failures you are
experiencing because they may provide some clues to my problem. In my case,
the system will run for 15 minutes to 10 days before failing
Carl wrote:
Taylan,
...
How does this compare to what you are experiencing?
Well, I note at least the crashes without traces in the logs, and the
common usage of SSL.
Is Taylan getting any Segfaults ?
-
To unsubscribe,
On 24/02/2010 11:16, Taylan Develioglu wrote:
Thank you Konstantin, I've read the thread you mentioned.
I should have mentioned the mysterious exit happens on several different
servers with different hardware and configuration. So it's very unlikely
it's being caused by a hardware issue.
It's
On 24/02/2010 10:16, StrongSteve wrote:
Just one thing I forgot to ask.
Using the PATH Variable works fine when starting the Tomcat from a command
shell.
Nevertheless if I start the Tomcat from within Eclipse (MyEclipse), it does
not care if the directory is specified in the PATH or not. The
Hi...
I'm using the following files in Tomcat Apache.
workers.properties:
workers.tomcat_home=D:/tomcat6.0.18
workers.java_home=C:/Program Files/Java/jdk1.6.0_16
ps=/
worker.list=worker1
worker.worker1.type=ajp13
On 24/02/2010 13:08, Munirathinavel wrote:
Hi...
I'm using the following files in Tomcat Apache.
workers.properties:
workers.tomcat_home=D:/tomcat6.0.18
workers.java_home=C:/Program Files/Java/jdk1.6.0_16
ps=/
worker.list=worker1
Hello Carl,
The failures we've seen are in anywhere between 8 hours to a week of
runtime. Most of them have (still) been running for almost a month
without failure. There are ~100 machines.
From the top of my head, I think we've had about 10+ failures now.
We have also had failures with hotspot
Taylan,
The failures we've seen are in anywhere between 8 hours to a week of
runtime.
The timing of the failures seems similar.
We have also had failures with hotspot error files (hs_err) present, and
the cause specified was indeed SIGSEGV indicating a page fault.
I have never seen any
It's possible,
I'm going to try an earlier jvm first. u16 was the previous one running
production, will try moving back to u16.
If that fails removing APR is the next thing to try out.
After that I'm going to try beating the dev team with a stick (I know
you're reading this!).
This is
I'll be sure to post an update if u16 resolves it. Or any other progress
for that matter.
In the meantime don't be shy either :)
On Wed, 2010-02-24 at 14:52 +0100, Carl wrote:
Taylan,
The failures we've seen are in anywhere between 8 hours to a week of
runtime.
The timing of the
From: StrongSteve [mailto:ste...@starkeweb.org]
Subject: RE: Tomcat loading dlls
In order for it to work I have to append the directory to
the library path when starting the Tomcat from within Eclipse.
Why is this so? Am I doing something wrong? I mean it is the same
Tomcat.
No, it's
From: StrongSteve [mailto:ste...@starkeweb.org]
Subject: RE: Tomcat loading dlls
If a Java program calls System.loadLibrary(XXX), are all directories
specified by the PATH varibale searched for a DLL called XXX?
For Windows, yes, in the order specified on the PATH variable. For Linux,
From: Carl [mailto:c...@etrak-plus.com]
Subject: RE: Tomcat dies suddenly
(I switched this comment to Carl's original thread, since that's where it
applies.)
the core files on my systems were in several directories
I wonder if the above is a clue to what's going on. I've always seen core
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
We use log4j for logging in our webapps, and I'm considering enabling
email notifications of errors. Not that it would ever happen (of
course!), but I want to avoid a situation where some bug is triggered
and thousands of log messages are
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kevin,
On 2/23/2010 6:07 PM, Kevin Mills wrote:
On 2/19/10, Christopher Schultz ch...@christopherschultz.net wrote:
So, with clientAuth=false, how do you get a client certificate to use
for authentication? Or, does the presence of the CLIENT-CERT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 2/24/2010 10:00 AM, Caldarale, Charles R wrote:
From: Carl [mailto:c...@etrak-plus.com]
Subject: RE: Tomcat dies suddenly
the core files on my systems were in several directories
I wonder if the above is a clue to what's going on.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Carl,
On 2/23/2010 6:00 PM, Carl wrote:
There was no core dump or hs_* file.
:(
The strace output looks like it was overwritten this morning at
1:00AM, crap, double crap.
Try something like this:
#!/bin/sh
while(1) ; do
strace -o
We are using the above setup to load balance http and https request, for
https request
Apache is configured to serve the certificates and the request is actually
being processed
by 3 tomcat instances running behind. We are getting a strange log in apache
[error] ajp_read_header:
On 24/02/2010 15:03, Christopher Schultz wrote:
So, settingauth-method to CLIENT-CERT triggers an SSL renegotiation.
What if theConnector is set to clientAuth=want or
clientAuth=true? Will the initial SSL negotiation carry the client
certificate and therefore avoid CVE-2009-355?
Yes. But
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tsirkin,
On 2/24/2010 2:21 AM, Tsirkin Evgeny wrote:
On Tue, Feb 23, 2010 at 11:50 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE- What's flow-resuming is ?How a
request can be resumed ?Doesn't
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ron,
On 2/24/2010 1:50 AM, Ron McNulty wrote:
Check what else they have open when they access your application.
There could be another J2EE application that does not scope it's
session cookies correctly. We have had ongoing problems with SAP
Hi,
I am migrating a java application which was developed using jdk1.4 and
tomcat 5.0 to Jdk1.5 and tomcat 5.5.
I am able to compile, but when I am deploying through Eclipse, if I am using
server location as default ie
Server location:
Use Workspace metadata (does not modify tomcat
From: kevind [mailto:ked...@cisco.com]
Subject: Bayeux Support
Does Tomcat have a Bayeux Implementation.
Mark T already answered your question four hours ago.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 2/23/2010 5:18 PM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: Question about SSL
1. transport-guarantee doesn't apply (I think) to the login page that
Tomcat serves, even if
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leo,
On 2/23/2010 6:18 PM, Leo Donahue - PLANDEVX wrote:
My sysadmin suggested we disable IIS and let Tomcat handle the SSL
certificates, since it seems easier to implement.
Removing unnecessary complexity is always a good idea.
- -chris
I guess changing the cookie name can help here:
org.apache.catalina.SESSION_COOKIE_NAME
See:
http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html
Note that this is per jvm setting ,so all the apps on
the given server will get this cookie name .
Which in turn is probably NOT a problem as
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hanumesh,
On 2/24/2010 10:28 AM, hanumesh.m wrote:
I am migrating a java application which was developed using jdk1.4 and
tomcat 5.0 to Jdk1.5 and tomcat 5.5.
Why not go all the way to 6.0.x? The migration procedure is practically
the same, and
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: Question about SSL
1. Request protected resource, non-CONFIDENTIAL
2. Tomcat responds with login page, login page is configured as
CONFIDENTIAL
I can't remember if that works; it would only be useful if the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 2/18/2010 9:18 AM, Pid wrote:
My guess is that his server.xml contains a load of spurious config,
which may or may not be messing up his mod_jk config.
I'll try my hand at divination: he's using the ModJkListener to re-write
his
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I suppose I can't claim divination, here, since this was posted before I
made my prediction, but I swear I didn't read it.
On 2/24/2010 5:30 AM, Munirathinavel wrote:
worker.worker1.connection_pool_timeout=600
[snip]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
On 2/24/2010 12:09 AM, James Roper wrote:
The acceptCount works just like it does on the other processors, it gets
passed to the ServerSocket as the backlog parameter. This limit will be
reached if the acceptor thread(s) aren't able to
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I suppose I can't claim divination, here, since this was posted before I
made my prediction, but I swear I didn't read it.
On 2/24/2010 5:30 AM, Munirathinavel wrote:
Chuck,
The first core that I saw was in $CATALINA_HOME/bin as expected. The next
crash produced one at root. I thought this might have been because there is
a cron process that runs a shell script in the /usr/local/tomcat_wars
directory that restarts Tomcat (using shutdown.sh and startup.sh
An alternative approach: you could pump the messages through a
mailing-list digest builder. You may get 100 messages in five
minutes, but you only get interrupted once.
Sorry, I've never run a digested list so I don't have a name handy.
--
Mark H. Wood, Lead System Programmer
Chris,
As I said in an email a minute ago, I use a cron process to stop Tomcat,
copy in new war's and restart Tomcat at 1:00AM. The script is pretty
simple:
JAVA_HOME=/usr/local/java; export JAVA_HOME
cd /usr/local/tomcat/bin
./shutdown.sh
sleep 60
rm -rf /usr/local/tomcat/webapps/livonia
On 24/02/2010 15:15, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 2/24/2010 10:00 AM, Caldarale, Charles R wrote:
From: Carl [mailto:c...@etrak-plus.com]
Subject: RE: Tomcat dies suddenly
the core files on my systems were in several directories
I
On 24/02/2010 17:17, Mark H. Wood wrote:
An alternative approach: you could pump the messages through a
mailing-list digest builder. You may get 100 messages in five
minutes, but you only get interrupted once.
Sorry, I've never run a digested list so I don't have a name handy.
That's smart,
Pid wrote:
On 24/02/2010 17:17, Mark H. Wood wrote:
An alternative approach: you could pump the messages through a
mailing-list digest builder. You may get 100 messages in five
minutes, but you only get interrupted once.
Sorry, I've never run a digested list so I don't have a name handy.
André Warnier wrote:
Pid wrote:
On 24/02/2010 17:17, Mark H. Wood wrote:
An alternative approach: you could pump the messages through a
mailing-list digest builder. You may get 100 messages in five
minutes, but you only get interrupted once.
Sorry, I've never run a digested list so I don't
The docs say you can change the location of the .keystore file. Where should
it go?
The docs show server.xml has it here: keystoreFile=${user.home}/.keystore
That would be the root directory where tomcat is installed?
-Original Message-
From: Caldarale, Charles R
On 24 February 2010 18:38, André Warnier a...@ice-sa.com wrote:
Come to think of it, the whole thing in perl is probably a 10-liner, using a
hundreth of the memory you'd need with Java.
Yep, absolutely - the kind of processing that perl was designed for,
and is very good at.
I'd make other
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
Subject: RE: Question about SSL
The docs say you can change the location of the .keystore file. Where
should it go?
Wherever the administrative policies of the site say it should go.
The docs show server.xml has it here:
Generating the .keystore is not tied to the user issuing the java command is
it? Can I move the .keystore file to home directory of the account tomcat is
running under, or do I have to log in as that tomcat account and issue the java
command?
-Original Message-
From: Caldarale,
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
Subject: RE: Question about SSL
Generating the .keystore is not tied to the user issuing the java
command is it?
No.
Can I move the .keystore file to home directory of the
account tomcat is running under
You can place
https://localhost:8443
Using IE6, I get a message saying you are about to view a page over a secure
connection, but the page never loads. No errors in the logs. The ROOT webapp
is still there, no lock icon in the browser.
IE6 status bar just says: Opening page https://localhost:8443/...;
Leo Donahue - PLANDEVX wrote:
https://localhost:8443
Using IE6, I get a message saying you are about to view a page over a secure
connection, but the page never loads. No errors in the logs. The ROOT webapp
is still there, no lock icon in the browser.
IE6 status bar just says: Opening
I feel his pain. We're still on IE6. : (
But yes, like Andre says, go to Tools | Options or Internet Options | Advanced
and uncheck the Show friendly HTTP error messages box.
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Wednesday, February 24, 2010 3:22 PM
To:
This is the command I issued:
keytool -genkey -alias tomcat -keyalg RSA -keystore C:\Documents and
Settings\tomcat_user\.keystore
I noticed that java 1.6.0.14 doesn't have this -genkey argument, it has
-genkeypair. Is that a problem?
Server.xml:
Connector port=8443 SSLEnabled=true
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: Question about SSL
I feel his pain. We're still on IE6. : (
Also note that IE6 has serious problems doing SSL over anything other than port
443. (Another example of Microsoft thinking it knows better than you do.)
-
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
Subject: RE: Question about SSL
keytool -genkey -alias tomcat -keyalg RSA -keystore C:\Documents and
Settings\tomcat_user\.keystore
Is Tomcat actually running under the tomcat_user account?
I'd recommend that you place the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Carl,
On 2/24/2010 12:10 PM, Carl wrote:
The first core that I saw was in $CATALINA_HOME/bin as expected. The
next crash produced one at root. I thought this might have been because
there is a cron process that runs a shell script in the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 2/24/2010 1:38 PM, André Warnier wrote:
André Warnier wrote:
Pid wrote:
On 24/02/2010 17:17, Mark H. Wood wrote:
An alternative approach: you could pump the messages through a
mailing-list digest builder. You may get 100 messages in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 2/24/2010 5:00 PM, Caldarale, Charles R wrote:
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: Question about SSL
I feel his pain. We're still on IE6. : (
Also note that IE6 has serious problems doing SSL over
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Subject: RE: Question about SSL
keytool -genkey -alias tomcat -keyalg RSA -keystore C:\Documents and
Settings\tomcat_user\.keystore
Is Tomcat actually running under the tomcat_user account?
Yes.
I'd recommend that you
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
..
Care to throw down the gauntlet with some code? I'd love to see
something that can coalesce log messages in such a way.
Me and my big mouth.
This was meant to be a troll, triggering a flame. It wasn't
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: Question about SSL
Could you provide a reference for this? I'd like to read more about
MSIE and SSL problems.
http://www-01.ibm.com/support/docview.wss?uid=swg1PK37731
Peter Crowther wrote:
On 24 February 2010 18:38, André Warnier a...@ice-sa.com wrote:
Come to think of it, the whole thing in perl is probably a 10-liner, using a
hundreth of the memory you'd need with Java.
Yep, absolutely - the kind of processing that perl was designed for,
and is very good
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
Subject: RE: Question about SSL
In windows, the service account shows up as: .\tomcat_user
I have that service set to start manually.
If you used the tomcat6w.exe program to set the service's logon account, that
may have
2010/2/24 Carl c...@etrak-plus.com:
rm -rf /usr/local/tomcat/webapps/livonia
rm -rf /usr/local/tomcat/webapps/default
rm -rf /usr/local/tomcat/webapps/paragon
1). test webapp not mentioned
2). note that there are also webapp files in the work/ directory and
there might be a context file in a
___
From: Caldarale, Charles R [chuck.caldar...@unisys.com]
Subject: RE: Question about SSL
In windows, the service account shows up as: .\tomcat_user
I have that service set to start manually.
If you used the tomcat6w.exe program to set the service's logon
Chris,
Thankyou for your comments, it's reassuring to have my logic validated.
Is there anyone on this list with a detailed knowledge of the NIO
Connector? Maybe I should post to the developers list? My reason for
asking these questions is that my company is about to deploy a comet
Hi,
Actually we are designing a security layer over our web app. We want to give
the user an option of choosing between http or https on login. Hence the
need of changing from http to https or vice-versa at runtime.
We are aware of transport guarentee. But that is not at runtime.
We had also
Hi,
Is there a tool available to deploy same war to multiple tomcat server ?
Thanks,
Kaushal
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
85 matches
Mail list logo