Re: response goes through load balancer?

2008-05-07 Thread Felix Schumacher
On Thu, May 8, 2008 6:16 am, Dave wrote: > Hi, I am using Apache mod JK as load balancer for tomcat instances. Tomcat > instances are on the different machines with public IP addresses. Will the > HTTP responses go back to the Apache load balance? If so, it will slow > down the response. how to ins

Re: mod_jk + tomcat 5.5 and apache2.2

2008-05-07 Thread Felix Schumacher
On Thu, May 8, 2008 6:21 am, mamta chaudhary wrote: > I am configuring mod_jk to connect apache2.2 and tomcat5.5. But it seems > apache is not connecting to tomcat. > If I run > > http://example.com:8080/jsp-examples/ or > http://example.com:7690/jsp-examples/ [here 8080 is tomcat port and > 76

Re: TOMCAT CLUSTERING HOWTO

2008-05-07 Thread karthikn
Hi As per TOMCAT CLUSTERING HOWTO documents I am trying clustering on 2 TOMCAT 5.5.23 on WINDOWS OS sharing the same JVM 1.6 with the parameters as below TC1 TC2 Startup 80818082 ShutDown 80078008 APJ

mod_jk + tomcat 5.5 and apache2.2

2008-05-07 Thread mamta chaudhary
I am configuring mod_jk to connect apache2.2 and tomcat5.5. But it seems apache is not connecting to tomcat. If I run http://example.com:8080/jsp-examples/ or http://example.com:7690/jsp-examples/ [here 8080 is tomcat port and 7690 is apache port] But if I use--- http://example.com/jsp

response goes through load balancer?

2008-05-07 Thread Dave
Hi, I am using Apache mod JK as load balancer for tomcat instances. Tomcat instances are on the different machines with public IP addresses. Will the HTTP responses go back to the Apache load balance? If so, it will slow down the response. how to instruct tomcat not to send response to Apache? T

Re: Web server and tomcat - firewall

2008-05-07 Thread Andrew Hole
Thanks What means: error 10054 = Connection reset by peer. Andrew On Wed, May 7, 2008 at 7:14 PM, Rainer Jung <[EMAIL PROTECTED]> wrote: > Andrew Hole wrote: > > > HI! > > > > I don't have perl installed in production servers, but it is windows > > server > > 2003. > > > > OK, then it is window

Re: Building Tomat 6

2008-05-07 Thread Richard Sayre
Ok I figured it out. I got the latest and did a build and everything worked ok. Thanks everyone for the help. On Wed, May 7, 2008 at 7:16 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: > Richard Sayre wrote: > > > Ok I downloaded Rapid SVN, but I get an access denied when trying to > > add the URL w

Re: 503 under load

2008-05-07 Thread Rainer Jung
Hi David, [EMAIL PROTECTED] schrieb: Hi, We've started to stress test a new website, and are seeing 503's interspersed when we are under load. We are running Apache - Tomcat combination. Could someone give me an idea of what can cause this, and where to start looking? I expect the 503 i

Re: Building Tomat 6

2008-05-07 Thread Mark Thomas
Richard Sayre wrote: Ok I downloaded Rapid SVN, but I get an access denied when trying to add the URL when Importing the repository. Do I need a user/passsword? No. As long as you are just reading the repo you should be fine. Mark -

Re: Building Tomat 6

2008-05-07 Thread Rainer Jung
Richard Sayre schrieb: Ok I downloaded Rapid SVN, but I get an access denied when trying to add the URL when Importing the repository. Do I need a user/passsword? No, the repository is public for reading. If you try to retrieve via https instead of http, there wil be an authentication, but no

Re: 503 under load

2008-05-07 Thread Martin
The response can request retry-after # seconds via response.setHeader response.setHeader("Retry-After", "5"); M- - Original Message - From: <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, May 07, 2008 2:43 PM Subject: 503 under load Hi, We've started to stress test a

Re: TOMCAT CLUSTERING HOWTO

