Hi, Albert.
I do not know how to help you, but you can help me with SSL + Tomcat.
I saw You made an two-sided SSL with default tomcat connector, and I'd like
to ask you about this:
What steps have you done to make it work?
If you can, please help.
Thanks..
On Mon, Feb 22, 2010 at 2:16 PM, Albert
Hi
I have been using Tomcat for years since 3 till 6 but I have never worked
this one out
I have several host in my engine each with a manager
I have web apps intalled including a website in the ROOT context ( e.g. /
) for each host
If you try and start or stop the / context it says no such
Hi
I have been using Tomcat for years since 3 till 6 but I have never worked
this one out
I have several host in my engine each with a manager
I have web apps intalled including a website in the ROOT context ( e.g. /
) for each host
If you try and start or stop the / context it says no such
Environment:
- Apache Tomcat 5.5
- OS and JVM are (very probably) not relevant
- Code WORKS on JDeveloper debugger (Windows XP and vista, various JVM's)
- Code NOT WORKS when deployed to Apache Tomcat 5.5 (tests made on various
machines, Windows Server 2008, ...)
xxx.jsp and yyy.jsp are
On 23/02/2010 11:42, Desbaratizador wrote:
Environment:
- Apache Tomcat 5.5
- OS and JVM are (very probably) not relevant
- Code WORKS on JDeveloper debugger (Windows XP and vista, various JVM's)
- Code NOT WORKS when deployed to Apache Tomcat 5.5 (tests made on various
machines, Windows
On 23/02/2010 10:19, James McArthur wrote:
Hi
I have been using Tomcat for years since 3 till 6 but I have never worked
this one out
I have severalhost in my engine each with a manager
I have web apps intalled including a website in the ROOT context ( e.g. /
) for each host
If you try and
On 23/02/2010 09:31, Andrey D wrote:
Hi, Albert.
I do not know how to help you, but you can help me with SSL + Tomcat.
I saw You made an two-sided SSL with default tomcat connector, and I'd like
to ask you about this:
What steps have you done to make it work?
If you can, please help.
Please
On 23/02/2010 07:33, chinmaytotekar wrote:
Ya got the problem..
The problem was response.getWriter() object was declared as global in
servlet, so it became common to all threads. and if one thread closes it, it
used to give NullPtrException in other threads.
Every time, a coconut.
p
One other thing to check - there is a return after the sendRedirect in
the scriplet, yes?
Could you share a stripped down version of the pages?
These beans are also presumably in session scope?
DJ
On 2/23/10, Desbaratizador pgove...@gtinformatica.pt wrote:
Environment:
- Apache Tomcat 5.5
Just an update.
After 8 1/2 days, on the newly built Slackware machine with the JRE in the
Slackware distribution removed bebore installing the operating system and
using the newest version of the mysql-connector, the system failed in
exactly the same fashion as the previous attempts: ran
The addition of a return after sendRedirect put the code to work on Apache
Tomcat 5.5.
Remarks: even in the absence of that return the redirect works in JDeveloper
debugger
Thanks
Desbaratizador
Donn Aiken-2 wrote:
One other thing to check - there is a return after the sendRedirect in
Hi Evgeny,
thanks a lot for shared your experience, very interesting. I'd like to
plug something magic that could avoid me configuring a filter, I
started investigating about a possible use of AOP HttpSession.
If anyone is interested, I'll share my results when done.
Best regards!!!
Simo
Glad the issue is solved. If I had to guess, I bet OC4J and Tomcat buffer
the output differently, and that is why you see the output from xxx.jsp in
one, and the output from yyy.jsp in the other.
DJ
On Tue, Feb 23, 2010 at 7:44 AM, Desbaratizador
pgove...@gtinformatica.ptwrote:
The addition
Carl wrote:
...
One more event that may or may not be related.
If it is related, then indeed the time for exorcism may be reached.
I have not touched the
original server (C)
(they all say that)
except to roll new war's out (almost nightly...
minor bug fixes.) This morning, it started
On 23/02/2010 13:46, André Warnier wrote:
Carl wrote:
...
One more event that may or may not be related.
If it is related, then indeed the time for exorcism may be reached.
I have not touched the
original server (C)
(they all say that)
except to roll new war's out (almost nightly...
From: Pid [mailto:p...@pidster.com]
Subject: Re: Tomcat dies suddenly
Check the server time hasn't drifted. Sometimes this can happen if the
files have timestamps that are out.
Also check the timestamps on the .war files - they may be in the future,
causing continuous redeployment.
-
Hi All,
I have the similar issue as Sasidhar Pradhakar, he posted tomcat 6
not responding to any kind of request i.e. static and dynamic
resources after some hours at
http://www.mail-archive.com/users@tomcat.apache.org/msg71076.html.
I have the similar issue as your case where my Tomcat stops
From: James McArthur [mailto:genera...@googlemail.com]
Subject: Tomcat reload defaultt ( root ) context for web app in host
If you try and start or stop the / context it says no such context
exist (although it really does).
Works fine for me on 6.0.24 using Tomcat's manager webapp. Besides
Hi Everybody,
I have a web application deployed into tomcat which needs some dlls during
execution.
These dlls are being included in the java code statically and use
system.loadlibrary(...) to be loaded.
If I place the needed dlls into Tomcat's bin directory they are found and
loaded
From: Hae Loong Chan [mailto:haelo...@gmail.com]
Subject: Tomcat 5.5.26 stops responding to all client from
browser/applets for ~3minutes few times per day
I generated 3 thread dumps during the period (by detecting that no
activity written to the log file and monitor the network activity)
From: Pid [mailto:p...@pidster.com]
Subject: Re: Calling flushBuffer() in TOMCAT 6.0.20 returning
NullPointerException.
Every time, a coconut.
Now that brings back memories... never could knock the bloody things off.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
From: StrongSteve [mailto:ste...@starkeweb.org]
Subject: Tomcat loading dlls
Do I place the needed dlls into another directory and alter an
environmental variable (f.e. java.library.path, PATH, CLASSPATH,
...) or do i alter catalina.bat/startup.bat?
Since you're on Windows, the easiest
I am running 5.5
Here is part of server.xml for one that does not work. The context /
will not reload but the /b one will
The fail message is as follows : FAIL - No context exists for path /
Host name=www.mysite.co.uk unpackWARs=true autoDeploy=true
xmlValidation=false
This was an 'oh, crap' moment. Andre was correct: I had commented a
shutdown out of the script I used to deploy (each morning at 1:00AM.) So,
apparently, it was just merrily reploying and redeploying, or something.
All better now (with the proper deploy script.)
Thanks to everyone and have a
From: genera...@googlemail.com [mailto:genera...@googlemail.com] On
Behalf Of James McArthur
Subject: Re: Tomcat reload defaultt ( root ) context for web app in
host
Host name=www.mysite.co.uk unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
Hi
Thanks for the help so where do I put my ResourceLink then - its
working across all my servers like this ? Do i need it in every
Conext
On Tue, Feb 23, 2010 at 2:49 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: genera...@googlemail.com [mailto:genera...@googlemail.com] On
From: genera...@googlemail.com [mailto:genera...@googlemail.com] On
Behalf Of James McArthur
Subject: Re: Tomcat reload defaultt ( root ) context for web app in
host
Thanks for the help so where do I put my ResourceLink then - its
working across all my servers like this ? Do i need it in
On 23/02/2010 14:19, Caldarale, Charles R wrote:
From: Hae Loong Chan [mailto:haelo...@gmail.com]
Subject: Tomcat 5.5.26 stops responding to all client from
browser/applets for ~3minutes few times per day
I generated 3 thread dumps during the period (by detecting that no
activity written to the
Carl wrote:
This was an 'oh, crap' moment. Andre was correct: I had commented a
shutdown out of the script I used to deploy (each morning at 1:00AM.)
So, apparently, it was just merrily reploying and redeploying, or
something. All better now (with the proper deploy script.)
Oh well..
I was
Is the system CLASSPATH environment variable set to anything? (It
shouldn't be.)
Yes, it is...I'll have to double check it, but I did configure it, I think with
a reference to the oracle jre.
Is the Oracle driver jar anywhere else on the system (in the jre/lib
directory, for example)? Make
On Feb 23, 2010, at 7:31 AM, Simone Tripodi wrote:
Hi Evgeny,
thanks a lot for shared your experience, very interesting. I'd like to
plug something magic that could avoid me configuring a filter, I
started investigating about a possible use of AOP HttpSession.
If anyone is interested, I'll
Hi,
I've just configure a tomcat cluster and i would like to know how could i
test that and see the data were replicated on my second node.
Thank you.
Stephane Lorin wrote:
Hi,
I've just configure a tomcat cluster and i would like to know how could i
test that and see the data were replicated on my second node.
I am sure that several people on this list are already busy sharpening
their knives to send you pointed answers requesting at
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tembug,
On 2/21/2010 11:43 PM, tembugs tembugs wrote:
But can we define any variable before the import statement in xsl to define
the absolute path in one place than repeating in every location where
needed?
Not with xsl:import: that element must
Hi
I need to launch an initialization procedure as soon as my web
application is deployed on Tomcat (working on a 6.0.20).
As per the documentation, I can define a LifecycleListener in my
context.xml file for the webapp in question. However, the documentation
says that it needs to be
On 23/02/2010 17:13, André Warnier wrote:
Stephane Lorin wrote:
Hi,
I've just configure a tomcat cluster and i would like to know how could i
test that and see the data were replicated on my second node.
I am sure that several people on this list are already busy sharpening
their knives
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tsirkin,
On 2/23/2010 1:51 AM, Tsirkin Evgeny wrote:
What we did - override session object using filter.On each request start it
would
read it's info from db (any configured one ,but preferring the local one)
On each request end it would write
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Carl,
On 2/23/2010 7:08 AM, Carl wrote:
One more event that may or may not be related. I have not touched the
original server (C) except to roll new war's out (almost nightly...
minor bug fixes.) This morning, it started producing these messages
On 23/02/2010 18:00, STEINER Stephan wrote:
Hi
I need to launch an initialization procedure as soon as my web
application is deployed on Tomcat (working on a 6.0.20).
As per the documentation, I can define a LifecycleListener in my
context.xml file for the webapp in question. However, the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Carl,
On 2/23/2010 7:08 AM, Carl wrote:
Just an update.
After 8 1/2 days, on the newly built Slackware machine with the JRE in
the Slackware distribution removed bebore installing the operating
system and using the newest version of the
From: Pid [mailto:p...@pidster.com]
Subject: Re: using my own LifecycleListener
You need:
javax.servlet.ServletContextListener
Which is declared in your webapp's WEB-INF/web.xml file, not the Context
element.
The servlet spec is required reading before you ever touch any servlet
On Tue, Feb 23, 2010 at 8:08 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tsirkin,
On 2/23/2010 1:51 AM, Tsirkin Evgeny wrote:
What we did - override session object using filter.On each request start
it
would
read it's
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Albert,
On 2/22/2010 7:16 AM, Albert Tumanov wrote:
I'm chasing a strange problem with Tomcat + SSL + APR + Firefox.
Namely, the setup works perfectly (i.e. the client certificate is sent
and the servlet application can get it).
But if I allow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
George,
On 2/22/2010 2:37 PM, George Baxter wrote:
Thanks for everyone's help... it was indeed app code.. some old ugly
legacy code was putting a reference to a request in a thread local
variable and then not cleaning up the thread local reference
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dude,
On 2/22/2010 2:28 AM, Cummins College wrote:
This has to done at runtime i.e without shutting down tomcat and re-starting
it. Is it possible to access the http connector at runtime and change its
attributes?
Use JMX.
- -chris
-BEGIN
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
On 2/22/2010 2:14 PM, Peter Crowther wrote:
On 22 February 2010 19:07, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
Sounds like the OS might be paging out Tomcat, and taking a long time to get
all the necessary pages back in when
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hassan,
On 2/21/2010 9:36 AM, Hassan Schroeder wrote:
On Sun, Feb 21, 2010 at 3:23 AM, imrank imran...@gmail.com wrote:
Can I use the approach of having all the files sitting on a single NFS file
server and have the different tomcat instances
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 2/21/2010 10:21 AM, André Warnier wrote:
You can certainly do that on the base of symbolic links and NFS mounts
for instance. Each Tomcat would contain something like :
Just be sure that Tomcat doesn't delete your entire document
On Tue, Feb 23, 2010 at 11:05 AM, Christopher Schultz
ch...@christopherschultz.net wrote:
Something like every hour or maybe every minute, you could make a
request to some trivial page like /ping.jsp.
Which is exactly what a service monitor like Nagios does -- plus it
lets you know if the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 2/20/2010 10:01 AM, Caldarale, Charles R wrote:
From: Martin Gainty [mailto:mgai...@hotmail.com]
Subject: RE: DB connection error -Tomcat 6 config
BTW: i put my Oracle driver classes (classes12.jar or classes12.zip) in
WEB-INF/lib
Using 10g now...
Thanks.
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Tuesday, February 23, 2010 1:23 PM
To: Tomcat Users List
Subject: Re: DB connection error -Tomcat 6 config
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On
Hi -
I need a little help here. We are running Tomcat 5.5.17 APR/SSL, Sun
JDK 1.5.0_06, Windows 2000 SP4 32-bit.
We have a customer running IE as the client passing through an unknown
proxy server. Sometimes they are running IE via a remote desktop,
sometimes from their own desktop (if I
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 2/21/2010 10:21 AM, André Warnier wrote:
You can certainly do that on the base of symbolic links and NFS mounts
for instance. Each Tomcat would contain something like :
Just be sure that Tomcat doesn't delete
Yeah, Chuck, Martin,
I did have my CLASSPATH referencing the following:
.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip;
C:\Java\jdk1.6.0_18\bin;
C:\oracle\ora92\jdbc\lib;
C:\oracle\ora92\jdbc\lib\nls_charset11.zip;
C:\oracle\ora92\jdbc\lib\classes111.zip;
On Feb 23, 2010, at 12:32 PM, Caldarale, Charles R wrote:
The servlet spec is required reading before you ever touch any servlet
container.
Oops. Guess I missed that memo.
Crap.
Now I'm going to have to resign! I'm living a lie.
;)
Jon Brisbin
Portal Webmaster
NPC International, Inc.
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: DB connection error -Tomcat 6 config
I did have my CLASSPATH referencing the following:
.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip;
C:\Java\jdk1.6.0_18\bin;
C:\oracle\ora92\jdbc\lib;
On 23/02/2010 19:54, Jeffrey Janner wrote:
Hi -
I need a little help here. We are running Tomcat 5.5.17 APR/SSL, Sun
JDK 1.5.0_06, Windows 2000 SP4 32-bit.
We have a customer running IE as the client passing through an unknown
proxy server. Sometimes they are running IE via a remote desktop,
The first line had come preset by the desktop guys who image the build.
I'll take them all out and see what happens.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Tuesday, February 23, 2010 2:40 PM
To: Tomcat Users List
Subject: RE: DB
My dump file:
-rw-r--r-- 1 root root 1101517561 Feb 23 20:13 heap
When I run jhat on this I get:
Exception in thread main java.lang.OutOfMemoryError: Java heap space
Is there a way to make jhat use more memory? I cannot find a command line
option that does this.
Thanks
jon soons
Ok, did all that (removal of all CP variables), and I did find references of
the Oracle jar files ojdbc14.jar and ojdbc14_g.jar in the C:\Program
Files\Oracle\jre\1.1.8\lib folder, so I removed those too (came with the
laptop build, I believe - they were there before I got it).
But I still
Thanks Mark. Actually, on a little more research I was going to change
to the RequestDumperFilter instead of the valve for just that reason.
I'll look into tcpdump/wireshark.
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Tuesday, February 23, 2010 2:46 PM
To:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Barry,
I'm glad to hear that you got everything working. Just to sum up, this
should have been all you needed to to in order to migrate from 4.1 to 6.0:
0. Install Tomcat 6.0.x
1. Copy yourapp.war from tomcat4/webapps/yourwpp.war to tomcat6/webapps
I need to implement SSL for Tomcat 6.0.24 on Windows 2003 Server R2 SP2 that is
already running IIS 6.0. Should I implement SSL using IIS or Tomcat? There
are other webapps running under this Tomcat that do not require https.
Reading through the docs:
From: Jonathan Soons [mailto:jso...@juilliard.edu]
Subject: More heap space for jhat
When I run jhat on this I get:
Exception in thread main java.lang.OutOfMemoryError: Java heap space
Is there a way to make jhat use more memory? I cannot find a command
line option that does this.
To
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
Subject: Question about SSL
I need to implement SSL for Tomcat 6.0.24 on Windows 2003 Server R2 SP2
that is already running IIS 6.0. Should I implement SSL using IIS or
Tomcat?
Probably IIS, but I'm not very familiar with
Let me give that a shot, and see if it works.
Odd thing is that I've purposefully changed the xml reference of
oracle.jdcb.OracleDriver reference to the deprecated version of
oracle.jdcb.driver.OracleDriver to see how or if the errors being thrown would
be stated differently, and they're not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hassan,
On 2/23/2010 2:19 PM, Hassan Schroeder wrote:
On Tue, Feb 23, 2010 at 11:05 AM, Christopher Schultz
ch...@christopherschultz.net wrote:
Something like every hour or maybe every minute, you could make a
request to some trivial page like
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tsirkin,
On 2/23/2010 1:49 PM, Tsirkin Evgeny wrote:
On Tue, Feb 23, 2010 at 8:08 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
I guess tomcat authentication is broken for me - tomcat is probably writing
something in
session _
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: DB connection error -Tomcat 6 config
Odd thing is that I've purposefully changed the xml reference of
oracle.jdcb.OracleDriver reference to the deprecated version of
oracle.jdcb.driver.OracleDriver to see how or if the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeffrey,
On 2/23/2010 2:54 PM, Jeffrey Janner wrote:
It seems that they can login just fine and work just fine, most of the
time. However, every now and then, they will get kicked out with an
invalid session error. That is our software's error
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck and Leo,
On 2/23/2010 4:25 PM, Caldarale, Charles R wrote:
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
Subject: Question about SSL
...It is not strictly necessary to run an entire web application over
SSL, and indeed
Sorry -- that is a typo only.
Ok, thanks, Chuck.
I'll look to kill off any Context element in the conf folder that might be
interfering with the META-INF version.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Tuesday, February 23, 2010 3:52
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 you set it.
If the requested resource is covered by the security constraint that includes
the
Ok, Chris -- I blew away the new version I'd made, and recreated the webapps
ensuring I went in this order.
I'm still getting an error, but now it seems confined to the jdbc/env lookup
reference I'd earlier tried to make.
I've put that reference, as noted below in your email, in the
*** NOTICE *
This message is intended for the use of the individual or entity to which
it is addressed and may contain information that is privileged,
confidential, and exempt from disclosure under applicable law. If the
reader of
Chris,
There was no core dump or hs_* file.
The strace output looks like it was overwritten this morning at 1:00AM, crap,
double crap. What's the consensus on moving to the IBM JVM or rerunning this
test (Sun JVM) to failure to get a good strace output?
I screwed up... sorry.
Thanks,
Carl
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 in web.xml
trigger an SSL-renegotiation where the client cert /is/ requested from
the client.
Thank you both for the feeback. Much appreciated.
In my case, I am enabling SSL for a webservice that issues tokens when users
connect to a secure GIS web service over http from a web client. The end user
loads a page that contains a JavaScript URL with a supplied token to a secure
GIS web
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: DB connection error -Tomcat 6 config
I'm still getting an error, but now it seems confined to the jdbc/env
lookup reference I'd earlier tried to make.
If you don't mind, post your Context element again. The error message
-Original Message-
From: Carl [mailto:c...@etrak-plus.com]
Sent: Tuesday, February 23, 2010 5:09 AM
To: Tomcat Users List
Subject: Re: Tomcat dies suddenly
Just an update.
After 8 1/2 days, on the newly built Slackware machine with the JRE in
the
Slackware distribution
I recommend you use MAT (http://www.eclipse.org/mat/downloads.php) to
analyze your heap dumps. It has the ability to load significantly
large heap dumps on machines will limited resources. I have opened 4G
heap dumps with MAT using a 2G heap. I'm sure I could have used less,
but I didnt need
Hi Pil,
Yes, this symptom occurs on daily basis, randomly few times per day.
I was told my client where they observed inaccessible table in the web page.
The web page has the ability to sync (by sending HTTP request to the
Servlet) with my application running on Tomcat for every interval of
20
Hi,
I'm trying to understand how the Tomcat 6.0 NIO connector handles the
various limit attributes in the configuration, particularly in regards
to comet requests. I've had a look at the source code, and I think I
understand, but I'd like to confirm my understanding, and also ask some
Hi Jeffery
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 portal servers scoping session cookies
across our whole domain, rather than scoping to
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 this goes
againt the idea
of http is staitless ,that's vrey interesting?
So,the flow-resuming you
85 matches
Mail list logo