How can I make my this Tomcat app serves many concurrent users?

2005-06-09 Thread Melvin Wong
Hi, My objective for this topic is to find a way to make my tomcat app able to handle as many as possible concurrent requests. My app spec is -servlet running on Tomcat 5.0 My app is a mobile text messaging app that receives requests via a single servlet, called InboundRequest. This

Re: Running tomcat on Debian Sarge

2005-06-09 Thread Oto Bossert
Yoo, What dit you do untill now? Do you have a firewall? Greetings O. On 6/8/05, blijblijblij [EMAIL PROTECTED] wrote: All, Anybody here who knows a foolproof site for setting up tomcat under debian?! I'm an newbie when it come to tomcat on linux, but I really would like this to work...

Re: Running tomcat on Debian Sarge

2005-06-09 Thread Ronald Klop
Just install the Tomcat jars and read the Tomcat docs. We are running Tomcat on Debian also. And probably Debian has got some packages of tomcat. Ronald. On Wed Jun 08 23:13:06 CEST 2005 Tomcat Users List tomcat-user@jakarta.apache.org wrote: All, Anybody here who knows a foolproof site for

How can I make my this Tomcat app serves many concurrent users?

2005-06-09 Thread Melvin Wong
Hi, My objective for this topic is to find a way to make my tomcat app able to handle as many as possible concurrent requests. My app spec is -servlet running on Tomcat 5.0 My app is a mobile text messaging app that receives requests via a single servlet, called InboundRequest.

high cpu usage during xslt processing (resending)

2005-06-09 Thread kamal r
(Resending as earlier mail had bounced) Recently we have migrated our application from jrun3.1 to tomcat 4.1.31 running on windows 2000 advanced server. It uses saxon 6.5.3 for xslt processing and the cpu usage is almost 100% even for 15 concurrent users. So in order to do a simple load test on

Re: high cpu usage during xslt processing (resending)