2008-05-07 Thread Landon Fabbricino
Helly Karthikn, I am confused as to where you are having problems? I am not sure what you mean by "How to test TOMCAT CLUSTERING with out Load balancer"? What exactly are you trying to do with your two tomcat machines? Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.760

Re: Building Tomat 6

2008-05-07 Thread Richard Sayre
Ok I downloaded Rapid SVN, but I get an access denied when trying to add the URL when Importing the repository. Do I need a user/passsword? On Wed, May 7, 2008 at 5:26 PM, Richard Sayre <[EMAIL PROTECTED]> wrote: > I was just getting ready to do that but I have no knowledge of SVN or > how to us

Re: Building Tomat 6

2008-05-07 Thread Richard Sayre
I was just getting ready to do that but I have no knowledge of SVN or how to use it. Is there a client that I can download so I can 'get latest' and get the latest code from the trunk? I found this link on the Build how-to http://svn.apache.org/repos/asf/tomcat/tc6.0.x/ On Wed, May 7, 2008 at 5

Re: Building Tomat 6

2008-05-07 Thread Mark Thomas
Richard Sayre wrote: Yes the ended up in c:\user\share\java I found the jdt plugin online and added it to c:\user\share\java\eclipse\plugins That suggests your build environment isn't correct. Then my compile worked. But Im not sure if it took the proper source. Neither am I ;) I replac

Re: Building Tomat 6

2008-05-07 Thread Richard Sayre
Yes the ended up in c:\user\share\java I found the jdt plugin online and added it to c:\user\share\java\eclipse\plugins Then my compile worked. But Im not sure if it took the proper source. I replaced the source files with the 2 found here: http://svn.apache.org/viewvc?view=rev&revision=631700

Re: Building Tomat 6

2008-05-07 Thread Mark Thomas
Richard Sayre wrote: I am trying to build tomcat 6 as per these instructions: http://tomcat.apache.org/tomcat-6.0-doc/building.html I keep getting this error when i try to build: C:\rich\downloads\apache-tomcat-6.0.16-src\apache-tomcat-6.0.16-src\java\org\apache\jasper\compiler\JDTCompiler.jav

Re: R: Tomcat CPU 100%

2008-05-07 Thread Juha Laiho
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrea, Andrea Di Muro wrote: | Tomcat is running on a Linux Server, what is the exact command to take the | thread dump? | kill -s QUIT tomcat_pid is right? Yes. The thread dump will be printed on stdout, and probably

Building Tomat 6

2008-05-07 Thread Richard Sayre
I am trying to build tomcat 6 as per these instructions: http://tomcat.apache.org/tomcat-6.0-doc/building.html I keep getting this error when i try to build: C:\rich\downloads\apache-tomcat-6.0.16-src\apache-tomcat-6.0.16-src\java\org\apache\jasper\compiler\JDTCompiler.java:38: package org.eclip

Re: 503 under load

2008-05-07 Thread Gabe Wong
[EMAIL PROTECTED] wrote: Hi, We've started to stress test a new website, and are seeing 503's interspersed when we are under load. We are running Apache - Tomcat combination. Could someone give me an idea of what can cause this, and where to start looking? cheers, David Number of p

503 under load

2008-05-07 Thread dhay
Hi, We've started to stress test a new website, and are seeing 503's interspersed when we are under load. We are running Apache - Tomcat combination. Could someone give me an idea of what can cause this, and where to start looking? cheers, David

Re: can the mount directive be used for load balancers?

2008-05-07 Thread Rainer Jung
Stephanie Wullbieter wrote: Hello, can the mount directive be used for load balancing workers, too? I found nothing about that in the docs. For example does this work: worker.balancer.type=lb worker.balancer.balanced_workers=worker1,worker2 worker.balancer.mount=/context Yes, that's how it wo

Re: Web server and tomcat - firewall

