Hi,
I'm trying to track down some errors with our apache tomcat
system and not having a great deal of luck.
We had an issue where the mod_jk connectors would loose track
of the tomcat connectors and just start refusing requests with error 500. This
was with an
yes I set all parameters on the realm defined on the server.xml, but, I
forgot realm definition on the context.xml, so, tomcat use first realm on
the context.xml.
it works fine now..
thanks a lot..
Christopher Schultz-2 wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may
Thanks, that's good to know, and I don't believe I've seen that in the
docs anywhere.
There's surely a lot to improve in the docs, mainly the HowTo pages, but
the Reference guide is fairly complete. Page
http://tomcat.apache.org/connectors-doc/reference/workers.html
says: Some directives
Can you throw our the load balancer and retry with only one direct
worker? That would be helpful.
Also: please post your platform (type/version) and your JK directives
(for Apache).
The 7 seconds is by far to long for 50KB.
Regards,
Rainer
francin wrote:
I can't configure Tomcat with IIS web server with the tomcat-connector!
My server's os is 64bit Windows2003, IIS is 6, Tomcat is 6.
I tried to download the file isapi_redirect-1.2.26.dll (64bit version),add
it as an ISAPI filter, and I added the directory which
-Messaggio originale-
Da: Rainer Jung [mailto:[EMAIL PROTECTED]
Inviato: venerdì 22 agosto 2008 12.15
A: Tomcat Users List
Oggetto: Re: Newer version of mod_jk much slower than 1.2.13
Can you throw our the load balancer and retry with only one
direct worker? That would be
I get rid of the balancer and set in apache configuration file:
JkMount /eltbinj/* ajp13w_01_01
With the 1.2.13 the result is obviously the same high speed (I unset the lang
for not italian (lucky) people):
...
13:13:00 (630.19 KB/s) - `/dev/null' saved [53048]
With the 1.2.26 the
perhaps someone can help me here.
i am trying to get tomcat 6 to talk to apache 2.2.8 (fedora core 5), and i
can't get very far.
firstly, tomcat 6 doesn't come with a workers.properties file.
secondly, when i start tomcat via the command ./startup.sh -jkconf or
./startup.sh jkconf, i cannot
Just as a thought, but I've seen on occasion where Firefox in particular
will offer up cached content when something goes haywire with the
request. As a test, when you drop the s from https (leaving the port
number on the end), try to reload w/ the shift key down to force your
browser to drop
Hi
When I drop a WAR file into the webapps folder on my dev machine -
running Tomcat 6.0.16 - Tomcat unpacks it on startup.
When I do the same on the production box - running Tomcat 5.5.20 -
nothing happens.
The WAR file that I am deploying is ROOT.war; there is a corresponding
ROOT.xml
- Original Message -
From: cornercuttin [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Friday, August 22, 2008 2:34 PM
Subject: tomcat 6 won't generate mod_jk.conf
perhaps someone can help me here.
i am trying to get tomcat 6 to talk to apache 2.2.8 (fedora core 5), and i
On 22 Aug 2008 at 5:34, cornercuttin wrote:
Send reply to: Tomcat Users List users@tomcat.apache.org
Date sent: Fri, 22 Aug 2008 05:34:24 -0700 (PDT)
From: cornercuttin [EMAIL PROTECTED]
To: users@tomcat.apache.org
Subject:
Johnny:
You should be trying to get Apache to talk to Tomcat. You have to
do the configurations and workers.properties file yourself.
You should first be sure that the AJP 1.3 module is loaded when Apache
starts. This occurs when you include the module in your httpd.conf.
The line should
-Messaggio originale-
Da: Rainer Jung [mailto:[EMAIL PROTECTED]
Inviato: ven 22/08/2008 14.21
A: Tomcat Users List
Oggetto: Re: R: Newer version of mod_jk much slower than 1.2.13
I get rid of the balancer and set in apache configuration file:
JkMount /eltbinj/*
- Original Message -
From: Peter [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Friday, August 22, 2008 4:07 PM
Subject: Tomcat does not unpack WAR file (Tomcat 5.5.20)
Hi
When I drop a WAR file into the webapps folder on my dev machine - running
Tomcat 6.0.16 - Tomcat
Hi all,
I would like to ask for your advice on a clustering issue. I intend to run a
Tomcat cluster with a very old and simple application *, so the supported
Servlet/JSP specs don't matter to me at all. What essential is that I want
to adjust my cluster dynamically - i.e. add and remove nodes
Thank you Tom, I think the other repliers were going to far on what they
wanted to do. this exactly why i want 2 different sessions, It can also be
useful for evaluating a new
version before you unleash it to production. so if i understood everything
i just need to duplicate the tomcat folder,
This may seem like an odd request and I'm sure it is nonstandard, but it
nonetheless something I'd like to be able to do. We have an instance of
Tomcat running. It runs one application. This application is NOT an
application serving content over the www. It is basically a straight java
try {
[...]
} catch (Exception e) {
System.exit(0);
}
??
:-)
-lg
On Fri, Aug 22, 2008 at 3:42 PM, COHEN, STEVEN M (ATTSI) [EMAIL PROTECTED]
wrote:
This may seem like an odd request and I'm sure it is nonstandard, but it
nonetheless something I'd like to be able to do. We have an
Hi Leandro,
Leandro Dardini schrieb:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /etc/httpd/logs/mod_jk.log
JkLogLevel info
OK
About the trace level, full it is over 700Kbyte (gzipped), I send it
directly to you. Thank you very much
Yeah, that would work :-). I guess I was looking for something a bit more,
well, graceful.
-Original Message-
From: Lucas Galfaso [mailto:[EMAIL PROTECTED]
Sent: Friday, August 22, 2008 1:55 PM
To: Tomcat Users List
Subject: Re: I WANT Tomcat to die when a given servlet fails to
Slackware Linux
Well, no way is a bit strong a statement. For
example Linux' netfilter
provides an owner match for locally generated packets. This
should be
usable to indeed create a per-user restriction of access to
the shutdown
port.
But since the OP didn't bother to tell us which OS
That might be the simpliest but using kill to stop tomcat can prevent services
from properly shutting down potentially causing data loss depending on your
application. In a development environment that is likely a good solution but
in a production environment I don't think that is a good idea.
Thanks you very much
I had solved the problem with your invaluable help!
Thx again!
At last, I can from China, and I want to make friends with all of you!
My Email is: [EMAIL PROTECTED]
I am looking forward to receiving your mail!
Rainer Jung-3 wrote:
francin wrote:
I can't
There isn't a clean way for webapps to shut down the server because
they're not really supposed to do that. :-)
If you thrown an UnavailableException from a servlet's init method,
that servlet won't run.
If you do app initialization in a ServletContextListener and throw an
exception from the
this exits tomcat (which i dont think you want)
try
return;
instead..
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential
Actually, exiting Tomcat is what I DO want. And seeing as how I am
definitely going against the grain here, the System.exit(0) is about as good
as it's going to get. It seems to work just fine.
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Friday, August 22,
Yeah, that was what I thought. Apps aren't supposed to do that. But in my
case where there is a one-to-one between Tomcat and my app, it's okay. In
fact, I also need to launch Tomcat with a special script that sets a number
of parameters required by my app, because the one of the systems I'm
If possible, you may consider a monitor or cron in a separate process.
It checks the state of the servlet by making
a HTTP GET to it; depending on response, it could initiate the
SHUTDOWN command to Tomcat.
COHEN, STEVEN M (ATTSI) wrote:
Yeah, that was what I thought. Apps aren't supposed
After I integration IIS and Tomcat successfully, I only have a problem how it
can resolve the Chinese coding problem?
The detail of the problem is :
If my url contains Chinese the tomcat returns HTTP 400 !
How to solve it?
I am grateful if any user provide the solution for me.
--
With
30 matches
Mail list logo