load balance with tomcat

2004-12-29 Thread Stephen Charles Huey
We're trying to install our existing web app on multiple machines and put a BigIP load balancer in front of them. Do we need to do anything different with Tomcat and/or our web app to get this load balancing to work, or should we basically be able to copy the Tomcat directory onto each machine

Configuration: jk 1.2 apache 1.3 workers and virtual hosts

2004-12-29 Thread Michael Kastner
Hello, since the documentation is not explicit about this, maybe someone on this list can help me. configuration: linux tomcat 5.0 jk 1.2 apache 1.3 I have several virtual hosts running on my system. Does that mean that I have to create a separate worker for each virtual host? e.g.

Re: Forwarding *all* webapps with mod_jk

2004-12-29 Thread Mladen Turk
Simon MARTIN wrote: Hi, I've integrated Tomcat successfully into Apache using mod_jk, but there's something I've found nothing about: forwarding *all* webapps with only one static statement in the configuration files. I've thought about something like this: JkMount /tomcat/* ajp13:* (which of

ClientAbortException in Tomcat 4.1.31 console

2004-12-29 Thread MERCADIER Didier ROSI/SIFAC
Hi, I'm running a servlets application (with Xerces and Xalan), and I have a lot of ClientAbortException in Tomcat console. My application runs well, it doesn't crash nor redirect to an error page. Sometimes, when I restart Tomcat, these errors don't appear any more. Can someone help me ?

Re: Tomcat 5 startup crash, please help

2004-12-29 Thread Ben Souther
There is actually a listing in Bugzilla this. Would you mind adding your findings to it? http://issues.apache.org/bugzilla/show_bug.cgi?id=30052 If this is a jsvc bug, your data might help to find it. That's a pretty old Linux distribution. I remember having trouble with Sun's jdk on either RH7.0

Re: load balance with tomcat

2004-12-29 Thread Tim Funk
You should be ok with this strategy (until a tomcat dies and the HttpSession is lost - but this can be OK too depending on how data is persisted) Is the BigIp device using sticky sessions? -Tim Stephen Charles Huey wrote: We're trying to install our existing web app on multiple machines and put

Re: Where do I specify location of stdout and stderr?

2004-12-29 Thread Ben Ricker
We do this by finding the log entry in catalina.sh. It should be something like catalina.out. Change that to whatever you like. I moved it myself to fit how our other app servers work. Ben Ricker On Dec 29, 2004, at 12:39 AM, Stephen Charles Huey wrote: Ok, I just figured out that for the

Re: Where do I specify location of stdout and stderr?

2004-12-29 Thread Ben Souther
I'm trying to move my Tomcat directory from a Windows machine to a Linux box, and I've already modified the server.xml to take care of path differences, but I've noticed that stdout.log and stderr.log are no longer being generated in the logs directory (I can't find them!). Does anyone

Session restart replication when using jsvc

2004-12-29 Thread Trond G. Ziarkowski
Hi all! I recently switched from using Tomcat 5.0.28/jk2/Apache2 to running tomcat standalone using jsvc. This works great for me except for one thing; Sessions are not replicated when I restart tomcat. To stop Tomcat I'm using 'kill -9 `cat /var/run/jsvc.pid`'. When Tomcat is stopped this way

Issues with Tomcat on AIX?

2004-12-29 Thread bricker
I am migrating a dozen apps from Solaris and Tomcat 4.0.6 to AIX 5.2 and Tomcat 4.0.6. Has anyone done this migration? If not, does anyone run Tomcat on AIX 5.2 ( I would assume so)? Do you use IBMs JDK? I am using the 1.3, 64-bit J2SDK. If you do, do you use Java Security (-security on

Re: Forwarding *all* webapps with mod_jk

2004-12-29 Thread Wade Chandler
Mladen Turk wrote: Simon MARTIN wrote: Hi, I've integrated Tomcat successfully into Apache using mod_jk, but there's something I've found nothing about: forwarding *all* webapps with only one static statement in the configuration files. I've thought about something like this: JkMount /tomcat/*

Re: Forwarding *all* webapps with mod_jk

2004-12-29 Thread Mladen Turk
Wade Chandler wrote: You can use the mod_rewrite: RewriteEngine On RewriteRule ^/tomcat/(.+)$ /$1 [R,L] JkMount /* ajp13 But this will map everything to the tomcat. You can not do (for now): /tomcat/examples/* - /examples/* and then back to: /examples/* - /tomcat/examples/* This would require

META-INF/context.xml TC 5.5.4 deployment problems

2004-12-29 Thread alan . sinclair
Hi, I have been trying to deploy my app into 5.5.4 using a META-INF/context.xml file type config. The application is deployed according to the log; there are no errors. When I access it, I receive a 404 error, none of the JSPs respond. I have tried various combinations of path and docBase and

Re: Issues with Tomcat on AIX?

2004-12-29 Thread Dennis Payne
You probably did this alread, but might want to check the access permissions for all directories and files involved. That stuff gets messed up pretty easy. The user that Tomcat runs under should be the same user that the JDK was installed with... Might be a complicating factor?? [EMAIL

Re: ClientAbortException in Tomcat 4.1.31 console

2004-12-29 Thread Mark Thomas
This is normal. Typically, it happens when the user clicks stop on their browser before the page has finished loading. Mark MERCADIER Didier ROSI/SIFAC wrote: Hi, I'm running a servlets application (with Xerces and Xalan), and I have a lot of ClientAbortException in Tomcat console. My

WebDAV and redirects

2004-12-29 Thread Garret Wilson
I've been struggling with the whole issue of Microsoft WebDAV clients failing to including a trailing slash in collection URIs even when I ask nicely. It looks like I can fix this with redirects, but that opens up another can of worms: the Microsoft client redirect bug. I'm trying to get the

Re: Session restart replication when using jsvc

2004-12-29 Thread Wolfgang Hackl
Trond G. Ziarkowski wrote: I recently switched from using Tomcat 5.0.28/jk2/Apache2 to running tomcat standalone using jsvc. This works great for me except for one thing; Sessions are not replicated when I restart tomcat. To stop Tomcat I'm using 'kill -9 `cat /var/run/jsvc.pid`'. When Tomcat

Re: META-INF/context.xml TC 5.5.4 deployment problems

2004-12-29 Thread Jacob Kjome
At 09:42 AM 12/29/2004 -0800, you wrote: Hi, I have been trying to deploy my app into 5.5.4 using a META-INF/context.xml file type config. The application is deployed according to the log; there are no errors. When I access it, I receive a 404 error, none of the JSPs respond. I have tried various

Re: Session restart replication when using jsvc

2004-12-29 Thread Trond G. Ziarkowski
Hi Wolfgang! by using signal 9 you give Tomcat no chance to perform any further action. Maybe you omit -9 from your kill command. Thanks for the tip. Tried it, but same results. Trond - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Issues with Tomcat on AIX?

2004-12-29 Thread bricker
I had not checked that, although it is true that the JDK was installed under the same user (well, now it is; I was using the AIX installed 1.3.1 smit pkg but I since coped it to a work directory). I do not see WHY the owner of the JDK has to be the the same user as the Tomcat PID owner. I can see

FW: j2sdk problems

2004-12-29 Thread Warron French
Can anyone help me on this issue please? I have reviewed the log files to no end on this issue. I see nothing at all in terms of errors. The problem is we are running jboss-3.2.5 in conjunction with j2sdk-1.4.1_04 on a Red Hat Linux 9 system with the 2.4.20-31.9smp kernel and I have had to

Re: FW: j2sdk problems

2004-12-29 Thread bricker
You probably have not had help because there is no PROBLEM listed. What is the issue? Your question is hoplessly vague as presented. If you see no errors, then what is the problem? :] Ben Ricker Can anyone help me on this issue please? I have reviewed the log files to no end on this issue.

Re: Session restart replication when using jsvc

2004-12-29 Thread Wade Chandler
Trond G. Ziarkowski wrote: Hi Wolfgang! by using signal 9 you give Tomcat no chance to perform any further action. Maybe you omit -9 from your kill command. Thanks for the tip. Tried it, but same results. Trond - To unsubscribe,

RE: FW: j2sdk problems

2004-12-29 Thread Warron French
That's the problem, the j2sdk/jboss services fail after about a week and there is no log entries in the /var/log/mod_jk.log file. Or anywhere else I mentioned in my original email. Merry Christmas Happy New Year! Warron French Sr. Network Engineer Xtria, LLC 8045 Leesburg Pike #400 Vienna,

Re: FW: j2sdk problems

2004-12-29 Thread Wade Chandler
Warron French wrote: That's the problem, the j2sdk/jboss services fail after about a week and there is no log entries in the /var/log/mod_jk.log file. Or anywhere else I mentioned in my original email. Merry Christmas Happy New Year! Warron French Sr. Network Engineer Xtria, LLC 8045 Leesburg

Re: FW: j2sdk problems

2004-12-29 Thread Ben Souther
Also, what happens when the user tries to access the app? A 404 Error? Can not connect error? A frozen browser? Dies can mean a lot of things. On Wed, 2004-12-29 at 15:52, Wade Chandler wrote: Warron French wrote: That's the problem, the j2sdk/jboss services fail after about a week and

RE: FW: j2sdk problems

2004-12-29 Thread bricker
Again you are unclear. What do you mean by fail? The JBoss process? If you mean that, then you are on the wrong list. This is for tomcat users, not JBoss users. Here is what I would do: 1) If you are having process problems with Jboss, contact a JBoss related list. 2) If you cannot get access

Changing Stack Size in Tomcat 4.130

2004-12-29 Thread Sweta Kapadia
Hi, How would I go about increasing the stack size in Tomcat? Im gettig a StackOverflowError, thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Changing Stack Size in Tomcat 4.130

2004-12-29 Thread Brad Neuberg
Hi Sweta. I assume you mean increase the stack size available to each thread. From http://blogs.sun.com/roller/resources/watt/jvm-options-list.html, which is a giant list of JVM options: -Xsssize - size - set maximum native stack size for any thread Also do a 'ulimit -a' to determine what

Re: Changing Stack Size in Tomcat 4.130

2004-12-29 Thread Brad Neuberg
Keep in mind that I believe increasing the stack size too large can have performance implications. If I understand correctly each thread has a stack that stores process information so that as threads context switch in and out this information gets copied into and out of memory; if you

Re: Changing Stack Size in Tomcat 4.130

2004-12-29 Thread Wade Chandler
Sweta Kapadia wrote: Hi, How would I go about increasing the stack size in Tomcat? Im gettig a StackOverflowError, thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Changing Stack Size in Tomcat 4.130

2004-12-29 Thread Wade Chandler
Wade Chandler wrote: Sweta Kapadia wrote: Hi, How would I go about increasing the stack size in Tomcat? Im gettig a StackOverflowError, thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Changing Stack Size in Tomcat 4.130

2004-12-29 Thread Brad Neuberg
At 02:09 PM 12/29/2004, you wrote: Sweta Kapadia wrote: Hi, How would I go about increasing the stack size in Tomcat? Im gettig a StackOverflowError, thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: web.xml uses non-validating xml?

2004-12-29 Thread D. Stimits
Jacob Kjome wrote: Quoting D. Stimits [EMAIL PROTECTED]: Peter Crowther wrote: From: D. Stimits [mailto:[EMAIL PROTECTED] I'm trying to debug something, and the individual webapps/myapp/WEB-INF/web.xml file seems to be a bit of an enigma to me. [...] I went to the DTD's to see what was written

Re: web.xml uses non-validating xml?

2004-12-29 Thread Mark Miesfeld
On Wed, 29 Dec 2004 17:46:24 -0700, D. Stimits wrote: : Jacob Kjome wrote: : : I think you have to set validating to true in server.xml. Otherwise, the file : is parsed in a non-validating fashion. Sorry, don't remember exactly where you : set this, but I do seem to recall something like

Re: web.xml uses non-validating xml?

2004-12-29 Thread D. Stimits
Mark Miesfeld wrote: On Wed, 29 Dec 2004 17:46:24 -0700, D. Stimits wrote: : Jacob Kjome wrote: : : I think you have to set validating to true in server.xml. Otherwise, the file : is parsed in a non-validating fashion. Sorry, don't remember exactly where you : set this, but I do seem to

Apache and Tomcat VirtualHost Config Problem

2004-12-29 Thread Aphra Behn
Hi, I am currently using Apache httpd 2.0.52, Tomcat 5.0.28 and mod_jk2 configured with workers2.properties and so that tomcat can listen to apache requests. I want Apache httpd to serve static files and Tomcat to serve dynamic files (ex. jsp's). This all works fine if I have all dynamic files

tomcat error page

2004-12-29 Thread alis asma alias
When there is an error in our web application, Tomcat will produce and error page that list down all the Exception stack trace and also THe version of the Apache Tomcat. To avoid displaying the default error page and to customize the error page, where should we configure it?

Re: web.xml uses non-validating xml?

2004-12-29 Thread Mark Miesfeld
On Wed, 29 Dec 2004 18:23:00 -0700, D. Stimits wrote: : Mark Miesfeld wrote: : : From the docs at: : : http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html : : I'm using 5.0, not 5.5. Are the configurations for 5.5 and 5.0 identical? It looks like it. Change the URL above to

Re: tomcat error page

2004-12-29 Thread Ben Souther
On Wed, 2004-12-29 at 21:33, alis asma alias wrote: When there is an error in our web application, Tomcat will produce and error page that list down all the Exception stack trace and also THe version of the Apache Tomcat. To avoid displaying the default error page and to customize the error

Re: Session restart replication when using jsvc

2004-12-29 Thread Bill Barker
This is the old, buggy, code that ships with Tomcat. You need to get the code from commons-daemon CVS HEAD if you want shutdowns (and restarts) to work properly. Wade Chandler [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Trond G. Ziarkowski wrote: Hi Wolfgang! by using signal

RE: I need to configure logs on my virtual hosting

2004-12-29 Thread Amit Gupta
Hi Bob, I am using tomcat 5.0. I found that logger is used below tomcat 5.5.0. Can I use logger in context.xml in mywebapp/META-INF/context.xml? Amit Gupta Mobile: 91-9818052171 Yahoo IM: amitguptainn MSN IM : amitguptainn -Original Message- From: Roberto Rios [mailto:[EMAIL

Servletexception from nowhere :/

2004-12-29 Thread Peter Lauri
Best groupmember, I use the CommonFileUpload package to handle file uploads. I am trying to get it to work by using the first basic method (from a user-tutorial). The servlets compiles correctly in Eclipse, and I have all the libs at the correct places. Servlet-api.jar and jsp-api.jar is in the

Where do I set the -server option?

2004-12-29 Thread Michael Kastner
Hello, does anybody know where to set the -server option on a linux machine? Thanks Michael Kastner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

jsvc alternatives?

2004-12-29 Thread Michael Kastner
Hello, it seems like jsvc runs very unstable on my linux system. Does anybody know any alternatives to jsvc? Greetings Michael Kastner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL