jk can't connect to tomcat

2006-04-27 Thread tang jie
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.

RE: jk can't connect to tomcat

2006-04-27 Thread fooshyn
--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]

i want to know load on Tomcat

2006-04-27 Thread balaraju mandala
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

question with mod_jk behind a firewall and needing constant reboots

2006-04-27 Thread Chris Berthold
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

vsite config files on Tomcat 5.5 - including in server.xml?

2006-04-27 Thread Jes Kasper Klittum
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

Re: Last Byte Detection

2006-04-27 Thread Nicolas Schwartz
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

Re: jk can't connect to tomcat

2006-04-27 Thread tang jie
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

Re: i want to know load on Tomcat

2006-04-27 Thread tang jie
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)

RE: jk can't connect to tomcat

2006-04-27 Thread fooshyn
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

Re: i want to know load on Tomcat

2006-04-27 Thread Rajeev Jha
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

Re: vsite config files on Tomcat 5.5 - including in server.xml?

2006-04-27 Thread Tim Funk
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 -

Re: i want to know load on Tomcat

2006-04-27 Thread balaraju mandala
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

RE: i want to know load on Tomcat

2006-04-27 Thread Tim Lucia
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 -

Re: i want to know load on Tomcat

2006-04-27 Thread Rajeev Jha
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.

RE: i want to know load on Tomcat

2006-04-27 Thread Tim Lucia
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

JspC from ant fails on JSPs that use custom taglib in Tomcat 5.5.12

2006-04-27 Thread Bruce Mundin
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

Re: Java process segfaulting and using 100% CPU

2006-04-27 Thread Gustavo Noronha
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

Re: How to Install Tomcat 5.5 Administration Web Application

2006-04-27 Thread David W. Brown
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

Re: Last Byte Detection

2006-04-27 Thread Darryl Miles
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

Re: Last Byte Detection

2006-04-27 Thread Darryl Miles
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

Re: about maxProcessors attribute

2006-04-27 Thread Rajeev Jha
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

Tomcat 5.5.16: strange redirecting

2006-04-27 Thread Velpi
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:

Re: Tomcat 5.5.16: strange redirecting

2006-04-27 Thread Chris Lear
* 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

Re: Tomcat 5.5.16: strange redirecting

2006-04-27 Thread Velpi
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:

Re: Tomcat 5.5.16: strange redirecting

2006-04-27 Thread Velpi
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

startup.bat exit code

2006-04-27 Thread Eduard Pal
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

mod_jk error log

2006-04-27 Thread Todd Huss
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,

Re: mod_jk error log

2006-04-27 Thread Mladen Turk
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

Re: multiple axis webapps

2006-04-27 Thread Greg Bobak
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

Re: mod_jk error log

2006-04-27 Thread thuss2
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 /

Blank page after tomcat install

2006-04-27 Thread Steven Peacock
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

RE: Blank page after tomcat install

2006-04-27 Thread Darren Hall
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]

Apache 1.3.19 and Tomcat 3.2

2006-04-27 Thread Sachin Lohar
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

RE: Blank page after tomcat install

2006-04-27 Thread Steve Ochani
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

TOMCAT 5 on x86_64

2006-04-27 Thread Trevor Carpenter
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

RE: TOMCAT 5 on x86_64

2006-04-27 Thread Tim Lucia
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

Re: Blank page after tomcat install

2006-04-27 Thread David Smith
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

Re: Apache 1.3.19 and Tomcat 3.2

2006-04-27 Thread David Smith
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

Re: TOMCAT 5 on x86_64

2006-04-27 Thread Jean-Christophe Praud
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

[ANN] Apache Tomcat 5.5.17 Stable Now Available

2006-04-27 Thread Yoav Shapira
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

Problem loading custom keystore providers

2006-04-27 Thread pritesh sharma
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

Changing tomcat's group

2006-04-27 Thread Aria Bamdad
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

RE: JSPs, contexts, Tomcat 5.5.16+ and NPEs

2006-04-27 Thread Corey Kaiser
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

Is there a clean way to add Custom protocol endpoint to tomcat 5.5

2006-04-27 Thread David Gagnon
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

auth-mode=DIGEST and MD5 digested passwords

2006-04-27 Thread digby
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

Re: Last Byte Detection

2006-04-27 Thread Bill Barker
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

Re: Changing tomcat's group [OT]

2006-04-27 Thread Bob Hall
--- 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

Re: Embedded Tomcat - adding constructed Servlet to Container

2006-04-27 Thread Bill Barker
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);

Servlet and Tomcat question

2006-04-27 Thread Adam Lindsey
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