Hi Carlo!
Thank you for being help me J
My question is about invoke method in AuthenticatorBase.java. If you look at
invoke code you can see that:
- the method first action is check if there is any Principal in the
Request
- if there isn’t a Principal it tests if there is
Dmitry Beransky wrote:
Hi,
Is it possible to implement the following setup with JK/isapi_redirect?
1. Two clustered IIS instances
2. Two load-balanced Tomcat instances
3. Each IIS uses JK to forward requests to two load-balanced Tomcat instances
I know how to do each individual item in
Hi all,
If I make a jsp:include (in fact I am using Tiles, but the result is
the same) of a result of a servlet which, in turn, makes an
ApplicationDispatcher.forward, I have a strange effect:
- only the page forwarded by the servlet will be visible to the user;
- the rest of the JSP page is
Hi,
I have an application that uses the embedded version of tomcat.
In my classpath I have some jars that are the same as the webapp I deploy in
tomcat.
Now the problem is, that the webapp uses the jars from the classpath of the
‘root’ application and not the jars that the webapp has in his
Sorry chris, I didn't understand u then... it is a good solution (great
minds think alike!).
This solution is good but we must write to the out of the jsp before the
thread is running (we bypass this because the thread will write to a
pre-decided file name). is there another way to do it, without
hello,
i am looking for a detailed manual on the configuration parameters of
tomcat 5.0. I can only find one for 5.5
does anyone has a link/document for me?
// Stefan
-
To start a new topic, e-mail:
From: Stefan Rainer [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5.0.* Docuemntation available?
i am looking for a detailed manual on the configuration
parameters of tomcat 5.0. I can only find one for 5.5
The docs are included in every Tomcat download, and installed as a
webapp. Older
Hi Antonio-
https://java.sun.com/products/servlet/2.1/api/javax.servlet.RequestDispatche
r.html#forward(javax.servlet.ServletRequest,%20javax.servlet.ServletResponse
)
where the most relevant part is This method may not be used if the calling
servlet has already output any response to the client.
2007/11/28, Martin Gainty [EMAIL PROTECTED]:
Hi Antonio-
https://java.sun.com/products/servlet/2.1/api/javax.servlet.RequestDispatche
r.html#forward(javax.servlet.ServletRequest,%20javax.servlet.ServletResponse
)
where the most relevant part is This method may not be used if the calling
Are you swapping during garbage collection?
Ronald.
On Tue Nov 27 19:58:24 CET 2007 Tomcat Users List users@tomcat.apache.org
wrote:
Folks:
We're having an intermittent problem with Tomcat becoming non-responsive for
a while (between 30 seconds and several minutes) and then recovering
if [ -z $(netstat -lnp | grep 8080) ]
then
echo Tomcat running
exit -1
else
[ continue with startup-script ]
fi
do the same for port 8009 (AJP)
however, the best way would be to first check if tomcat is running
before starting it up
remember:
a fool with a tool is still a
Hi folks,
Again I call on your expert assistance:
I have a tomcat 5.5.2 server running on a Debian Etch linux box. Its
configured to use APR 1.1.3 and I want to get SSL going. I've
successfully managed this using JSSE but not OpenSSL. I installed
openssl using apt, as well as the APR
Hi Rainer,
It's the item #3 on your Simple Setup list that I'm basically asking
about (I already have #1 set up and working, and parts of #2).
Here's where my problem with #3 lies:
Let's say we have two load-balanced (clustered) web/IIS servers: W1
and W2, each configured with sticky forwarding
Hi,
Tnx for your feedback.
What I have understood, the P3P policy file is kind of dead since the lack
of support from the browser implementers ( from www.w3c.org: The P3P
Specification Working Group took this step as there was insufficient support
from current Browser implementers for the
Hi Rainer,
You never know who your talking to and where they are when you get into a group.
I was out sick yesterday, so I am just catching up.
Could you provide (sorry, if you did already) precise information about
your platform (I remember AIX, but which version)? Also: which version
of Apache
Dmitry Beransky wrote:
Hi Rainer,
It's the item #3 on your Simple Setup list that I'm basically asking
about (I already have #1 set up and working, and parts of #2).
Here's where my problem with #3 lies:
Let's say we have two load-balanced (clustered) web/IIS servers: W1
and W2, each
Only a question: what do you have to do with this auth? do you need to develope
a new one or simply study it?
___
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
Does that answer your question?
Oh! I think it does. I was assuming that isapi_redirect maintained an
internal map of sessions and tomcat nodes, but if the jvmRoute is in
the session id, then it shouldn't matter which IIS/isapi is serving
the request, it will still go to the correct instance of
Hello there,
Using tomcat 5.5.25 + jdk1.5.0_13
By default /tomcat/conf/Catalina/localhost/manager.xml looks like
?xml version=1.0 encoding=UTF-8?
Context docBase=${catalina.home}/server/webapps/manager
privileged=true antiResourceLocking=false
antiJARLocking=false
!-- Link to the
OK so I tried it with the attributes set and now I get
java.lang.Exception: Error setting private key (error:0B080074:x509
certificate routines:X509_check_private_key:key values mismatch)
Which I take to mean that my server key is not the same as the
certificate key. Where did I go wrong?
Hello list ,
Can someone please tell me how do I test the connectivity from tomcat
server to oracle database. I am good on Unix/databases but new to Tomcat.
I have oracle instance named as : lawtst .
lawtest running at cemcp62 . (system name)
user name is - sdhotre -password is password .
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yair,
Yair Ben-Meir wrote:
This solution is good but we must write to the out of the jsp before the
thread is running (we bypass this because the thread will write to a
pre-decided file name). is there another way to do it, without writing to
the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jared,
jnedzel wrote:
We're having an intermittent problem with Tomcat becoming non-responsive for
a while (between 30 seconds and several minutes) and then recovering without
any intervention. There are no error messages in the Tomcat logs.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Barbara,
Bárbara Vieira wrote:
My question is: why we are putting the Principal in the Request?
So that request.getUserPrincipal() will return a value.
Why we can’t just authenticate the user if there is a principal in
internal Session?!
probably that path attribute is wrong, correct? Not needed on 5x?
-Original Message-
From: Niki Diulgerov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 28, 2007 10:57 AM
To: Tomcat Users List
Subject: RemoteAddrValve
Hello there,
Using tomcat 5.5.25 + jdk1.5.0_13
By default
here ya go, Shekhar...see my XML config for JNDI.
Keep in mind, I'm on an older version oF TC, so you can probably align and list
your param attributes all in one, or more conveniently than I was able to.
Resource name=jdbc/myoracle auth=Container type=javax.sql.DataSource/
ResourceParams
Probably wrong?
but I saw almost the same example here
http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html
so cant understand what's wrong ...I'm using completely fresh
installation of 5.5.25 whthout any changes except these mentioned here
Best regards,
Nikolay Diulgerov
Network
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shekhar,
You might want to start here:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations
This page might be helpful for more Oracle questions:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Barry,
Propes, Barry L wrote:
probably that path attribute is wrong, correct? Not needed on 5x?
Yes, it's necessary, since the OP isn't dropping a WAR anywhere, but
installing a context.xml file.
- -chris
-BEGIN PGP SIGNATURE-
Version:
hmmm...ok...what is the one that is forgone in that version? The docBase?
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 28, 2007 11:36 AM
To: Tomcat Users List
Subject: Re: RemoteAddrValve
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: RemoteAddrValve
Propes, Barry L wrote:
probably that path attribute is wrong, correct? Not needed on 5x?
Yes, it's necessary, since the OP isn't dropping a WAR anywhere, but
installing a context.xml file.
Nope, the path
OK
with this version of manager.xml it works perfect:
The difference is in the way IP is written and in the fact that allow
starts on new row
?xml version=1.0 encoding=UTF-8?
Context docBase=${catalina.home}/server/webapps/manager
privileged=true antiResourceLocking=false
Hi Carlo!!
In fact I have to develop a new one and at the same time study and analyze
Authenticator package code. Why are you asking?
-Original Message-
From: Carlo Politi [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 28 de Novembro de 2007 16:52
To: Tomcat Users List
Subject: Re:
On Nov 28, 2007 1:50 PM, Adam Feuer [EMAIL PROTECTED] wrote:
Folks,
We're getting intermittent problems where one tomcat thread hangs for up to
10 minutes writing JSP pages to a socket. We think the socket is an HTTP TCP
socket. The stack trace from a thread dump for the hung thread is below.
Folks,
We're getting intermittent problems where one tomcat thread hangs for up to
10 minutes writing JSP pages to a socket. We think the socket is an HTTP TCP
socket. The stack trace from a thread dump for the hung thread is below.
This happens multiple times per day at seemingly random
From: Niki Diulgerov [mailto:[EMAIL PROTECTED]
Subject: Re: RemoteAddrValve
if I remove the Valve directive there is no error...
Valve classname=org.apache.catalina.valves.RemoteAddrValve
allow=192.9.202.231/
It's className, not classname. Case matters.
- Chuck
THIS COMMUNICATION
If the CPU is maxed out, the thread dump will provide lightweight
process numbers. Using a tool like prstat -L on Solaris, you can
figure out which lightweight process (thread) it is, and at least
confirm that it is the GC thread. the output from prstat is indexed
at 1, but the stack dump is
oh so I did recall correctly! ; ) Thought I'd seen Chuck punch that through a
time or two. : )
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 28, 2007 11:48 AM
To: Tomcat Users List
Subject: RE: RemoteAddrValve
From: Christopher
Hi Chris!!
A request may be checked multiple times for authentication (think
server-side forwards, etc.) so it's a small optimization to cache the
principal in the request -- and it satisfies the requirement that
request.getUserPrincipal() actually works, so it makes sense.
This is not a answer
On Nov 28, 2007 11:03 AM, Jim Cox [EMAIL PROTECTED] wrote:
FWIW, I've noticed similar behavior, but in my case it is easy to
reproduce:
1. use a browser to request a long-running and/or
large-page-producing web page ;
2. abort the page load before it is done.
At that point I see the HTTP
Christopher and Propes thanks a lot !!
Christopher Schultz [EMAIL PROTECTED]
11/28/2007 12:33 PM
Please respond to
Tomcat Users List users@tomcat.apache.org
To
Tomcat Users List users@tomcat.apache.org
cc
Subject
Re: Create New Data Source
-BEGIN PGP SIGNED MESSAGE-
Hash:
Hi Mark,
On Tue, 27 Nov 2007 18:21:20 + Mark Thomas wrote:
Can you run the faulty instance with:
-Djava.security.debug=access,failure
and report the failure message.
I thought on this, but the exception looks pretty self explanatory.
I'll try it anyway, in case anything new
you bet.
Barry is fine,thanks! : )
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 28, 2007 2:43 PM
To: Tomcat Users List
Cc: Tomcat Users List
Subject: Re: Create New Data Source
Christopher and Propes thanks a lot !!
Christopher
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: RemoteAddrValve
Propes, Barry L wrote:
probably that path attribute is wrong, correct? Not needed on 5x?
Yes, it's necessary, since the OP
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: RemoteAddrValve
I'm an idiot.
End of the month - time to reboot :-)
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bárbara,
Bárbara Vieira wrote:
But if we have the Principal in cache, why we have to call the
authenticator method(FormAuthenticator)? That call doesn't provide any
additional security, can you understand now?
That's a good question. Given the
no you're not dude! You've helped me a lot! I've told you so before!
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 28, 2007 4:11 PM
To: Tomcat Users List
Subject: Re: RemoteAddrValve
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Thank you Gregor for the suggestion.
I was trying to see if there is a way to do this from within my
application code which is running under Tomcat. The issue is that I
don't have direct control over the scripts that start Tomcat.
Thanks
Shaji
-Original Message-
From: Gregor Schneider
Hi,
Can anyone provide links to a few tutorials on running Tomcat 6.0 with
Apache on the front-end? I know there are 2 recommended techniques, mod_jk
and mod_proxy. I'd like to use mod_proxy because it appears to be easier
and I do not require a great deal of flexibility. I'm running on
three options
mod_proxy_http
mod_jk
mod_proxy_ajp
Filip
loknor wrote:
Hi,
Can anyone provide links to a few tutorials on running Tomcat 6.0 with
Apache on the front-end? I know there are 2 recommended techniques, mod_jk
and mod_proxy. I'd like to use mod_proxy because it appears to be
Filip Hanik - Dev Lists wrote:
three options
mod_proxy_http
mod_jk
mod_proxy_ajp
Filip
Yep just found the other option, and a site that got me up to speed very
quickly. I can now communicate between Apache and Tomcat.
Guys,
I have setup a cluster where i have two tomcat instances (one on windows and
the other on linux), the two instances are able to detect each other and
form a cluster. On top of them i have apache/mod_jk as a load-balancer which
has been set NOT to use sticky-sessions, since i want to test
Hi:
We are trying to implement servlet setup with Tomcat 5.0.28 and JDK 1.5.x using
POS (Parts of Speech) Tagger. We can not get it to work. Unfortunately, there
are no error messages in the log files for us to debug. So, I was wondering -
anybody in this newsgroup was successful in getting
Mistakenly put the wrong worker.properties in my last post where the
worker.lbworker.sticky_session=false was commented which is not the
case
Farhan.
mfs wrote:
Guys,
I have setup a cluster where i have two tomcat instances (one on windows
and the other on linux), the two
Christopher Schultz [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bárbara,
Bárbara Vieira wrote:
But if we have the Principal in cache, why we have to call the
authenticator method(FormAuthenticator)? That call doesn't provide any
using mod_proxy_http, you want to enable
ProxyPreserveHost On
Filip
loknor wrote:
Filip Hanik - Dev Lists wrote:
three options
mod_proxy_http
mod_jk
mod_proxy_ajp
Filip
Yep just found the other option, and a site that got me up to speed very
quickly. I can now communicate
Delian Krustev wrote:
Hi Mark,
On Tue, 27 Nov 2007 18:21:20 + Mark Thomas wrote:
Can you run the faulty instance with:
-Djava.security.debug=access,failure
and report the failure message.
I thought on this, but the exception looks pretty self explanatory.
I'll try it anyway,
57 matches
Mail list logo