Hi Jan,
The servlet spec doesn't support anything like this. I think what
you'll have to do is write your own Authenticator. You can configure
your own Authenticator by registering aValve that is an
Authenticator in your webapp'sContext. Just write your own code and
register it usingValve.
On 09/02/2012 00:19, Jonathan Rosenberg wrote:
Thanks to all who are trying to help. See info below.
Here it is:
What about the appname/WEB-INF/web.xml?
p
--
[key:62590808]
signature.asc
Description: OpenPGP digital signature
On 09/02/2012 06:19, sanu wrote:
Thanks for your reply. I have a global web.xml, where the DefaultServlet is
mapped.
The difference I see is that my static resources are not in the same
directory as the host's appBase. Could this be the problem ? How can the
static content be served in such
Comments below.
On Wed, Feb 8, 2012 at 9:19 PM, Pid p...@pidster.com wrote:
On 08/02/2012 14:59, amit shah wrote:
Responses below.
Thanks.
On Wed, Feb 8, 2012 at 7:14 PM, Pid p...@pidster.com wrote:
On 08/02/2012 12:30, amit shah wrote:
Thanks for the reply. Responses below.
Hi Guys!
First of all, I want to be grateful for help. I'm (very) newbie
with apache-tomcat world, level 1 (I've installed Tomcat sucessfully
once ;-) )
Well, I've a Tomcat 5.5.27 version with an application in
production environment and i've installed the same version for windows
on a
See comments inline
-Original Message-
From: Andres Aguado [mailto:andriu@gmail.com]
Sent: 9. februar 2012 13:52
To: users@tomcat.apache.org
Subject: Enabling JMX Remote Ports to connect Tomcat server remotelly with
jconsole tool
Hi Guys!
First of all, I want to be grateful for
One more comment below about oracle UCP.
On Thu, Feb 9, 2012 at 5:10 PM, amit shah amits...@gmail.com wrote:
Comments below.
On Wed, Feb 8, 2012 at 9:19 PM, Pid p...@pidster.com wrote:
On 08/02/2012 14:59, amit shah wrote:
Responses below.
Thanks.
On Wed, Feb 8, 2012 at 7:14 PM,
On 09/02/2012 12:56, amit shah wrote:
One more comment below about oracle UCP.
snip
The pool returns members at random, so how would you know which cached
credentials you were getting?
The credentials which are passed to the getConnection(String username,
String password) method. When we
Using: Toncat 6.0.35 AND 7.0.latest in a Win32 Environment. My JMX
params are as follows: -Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=6969
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
This is only on my dev box, so I am no so
On Thu, 2012-02-09 at 05:52 -0800, Josh Gooding wrote:
Using: Toncat 6.0.35 AND 7.0.latest in a Win32 Environment. My JMX
params are as follows: -Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=6969
-Dcom.sun.management.jmxremote.ssl=false
On 09.02.2012 13:51, Andres Aguado wrote:
Hi Guys!
First of all, I want to be grateful for help. I'm (very) newbie
with apache-tomcat world, level 1 (I've installed Tomcat sucessfully
once ;-) )
Well, I've a Tomcat 5.5.27 version with an application in
production environment and i've
Greetings,
I am using Apache Tomcat 7.0.25 using IBM J9 VM (build 2.4, JRE 1.6.0
IBM J9 2.4 Linux s390x-64 jvmxz6460sr8ifx-20100609_59383).
Inspired by the flurry of JMX related questions on this list, I
attempted to follow the official documentation[1] to enable remote JMX
access. My sanitized
On 09/02/2012 14:03, Rainer Jung wrote:
On 09.02.2012 13:51, Andres Aguado wrote:
Hi Guys!
First of all, I want to be grateful for help. I'm (very) newbie
with apache-tomcat world, level 1 (I've installed Tomcat sucessfully
once ;-) )
Well, I've a Tomcat 5.5.27 version with an
2012/2/9 Jesse Farinacci jie...@gmail.com:
Greetings,
I am using Apache Tomcat 7.0.25 using IBM J9 VM (build 2.4, JRE 1.6.0
IBM J9 2.4 Linux s390x-64 jvmxz6460sr8ifx-20100609_59383).
Inspired by the flurry of JMX related questions on this list, I
attempted to follow the official
On 09/02/2012 15:35, Jesse Farinacci wrote:
What is the expected behavior? Is this a bug?
The expected behaviour is as you describe.
No it is not a bug.
Being able to specify the bind address is an enhancement request that
doesn't look too difficult to implement (and would remove the need for
Any thoughts on the first point about executing multiple SQL queries on
physical connection creation?
On 09-Feb-2012, at 7:05 PM, Pid p...@pidster.com wrote:
On 09/02/2012 12:56, amit shah wrote:
One more comment below about oracle UCP.
snip
The pool returns members at random, so how
Hi,
I work on an java web-app running on Tomcat 7. The entire application is
required be doing SSL on port 443 (everything is accessed via https://). Two
different login options are given to the user : username/password or client
certificate authentication. We employ application-managed
Hi, first, for me there is a powerfull reason for maintain 5.5
version. This is the initial version and application is working fine
now, and I think that i'm not prepare to execute the upgrade, i don't
know how and where to begin.
And second, i'm trying to compile JMXAdaptorLifecycleListener.java
On 09/02/2012 16:21, Amit wrote:
Any thoughts on the first point about executing multiple SQL queries on
physical connection creation?
I have no idea if it'll work, but I'd try:
SELECT 1; SELECT 1;
If you are controlling the pool (and you are) by passing in
username/password parameters each
On 09/02/2012 16:26, Andres Aguado wrote:
Hi, first, for me there is a powerfull reason for maintain 5.5
version. This is the initial version and application is working fine
now, and I think that i'm not prepare to execute the upgrade, i don't
know how and where to begin.
And second, i'm
From: Pid [mailto:p...@pidster.com]
Subject: Re: Enabling JMX Remote Ports to connect Tomcat server remotelly
with jconsole tool
warning: [path] bad path element
C:\apache-tomcat-5.5.27\server\lib\catalina.jar:C:\apache-tomcat-5.5.27\bin\commons-logging-api-1.1.1.jar:
no such file or
Comment below
On 09-Feb-2012, at 10:18 PM, Pid p...@pidster.com wrote:
On 09/02/2012 16:21, Amit wrote:
Any thoughts on the first point about executing multiple SQL queries on
physical connection creation?
I have no idea if it'll work, but I'd try:
SELECT 1; SELECT 1;
If you are
Great, it's great!. First obstacle overcomed. Now, i've compiled .java
file and it's been created a .class file. Now i've got this .class
file and i've added it to catalina.jar and catalina-optional.jar, but
when i try to start catalina script other error appears in
catalina.out, like this:
Ok, i've got it up!!. I've copied .class file into a directory that i
must create; C:\apache-tomcat-5.5.27\server\lib\org\apache\catalina\mbeans.
Also, i must delete lines into catalina.bat startup file
set CATALINA_OPTS=-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8999
Hi List
I have a quick question (I hope).
I'm using mod_jk to forward from Apache httpd 2.2.8 to tomcat 7.0.20
(Ubuntu 8.04). I think I saw something on this list some time ago but
can't remember what it was really about (the real issue was not want I
want to do).
So I want users to access
From: Casper Wandahl Schmidt [mailto:kalle.pri...@gmail.com]
Subject: mod_jk and URL rewriting/proxying?
I don't want the app to become ROOT since I have another app
that should be running as ROOT.
And how is that one accessed? From what you described it sounds like you want
the same URL
Den 09-02-2012 19:36, Caldarale, Charles R skrev:
From: Casper Wandahl Schmidt [mailto:kalle.pri...@gmail.com]
Subject: mod_jk and URL rewriting/proxying?
I don't want the app to become ROOT since I have another app
that should be running as ROOT.
And how is that one accessed? From what you
On 09.02.2012 19:07, Casper Wandahl Schmidt wrote:
Hi List
I have a quick question (I hope).
I'm using mod_jk to forward from Apache httpd 2.2.8 to tomcat 7.0.20
(Ubuntu 8.04). I think I saw something on this list some time ago but
can't remember what it was really about (the real issue was
Hello,
I'm seeing a difference in the way Tomcat handles logging exceptions thrown by
a servlet, and I wonder if it's a configuration change or if this is simply how
Tomcat is expected to behave.
Tomcat versions tested: 5.5.26, 6.0.35, 7.0.25
OS: Windows 7
Java: 1.5.0_22 for Tomcat 5.5.26 and
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Thursday, February 09, 2012 12:36 PM
To: Tomcat Users List
Subject: RE: mod_jk and URL rewriting/proxying?
From: Casper Wandahl Schmidt [mailto:kalle.pri...@gmail.com]
Subject: mod_jk and
2012/2/9 C C ccb...@yahoo.com:
Hello,
I'm seeing a difference in the way Tomcat handles logging exceptions thrown
by a servlet, and I wonder if it's a configuration change or if this is
simply how Tomcat is expected to behave.
Tomcat versions tested: 5.5.26, 6.0.35, 7.0.25
OS: Windows 7
Try again now that I'm subscribed.
-Original Message-
From: Allen Reese
Sent: Thursday, February 09, 2012 12:03 PM
To: 'users@tomcat.apache.org'
Cc: Lars Anderson
Subject: Cores with FlushableGzipOutputStream
We've just upgraded from tomcat 6.0.33 to 6.0.35 and started having
unsubscribe
From: are...@yahoo-inc.com
To: users@tomcat.apache.org
CC: laraa...@yahoo-inc.com
Date: Thu, 9 Feb 2012 12:07:15 -0800
Subject: RE: Cores with FlushableGzipOutputStream
Try again now that I'm subscribed.
-Original Message-
From: Allen Reese
Sent: Thursday,
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
Subject: RE: mod_jk and URL rewriting/proxying?
does one still have to modify the server.xml if we want new hosts
to be there the next time we restart tomcat?
A brief scan of the code indicates that you will have to maintain
From: Allen Reese [mailto:are...@yahoo-inc.com]
Subject: RE: Cores with FlushableGzipOutputStream
I'm trying to determine what the next course of action should be here.
I have an Oracle Support contract, but they don't seem to see this as a
JVM issue, and blame it on a native lib.
#
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mari,
(Yeah, that was a lot of irrelevant detail).
On 2/8/12 7:51 PM, Mari Masuda wrote:
Given these constraints I am not sure which connector would be the
best choice. I came across this article from 2010 as a result of
my (mostly
On 09/02/2012 20:07, Allen Reese wrote:
Try again now that I'm subscribed.
If libzip.so is provided by the JVM installer (and I think it is) then
it is still a JVM problem. See [1] for an example where Oracle did
accept that an crash in libzip.so was a bug.
All changing the Tomcat code
On 09/02/2012 20:18, Caldarale, Charles R wrote:
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject:
RE: mod_jk and URL rewriting/proxying?
does one still have to modify the server.xml if we want new hosts
to be there the next time we restart tomcat?
A brief scan of the
2012/2/10 Allen Reese are...@yahoo-inc.com:
Try again now that I'm subscribed.
-Original Message-
From: Allen Reese
Sent: Thursday, February 09, 2012 12:03 PM
To: 'users@tomcat.apache.org'
Cc: Lars Anderson
Subject: Cores with FlushableGzipOutputStream
We've just upgraded from
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
On 2/9/12 2:40 PM, C C wrote:
To test, I created a webapp with a single servlet,
ExceptionServlet, that simply throw a ServletException in its
service() method, e.g.:
public class ExceptionServlet extends HttpServlet { protected void
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Casper,
On 2/9/12 1:43 PM, Casper Wandahl Schmidt wrote:
Den 09-02-2012 19:36, Caldarale, Charles R skrev:
From: Casper Wandahl Schmidt [mailto:kalle.pri...@gmail.com]
Subject: mod_jk and URL rewriting/proxying? I don't want the
app to become
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: ServletException logging changes between 5.5 and 6.0/7.0?
In order to use log4j with Tomcat 6.0 and 7.0, you need to download
some Tomcat extras as described here:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andres,
On 2/9/12 11:26 AM, Andres Aguado wrote:
Hi, first, for me there is a powerfull reason for maintain 5.5
version. This is the initial version and application is working
fine now, and I think that i'm not prepare to execute the upgrade,
i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andres,
On 2/9/12 12:29 PM, Andres Aguado wrote:
Great, it's great!. First obstacle overcomed. Now, i've compiled
.java file and it's been created a .class file. Now i've got this
.class file and i've added it to catalina.jar and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 2/9/12 4:06 PM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: ServletException logging changes between 5.5 and
6.0/7.0?
In order to use log4j with Tomcat 6.0 and 7.0, you
unsubscribe
From: chuck.caldar...@unisys.com
To: users@tomcat.apache.org
Date: Thu, 9 Feb 2012 15:06:39 -0600
Subject: RE: ServletException logging changes between 5.5 and 6.0/7.0?
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: ServletException logging
unsubscribe
From: chuck.caldar...@unisys.com
To: users@tomcat.apache.org
Date: Thu, 9 Feb 2012 15:06:39 -0600
Subject: RE: ServletException logging changes between 5.5 and 6.0/7.0?
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: ServletException logging
From: ken dias [mailto:kend...@hotmail.com]
Subject: RE: ServletException logging changes between 5.5 and 6.0/7.0?
unsubscribe
Zero-for-three...
http://tomcat.apache.org/lists.html#tomcat-users
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Thursday, February 09, 2012 1:00 PM
To: Tomcat Users List
Subject: Re: Cores with FlushableGzipOutputStream
2012/2/10 Allen Reese are...@yahoo-inc.com:
Try again now that I'm subscribed.
On 9 Feb 2012, at 17:10, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Pid [mailto:p...@pidster.com]
Subject: Re: Enabling JMX Remote Ports to connect Tomcat server remotelly
with jconsole tool
warning: [path] bad path element
Hi Christopher,
- Original Message -
From: Christopher Schultz ch...@christopherschultz.net
To: Tomcat Users List users@tomcat.apache.org
Cc:
Sent: Thursday, February 9, 2012 1:00 PM
Subject: Re: ServletException logging changes between 5.5 and 6.0/7.0?
-BEGIN PGP SIGNED
On 1:59 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
There was a change in 6.0.33 (and it has always been the case in
7.0.x?) that HttpServletRequest.getRequestURI now returns path
parameters as part of the URI. That notably includes the URL-encoded
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
On 2/9/12 5:00 PM, C C wrote:
From: Christopher Schultz ch...@christopherschultz.net
So log4j.properties is located in WEB-INF/classes? Where is
log4j.jar?
My log4j.properties is in WEB-INF/classes, and log4j.jar is in
WEB-INF/lib.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Terrence,
On 2/9/12 5:16 PM, Terence M. Bandoian wrote:
On 1:59 PM, Christopher Schultz wrote:
Is it safe to simply remove everything after the initial ; if
I'm not interested in any path parameters? I don't want to just
trim-off that kind of
So log4j.properties is located in WEB-INF/classes? Where is
log4j.jar?
My log4j.properties is in WEB-INF/classes, and log4j.jar is in
WEB-INF/lib.
Okay.
Do you have any other code in this example webapp -- for
instance, something that actually loads the log4j.properties
file?
I don't
2012/2/9 Christopher Schultz ch...@christopherschultz.net:
There was a change in 6.0.33 (and it has always been the case in
7.0.x?) that HttpServletRequest.getRequestURI now returns path
parameters as part of the URI. That notably includes the URL-encoded
jsessionid that Tomcat uses when the
Just to confirm - 7.0.25 seems to solve the problem for the most part.
/Janne
On 24 Jan 2012, at 10:53, Janne Jalkanen wrote:
Been running 7.0.25 in production now for a day and the fd leak seems at
least mitigated somewhat. lsof still lists a few open sockets left by
Tomcat, but this
Hi all,
I could achieve the required behaviour by extending the
standardService provided by tomcat. In my overrided startInternal()
method i just dont start connectors.
thanks,
--Pradeep
-
To unsubscribe, e-mail:
After many sessions of logging, testing, etc. I have convinced that I
have been looking at tow unrelated issues:
1) Tomcat's auth was failing due to closed DB connections. But this is
actually not a problem was unrelated to the problem I was trying to
track down.
2) My app's DB pool is not set
Den 09-02-2012 22:02, Christopher Schultz skrev:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Casper,
On 2/9/12 1:43 PM, Casper Wandahl Schmidt wrote:
Den 09-02-2012 19:36, Caldarale, Charles R skrev:
From: Casper Wandahl Schmidt [mailto:kalle.pri...@gmail.com]
Subject: mod_jk and URL
60 matches
Mail list logo