Re: mod_jk load balancer questions

2006-08-02 Thread Rainer Jung
> example: > localhost/abc.html;jsessionid=afsdfasdf?test=abc > or > localhost/abc.html?;jsessionid=adsfasdf&test=abc > > which of the above is correct? The first one. Rainer - To start a new topic, e-mail: users@tomcat.apache

RE: Unable to compile the Jsp in Tomcat

2006-08-02 Thread Tejas Bavishi
Hello You can shutdown the tomcat. Delete all the contents under folder. Restart the tomcat. Now check if this thing works. Thanks Tejas devteam_matsys <[EMAIL PROTECTED]> 08/03/2006 10:42 AM Please respond to "Tomcat Users List" To users@tomcat.apache.org cc Subject Unable to compile the

Re: Unable to compile the Jsp in Tomcat

2006-08-02 Thread Uday K Sarvasiddhi
Hi , Set the class path for the jasper-runtime.jar file .Hope it works ! Regards, Uday, IBM devteam_matsys <[EMAIL PROTECTED]> 08/03/2006 10:42 AM Please respond to "Tomcat Users List" To users@tomcat.apache.org cc Subject Unable to compile the Jsp in Tomcat Hi, I am using j2sd

Re: Unable to compile the Jsp in Tomcat

2006-08-02 Thread Li
"java.io.FileNotFoundException: D:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\SolareMP\web\Helpdeskhome_jsp.java (The system cannot find the path specified)" . Make sure the path is existed. i saw localhost here, are you using context path? It seems like your path

Re: Unable to compile the Jsp in Tomcat

2006-08-02 Thread Li
Check the permission of the path On 8/3/06, devteam_matsys <[EMAIL PROTECTED]> wrote: Hi, I am using j2sdk1.4.0_02 and tomcat4.1.12. when i invoke the application, i got this type of exception. when referesh the frame, then the jsp is compiled and loaded properly. Classpath and Environment var

Unable to compile the Jsp in Tomcat

2006-08-02 Thread devteam_matsys
Hi, I am using j2sdk1.4.0_02 and tomcat4.1.12. when i invoke the application, i got this type of exception. when referesh the frame, then the jsp is compiled and loaded properly. Classpath and Environment variable are set correctly. HTTP Status 500 - -

Re: Enabling https with a IBM JVM

2006-08-02 Thread Bill Barker
"William Chu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks Bill, > > Where do I add the include algorithm="IbmX509"? Which file should I > add that in? > In server.xml as an attribute to the tag. > I am using Sun's JSSE jar files (jsse.jar, jcert.jar, and jnet.jar) > bu

Re: Enabling https with a IBM JVM

2006-08-02 Thread William Chu
Thanks Bill, Where do I add the include algorithm="IbmX509"? Which file should I add that in? I am using Sun's JSSE jar files (jsse.jar, jcert.jar, and jnet.jar) but I'm just using an IBM JVM. Will that work? If not, is there some documentation that you can point me to so that I can confirm tha

Re: Enabling https with a IBM JVM

2006-08-02 Thread Bill Barker
"William Chu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I am trying to enable https on Tomcat 3.3.1. I am using an IBM JVM. > When I go to the url https://, I see the following exception. > In my browser, I get a 503 message saying that the "Server is > starting". >

Re: Silent install of tomcat 4.1.31 on windows fails

2006-08-02 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > Hi, > > Thanks for the confirmation. I also tested with > 4.1.32 beta and had the same experience. > > I filed bug 40171 about this issue. > http://issues.apache.org/bugzilla/show_bug.cgi?id=40171 > > I'm new to this list. Is there much likelihood of > this ge

Re: WAR deployments and uploaded files...

2006-08-02 Thread Mark Thomas
Moises Lejter wrote: > Is there a best practice I should be considering here? How about this for a quick and dirty approach. Use two contexts. One for your app and one, with webDAV enabled, for any uploaded content. That way, any application updates won't change the content. Mark --

Re: Enabling https with a IBM JVM

2006-08-02 Thread William Chu
Hello, I am trying to enable https on Tomcat 3.3.1. I am using an IBM JVM. When I go to the url https://, I see the following exception. In my browser, I get a 503 message saying that the "Server is starting". org.apache.tomcat.core.TomcatException: Root cause - Class com.ibm.jsse.bt configured

Re: Security issue

2006-08-02 Thread Mark Thomas
Frank Peters wrote: > Hi, > > I found the following security issue at security focus: > > http://www.securityfocus.com/bid/19106/info > > In my opinion, this issue is fixed with #37150 in 5.5.13 because directory > listing is disabled by default, isn't it? > > Regards > Frank In short, yes.

Re: [OT: Apache] Re: Virtual Hosting with Apache and mod_jk

2006-08-02 Thread Christopher Schultz
Eric, > So all I need besides the > workers.properties entries you mentioned previously, is to make sure > that virtual hosts in httpd.conf have the JkMounts pointed to the > worker I choose. That worker's port must coincide with a Connector > configuration in the server.xml for an instance of tom

Re: How to identify busy Tomcat threads

2006-08-02 Thread Bill Barker
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > When i look at the Tomcat status page via the browser, if it tells me that > all the threads are busy - but the details of each of the connections > indicates that these connections are in "k" - keep alive stage. Is there > a > way

How to identify busy Tomcat threads

2006-08-02 Thread Ramdas . Hegde
When i look at the Tomcat status page via the browser, if it tells me that all the threads are busy - but the details of each of the connections indicates that these connections are in "k" - keep alive stage. Is there a way to tell using this status page or any other method if these Tomcat thread

Re: [OT: Apache] Re: Virtual Hosting with Apache and mod_jk

2006-08-02 Thread Eric Berry
Chris, Thank you so very much for all the help. So all I need besides the workers.properties entries you mentioned previously, is to make sure that virtual hosts in httpd.conf have the JkMounts pointed to the worker I choose. That worker's port must coincide with a Connector configuration in the

RE: Ant Build Problem Undeploying Struts App from Tomcat

2006-08-02 Thread Warren
; To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > __ NOD32 1.1689 (20060802) Information __ > > This message was checked by NOD32 antivirus system. > http://w

Re: [OT: Apache] Re: Virtual Hosting with Apache and mod_jk

2006-08-02 Thread Christopher Schultz
Eric, > However, I do not see anything regarding mod_jk in the txt. When > setting up multiple instances, do I need to have mod_jk on different > ports? Do I need to specify different Connector elements in the > different server.xml files? Each one pointing to a different port? You'll need more t

Re: Ant Build Problem Undeploying Struts App from Tomcat

2006-08-02 Thread Moises Lejter
Could it be that you are missing a antiJARLocking="true"somewhere in your tomcat config? Moises "Warren" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I am running Tomcat 5.5.3 on a Windows XP box. When I run my Ant build task > to "undeploy" my webapp, it deletes everything exce

Re: cpu 100% java

2006-08-02 Thread Justin Spies
Damn copy and paste. I've re-edited for the missing details below, my apologies. Quoting Justin Spies <[EMAIL PROTECTED]>: ... The VSIZE question--when the JVM starts, it places a hold on the memory it thinks is needed. So if you allocate a maximum heap of 256MB + the permanent size of

Re: cpu 100% java

2006-08-02 Thread Justin Spies
Ben, For various reasons, I've had to send this response using your original message. I've included below some of the feedback provided by Chris since I'm pretty sure I'v read the entire thread so far... I've run into this type of issue many times as well, memory management definitely is no

mod_jk load balancer questions

2006-08-02 Thread vin
Hi I a question about the load balancer in mod_jk. I have got the load balancer and sticky sessions to work using cookies and JSESSIONID cookie name. I looked at the mod_jk code and for url rewriting it expects a ;jsessionid in the http request. My question is, When cookies are turned off,

place to put taglib descriptors

2006-08-02 Thread Marten Lehmann
Hello, currently (in a 2.4 container) I'm putting mit taglib descriptors in the directory WEB-INF/lib. This directory is automatically in the application classpath. But the WEB-INF/lib is already fairly full with different .jars so I would like to put the taglib descriptors in a separate dir

Re: cpu 100% java

2006-08-02 Thread Benjamin Adams
On Aug 2, 2006, at 4:18 PM, Christopher Schultz wrote: Ben, How much ram do I set? Load Avg: 1.30, 1.28, 1.22 CPU usage: 51.3% user, 8.4% sys, 40.3% idle SharedLibs: num = 137, resident = 22.8M code, 3.20M data, 6.41M LinkEdit MemRegions: num = 7345, resident = 142M + 8.15M pri

Re: [OT: Apache] Re: Virtual Hosting with Apache and mod_jk

2006-08-02 Thread Eric Berry
Chris, I remembered seeing something about this when I downloaded tomcat, and managed to find this in the RUNNING.txt. == Advanced Configuration - Multiple Tomcat Instances == In many circumstances,

Re: cpu 100% java

