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 tr
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 betw
"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'
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
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 my
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 POS
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.
http://blog.taragana.com/index.php/archive/5-ste
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 easie
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 Window
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 [
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,
-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
> 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
re
-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
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 Sch
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 co
Christopher and Propes thanks a lot !!
Christopher Schultz <[EMAIL PROTECTED]>
11/28/2007 12:33 PM
Please respond to
"Tomcat Users List"
To
Tomcat Users List
cc
Subject
Re: Create New Data Source
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shekhar,
You might want to start here
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 th
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
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 Schul
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 interval
> From: Niki Diulgerov [mailto:[EMAIL PROTECTED]
> Subject: Re: RemoteAddrValve
>
> if I remove the allow="192.9.202.231"/>
It's className, not classname. Case matters.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by th
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 ans
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 in
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: Tomcat
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
privileged="true" antiResourceLocking="false"
antiJARLocking="false">
Best regards,
Nikolay Diulgerov
Network Administrator
E-mai
> From: Propes, Barry L [mailto:[EMAIL PROTECTED]
> Subject: RE: RemoteAddrValve
>
> hmmm...ok...what is the one that is forgone in that version?
> The docBase?
No, you were correct about the path attribute, and Chris was mistaken.
The docBase attribute is required since the app is not deployed
I removed the path= attribute
looked at the manager.xml file with vi and with the text editor which
midnight commander uses
no strange characters
and if I remove the http://www.codix-france.com
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Remo
> 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, t
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
-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: Gn
-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:
http://www.oracle.com/tec
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 Adminis
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.
factory
org.apache.commons.dbcp.BasicDataSourceFactory
dr
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 /tomcat
-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?! Does
-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.
H
-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
>
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 .
I
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?
S
Hello there,
Using tomcat 5.5.25 + jdk1.5.0_13
By default /tomcat/conf/Catalina/localhost/manager.xml looks like
privileged="true" antiResourceLocking="false"
antiJARLocking="false">
I'm changing it to:
privileged="true" antiResourceLocking="false"
antiJARLoc
> 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
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
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 configure
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 Apach
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 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 librarie
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 fo
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 impl
Hi !!
>are you sure that invoke method of AuthenticatorBase is called inside
FormAuthenticator?
No, the invoke(Request request, Response response) method of
AuthenticatorBase isnt called in FormAuthenticator, but FormAuthenticator
inherits that method from AuthenticatorBase. So, when you are
Are you swapping during garbage collection?
Ronald.
On Tue Nov 27 19:58:24 CET 2007 Tomcat Users List
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 without
any intervention. The
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 call
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.
> 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. Ol
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: users@tomcat.apache
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
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
c
Hi all,
If I make a (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 executed, but it
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 i
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 a
60 matches
Mail list logo