2008-05-07 Thread Rainer Jung
Andrew Hole wrote: HI! I don't have perl installed in production servers, but it is windows server 2003. OK, then it is windows error 10054 = Connection reset by peer. About mod_jk configuration (mod_jk/1.2.18) : 1.2.18 does not have DisableReuse. It was first implemented in 1.2.19. Bad l

shared libs, but non shared static object instances between multiple webapps?

2008-05-07 Thread Laurent
Hi Is it possible to have shared libs between multiple web applications (context's) in tomcat (6.0.x), where the static instances (like singletons) are not shared? I used following feature in catalina.properties, which successfully loads the libs from the same path for each webapp: shared.loader=

Re: R: Tomcat CPU 100%

2008-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrea, Andrea Di Muro wrote: | Tomcat is running on a Linux Server, what is the exact command to take the | thread dump? | kill -s QUIT tomcat_pid is right? Yes. The thread dump will be printed on stdout, and probably go into catalina.out. | By us

RE: CGI How To - missing file: servlets-cgi.renametojar file or servlets-cgi.jar

2008-05-07 Thread Enavall, Jesper
Sorry. Thank you for your help. Jesper -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: den 7 maj 2008 15:57 To: Tomcat Users List Subject: RE: CGI How To - missing file: servlets-cgi.renametojar file or servlets-cgi.jar > From: Enavall, Jesper [mailto:[EM

R: Tomcat CPU 100%

2008-05-07 Thread Andrea Di Muro
Andrea Di Muro wrote: | Hello everyone, I have a Tomcat server with several domains configured | and sometimes I can see that the tomcat process uses 100-190% (dual | processor) and hangs up. | I think that one of my customer has uploaded a jsp page that makes an | infinite loop. | How can I chec

Problems with Java Security Manager

2008-05-07 Thread Jonathan O'Donovan
Hi All, Can someone check my reasoning here? I am having difficulty with the Java Security Manager. I am encountering the following 2 exceptions with some of my servlets : I am running : Tomcat 4.1 Apache/1.3.33 (Win32) mod_jk/1.2.8 JRE Version 1.4.2_03 I have enabled security manager lo

Re: Tomcat CPU 100%

2008-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrea, Andrea Di Muro wrote: | Hello everyone, I have a Tomcat server with several domains configured | and sometimes I can see that the tomcat process uses 100-190% (dual | processor) and hangs up. | I think that one of my customer has uploaded a j

Re: Web server and tomcat - firewall

2008-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: | I don't have perl installed in production servers, but it is windows server | 2003. You could always try this: #include #include #include #define MAX_ERROR_STRING_LENGTH 1024 int main(int argc, char *argv[]) { ~ i

can the mount directive be used for load balancers?

2008-05-07 Thread Stephanie Wullbieter
Hello, can the mount directive be used for load balancing workers, too? I found nothing about that in the docs. For example does this work: worker.balancer.type=lb worker.balancer.balanced_workers=worker1,worker2 worker.balancer.mount=/context Thank You -- Pt! Schon vom neuen GMX MultiMesse

Re: TC6, SRV 2.5, annotations

2008-05-07 Thread Hassan Schroeder
On Wed, May 7, 2008 at 4:50 AM, Marcello Teodori <[EMAIL PROTECTED]> wrote: > > Hi, did you succeed since then in configuring a DataSource using annotations > on Tomcat6? Not me; wasn't that high a priority item at the time, never went back to it. Perhaps someone else will chime in :-) -- Hass

Tomcat CPU 100%

2008-05-07 Thread Andrea Di Muro
Hello everyone, I have a Tomcat server with several domains configured and sometimes I can see that the tomcat process uses 100-190% (dual processor) and hangs up. I think that one of my customer has uploaded a jsp page that makes an infinite loop. How can I check which page causes the problem? Th

Re: Web server and tomcat - firewall

2008-05-07 Thread Andrew Hole
HI! I don't have perl installed in production servers, but it is windows server 2003. About mod_jk configuration (mod_jk/1.2.18) : # List the workers name worker.list = p1balancer, resumop1 # -- # Load Balancer worker # -- worker.p1balancer.type= lb worke

Re: Web server and tomcat - firewall

2008-05-07 Thread Rainer Jung
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, Rainer Jung wrote: |> [Tue May 06 16:24:03 2008] [2704:3128] [error] jk_ajp_common.c |> (951): (p11) can't receive the response message from tomcat, |> network problems or tomcat ( 10.202.131.130:8009) is down |> (

Re: Web server and tomcat - firewall

2008-05-07 Thread Rainer Jung
Filip Hanik - Dev Lists wrote: could be the extra space JkOptions + DisableReuse should be JkOptions +DisableReuse someone will correct me if I am wrong :) Oupss, didn't take the space serious. Of course it should not be there. Although if we don't recognize the option, we should throw ou

RE: CGI How To - missing file: servlets-cgi.renametojar file or servlets-cgi.jar

2008-05-07 Thread Caldarale, Charles R
> From: Enavall, Jesper [mailto:[EMAIL PROTECTED] > Subject: CGI How To - missing file: servlets-cgi.renametojar > file or servlets-cgi.jar > > But I don't have the file to rename: servlets-cgi.renametojar file at > C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib A quick search of th

CGI How To - missing file: servlets-cgi.renametojar file or servlets-cgi.jar

2008-05-07 Thread Enavall, Jesper
Hello everyone. I want to activate CGI on Tomcat, and follow the How To-instructions at http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html. In the instructions in web.xml it says: But I don't have the file to rename: servlets-cgi.renametojar file at C:\Program Files\Apache Softw

CGI How To - missing file: servlets-cgi.renametojar file or servlets-cgi.jar

2008-05-07 Thread Enavall, Jesper
Hello everyone. I want to activate CGI on Tomcat, and follow the How To-instructions at http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html. In the instructions in web.xml it says: But I don't have the file to rename: servlets-cgi.renametojar file at C:\Program Files\Apache Softw

Re: TomCat and support of WebServices stacks: JAX-WS vs. Axis

2008-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben, Ben Stover wrote: | Which type of WebService stacks does TomCat support-out-of-the-box | (=without installing additional components): | | JAX-WS | | and/or | | Axis Neither. You will have to install either a JAX-WS or an Axis library in order t

Re: Web server and tomcat - firewall

2008-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, Rainer Jung wrote: |> [Tue May 06 16:24:03 2008] [2704:3128] [error] jk_ajp_common.c |> (951): (p11) can't receive the response message from tomcat, |> network problems or tomcat ( 10.202.131.130:8009) is down |> (errno=54) | | What is errno

Re: TC6, SRV 2.5, annotations

2008-05-07 Thread Marcello Teodori
Hi, did you succeed since then in configuring a DataSource using annotations on Tomcat6? I did the same on the latest Tomcat 6.0.16 and I got a similar error, with the datasource correctly configured in context.xml (checked with normal JNDI lookup on java:comp/env/jdbc/...) and the annotation on a

up/download: ClientAbortException?

2008-05-07 Thread Kristian Rink
Folks; stumbled across similar errors already a while ago, most of them seems to have disappeared, but right now some of them seem back in one system: ClientAbortException: java.io.IOException at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358) at org.apache.tomc

Re: [SPAM] - Re: Tomcat was shutdown by self - Bayesian Filter detected spam

2008-05-07 Thread Roland Brassous (SILOGIC)
Hi without log files, it's difficult to determine the shutdown cause. But search in process defined in the cron(crontab) syntax: crontab -l . Roland Christopher Schultz a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronny, Ronny Sisworo wrote: | No body to do that, but in log file

Re: Reg JSP changes

2008-05-07 Thread Roland Brassous (SILOGIC)
Hi, Another solution, after each deployment, clean the work directory. This directory is used by tomcat in order to evaluated changes. Roland Peter Crowther a écrit : From: Avadhut [mailto:[EMAIL PROTECTED] Also what if I am developing on x machine and the time is lesser than that of deploym

Re: Tomcat takes 2 hours to start

2008-05-07 Thread jitesh sharma
hi all, first of all sorry bcoz i am busy with my presentation work so i can not reply regularly. secondly sorry again bocz the log info which i have posted is generated using : # /opt/tomcat/bin/catalina.sh debug that is why its showing 2 minutes server startup time. and as i mentioned earlier

Context and external folder for uploaded files

2008-05-07 Thread Dubois, Fabien
Hi everybody, I'm not an expert of tomcat, and I need your help. I have a web application that allows user to upload files. I want to stock these files in an external folder of tomcat on the server. These files could be downloaded, so how can I link my webapplication and this external fold

RE: Web Service on Tomcat on Solaris

2008-05-07 Thread Hansen, P (Palle)
Hi Thanks for the reply I got it sorted now, I don't fully understand what went wrong, but here is what I did find out My Tomcat is listening on default port 8080, when I created my project in eclipse the wsdl file was created with a different port (I don't understand why) so I worked in eclip

Re: Web server and tomcat - firewall

2008-05-07 Thread Rainer Jung
Hi Andrew, Andrew Hole schrieb: Hi all| Maybe you could help me to solve a problem with your experience. My company has implemented a solution of 3 layers (Apache web server, Tomcat Container and Database). There is a firewall between the web server and the tomcat. We get the following erro

RE: Reg JSP changes

2008-05-07 Thread Peter Crowther
> From: Avadhut [mailto:[EMAIL PROTECTED] > Also what if I am developing on x machine and the time is > lesser than that > of deployment machine then what will happen if I put changed > JSP with lesser > timestamp that deployment machine The deployment machine may not notice the changed JSP. This

RE: Reg JSP changes

2008-05-07 Thread Avadhut
What is the actual mechanism that tracks the timestamp Also what if I am developing on x machine and the time is lesser than that of deployment machine then what will happen if I put changed JSP with lesser timestamp that deployment machine Thanks & Regards, Avadhut M. karambelkar Team Lead, (

Re: Reg JSP changes

2008-05-07 Thread Mark Thomas
Avadhut wrote: Can anybody tell me how does tomcat come to know that JSP has changed from since last. What is the mechanism to track the changes in JSP for Tomcat JSP container? Timestamp on the file. Mark - To start a new t

Reg JSP changes

2008-05-07 Thread Avadhut
Can anybody tell me how does tomcat come to know that JSP has changed from since last. What is the mechanism to track the changes in JSP for Tomcat JSP container? Thanks & Regards, Avadhut M. karambelkar Team Lead, Persistent Systems Ltd. DISCLAIMER == This e-mail may conta

RE: Installing tomcat on multiple cpu X_86 64 bit machine

2008-05-07 Thread Peter Crowther
> From: sur_1805 [mailto:[EMAIL PROTECTED] > now. can i install the tomcat5.5 and jdk1.5 on machine(4 > processor with 64 > bit on RHEL 5) without need to worry about load balancing and > tuning at the time of installation? Yes, in the same way that you can install (say) Apache httpd and PHP witho

Re: CPU usage quirk with multiple tomcat instances

2008-05-07 Thread Leon Rosenberg
btw, how do you measure it? vmstats? top? On Wed, May 7, 2008 at 9:40 AM, Dan Keeley <[EMAIL PROTECTED]> wrote: > We dont have synchronisation issues - I've already profiled extensively with > jprofiler.. Well we did, but after using jprofiler we dont :) > > Err, I think our app is the same as y

Re: CPU usage quirk with multiple tomcat instances

2008-05-07 Thread Dan Keeley
We dont have synchronisation issues - I've already profiled extensively with jprofiler.. Well we did, but after using jprofiler we dont :) Err, I think our app is the same as yours :) What im saying is that for the same load the machine uses more cpu with 2 tomcat instances... So i guess tha