2006-08-02 Thread Christopher Schultz
Ben, > How much ram do I set? > > Load Avg: 1.30, 1.28, 1.22 CPU usage: 51.3% user, 8.4% sys, 40.3% > idle > SharedLibs: num = 137, resident = 22.8M code, 3.20M data, 6.41M LinkEdit > MemRegions: num = 7345, resident = 142M + 8.15M private, 27.4M shared > PhysMem: 61.1M wired, 68.0M acti

Re: [OT: Apache] Re: Virtual Hosting with Apache and mod_jk

2006-08-02 Thread Christopher Schultz
Eric, > Thank you for the advice regarding multiple instances of Tomcat, this > is a great idea and I will read the documentation on it, but if there > are any pointers anyone has they'd be greatly appreciated. I don't know of any specific online documentation to point you to, but you basically s

Re: cpu 100% java

2006-08-02 Thread Benjamin Adams
On Aug 1, 2006, at 5:55 PM, Christopher Schultz wrote: Ben, I'm on OS X 10.4.7 running with weblog software (blojsom) I have to do a kill -9 on java to stop it from using 100+ on cpu sometimes, to let users connect. I assume that you also have to restart Tomcat at this point, yes? I just k

Re: [OT: Apache] Re: Virtual Hosting with Apache and mod_jk