2005-06-09 Thread Giuseppe Briotti
== Date: Thu, 9 Jun 2005 08:51:38 +0100 (BST) From: kamal r [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Subject: high cpu usage during xslt processing (resending) == (Resending as earlier mail had bounced) Bounced? If you subscribe

Re: high cpu usage during xslt processing (resending)

2005-06-09 Thread delbd
Dunno for windows, but CPU usage for tomcat on linux is always 100% of available CPU time when serving any kind of request. This is the case for any application (tomcat or other) because this is the way process management is done in the OS (any application get 100% CPU when requesting it if the

Re: Logging Server Responses

2005-06-09 Thread TK
Is the time recorded (using %D) includes time taken for middleware/application server and database processings? On 6/7/05, Tim Funk [EMAIL PROTECTED] wrote: See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html In particular:

Tomcat v4.0.3 crash for unknown reasons

2005-06-09 Thread Hertenstein Alain
Hi there, We have our Intranet web site running on a Tomcat 4.0.3 server under Redhat Linux 7.2. It's been a week now that Tomcat is crashing every 2-8 hours unexpectedly without apparent reasons, while it has been working flawlessly for almost 3 years (except for some OutOfMemory exceptions

cannot start tomcat 5.5 service after rebooting server.

2005-06-09 Thread Brereton, Stephen
It was working fine beforehand, after updating the tomcat and J2RE versions ( I'd had to delay rebooting after installing J2RE update). Now I get (via the console start) 09-Jun-2005 10:22:49 org.apache.tomcat.util.digester.Digester startElement SEVERE: Begin event threw exception

Re: Running tomcat on Debian Sarge

2005-06-09 Thread pacea
Debian has a Tomcat 4.1 (4.1..31-3 to be exact) package for the Sarge distribution. The Sarge distribution is now the official stable release. If you're OK with Tomcat 4.1 and you're running Sarge, you can edit /etc/apt/sources.list: (omit all quotation marks) deb

Re: Running tomcat on Debain Sarge

2005-06-09 Thread pacea
Need to clarify my previous posting. Debian has the jk2 connector package, not Blackdown. Also - the Debian-Tomcat installation listens on port 8180 instead of the default 8080.

Re: Logging Server Responses

2005-06-09 Thread Tim Funk
Its the time for Servlet.service(...) to be processed. [Which includes any middleware/application server and database processings] -Tim TK wrote: Is the time recorded (using %D) includes time taken for middleware/application server and database processings? On 6/7/05, Tim Funk [EMAIL

Re: Logging Server Responses

2005-06-09 Thread Mario Ivankovits
And - I think - partially the time taken to send back the response. Its the time for Servlet.service(...) to be processed. [Which includes any middleware/application server and database processings] Is the time recorded (using %D) includes time taken for middleware/application server and

Re: Tomcat 5.5.9: NamingException cannot be resolved or is not a type - JNDI, MySQL

2005-06-09 Thread Dirk Weigenand
Have a look at the tomcat documentation: DBCP uses the Jakarta-Commons Database Connection Pool. It relies on number of Jakarta-Commons components: * Jakarta-Commons DBCP * Jakarta-Commons Collections * Jakarta-Commons Pool These libraries are located in a single JAR at

Production ready JK release?

2005-06-09 Thread Markus Kobler
Which JK connector should be considered a Stable release? The release notes dont make it clear. Thanks Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Production ready JK Release

2005-06-09 Thread Markus Kobler
Which JK connector should be considered a Stable release? The release notes don't make it clear. Thanks Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

war file disappears during deployment

2005-06-09 Thread Bernhard Slominski
Hi, I have a very strange phenomenon: When I do a hot deployment of my application via war file, my application disappears sometimes! I'm using Tomcat 5.5.7 on Sun Solaris 7. I post you my ant script, which I'm using. As you can image, this is not very nice in a production environment. I try to

Solved! (Re: percent in URL makes tomcat chocke)

2005-06-09 Thread Holger Klawitter
Problem solved! I wrongfully assumed that apt would store debian packages with the canonical filename in apt-archives - but the %3a should indeed be transformed into : before putting stuff online - so the problem had nothing to do with tomcat. Thanks for all pointers! -- With Kind Regards / Mit

Redirecting Tomcat to IIS (UNCLASSIFIED)

2005-06-09 Thread Young, Ed CONT Anteon
Classification: UNCLASSIFIED Caveats: NONE Hi, I have an issue with redirecting my web application from Tomcat 4.1 to IIS 6.0 on Windows 2003 Server. I have followed the steps in configuring the redirect but once I try to access the page using port 80, I get an Under Construction error.

Production ready JK release?

2005-06-09 Thread Markus Kobler
Which JK connector should be considered a Stable release? The release notes don't make it clear. Thanks Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Changes in TC5.5

2005-06-09 Thread Rob Dickey
Hi All, I'm running into an issue that I was hoping I could google to find my answer but to no avail.so. 1) Has org.apache.catalina.Request been replaced by org.apache.cataline.connector.Request? 2) Has org.apache.catalina.valve.ValveContext been replaced by

Changes in TC5.5

2005-06-09 Thread Rob Dickey
Hi All, I'm running into an issue that I was hoping I could google to find my answer but to no avail.so. 1) Has org.apache.catalina.Request been replaced by org.apache.cataline.connector.Request? 2) Has org.apache.catalina.valve.ValveContext been replaced by

RE: Redirecting Tomcat to IIS (UNCLASSIFIED)

2005-06-09 Thread Brereton, Stephen
If you are sure the IIS site is on port 80 - which it probably will be - check the home directory under ISM to make sure IIS is actually using the pages deployed for the purpose HTH -Original Message- From: Young, Ed CONT Anteon [mailto:[EMAIL PROTECTED] Sent: 09 June 2005 12:45 To:

RE: Redirecting Tomcat to IIS (UNCLASSIFIED)

2005-06-09 Thread Peter Crowther
From: Young, Ed CONT Anteon [mailto:[EMAIL PROTECTED] I have an issue with redirecting my web application from Tomcat 4.1 to IIS 6.0 on Windows 2003 Server. I have followed the steps in configuring the redirect but once I try to access the page using port 80, I get an Under

RE: Embedded Tomcat SSL

2005-06-09 Thread Diarmuid McDonald
Hi Mark, thanks for your replies. Is there any chance you could mail your complete code, for getting embedded Tomcat and SSL working. I Implemented creating a Connector this way however, I was unsuccessful and got the following Error. I have no idea what property it is looking for.

Production ready JK release?

2005-06-09 Thread markus
Which JK connector should be considered a Stable release? The release notes don't make it clear. Thanks Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Importing user-defined class in a JSP page

2005-06-09 Thread uttam.g.dubal
I'm new to programming in JSP/Tomcat. I am kinda held back with the following simple situation. I have database connection class that I'm trying to import in my jsp file with no success so far (ChangePassword). I am compiling with JDK1.4.2.08. My JSP page is in $CATALINA_HOME/webapps/mywebapp/

Re: Production ready JK release?

2005-06-09 Thread Anto Paul
On 6/9/05, markus [EMAIL PROTECTED] wrote: Which JK connector should be considered a Stable release? The release notes don't make it clear. I read in the download page that jk-1.2.10 is the stable release(http://apache.tradebit.com/pub/jakarta/tomcat-connectors/jk/binaries/linux/). You can

Re: Importing user-defined class in a JSP page

2005-06-09 Thread delbd
Supposing your class looks like the following: package com.mycompany.mywebapp public class MyClass { } then you need the following import directive %@ page import=com.mycompany.mywebapp.MyClass% or %@ page import=com.mycompany.mywebapp.*% Please note, i see you have your error at line 85,

RE: Running tomcat on Debian Sarge

2005-06-09 Thread Phillip Qin
I have never installed any debian-tomcat/apache package. I simply download source from apache and build my own. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: June 9, 2005 6:09 AM To: Tomcat Users List Subject: Re: Running tomcat on Debian Sarge Debian has a

RE: Running tomcat on Debian Sarge

2005-06-09 Thread Phillip Qin
My sites are running debian + apache 2 + tomcat 5.0.28. Take a look at www.shareowner.com and https://www.investments.shareowner.com/lciponline. Connect refused has lots of reasons. For example, apache config, tomcat config, jk config etc. -Original Message- From: blijblijblij

RE: Production ready JK release?

2005-06-09 Thread Phillip Qin
Always try the latest. 1.2.10 is the most recent. I use 1.2.8 without any problem. -Original Message- From: Markus Kobler [mailto:[EMAIL PROTECTED] Sent: June 9, 2005 7:52 AM To: tomcat-user@jakarta.apache.org Subject: Production ready JK release? Which JK connector should be

RE: Production ready JK release?

2005-06-09 Thread Derrick Koes
1.2.13 (relabled as 1.2.14?) is the most recent. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 10:21 AM To: 'Tomcat Users List' Subject: RE: Production ready JK release? Always try the latest. 1.2.10 is the most recent. I use 1.2.8 without

RE: Production ready JK release?

2005-06-09 Thread Phillip Qin
I am sorry. Mine is 1.2.10 and the latest is 1.2.13. -Original Message- From: Derrick Koes [mailto:[EMAIL PROTECTED] Sent: June 9, 2005 10:23 AM To: Tomcat Users List Subject: RE: Production ready JK release? 1.2.13 (relabled as 1.2.14?) is the most recent. -Original

RE: After a successful build of tomcat from build.xml, how do I i nstall it?

2005-06-09 Thread Clark, Benjamin
Thanks! That worked. In the end, I opted for the 'ant release' way of doing it, but I can see that the other way works too. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Thursday, June 09, 2005 12:36 AM To: tomcat-user@jakarta.apache.org

RE: War File Deployment Problem in Windows

2005-06-09 Thread Marquez, Omar
Hey thanks Matt, right on, with your information I found out that what I need to do was to include a META-INF/context.xml file in my application defining a context and using the settings to prevent library locking, something like: Context path=/OES2 antiResourceLocking=true

Re: Production ready JK release?

2005-06-09 Thread markus
Im particularly interested in the new load-balancing features added to the newest jk releases. What makes me uneasy is the constant referral to each release being ratified as a Stable release in the next week, etc. Is JK 1.2.14 far from release and will this be ratified as Stable? Markus

Re: tomcat windows / mysql linux

2005-06-09 Thread daniel steel
hi paul, yes, it has been configured the same way. all the machines are connected in a giga network. yes, its the log in that takes the most time and every time we log. our production server is older version of tomcat. when we tried to run production server on jdk 1.5.03, we have the same

Tomcat - Apache - Jk

2005-06-09 Thread luc_boudreau
Is it normal that Apache configured to relay jsp's to Tomcat doesn't write the contents of the page (jpeg, gif, css and others) in it's access log ? I've configured Apache to relay only .jsp and .do requests, how is it that the images don't show up in the access log ??? Luc

Re: Production ready JK release?

2005-06-09 Thread Mladen Turk
markus wrote: Im particularly interested in the new load-balancing features added to the newest jk releases. What makes me uneasy is the constant referral to each release being ratified as a Stable release in the next week, etc. Is JK 1.2.14 far from release and will this be ratified as

List of Classes Deprecated in 5.5

2005-06-09 Thread Rob Dickey
Can anyone tell me where I can get a list of classes deprecated in 5.5 (say since 5.0). Example: org.apache.catalina.HttpRequest is no longer found. TIA for any info. Regards, Rob - To unsubscribe, e-mail: [EMAIL PROTECTED]

List of Classes Deprecated in 5.5

2005-06-09 Thread Rob Dickey
Can anyone tell me where I can get a list of classes deprecated in 5.5 (say since 5.0). Example: org.apache.catalina.HttpRequest is no longer found. TIA for any info. Regards, Rob - To unsubscribe, e-mail: [EMAIL PROTECTED]

prevent tomcat from setting cookies

2005-06-09 Thread Rui Alberto
Hi all, I don't want tomcat to set cookies on the client. In any situation. I've configured a Context in server.xml to my application: EX: Context cookies=false docBase=cocoon path=/ reloadable=false/ But if the URL does not contain URL;JSESSIONID=ID, tomcat allways sets a cookie on the client.

RE: Running tomcat on Debian Sarge

2005-06-09 Thread pacea
Well . . . he said he was a newbie . . . -- Original message -- I have never installed any debian-tomcat/apache package. I simply download source from apache and build my own. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

Re: Is cancelled SSL connection bug fixed in Tomcat 4.1.31?

2005-06-09 Thread Mark Thomas
Mike, Having I have had a look at the bug report and the message from Tomcat user and have found the cvs commit that fixes the problem. http://marc.theaimsgroup.com/?l=tomcat-devm=104142933517556w=2 This fix is included in 4.1.19 onwards and all 5.0.x and 5.5.x releases. HTH, Mark Mike

Tomcat with EL

2005-06-09 Thread Marian Nedelescu
Hi, Could I use Tomcat with JSP that has expression language (EL) ? Thnak you in advance Marian

Re: List of Classes Deprecated in 5.5

2005-06-09 Thread Mark Thomas
I am not aware of any such list existing. Mark Rob Dickey wrote: Can anyone tell me where I can get a list of classes deprecated in 5.5 (say since 5.0). Example: org.apache.catalina.HttpRequest is no longer found. TIA for any info. Regards, Rob

Re: Tomcat with EL

2005-06-09 Thread Rahul Akolkar
I suspect you want to use JSP 2.0 (which allows EL expressions in template text). TC 5.0.x (or higher) implements the JSP 2.0 spec. Use a servlet 2.4 web app descriptor (web.xml) for your application and you should be set. -Rahul On 6/9/05, Marian Nedelescu [EMAIL PROTECTED] wrote: Hi, Could I

Re: Running tomcat on Debian Sarge

2005-06-09 Thread blijblijblij
[EMAIL PROTECTED] wrote: Well . . . he said he was a newbie . . . Jep, green as grass :-) Going to give it another try this weekend, thanks for all the tips... Keep you guys posted. Thanx -- Original message -- I have never installed any debian-tomcat/apache

Re: picture of session state for nodes in cluster??

2005-06-09 Thread Filip Hanik - Dev Lists
you would have to write a valve or other component that queries the Tomcat internal classes yourself, If you do come up with something very useful, we would love to include it into the code base. Filip John MccLain wrote: How can I get a picture of session state for each node in a

How could I specify in web.xml that use JSP 2.0

2005-06-09 Thread Marian Nedelescu
Hi Rahul, What must I write in my web.xml file to specify that I want to use JSP 2.0 ? Thank you Marian - Original Message - From: Rahul Akolkar [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, June 09, 2005 3:22 PM Subject: Re: Tomcat with EL I

Re: How to query for number of active participants in the tomcat 5.5 cluster

2005-06-09 Thread Filip Hanik - Dev Lists
you would need to write a component that queries the cluster classes (internal tomcat components) yourself. I believe you can reach the cluster object through JMX and through the tomcat classes (host etc) the interface CatalinaCluster.getMembers() returns all members in a cluster. Filip

Re: How could I specify in web.xml that use JSP 2.0

2005-06-09 Thread Rahul Akolkar
On 6/9/05, Marian Nedelescu [EMAIL PROTECTED] wrote: Hi Rahul, What must I write in my web.xml file to specify that I want to use JSP 2.0 ? snip/ Nothing, as long as its a servlet 2.4 web.xml, details in item 1 here [ http://wiki.apache.org/jakarta-taglibs/FrequentlyAskedQuestions ] -Rahul

Turning off port 8080 but still need to access to admin pages

2005-06-09 Thread Scott Heitkamp
I need to turn off port 8080, so that you can only access Tomcat by going through port 8009 using Apache. Once I turn off port 8080, I no longer have a way of getting to the admin pages for Tomcat. Is there a way around this? - Discover Yahoo!

Re: picture of session state for nodes in cluster??

2005-06-09 Thread Peter Rossbach
Hey John, look inside the MBeans Manager/app/host - DeltaManager. You can get the complete session list and can access attribute from the sessions. Which Tomcat/ Cluster release you use? Peter John MccLain schrieb: How can I get a picture of session state for each node in a cluster every

Re: simple question on deltamanger - understanding

2005-06-09 Thread Peter Rossbach
Yes, at germany I can give you that support... Please send me your cluster config, and os, jdk and tomcat version. Peter John MccLain schrieb: My understanding is that the clustering replication DeltaManager it is called via a setAttribute if UseDirtyFlag is set to true. So does this mean

Problem in mod_jk.conf

2005-06-09 Thread Fabiano Rech
Hi all, I installed apache2+tomcat+modjk in solaris 10, I configured based in cookbook from the site: http://jakarta.apache.org/tomcat/connectors-doc/howto/apache.html The connector is works well, but using virtual host, the apache direct for the directory /usr/local/tomcat/webapps/ROOT. how I

RE: Turning off port 8080 but still need to access to admin pages

2005-06-09 Thread Brian McGovern
You could leave 8080 on .. But restrict access to it via firewall. -Original Message- From: Scott Heitkamp [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 4:32 PM To: tomcat-user@jakarta.apache.org Subject: Turning off port 8080 but still need to access to admin pages I need to

Re: Turning off port 8080 but still need to access to admin pages

2005-06-09 Thread Robson dos Santos Franca
Hi there! I think you can just take the Connector port=8080 .. off from Tomcat directory/conf/server.xml. I tried here (Tomcat 5.x) and it works! Good Luck! Robson Franca Scott Heitkamp wrote: I need to turn off port 8080, so that you can only access Tomcat by going through port 8009

Re: How to query for number of active participants in the tomcat 5.5 cluster

2005-06-09 Thread Peter Rossbach
Hey, I have checkin today a JMX Object for McastService (Membership implementation) to access the membership list via mbean. :-) Also every sender is a mbean ( type IDataSender). Look inside the Mbean list via jconsole. Peter Filip Hanik - Dev Lists schrieb: you would need to write a

Problem for loading files under WEB-INF/classes

2005-06-09 Thread Vincent
I want to load some files that I've placed in the WEB-INF/classes directory of my project (particularly the file log4j.properties). The problem is that I always have the same errors logged in stdout tomcat's log file : java.io.FileNotFoundException... The files are well-placed, and curiously

Help with memory leak using Tomcat

2005-06-09 Thread Ed Hamilton
I posted something similar to the Tomcat bug list and was asked to move it here. My first mailing to this list, so please correct any gaffes on my part... I'm running Tomcat 5.5.9; isapi redirector 1.2.13; J2SE 1.5.0.03; JDBC 3.1.8a; to support 2 very low volume websites. I have some kind of

Rv: confirm unsubscribe from tomcat-user@jakarta.apache.org

2005-06-09 Thread juan montoya
Nota: Se adjuntó el mensaje reenviado.__Correo Yahoo!Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.espanol.yahoo.com/ ---BeginMessage--- Hi! This is the ezmlm program. I'm managing the

Re: Turning off port 8080 but still need to access to admin pages

2005-06-09 Thread Parsons Technical Services
This will do what you need. Set it to only accept the IP of the machine or machines you wish to connect. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/valve.html#Remote%20Address%20Filter Another way that might work is to set the address element in the HTTP connector. You could try

Re: Tomcat, SSL, IE, and .pdf downloads

2005-06-09 Thread Mark Leone
Mark Leone midnightjava at cox.net writes: BTW, switching gears, I should have mentioned the following in my previous email. I suspect that the IE workaround you described will only work for SSL connections. Tomcat (and presumably any other good HTTP server) will set the cache control

Re: Tomcat - Apache - Jk

2005-06-09 Thread Anto Paul
On 6/9/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is it normal that Apache configured to relay jsp's to Tomcat doesn't write the contents of the page (jpeg, gif, css and others) in it's access log ? I've configured Apache to relay only .jsp and .do requests, how is it that the

5.0.28 w/ MX4J 3.0.1, possible?

2005-06-09 Thread Rick
Hello, I have been trying to migrate to the latest version of MX4J (3.0.1) from the old 1.1.1 version. And for the life of me, I don't seem to be able to get it to work. I use JMX to communicate to various servers in our webapp to show session info on different nodes, and I would also like to

Missing locale on Tomcat restart

2005-06-09 Thread h-taguchi
Hello, (B (BSorry again. (BI posted to 'Tomcat Users List' this, but no reply. (BI'm not sure if this was posted really. (BWould you please reply to my address directly if you got this? (B (BAttached log is a log file "catalina.out". I didn't edit it. (BThe top 6 lines have Japanese

Re: Running tomcat on Debian Sarge

2005-06-09 Thread pacea
Just remember that the Debian - Tomcat package listens on port 8180 instead of the default 8080 to prevent conflicts with another app which uses 8080. [EMAIL PROTECTED] wrote: Well . . . he said he was a newbie . . . Jep, green as grass :-) Going to give it another try this weekend,

Re: How to query for number of active participants in the tomcat 5.5 cluster

2005-06-09 Thread Edmon Begoli
Hi, To answer my own question and for the sake of others. I think I have figured out the way how to query Tomcat for the number of active members in the clusters (that replicate sessions) using available MBeans. To make it easily available I put instructions on my blog - you can access