I sometimes met the problem that apache can't connect to tomcat
through jk.Iwant to know why,the records of mod_jk.log like:
[Wed Apr 26 18:46:54 2006] [error] ajp_service::jk_ajp_common.c (1758):
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port.
--Tomcat is probably not started or is listening on the wrong port--
Probably the Tomcat or AJP port setting is wrong? Seems that your tomcat
runs on port 8010...what are your settings for Tomcat AJP connector?
HTH
FooShyn
-Original Message-
From: tang jie [mailto:[EMAIL PROTECTED]
Dear Comunity,
I want to know how much load is on my Tomcat. How can i do this?
I hav a Client, which continues calls set of Servlets. I want to test how
many Clients(max) i can run at a time, for this i want to know load on
Tomcat.
regards,
bala
I am using Apache 2.0.54 with mod_jk 1.2.14 to connect to a Tomcat 5.5
install under JBoss 4.0.4RC1 which the JBoss service is in one segment and
the web service is on another segment of my SonicWall 2040 firewall.
The problem I am having is I have to reboot the apache web server every
I am configuring Tomcat 5.5 with mod_jk on a test server running
CenOS 4.3 and apache 2.0, and need the ability to choose what virtual
sites should be able to execute servlets and JSP. For this I need an
easy way to enable and disable Tomcat for a given site, but it seems
that it is not
Darryl Miles wrote:
Nicolas Schwartz wrote:
I'm trying to get the information of sending the last byte of a file
through Tomcat.
I've done many tests, I've looked in the archives and nothing came up.
So I'm thinking that maybe I'm not posting where I should, if it is
so, please tell me so
The correspong setting in Tomcat::
Connector port='8010 enableLookups=false redirectPort=8443
protocol=AJP/1.3
workers.properties is:
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8010
The web server can run for about one day,but suddently it
I think you can use JMeter to execute load test on web server.
On 4/27/06, balaraju mandala [EMAIL PROTECTED] wrote:
Dear Comunity,
I want to know how much load is on my Tomcat. How can i do this?
I hav a Client, which continues calls set of Servlets. I want to test how
many Clients(max)
Your settings seems ok to me (or maybe I missed out something). Could it be
the application inside Tomcat that caused this to happen? Does Tomcat's
Catalina log contain any error which might caused Tomcat to hang?
And I'm assuming that your Tomcat is running on port 8080 and not 8010
right?
My
Your config (or Environment ;o) will fix the number of maximum
simultaneous clients. Tomcat manager application has a server status
link. you can use that or you can start catalina with JMX support and
see number of active threads!
balaraju mandala wrote:
Dear Comunity,
I want to know how
Since the jsp servlet is registered globally - all vhosts inside tomcat will
be able to run jsp's.
But since you are using apache in front of tomcat - you can decide which
requests get routed to tomcat and which do not. (Via your apache config)
As for configuring tomcat with virtual hosts -
Hi Tang and Rajeev,
Thank You very much for u r reply.
Rajeev i need some more Help, I searched in my Tomcat manager but did not
find any link of 'server status'. Can u tell where it resides!, i am using
Tomcat 4.1 ver.
regards,
bala
You can use JMeter (as pointed out earlier) as a load-generation client, but
you can also use it as a Tomcat monitor. In the latter mode, it will give
you most of the stats you want, but so will JMX.
Finding the upper limit is somewhat of an iterative process and is
influenced by many things -
No clue if the manager application is available with 4.x. i have 5.5.x.
maybe a reason to update ?
if you are running your tomcat with jdk1.5 , you can enable JMX and see
the number of active threads in JVM.
balaraju mandala wrote:
Hi Tang and Rajeev,
Thank You very much for u r reply.
http://localhost:8080/manager/html/list
adjust localhost:8080 as appropriate.
-Original Message-
From: Rajeev Jha [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 27, 2006 6:48 AM
To: Tomcat Users List
Subject: Re: i want to know load on Tomcat
No clue if the manager application is
Hi
We have been effected by the bug #37054
(http://issues.apache.org/bugzilla/show_bug.cgi?id=37084).
When we run our ant script to build the site using JspC it fails just
as outlined in the bug above.
We were using Tomcat 5.5.9 and we are hoping to upgrade to 5.5.12 but
there seem to be many
2006/4/20, Gustavo Noronha [EMAIL PROTECTED]:
Like I said in a previous email, I know about dumping thread information,
but I am unnable to identify what thread is using up the CPU cycles. What I
did to try to fix this problem is setting up some different c3p0
configurations:
on
Hello Nissam, I am having the same problem with the Tomcat Admin. However, I am
using the JDBC Realm (MySQL) instead of the tomcat-users.xml. Please advise,
David.
On 26/Apr/2006 06:39 nissam wrote ..
Hi
Add a user like below.
user username=nisam password=nisam
Nicolas Schwartz wrote:
I want to detect if a terminal gets all of the file he wanted to download
through the HTTP connection.
Maybe jarkarta commons-fileupload project is your friend
http://jakarta.apache.org/commons/fileupload/
Darryl
Nicolas Schwartz wrote:
I want to detect if a terminal gets all of the file he wanted to download
through the HTTP connection.
Maybe jakarta commons-httpclient project is your friend
http://jakarta.apache.org/commons/httpclient/
Darryl
I may be missing something here, but for my AJP13 connection, the number
of simultaneous requests looks not dependent on maxProcessors attribute
rather on the MaxThreads.
Here is the relevant snippet from my server.xml
A)
!-- Define an AJP 1.3 Connector on port 8009 --
Connector port=8009
Hi,
I used a fresh install of Tomcat 5.5.16 on the Windows platform to confirm what
I was seeing:
a request to
http://localhost/manager
results in a redirect to
http://localhost/manager/?
The same thing happens with (one of) my servlets when it receives no parameters:
* Velpi wrote (27/04/06 15:49):
Hi,
I used a fresh install of Tomcat 5.5.16 on the Windows platform to confirm what
I was seeing:
a request to
http://localhost/manager
results in a redirect to
http://localhost/manager/?
The same thing happens with (one of) my servlets when it receives no
Might it be due to this bug?
http://issues.apache.org/bugzilla/show_bug.cgi?id=38113
yes :(
(I didn't find that bug by my search criteria...)
I see it will be fixed in 5.5.17 :)
Thanks!
--Velpi
-
To unsubscribe, e-mail:
Might it be due to this bug?
http://issues.apache.org/bugzilla/show_bug.cgi?id=38113
yes :(
(I didn't find that bug by my search criteria...)
I see it will be fixed in 5.5.17 :)
Just tested v5.5.17 (which seems to be released just now):
The bug is fixed :).
--Velpi
Hi,
It seems that in tomcat 5.0 when i run startup.bat it exists with code
1.
Does anyone know why?
P.S. i tried to look in catalina.bat and see where is the problem and if
i comment some of the SET commands it returns 0...
Eduard Pal
On all of our webservers from development (doing 1 page view every
few minutes) to production (doing 500 page views per minute) we're
seeing these error messages in the mod_jk log:
[Thu Apr 20 17:57:45 2006] [jk_ajp_common.c (783)]: ERROR: can't
receive the response message from tomcat,
Todd Huss wrote:
On all of our webservers from development (doing 1 page view every few
minutes) to production (doing 500 page views per minute) we're seeing
these error messages in the mod_jk log:
[Thu Apr 20 17:57:45 2006] [jk_ajp_common.c (783)]: ERROR: can't receive
the response message
So what was the error? Bad context root?
- Original Message
From: Rajarshi Guha [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Wednesday, April 26, 2006 11:20:07 AM
Subject: Re: multiple axis webapps
On Tue, 25 Apr 2006 19:08:34 -0500, Filip Hanik - Dev Lists wrote:
my guess is
Hi Mladen,
I'll upgrade to the latest mod_jk. I do have a timeout set as follows:
Connector port=8009 connectionTimeout=2
maxThreads=500 minSpareThreads=5 maxSpareThreads=75
enableLookups=false redirectPort=8443 debug=0
protocol=AJP/1.3 /
After successfully installing tomcat on a server a couple of weeks ago,
I decided I wanted a local copy to play with.
So I downloaded the tar, extracted it and started tomcat,
When I go to localhost:8080 I get a blank page. Absolutely nothing but
white space. As a matter of fact, I can type
Steven,
What web server are you running, and have you correctly connected the web
server to your app server? Check your web server access logs to verify that
the web server is receiving your browser request.
Darren
-Original Message-
From: Steven Peacock [mailto:[EMAIL PROTECTED]
Hi,
I am using apache 1.3.19 and Tomcat 3.2. I am facing a strange problem.
When the application is running for around 15 days. It stops accepting the
request. When a user accesses the URL from browser, it takes lot of time.
Many times it times out. The authentication window also does not
On 27 Apr 2006 at 15:15, Darren Hall wrote:
Steven,
What web server are you running, and have you correctly connected the
web server to your app server? Check your web server access logs to
verify that the web server is receiving your browser request.
This has nothing to do with his
Hi,
I am having using the jvsc configure script as described in the
installation notes for TOMCAT 5. I am installing to a system using dual
emt64 xeons running redhat kernel 2.6.9-34ELsmp.
the fail line is:
configure: error: Unsupported CPU architecture x86_64
this seems to be assoiciated
The bottom line of my tomcat manager page, on RHEL V.4, with dual-core Xeons
says:
Apache Tomcat/5.5.121.5.0_06-b05Sun Microsystems Inc. Linux
2.6.9-22.ELsmp i386
The VM tab of Jconsole says the same thing.
Of course I didn't try a 64-bit JVM... Yet.
-Original
This may or may not be the case, but any time I've ever gotten the
dreaded blank page response, it was caused by an exception processing
the request. Late enough that an error message couldn't be included in
the response. What do the logs show? Are there any errors at the time
of the
I should offer fair warning -- this setup is very old and very few will
have/remember their experiences with tomcat 3.2 and apache 1.3.19. You
may be stuck attempting to diagnose this on your own.
--David
Sachin Lohar wrote:
Hi,
I am using apache 1.3.19 and Tomcat 3.2. I am facing a
Tim Lucia wrote:
The bottom line of my tomcat manager page, on RHEL V.4, with dual-core Xeons
says:
Apache Tomcat/5.5.121.5.0_06-b05Sun Microsystems Inc. Linux
2.6.9-22.ELsmp i386
The VM tab of Jconsole says the same thing.
Of course I didn't try a 64-bit JVM... Yet.
I'm
The Apache Tomcat Team has voted to the v5.5.17 release as stable.
You can see the stability vote results at
http://marc.theaimsgroup.com/?l=tomcat-devm=114614639118049w=2, and
you may find the following links useful:
Release Notes: http://tomcat.apache.org/tomcat-5.5-doc/RELEASE-NOTES
Change
Hi,
I have written a custom provider and implmentation
of java.security.KeyStoreSpi. I placed the
corresponding .jar file in $CATALINA_HOME\common\lib.
Also, I have registered the provider by putting an
entry in the jre/lib/security/java.security file. The
platform is windows-2003 server.
I
Hi,
I have several applications running in different directories. Each
application is owned by a different linux owner/group. In order for
Tomcat to be able to read these files to serve them, the Tomcat has
as it's secondary groups, the group names of each application.
The problem I am having
Thanks Marc,
Using the full path to the context doesn't help. Darn.
I'll try a more sophisticated IDE and see if it provides any insight, but I
am not convinced that I need that at this point. As far as I can tell, this
should be working...
-corey
-Original Message-
From: Marc Farrow
Hi all,
I need to have my tomcat servers to broadcast their state (custom
information) in order for them to collaborate.
I look into the cluster code, org.apache.catalina.cluster.mcast.* it a
good example of what I need : send a multicast message each X seconds
and keep a member list with
Is there anything to be aware of when (confusingly) you're doing DIGEST
authentication with a standard JDBC realm using MD5 digested passwords?
I've just tried changing an existing app with BASIC authentication to
DIGEST and it stopped authenticating me. I tried all sorts of web.xml
Nicolas Schwartz [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi everybody,
I'm trying to get the information of sending the last byte of a file
through Tomcat.
I've done many tests, I've looked in the archives and nothing came up.
So I'm thinking that maybe I'm not posting
--- Eric Haszlakiewicz [EMAIL PROTECTED] wrote:
On Thu, Apr 27, 2006 at 04:55:40PM -0400, Aria
Bamdad wrote:
I have several applications running in different
directories. Each
application is owned by a different linux
owner/group. In order for
Tomcat to be able to read these files
If you are using JMX-embedding, it will be a PITA. So I'll assume that you
are using the old-school Embedded class (the process is the same for
JMX-embedding, you just need to do most operations via reflection).
Wrapper wrapper = context.createWrapper();
wrapper.setName(plugin);
Hello,
I noticed something with Tomcat that is probably obvious to everyone but
me, but I gotta ask about it.
Im a total novice at programming so please be patient.
After starting up Tomcat today I began writing a script to use on Tomcat
without being connected to the
web. The dos window was
49 matches
Mail list logo