2006-08-02 Thread Eric Berry
Hi Chris, On 8/2/06, Christopher Schultz <[EMAIL PROTECTED]> wrote: Eric, >/*.jsp ajp13 >/*.do ajp13 I assume these lines say "JkMount" before the paths...? This is correct, sorry (bad rectangular copy). Are you using "name based virtual hosting" -- meaning that the hostname

Re: programmatically sending tomcat a socket?

2006-08-02 Thread Adam Fisk
OK interesting. I'll look into it. I don't have a good enough handle on the Tomcat code base to undertand how it all plugs together, but this sounds like a great starting point. Thanks! -Adam On 7/31/06, Peter Crowther <[EMAIL PROTECTED]> wrote: > From: Adam Fisk [mailto:[EMAIL PROTECTED]

RE: Silent install of tomcat 4.1.31 on windows fails

2006-08-02 Thread ehawkes
Hi, Thanks for the confirmation. I also tested with 4.1.32 beta and had the same experience. I filed bug 40171 about this issue. http://issues.apache.org/bugzilla/show_bug.cgi?id=40171 I'm new to this list. Is there much likelihood of this getting fixed post-beta for 4.1.32, or is the b

Re: SSL does not work on work.

2006-08-02 Thread Filip Hanik - Dev Lists
try using https for secure transport, ie, https://localhost:8443 ^ Chandra Muppavarapu wrote: Folks, I am trying to turn on SSL on my tomcat running as a webserver. I have followed the steps in the following link but my SSL still does not work. http://tomcat.apache.org/tomcat-5.5-doc/ss

[OT: Apache] Re: Virtual Hosting with Apache and mod_jk

2006-08-02 Thread Christopher Schultz
Eric, >/*.jsp ajp13 >/*.do ajp13 I assume these lines say "JkMount" before the paths...? > This works great when I set up my hosts file to point > www.townsfolkdesigns.com to the correct IP of my server box. > > However, if I try to access the server directly by IP, I get a 403

Re: Tomcat won't die: Help with interpreting this thread dump

2006-08-02 Thread Christopher Schultz
gb, > Our tomcat was non-responsive, and catalina.out had several > 'java.lang.OutOfMemory' errors. So this isn't totally unknown to us > (our apps leak a bit of memory, plus we're running on a small JVM). Don't forget that pretty much all bets are off of you get an OutOfMemoryError. The JVM has

SSL does not work on work.

2006-08-02 Thread Chandra Muppavarapu
Folks, I am trying to turn on SSL on my tomcat running as a webserver. I have followed the steps in the following link but my SSL still does not work. http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html When I type in http://localhost:8443 I get a blank screen. I tried to begug it by tur

Virtual Hosting with Apache and mod_jk

2006-08-02 Thread Eric Berry
Hi all, I'm still pretty new to this. I'm trying to set up a home server for testing and learning purposes, and I'm having some troubles setting up virtual hosts with Apache and mod_jk. I have created a virtual host in my httpd.conf: DocumentRoot /opt/projects/www/com/townsfolkdesigns/w

Re: Ant Build Problem Undeploying Struts App from Tomcat

2006-08-02 Thread Filip Hanik - Dev Lists
since 5.5.x is currently at .17, what don't you upgrade to that, before you call deploy, make sure you call remove/undeploy if the problem persists, post what is going wrong Warren wrote: I am running Tomcat 5.5.3 on a Windows XP box. When I run my Ant build task to "undeploy" my webapp, it dele

Ant Build Problem Undeploying Struts App from Tomcat

2006-08-02 Thread Warren
I am running Tomcat 5.5.3 on a Windows XP box. When I run my Ant build task to "undeploy" my webapp, it deletes everything except the struts.jar file. When I run my Ant "deploy" task it fails stating that an "Application already exists at path /...". I just updated to Tomcat 5.5.3 from 5.5.1. Every

Re: HTTP Status 404 - /jsp-examples/

2006-08-02 Thread Lou Caudell
sumit kumar wrote: try to uncommented code in web.xml in tomcat/conf servlet invoker and servlet-mapping tags. and restart your tomcat again. good luck On 8/2/06, Propes, Barry L <[EMAIL PROTECTED]> wrote: that may need to be reconfigured in the server.xml file, within the Context path area.

Re: tomcat 5.0 maintenance

2006-08-02 Thread Filip Hanik - Dev Lists
There is an interest and willingness to maintain, to my best knowledge we haven't received any complaints on fixes needed for 5.0.30-beta but once we have a list of required bug fixes, we can start working on it and issue a release Filip Frank Peters wrote: Hi, can someone give me a hint, if

WAR deployments and uploaded files...

2006-08-02 Thread Moises Lejter
Imagine that you wanted to allow the user to upload files to your web app, that you then wanted to save – say for example web pages that you wanted them to upload to your web app to display…   My first thought was, my web app can only write to /WEB-INF, so I should put these files there.

Re: HTTP Status 404 - /jsp-examples/

2006-08-02 Thread sumit kumar
try to uncommented code in web.xml in tomcat/conf servlet invoker and servlet-mapping tags. and restart your tomcat again. good luck On 8/2/06, Propes, Barry L <[EMAIL PROTECTED]> wrote: that may need to be reconfigured in the server.xml file, within the Context path area. -Original Mess

Re: [OT?] Servlet, redirect and progress-monitoring?

2006-08-02 Thread sumit kumar
hi, Which web server platform you are using.We have webserver on Linux. And it run very fast.Do you have checked memory size allocatement to pdf file On 8/2/06, Giorgio Corito <[EMAIL PROTECTED]> wrote: Hi Kristian look at http://coldjava.hypermart.net/servlets/waittag.htm I hope this will he

Re: Install on XP Home edition

2006-08-02 Thread sumit kumar
Hi, Have you install java on your machine,If not first install jvm on your system and set environment variables JAVA_HOME in windows xp. Define here jdk path to access your web application and tomcat You can take reference from this one http://www.easywayserver.com/tomCon.htm good luck On 8/2/

Tomcat weird exception

2006-08-02 Thread Htin Kyaw Nyo
Hello, I have posted this earlier and I still couldnt figure out. I am using tomcat 5.0.16, and struts1.1 and I am getting lots of warnings in tomcat console like: ParserUtils: warning org.xml.sax.SAXParseException: URI was not reported to parser for entity [document] ParserUtils: warning org.xm

Re: Install on XP Home edition

2006-08-02 Thread Htin Kyaw Nyo
Seems like JAVA_HOME has not been defined or wrong java version. check tomcat/logs/catalina.out On 8/2/06, Lou Caudell <[EMAIL PROTECTED]> wrote: McRaven, Brian wrote: > I installed Tomcat 5.5.17 on my home computer so that I can test my > project when I'm away from work. After completing the

Tomcat won't die: Help with interpreting this thread dump

2006-08-02 Thread gb1071nx
Hello and apologies in advance for the HTML formatting (not sure how to turn it off in outlook web access). Our tomcat was non-responsive, and catalina.out had several 'java.lang.OutOfMemory' errors. So this isn't totally unknown to us (our apps leak a bit of memory, plus we're running on a sm

TimeoutException

2006-08-02 Thread Ramdas . Hegde
Had a couple of questions on Tomcat 5.0 behaviour on Linux 1. How would i interpret the "minSpareThreads" attribute in the AJP connector element in server.xml? The document says that it is the number of threads that Tomcat initially starts up with and also the minimum number of idle threads that

RE: HTTP Status 404 - /jsp-examples/

2006-08-02 Thread Propes, Barry L
that may need to be reconfigured in the server.xml file, within the Context path area. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, July 31, 2006 8:25 PM To: users@tomcat.apache.org Subject: HTTP Status 404 - /jsp-examples/ Can't get the jsp-examp

Re: Install on XP Home edition

2006-08-02 Thread Lou Caudell
McRaven, Brian wrote: I installed Tomcat 5.5.17 on my home computer so that I can test my project when I'm away from work. After completing the steps from a website (www.codeservlets.com) I try the startup.bat file in the bin directory. The program runs for a very short time and quits before I

Tomcat SAXParseException

2006-08-02 Thread Htin Kyaw Nyo
Hello, I am using tomcat 5.0.16, and struts1.1 and I am getting lots of warnings in tomcat console like: ParserUtils: warning org.xml.sax.SAXParseException: URI was not reported to parser for entity [document] ParserUtils: warning org.xml.sax.SAXParseException: No base URI; hope URI is absolute:

Re: [OT?] Servlet, redirect and progress-monitoring?

2006-08-02 Thread Giorgio Corito
Hi Kristian look at http://coldjava.hypermart.net/servlets/waittag.htm I hope this will help you. Bye Giorgio Kristian Rink ha scritto: Hi all, being aware that this is not a question strictly tomcat-relevant, lacking a really good mailing-list for discussions closer to the J2EE background its

Security issue

2006-08-02 Thread Frank Peters
Hi, I found the following security issue at security focus: http://www.securityfocus.com/bid/19106/info In my opinion, this issue is fixed with #37150 in 5.5.13 because directory listing is disabled by default, isn't it? Regards Frank -- "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ... J

RE: Tomcat Cluster

2006-08-02 Thread Tim Lucia
It means only one of the two tomcats has a context named /edac. You need to either deploy the edac.war on the 2nd tomcat, or use the farm deployer feature of the cluster. Tim > -Original Message- > From: Ralf Schneider [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 01, 2006 6:29 PM

httpd and tomcat session get expired after login

2006-08-02 Thread sumit kumar
Hi, We have three tomcat web server and one apache httpd web server and tomcat get all request through httpd web server request . We are using mod_jk connector for communication AJP13 between tomcat and apache web server.Currently we are using load balancing of mod_jk connector on three tomcat w

Re: [OT?] Servlet, redirect and progress-monitoring?

2006-08-02 Thread Christopher Schultz
Kristian, David Smith wrote: > I suspect what you really have to do is set the PDF generation off into > a background thread, storing a reference to the thread in the session. > Then return with a refresh every 10 - 15 seconds until the thread > finishes. Clean up after the thread so you don't e

RE: Install on XP Home edition

2006-08-02 Thread Peter Crowther
> From: McRaven, Brian [mailto:[EMAIL PROTECTED] > After completing the steps from a > website (www.codeservlets.com) I try the startup.bat file in the bin > directory. The program runs for a very short time and quits before I > can read the one and only line that is written in the DOS > screen.

Re: [OT?] Servlet, redirect and progress-monitoring?

2006-08-02 Thread David Smith
I suspect what you really have to do is set the PDF generation off into a background thread, storing a reference to the thread in the session. Then return with a refresh every 10 - 15 seconds until the thread finishes. Clean up after the thread so you don't end up with memory leaks and possib

Install on XP Home edition

2006-08-02 Thread McRaven, Brian
I installed Tomcat 5.5.17 on my home computer so that I can test my project when I'm away from work. After completing the steps from a website (www.codeservlets.com) I try the startup.bat file in the bin directory. The program runs for a very short time and quits before I can read the one and onl

tomcat 5.0 maintenance

2006-08-02 Thread Frank Peters
Hi, can someone give me a hint, if tomcat 5.0.x is still a maintained version? The most recent version 5.0.30-beta was published in Nov 2004 and I found no fix branch in the links to the svn repository on the homepage. Regards Frank -- -- Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch

[OT?] Servlet, redirect and progress-monitoring?

2006-08-02 Thread Kristian Rink
Hi all, being aware that this is not a question strictly tomcat-relevant, lacking a really good mailing-list for discussions closer to the J2EE background itself, I hope for some input by all the gurus out there. I'm into a situation like this: A servlet gathers statistical information across th

Re: Tomcat 5.5 and IPv6 configuration (solved)

2006-08-02 Thread Hans Müller
Ok, I solved the problem by changing a kernel parameter # sysctl -w net.inet6.ip6.v6only=0 This enables Tomcat to bind to IPv4 as well as IPv6 addresses. In that case, the shutdown port binds to 127.0.0.1 (it is not important to me that this is a IPv4 address) and the other ports bind to whate