RE: encoding in URI after form-based redirect

2008-10-27 Thread Caldarale, Charles R
From: Maxim Kuleshov [mailto:[EMAIL PROTECTED] Subject: encoding in URI after form-based redirect Question refers to 5.5 branch (5.5.25 from ubuntu repos). If possible, try the problem URI with the latest 5.5 version from the Tomcat web site. I use useBodyEncodingForURI=true mode in

RE: Tomcat clustering

2008-10-27 Thread Caldarale, Charles R
From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat clustering I would like to cluster two different applications in same machine (each in different Tomcat instance). That's not clustering - it's just two separate Tomcat installations. Clustering is defined as the *same*

RE: Tomcat Cluster and NFS mounted webapp

2008-10-27 Thread Caldarale, Charles R
From: forum123 [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Cluster and NFS mounted webapp How do I set so that just the work directory is different per instance? Look at the workDir attribute of the Host and Context elements. By the way, you might want to consider moving up to a more

RE: How to watch active sessions size

2008-10-28 Thread Caldarale, Charles R
From: Hugo Palma [mailto:[EMAIL PROTECTED] Subject: Re: How to watch active sessions size Isn't Lambdaprobe dead ? The web site is currently down, but many of us have the (open) source and .war file. Let me know if you want a copy. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

RE: How to watch active sessions size

2008-10-28 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: How to watch active sessions size Chuck will surely correct me on that, but the actual size of an object is extremely dependent on the VM implementation (boolean stored in integer, object header overhead, and so on...) Correct as

RE: Questions regarding MaxPermGen

2008-10-28 Thread Caldarale, Charles R
From: Robert J Morman [mailto:[EMAIL PROTECTED] Subject: Questions regarding MaxPermGen 1. In Tomcat6w.exe, I set one java_opt to include -XX:MaxPermGen=128m, but the tomcat service then does not start up. It's MaxPermSize, not MaxPermGen; invalid options will stop the JVM during

RE: Depoy as different URL than default war file name

2008-10-28 Thread Caldarale, Charles R
From: Mohit Anchlia [mailto:[EMAIL PROTECTED] Subject: Re: Depoy as different URL than default war file name This is what my logs say INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 So does it mean I can use New#App.war? That's what Mark said. You could just try it... - Chuck THIS

RE: Performance of tomcat

2008-10-28 Thread Caldarale, Charles R
From: Mohit Anchlia [mailto:[EMAIL PROTECTED] Subject: Performance of tomcat Is there a module like mod_status in apache that reports the stats of number of connections, load of threads, number of active threads etc.? The manager app displays some of that information, as does Lambda Probe.

RE: Performance of tomcat

2008-10-28 Thread Caldarale, Charles R
From: Mohit Anchlia [mailto:[EMAIL PROTECTED] Subject: Re: Performance of tomcat I am looking at following Url but doesn't seem to have that information: http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Usi ng%20the%20JMX%20Proxy%20Servlet I've never touched the JMX Proxy

RE: basic help with tomcat5

2008-10-28 Thread Caldarale, Charles R
From: Tim Potter [mailto:[EMAIL PROTECTED] Subject: basic help with tomcat5 Currently, I am trying to get an instance of tomcat running on a FC6 box. I wouldn't waste my time trying to repair what looks really messed up. I'd suggest downloading a fresh copy from the Tomcat web site and

RE: Force getting Client Cert from browser

2008-10-28 Thread Caldarale, Charles R
From: atul [mailto:[EMAIL PROTECTED] Subject: Re: Force getting Client Cert from browser I tried invalidating httpsession but that didnt work. I'm a bit surprised at that, but I haven't gone through the code enough to figure out why that didn't work. There's a tangentially related thread

RE: An issue concerning authentication in Tomcat hosted web application

2008-10-29 Thread Caldarale, Charles R
From: Nar Karapetyan [mailto:[EMAIL PROTECTED] Subject: An issue concerning authentication in Tomcat hosted web application This snippet says that any url ending with .action or .jsp should be authenticated first, and works OK. However, I need to exclude some specific urls which end with

RE: Tomcat memory increasing without any activity on our webapp

2008-10-30 Thread Caldarale, Charles R
From: Pierre Goupil [mailto:[EMAIL PROTECTED] Subject: Tomcat memory increasing without any activity on our webapp When we start it up without any surfing on it or without any activity of any kind, the JVM memory first goes to some level, then stays at this level for 5-10 minutes and after

RE: Convenient web application configuration.

2008-10-30 Thread Caldarale, Charles R
From: Jason Cipriani [mailto:[EMAIL PROTECTED] Subject: Convenient web application configuration. Is there a better place I can store site-specific configuration options? Read the doc: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Context%20Parameters Is there some other way

RE: Howto ip-protect a specific url in webapp?

2008-10-30 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Howto ip-protect a specific url in webapp? I can restrict the whole /foo by using valve in /etc/tomcat5/Catalina/localhost/foo.xml but howto protect only /foo/admin? Either put the check in the servlet that handles /foo/admin, or

RE: Convenient web application configuration.

2008-10-30 Thread Caldarale, Charles R
From: br1 [mailto:[EMAIL PROTECTED] Subject: Re: Convenient web application configuration. The easiest way is to place Context and the different Resource elements into each Tomcat's server.xml file. Certainly not easiest by any definition of the term that I'm familiar with, especially in a

RE: relation between Tomcat and Apache Commons

2008-10-30 Thread Caldarale, Charles R
From: Petr Sumbera [mailto:[EMAIL PROTECTED] Subject: Re: relation between Tomcat and Apache Commons Btw I don't see any benefit using jsvc. Is somebody using it? Why? Judging from the comments on this list, many people are using it. The primary reason is to avoid running Tomcat as root

RE: relation between Tomcat and Apache Commons

2008-10-30 Thread Caldarale, Charles R
From: Andrew Ralph Feller, afelle1 [mailto:[EMAIL PROTECTED] Subject: Re: relation between Tomcat and Apache Commons it seems possible to run Tomcat on a non-privileged port with a non-root account and have requests for port 443 redirected to Tomcat's listening port. Of course - but it

RE: Logging

2008-10-30 Thread Caldarale, Charles R
From: Mohit Anchlia [mailto:[EMAIL PROTECTED] Subject: Re: Logging Thanks ..but I don't see that reply from Filip. Could you please give that to me. Look in the archives for your threads. The main page: http://marc.info/?l=tomcat-user This month:

RE: Version 6.0.18 of Tomcat -- Web.xml file and file/directory structure

2008-10-30 Thread Caldarale, Charles R
From: John Byrne [mailto:[EMAIL PROTECTED] Subject: RE: Version 6.0.18 of Tomcat -- Web.xml file and file/directory structure Attached is my web.xml file. Your web.xml file is completely wrong for your test application. All of those extra filters, listeners, and servlets which aren't

RE: Logging

2008-10-30 Thread Caldarale, Charles R
From: Mohit Anchlia [mailto:[EMAIL PROTECTED] Subject: Re: Logging But I quite didn't understand what tomcat-juli.jar is and how it will help with this issue. The tomcat-juli.jar provides the APIs that core Tomcat code calls; in the standard distribution, this is a streamlined and renamed

RE: antioJarLocking not working

2008-10-30 Thread Caldarale, Charles R
From: James Ravn [mailto:[EMAIL PROTECTED] Subject: Re: antioJarLocking not working jruby-rack makes a call to the ServletContext's getRootPath() method No such animal; perhaps you mean getRealPath()? It looks like this is returning the erroneous /temp-appname which doesn't exist. Works

RE: How to find tomcat's- window service parameters

2008-10-31 Thread Caldarale, Charles R
From: Thangavel Sankaranarayanan [mailto:[EMAIL PROTECTED] Subject: Re: How to find tomcat's- window service parameters First off, always tell us what version of Tomcat you're using. Since you didn't bother to do that, we'll talk about Tomcat 6.0. Thanks for the reply and i can find the

RE: Jsp precompiling..

2008-10-31 Thread Caldarale, Charles R
From: hergele [mailto:[EMAIL PROTECTED] Subject: Jsp precompiling.. I have a jsp file for precompile all jsp's..(precompile.jsp) Like this : http://www.rgagnon.com/javadetails/java-0414.html So.. I have to send a request to this jsp before the tomcat has started. Why don't you pre-compile

RE: Session timeout problem in tomcat

2008-10-31 Thread Caldarale, Charles R
From: Thangavel Sankaranarayanan [mailto:[EMAIL PROTECTED] Subject: Session timeout problem in tomcat I need the sessiontimeout for 5 hours. I already set in by webapps/myapp/web.xml file as Did you really put your web.xml file in that location? If so, it will be ignored; the proper place

RE: Problem to install APR Tomcat Native Library

2008-10-31 Thread Caldarale, Charles R
From: Serge Fonville [mailto:[EMAIL PROTECTED] Subject: Re: Problem to install APR Tomcat Native Library In tomcat 6 you need to specify an executor to define minSpareThreads and maxSpareThreads (altough this isn't required, IIRC/AFAIK)

RE: Logging

2008-10-31 Thread Caldarale, Charles R
From: Mohit Anchlia [mailto:[EMAIL PROTECTED] Subject: Re: Logging I meant to ask is it ready dynamically when catalina is already running. I don't think the log4j config is reread after initialization, but you'd have to check the log4j doc to see if there's some trigger you can use. You

RE: All threads (200) are currently busy

2008-10-31 Thread Caldarale, Charles R
From: AD [mailto:[EMAIL PROTECTED] Subject: All threads (200) are currently busy First, you need to provide some environmental information: Tomcat version, OS, JVM version, etc. I am trying to find out after doing some load testing why tomcat is getting hung up on some threads. Put the

RE: Logging

2008-10-31 Thread Caldarale, Charles R
From: Mohit Anchlia [mailto:[EMAIL PROTECTED] Subject: Re: Logging Thanks for answering my questions. How can I make it a watched resource? By reading the doc: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Nested%20Components Look at the global Context element in

RE: All threads (200) are currently busy

2008-10-31 Thread Caldarale, Charles R
From: AD [mailto:[EMAIL PROTECTED] Subject: Re: All threads (200) are currently busy Whats the best way to get the thread dump and find out what process is hung in the webapp ? Since you're on a 1.6 JVM, the jstack tool from the JDK is probably the easiest. (Use jps to find the pid first.)

RE: Blocked threads in tomcat

2008-10-31 Thread Caldarale, Charles R
From: emerson cargnin [mailto:[EMAIL PROTECTED] Subject: Blocked threads in tomcat Below is the JConsole result, you can see that there are a lot of blocked threads on there. Stack trace: java.lang.Object.wait(Native Method) org.apache.commons.httpclient.MultiThreadedHttpConnectionManag

RE: All threads (200) are currently busy

2008-10-31 Thread Caldarale, Charles R
From: AD [mailto:[EMAIL PROTECTED] Subject: Re: All threads (200) are currently busy will it provide more info than what is in the kill -QUIT from above ? What above are you talking about? The jstack tool with the -l option provides the most information; kill -3 is very similar, but omits

RE: All threads (200) are currently busy

2008-10-31 Thread Caldarale, Charles R
From: AD [mailto:[EMAIL PROTECTED] Subject: Re: All threads (200) are currently busy the pastie link that I sent in my original post which was a kill -QUIT when the problem was happening. Sorry, didn't realize that was a link to something useful. There are a few threads waiting for input on

RE: JSP recompiles on every access - Tags in jar

2008-10-31 Thread Caldarale, Charles R
From: Ron McNulty [mailto:[EMAIL PROTECTED] Subject: JSP recompiles on every access - Tags in jar To my consternation, performance was terrible, and it turned out all JSPs (and their embedded custom tags) were being recompiled on every page access. Check that the timestamps on the files

RE: Thread Dumps/ Emailing Results...

2008-11-01 Thread Caldarale, Charles R
From: keeplearning [mailto:[EMAIL PROTECTED] Subject: Thread Dumps/ Emailing Results... So, do i need to supply process id with this command. Like: kill -3 process id. That's one way to do it. My preference is to use the jstack tool from the JDK, assuming you're running a 1.5 or 1.6 Sun

RE: All threads (200) are currently busy

2008-11-01 Thread Caldarale, Charles R
From: AD [mailto:[EMAIL PROTECTED] Subject: Re: All threads (200) are currently busy And yes these were all http requests for the web applicatoin for our load test. The wasn't quite the question. Are the requests being sent through your httpd front end on the AJP port, or direct to Tomcat

RE: Thread Dumps/ Emailing Results...

2008-11-01 Thread Caldarale, Charles R
From: keeplearning [mailto:[EMAIL PROTECTED] Subject: RE: Thread Dumps/ Emailing Results... 1) I tried using following to mail the file as attachment (we are also using MS Outlook): mail -s Subject:test [EMAIL PROTECTED] test.log That's using a Linux mailer, not Outlook; can't help you

RE: Thread Dumps/ Emailing Results...

2008-11-01 Thread Caldarale, Charles R
From: keeplearning [mailto:[EMAIL PROTECTED] Subject: RE: Thread Dumps/ Emailing Results... I can get pid using ps -ef | grep tomcat. Not likely. Tomcat is a Java program, so unless something on the command line includes the symbol tomcat (mine doesn't), that won't find it. Again, using

RE: All threads (200) are currently busy

2008-11-01 Thread Caldarale, Charles R
From: AD [mailto:[EMAIL PROTECTED] Subject: Re: All threads (200) are currently busy ah sorry, proxied through apache with mod_proxy_balancer on ajp port Can you try your load test directly into Tomcat on port 8080 and eliminate one variable? If that test runs satisfactorily, you'll need to

RE: Set application default

2008-11-02 Thread Caldarale, Charles R
From: WILLIAMer [mailto:[EMAIL PROTECTED] Subject: Set application default I add Context path= docBase=Com reloadable=true crossContext=true debug=0/ in server.xml. You really shouldn't do that - it's truly the lazy way out (i.e., one that will cost you more time and energy later). I dont

RE: Does the Server element have a listen address?

2008-11-04 Thread Caldarale, Charles R
From: Fu-Tung Cheng [mailto:[EMAIL PROTECTED] Subject: Does the Server element have a listen address? I have two ip addresses and I would like the server element with the shutdown port to listen on only one. The shutdown listener uses only 127.0.0.1, nothing else, which is why the doc says:

RE: Threads and blocked count value

2008-11-04 Thread Caldarale, Charles R
From: Stefano Nichele [mailto:[EMAIL PROTECTED] Subject: Threads and blocked count value I'm running tomcat 6.0.13 + jdk 1.5 in my production system and I'm a bit wondering about the number of times the Reference Handler thread has been blocked in just 3 days: 9500835 (checked using jmx)

RE: HTTPS after JDK upgrade in Firefox 3 stopped working

2008-11-04 Thread Caldarale, Charles R
From: Jozef Hovan [mailto:[EMAIL PROTECTED] Subject: HTTPS after JDK upgrade in Firefox 3 stopped working Environment: I upgraded Windows 2000 - Windows Server 2003, JDK 5u14 - JDK 6u10, Tomcat 5.5.25-5.5.27. Just for grins, can you replace the JDK 6u10 with 6u7 and try it again? Lots of

RE: [JMX] org.apache.catalina.session.StandardManager not serializable

2008-11-04 Thread Caldarale, Charles R
From: Emmanuel Soden [mailto:[EMAIL PROTECTED] Subject: Re: [JMX] org.apache.catalina.session.StandardManager not serializable Using Tomcat 5.5.27 with JDK 1.5.0_11, I'm trying to retrieve the attribute manager from the MBean Catalina:J2EEApplication=none,J2EEServer=none,

RE: Thread Dumps/ Emailing Results...

2008-11-04 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Thread Dumps/ Emailing Results... I have written a script to check for OOMs by checking catalina.out for OutOfMemoryError. When such an error is detected, I run the following commands (apologies for the line wrapping): An

RE: Tomcat Manager problem..

2008-11-05 Thread Caldarale, Charles R
From: slytheman [mailto:[EMAIL PROTECTED] Subject: Tomcat Manager problem.. Don't suppose you'd care to tell us your Tomcat version? It makes a significant difference. Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false

RE: Tomcat-native | best memory choice

2008-11-06 Thread Caldarale, Charles R
From: Chris [mailto:[EMAIL PROTECTED] Subject: Tomcat-native | best memory choice A friend of mine told me that's not a benefite to run the tomcat jvm with more than 512 MB memory, because the jvm needs more time to reorganize itself as to process the jobs. Is this statement correct? No,

RE: Tomcat multiple sub domain names configuration

2008-11-06 Thread Caldarale, Charles R
From: Ridwan [mailto:[EMAIL PROTECTED] Subject: Tomcat multiple sub domain names configuration typing both of those will just bring the Tomcat's home page from the $CATALINA_HOME/webapps/ROOT folder. The easiest way is to simply delete Tomcat's ROOT directory, and rename MyApplication to

RE: a cookie question of one Server with two tomcat server

2008-11-06 Thread Caldarale, Charles R
From: Bon [mailto:[EMAIL PROTECTED] Subject: Re: a cookie question of one Server with two tomcat server I'm not sure what's difference of JSESSIONID cookies and javax.servlet.http.Cookie, JSESSIONID is the specific cookie called out by the servlet spec to be used for tracking sessions

RE: Sol 10/apache2.0.49/tomcat 5.5.17 - Assertion failed

2008-11-07 Thread Caldarale, Charles R
From: Mark D'Amara [mailto:Mark.D'[EMAIL PROTECTED] Subject: Sol 10/apache2.0.49/tomcat 5.5.17 - Assertion failed We had a crash of tomcat across 11 independent Solaris 10 servers all within a 3 day period and all with the same error: Assertion failed: jFieldID != 0, file

RE: manifest error loading portlets (liferay)

2008-11-07 Thread Caldarale, Charles R
From: Bhatti, Shahzad [mailto:[EMAIL PROTECTED] Subject: manifest error loading portlets (liferay) I am using Tomcat 5.5 with Liferay 5.1 and I am getting following error when deploying some portlets. The code in question is scanning the META-INF/MANIFEST.MF entries in each jar in your

RE: default web app

2008-11-08 Thread Caldarale, Charles R
From: Stefano Nichele [mailto:[EMAIL PROTECTED] Subject: default web app the only restriction is that I can't rename it in ROOT. Why not? That's the simplest thing to do. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only

RE: default web app

2008-11-08 Thread Caldarale, Charles R
From: Stefano Nichele [mailto:[EMAIL PROTECTED] Subject: Re: default web app If I have an application appA that serves http://localhost:8080/appA, is there a way to have it serving also http://localhost:8080/case2 ? You can use a valve (specific to Tomcat) or a filter (supported by all

RE: TOmcat5w configuration

2008-11-09 Thread Caldarale, Charles R
From: herbison [mailto:[EMAIL PROTECTED] Subject: TOmcat5w configuration Where does the tomcat5w application get its configuration information from? The JVM location is taken from the Windows registry. The tomcat5 executable will start tomcat but tomcat5w will not(?) Do not use the

RE: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstr,ap

2008-11-10 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstr,ap I believe that this only a problem of documentation. Nope. If you followed the on-line instructions (tomcat.apache.org, 6.0, documentation, download etc..),

RE: migrating from Tomcat 5.5.x to Tomcat 6.0.x

2008-11-10 Thread Caldarale, Charles R
From: rajesh202023 [mailto:[EMAIL PROTECTED] Subject: Re: migrating from Tomcat 5.5.x to Tomcat 6.0.x But in the /lib directory all the *.jar files present in the 3 directories are not present. Some are there. What do you think is missing? Have you tried running 6.0 with your webapps yet?

RE: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstr,ap

2008-11-10 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstr,ap I think maybe yep still. I'm not saying the doc is perfect (far from it), but the OP downloaded the source, not the binary. I believe it is really not clear

RE: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstr,ap

2008-11-10 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstr,ap why are there two versions for Windows, and what would be the best usage of the one or the other version ? Now that's a good question. Since I'm not privy to

RE: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstr,ap

2008-11-10 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstr,ap Not everyone who drives a car is, or wants to be, a mechanic. It only very seldom helps. True; but if you're at the point where you're installing Tomcat, I

RE: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstr,ap

2008-11-10 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstr,ap Anyway, to wrap this up, how do we get the official Tomcat download and setup pages to say all this more clearly than they do at present ? Submit a bugzilla

RE: Setting up context.xml for an application

2008-11-10 Thread Caldarale, Charles R
From: Tim Dean [mailto:[EMAIL PROTECTED] Subject: Setting up context.xml for an application Is there something I'm missing? Is there a way to define app-specific context that does not get deleted every time I redeploy the app? Don't think so. Why don't you modify your deployment script to

RE: Issue on parsing struts.xml

2008-11-11 Thread Caldarale, Charles R
Sent: 2008 November 11, Tuesday 08:44 Subject: Issue on parsing struts.xml An error occures on parsing struts.xml The message is the following java.net.UnknownHostException: struts.apache.org I'm not a struts user, but I would guess that the XML in question has a DTD or schema reference to

RE: tomcat 5.5 memory

2008-11-11 Thread Caldarale, Charles R
From: Alberto Jesus La Rosa Agramonte [mailto:[EMAIL PROTECTED] Subject: tomcat 5.5 memory Hi, I have installed apache tomcat 5.5 and giving me problems with memory, this is the configuration that I have now This is not a proper Tomcat installation, but rather a 3rd-party repackaged

RE: Issue on parsing struts.xml

2008-11-11 Thread Caldarale, Charles R
From: Nar Karapetyan [mailto:[EMAIL PROTECTED] Subject: Re: Issue on parsing struts.xml Does that parsing take place everey time when one connects to the web application? No idea; that would be up to struts, not Tomcat. You might get more knowledgeable answers on the struts mailing list.

RE: Tomcat threads

2008-11-11 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Tomcat threads http://tomcat.apache.org/tomcat-6.0-doc/config/http.html , referring to the third paragraph of the Introduction. Note that the 6.0 doc is missing some very important attributes for the Connector element. Apparently, the

RE: Tomcat threads

2008-11-11 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat threads If you really want tight control over the thread management, you should probably use an executor The last I heard from Remy M was that the Executor performance was disappointing and they shouldn't be used.

RE: Tomcat threads

2008-11-11 Thread Caldarale, Charles R
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat threads you wont see that today any more, the executor has been fine tuned. Good to know; thanks. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only

RE: Tomcat threads

2008-11-12 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat threads recent JVMs use shared memory to share common class data (like JITed object code from java.* packages) Careful - JITed code is *not* shared - only some of the PermGen is, and that only on a -client JVM. When

RE: Tomcat threads

2008-11-12 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat threads - they would actually share (in memory) the compiled classes that are part of the standard Java library (java.* etc..) No - see my previous post. You can use JConsole to see which memory pools are shared (none on

RE: Tomcat threads, II

2008-11-12 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat threads, II We have already tried - because that is one thing we can do - to split the XML data into smaller chunks, but that does not seem to have any significant impact. Nor would I expect it to. The total amount of memory

RE: Tomcat threads, II

2008-11-12 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Tomcat threads, II -classpath :/usr/lib/jvm/java-1.5.0-sun/jre//lib/jcert.jar: /usr/lib/jvm/java-1.5.0-sun/jre//lib/jnet.jar: /usr/lib/jvm/java-1.5.0-sun/jre//lib/jsse.jar: /usr/share/tomcat5.5/bin/bootstrap.jar:

RE: Tomcat Performance

2008-11-12 Thread Caldarale, Charles R
From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Performance David, was replying to Charles's earlier email on that. I thought I read it right first in the email and assumed Charles was correct in that. Assuming you're referring to me, I have not commented on this thread

RE: Tomcat 6 startup error

2008-11-12 Thread Caldarale, Charles R
From: rajesh202023 [mailto:[EMAIL PROTECTED] Subject: Tomcat 6 startup error I am getting the following error when I try to start Tomcat 6. What exact version of Tomcat? What JVM are you using? Which version of Windows are you using? Supplying adequate information and being precise will

RE: How to set JAVA_OPTS variable in tomcat6.0.16

2008-11-12 Thread Caldarale, Charles R
From: Marco Antonio [mailto:[EMAIL PROTECTED] Subject: Re: How to set JAVA_OPTS variable in tomcat6.0.16 Hi, just need to have the variable JAVA_OPTS exported. # export JAVA_OPTS=-Xms1024m -Xmx1024m That works for Linux (except for the leading # that turns it into a comment), but says

RE: Tomcat threads, II

2008-11-12 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat threads, II I have turned it off now, and restarted Tomcat, but it did not have any noticeable impact on the startup time. Wouldn't expect it to, since you're spending nearly all the time parsing that XML file. It may have

RE: Tomcat threads

2008-11-12 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat threads PermGen seems like an odd item to share... though I guess all those java.lang.Package, java.lang.Class, java.lang.Method, etc. objects can really beat a system down. The sharing is not for capacity purposes,

RE: Get Security subject from Tomcat

2008-11-12 Thread Caldarale, Charles R
From: Arash Bizhan zadeh [mailto:[EMAIL PROTECTED] Subject: Get Security subject from Tomcat Is there is was I can get the authenticated User from inside my servlet/filter? Perhaps reading the Servlet spec or the APIs would help:

RE: Tomcat threads

2008-11-12 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat threads Since apparently this conversation clears some matters up, even for gurus, would one of you care to back-up a couple of messages, and re-state the final consensus in English for us mere mortals ? Only for specific

RE: Get Security subject from Tomcat

2008-11-12 Thread Caldarale, Charles R
From: Arash Bizhan zadeh [mailto:[EMAIL PROTECTED] Subject: Re: Get Security subject from Tomcat Sure it might help. Reading my mail would have helped too. I need the Subject not the principal. O.k., I'm confused. If you're looking for the user name, then the java.security.Principal

RE: 404 after adding web.xml

2008-11-12 Thread Caldarale, Charles R
From: Shoan Motwani [mailto:[EMAIL PROTECTED] Subject: 404 after adding web.xml But after adding webapp/WEB-INF/web.xml containing the following, I don't get anything other than a 404. Look in the Tomcat logs for error messages about deployment of your webapp. servlet-mapping

RE: multiple Set-Cookie headers in initial http response

2008-11-13 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: multiple Set-Cookie headers in initial http response Since you mention JBoss (which I don't know), is that still some kind of HTTP server front-end to Tomcat ? JBoss is a full Java EE app server, using Tomcat internally to supply the

RE: Problem install APR Tomcat Native Library on Centos 5.2

2008-11-13 Thread Caldarale, Charles R
From: Paul van Beukering [mailto:[EMAIL PROTECTED] Subject: Re: Problem install APR Tomcat Native Library on Centos 5.2 That helps!! installed the jdk 64bit and rebuild the APR libraries, now I can run APR Now, lets see whether the outcome of the loadtests can tell the difference.

RE: RE: multiple Set-Cookie headers in initial http response

2008-11-13 Thread Caldarale, Charles R
From: Markus Reis [mailto:[EMAIL PROTECTED] Subject: Re: RE: multiple Set-Cookie headers in initial http response I have the impression that this happens already before the webapp comes into play, because the HttpSessionListener implementation prints out those Session created | destroyed

RE: Tomcat 5.5.23 Cluster Problem - (memberDisappeared)

2008-11-13 Thread Caldarale, Charles R
From: Gustavo Araujo [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 5.5.23 Cluster Problem - (memberDisappeared) Thanks for your response, but the cluster members continue to disappear! =( java.library.path: /usr/lib64/gcj-4.1.2 Just a thought: you're not using gcj are you? If so, try

RE: [ANNOUNCE] Beta candidate for Tomcat connection pool

2008-11-13 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: [ANNOUNCE] Beta candidate for Tomcat connection pool I'm sure this is documented somewhere, but why is Tomcat creating its own connection pool instead of continuing to use commons-dbcp?

RE: Tomcat 6.0.18 - cluster problems!

2008-11-13 Thread Caldarale, Charles R
From: Gustavo Araujo [mailto:[EMAIL PROTECTED] Subject: Tomcat 6.0.18 - cluster problems! Follow down the logs: Node1: SEVERE: Parse error in default web.xml Node2: SEVERE: Parse error in default web.xml Looks like you (or someone) changed something in conf/web.xml. You have the Sun

RE: Application Won't Deploy

2008-11-13 Thread Caldarale, Charles R
From: Mark Fitzgerald [mailto:[EMAIL PROTECTED] Subject: Application Won't Deploy I've verified that the web.xml file for the application is not corrupted. How? My software is as follows: RedHat Linux What version? Tomcat v5.0.16 Can you reproduce the problem on a supported Tomcat

RE: AW: Different session timeout for local and external users

2008-11-14 Thread Caldarale, Charles R
From: Ehlers, Kolja [mailto:[EMAIL PROTECTED] Subject: AW: AW: Different session timeout for local and external users is it not possible to define a global filter for all web applications? It should be, but it will apply to all webapps, including the ones packaged with Tomcat.

RE: Logging Tomcat errors

2008-11-14 Thread Caldarale, Charles R
From: Peter Stavrinides [mailto:[EMAIL PROTECTED] Subject: Logging Tomcat errors Can anyone point me in the right direction, I need to implement a logging and reporting mechanism for Tomcat (6.0.18 on Debian based Linux with JSVC). What specifically do you need to know beyond what's in the

RE: catalina.log error

2008-11-14 Thread Caldarale, Charles R
From: William82 [mailto:[EMAIL PROTECTED] Subject: Re: catalina.log error A better solution is to copy a recent version of xerces.jar inside /common/endorsed folder. Please don't do that - it will simply confuse the issue. The OP is running on a 1.6 JRE, which has more that adequate XML

RE: AW: Different session timeout for local and external users

2008-11-14 Thread Caldarale, Charles R
From: Ehlers, Kolja [mailto:[EMAIL PROTECTED] Subject: AW: AW: Different session timeout for local and external users its located at shared/lib If it's a standalone class, it should be in shared/classes, not shared/lib. Also, make sure the class does not exist in any of the individual

RE: Deploying On Production Server

2008-11-14 Thread Caldarale, Charles R
From: Ehlers, Kolja [mailto:[EMAIL PROTECTED] Subject: AW: Deploying On Production Server You will need to make use of the mod_jk (The Apache Tomcat Connector) at http://tomcat.apache.org/connectors-doc/ Don't be silly - adding another major component just to run on port 80 is massive

RE: Question regarding Tomcat memory

2008-11-14 Thread Caldarale, Charles R
From: Harish S Rathod [mailto:[EMAIL PROTECTED] Subject: Question regarding Tomcat memory First, use a different mailer or send only in plain text; whatever you're using is encoding even standard ASCII characters like =. To make our tomcat heap size memory to 8 GB we have set the below=20

RE: tomcat-users.xml file becomes unusable

2008-11-14 Thread Caldarale, Charles R
From: Joe Bolin [mailto:[EMAIL PROTECTED] Subject: tomcat-users.xml file becomes unusable We are seeing a sporadic issue where the tomcat-users.xml file changes in some way. The file command repots the type as 'data' rather than XML. What version of Tomcat are you using? What are the

RE: Default Virtual Host Tomcat 5.5

2008-11-14 Thread Caldarale, Charles R
From: Ramamoorthy, Saku [mailto:[EMAIL PROTECTED] Subject: Default Virtual Host Tomcat 5.5 Host name=localhost appBase=/webapps/appFolder unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false The above is incorrect: appBase must point to the directory in

RE: Question regarding Tomcat memory

2008-11-14 Thread Caldarale, Charles R
From: Harish S Rathod [mailto:[EMAIL PROTECTED] Subject: Re: Question regarding Tomcat memory -Xms8192M -Xmx8192M -Xss1024K -XX:PermSize=64m -XX:MaxPermSize=256m -Dfile.encoding=Cp1252 That's what I surmised. Please suggest is this ok ? As long as you have the RAM to hold that much heap

RE: tomcat-users.xml file becomes unusable

2008-11-15 Thread Caldarale, Charles R
From: Joe Bolin [mailto:[EMAIL PROTECTED] Subject: Re: tomcat-users.xml file becomes unusable jakarta-tomcat-5.5.4-6 That's not a real Tomcat, but rather a 3rd-party repackaged - and frequently broken - version. Try installing a proper one from tomcat.apache.org and see if the problem goes

RE: Tomcat request processing gets stuck

2008-11-16 Thread Caldarale, Charles R
From: Michal Singer [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat request processing gets stuck 1. Please explain what do you mean by thread dumps? You could use Google to find definitions and examples... The JConsole Threads tab shows the stack trace of individual threads; a thread dump is

RE: Tomcatx.x and vista

2008-11-16 Thread Caldarale, Charles R
From: Chuck Hodge [mailto:[EMAIL PROTECTED] Subject: Tomcatx.x and vista I start tomcat as a service manually using Administrative Tools from the Control Panel. In Firefox I enter http://localhost:8080/examples/index.html and what I get back is: The system cannot find the file specified.

RE: Tomcat request processing gets stuck

2008-11-16 Thread Caldarale, Charles R
From: Michal Singer [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat request processing gets stuck maybe the default configuration is not good for load?? No, it's your webapp. Get the thread dumps and tell us what you see in there. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR

<    1   2   3   4   5   6   7   8   9   10   >