Re: IS that a good idea moving all the common libs?

2010-12-21 Thread Caldarale, Charles R
On Dec 21, 2010, at 18:50, George Sexton geor...@mhsoftware.commailto:geor...@mhsoftware.com wrote: Anyhow, would the suggestion change if you were running 300+ web applications? The more webapps, the more important it is to keep them independent - so the suggestion would become more like an

Re: IS that a good idea moving all the common libs?

2010-12-20 Thread Caldarale, Charles R
On Dec 20, 2010, at 12:16, Luca Gervasi tom...@ashetic.net wrote: I'm trying to lower the permgen needed by a large amount of webapps moving all the commonly used libs to the tomcat common libs. That's a really, really bad idea. You would be intertwining all your webapps, potentially

RE: Different context path of deployed application

2010-12-17 Thread Caldarale, Charles R
From: Petr Prochazka [mailto:pprocha...@gk-software.com] Subject: Different context path of deployed application I prepared war attendance-0.4.war and I want that will be access in context path /attendance. I create context config file attendance-0.4.xml and copy to

RE: how/where to put the application patch on tomcat ?

2010-12-16 Thread Caldarale, Charles R
From: Fang Zhu [mailto:zhufan...@hotmail.com] Subject: how/where to put the application patch on tomcat ? how/where to put appPatch.jar to the tomcat, so tomcat can load this appPatch.jar first, before those jars under /WEB-INF/lib/*.jar ? If this is a patch to the application classes,

RE: Is it possible to rename a jsp file in tomcat?

2010-12-15 Thread Caldarale, Charles R
From: Chinmoy Chakraborty [mailto:cch...@gmail.com] Subject: Is it possible to rename a jsp file in tomcat? Is it possible to rename a jsp file in tomcat? I noticed I can rename from 'abc.jsp.out' to 'abc.jsp' but it does not allow renaming from 'abc.jsp' to 'abc.jsp.out' after I access the

RE: Tomcat 6 not shutting down

2010-12-15 Thread Caldarale, Charles R
From: April Easton [mailto:aeas...@shawneecourt.org] Subject: Tomcat 6 not shutting down How do I determine what process is keeping Tomcat from shutting down properly? Thread, not process. This is the culprit: Timer-2 prio=10 tid=0x50b72800 nid=0x6697 in Object.wait()

RE: StartUpServlet in web.xml is not executed

2010-12-14 Thread Caldarale, Charles R
From: dfsdf fsdfsd [mailto:budihartono...@yahoo.com] Subject: StartUpServlet in web.xml is not executed I am using Tomcat 5.5.4 under Unix Sun Solaris. What happens if you try it on a version of Tomcat that isn't older than dirt (measured in Internet years)? 5.5.4 came out over six years

RE: troubleshooting getPathInfo in jsp files

2010-12-14 Thread Caldarale, Charles R
From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: troubleshooting getPathInfo in jsp files I can get Tomcat to behave the way you want but configuring web.xml isn't going to be pretty. I'd strongly recommend moving to an approach more in line with the Servlet spec rather than the

RE: [Mostly OT] Sweeping the permgen space: is that a good thing?

2010-12-13 Thread Caldarale, Charles R
From: Luca Gervasi [mailto:tom...@ashetic.net] Subject: [Mostly OT] Sweeping the permgen space: is that a good thing? Studying the JVM, i understand that the permgen is never sweeped by GC. Not sure whether you mean that GC ignores PermGen, or just that in your particular situation, GC is

RE: tomcat 7 and context (migrating from 5.0)

2010-12-13 Thread Caldarale, Charles R
From: Jeremy Monnet [mailto:jmon...@gmail.com] Subject: Re: tomcat 7 and context (migrating from 5.0) I tried that. The URL is still upper case ? As it should be. I just have a process that generate a MYAPP.war (upper case) So fix your broken process so it generates the correct name. If

RE: Secure specific web application with SSL in HTTP Tomcat

2010-12-13 Thread Caldarale, Charles R
From: Gennady Shumakher [mailto:gshumak...@gmail.com] Subject: Secure specific web application with SSL in HTTP Tomcat If Tomcat and all of the deployed web applications are available through HTTP. Is there a way to configure Tomcat to restrict the access to specific web app to HTTPS

RE: Secure specific web application with SSL in HTTP Tomcat

2010-12-13 Thread Caldarale, Charles R
From: Gennady Shumakher [mailto:gshumak...@gmail.com] Subject: Re: Secure specific web application with SSL in HTTP Tomcat wouldn't that mean that all applications will be accessible through SSL as well? If the client chooses to use SSL, what's wrong with that? Having the

RE: [Mostly OT] Sweeping the permgen space: is that a good thing?

2010-12-13 Thread Caldarale, Charles R
From: Rainer Jung [mailto:rainer.j...@kippdata.de] Subject: Re: [Mostly OT] Sweeping the permgen space: is that a good thing? GC in Perm Gen whenever tenured gets GC'd: it might depend on the GC algo and JVM version, but that's off by default at least for CMS and many JVM

RE: Can tomcat detect disconnection by client side in Async mode?

2010-12-10 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:mil...@gmx.de] Subject: Re: Can tomcat detect disconnection by client side in Async mode? Are there any servers at all that proactively notify their children or threads of aborted connections in order to stop them from serving them None that I'm aware of, since

RE: Tomcat/IIS Integration

2010-12-10 Thread Caldarale, Charles R
From: Miner, James [mailto:jmi...@columnit.com] Subject: Tomcat/IIS Integration Versions: Tomcat 5.5.9 Please, please, upgrade Tomcat while you're in there. That version is over five years old, and many, many security and bug fixes have gone in since then. - Chuck THIS COMMUNICATION

RE: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Caldarale, Charles R
From: Srikanth Konjarla [mailto:srikanth.konja...@gmail.com] Subject: 6.0.26 java.lang.Thread.State: WAITING (on object monitor) Essentially, the thread has threadLocals object that has few references. And who put the ThreadLocal there? (Hint: it wasn't Tomcat; your webapp - or a library

RE: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Caldarale, Charles R
From: Srikanth Konjarla [mailto:srikanth.konja...@gmail.com] Subject: Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor) as part of the thread local cleanup process at the time of undeploy, tomcat removes few threadLocals but misses the threadLocals for the thread in question. I

RE: Problem Started JBoss service -

2010-12-09 Thread Caldarale, Charles R
From: Nick Beare [mailto:nick.be...@causeway.com] Subject: Problem Started JBoss service - Can anybody shed any light on the error we are experiencing when attempting to start the JBoss service? 12:17:49,289 ERROR [STDERR] java.lang.NullPointerException 12:17:49,289 ERROR [STDERR]

RE: deploy log4j

2010-12-09 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: deploy log4j you need to package everything (including log4j classes) into the applet zip file Complete rubbish. The applet execution has absolutely nothing to do with the webapp. - Chuck THIS COMMUNICATION MAY CONTAIN

RE: Tomcat 6 performance multiple instances

2010-12-09 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat 6 performance multiple instances I'm not sold on the heap: if you have two GC processes running in parallel (that is, in separate JVMs) I'm not convinced that you are saving yourself any CPU time. Sure, the

RE: what ist $CATALINA_HOME/server ? (debian)

2010-12-07 Thread Caldarale, Charles R
From: Christoph Kukulies [mailto:k...@kukulies.org] Subject: what ist $CATALINA_HOME/server ? (debian) In seeking what screwed my installation I'm stumbling across a directory /usr/share/tomcat5.5/server Nothing wrong with that. What is this? Some Debian specific stuff? No, it's part of

RE: Setting listings=true on a per context basis

2010-12-07 Thread Caldarale, Charles R
From: Fergus McMenemie [mailto:fer...@twig.me.uk] Subject: Re: Setting listings=true on a per context basis After lots of surfing the next I had tried adjusting c:/tomcat/conf/catalina/localhost/vendoraDocs.xml as follows:- Sorry, you got the wrong place. The servlet settings go in your

RE: Setting listings=true on a per context basis

2010-12-07 Thread Caldarale, Charles R
From: Fergus McMenemie [mailto:fer...@twig.me.uk] Subject: RE: Setting listings=true on a per context basis Other than reading the 300 page servlet spec is there a quicker way to accomplish what I want. My response told you exactly where to make the updates. Regardless, the spec is an

RE: Setting listings=true on a per context basis

2010-12-07 Thread Caldarale, Charles R
From: Fergus McMenemie [mailto:fer...@twig.me.uk] Subject: RE: Setting listings=true on a per context basis So the servlet declaration goes in tomcat/conf/web.xml No. The conf/web.xml file contains settings shared by *all* webapps. The servlet declaration for a particular webapp goes in

RE: Setting listings=true on a per context basis

2010-12-07 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Setting listings=true on a per context basis in which you will find a file named server.xml. Can you paste the content of that file here, after removing the comments and sensitive information such as passwords ? That would give us

RE: enforcing SSL only for external clients

2010-12-07 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: enforcing SSL only for external clients You will probably need 2 separate Connectors, one for HTTP and the other for HTTPS. I think that's true. You probably need to set the useIPVHosts attribute inside your Connector tags to

RE: enforcing SSL only for external clients

2010-12-07 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: enforcing SSL only for external clients And, while we are at it, how about IP-based VHosts ? Are they described anywhere in the docs ? Not that I can find, other than the attribute description for the Connector elements which you

RE: war file question

2010-12-06 Thread Caldarale, Charles R
From: Lava Saleem [mailto:lnsal...@ualr.edu] Subject: Re: war file question Hi Martin, Thanks for the reply Which, unfortunately, was largely irrelevant, and contained a serious flaw. I did what you told me I moved the html file into $TOMCAT_HOME/webapps/filename and changed to *.jsp

RE: Tomcat dying on its own

2010-12-06 Thread Caldarale, Charles R
From: Guillaume Carbonneau [mailto:guillaume.carbonn...@gmail.com] Subject: Tomcat dying on its own My tomcat server seems to die on its own without leaving any backtrace... Suggest you remove the System.exit() call that's in one of your webapps... In all seriousness, that is the most

RE: Tomcat install jsvc error

2010-12-06 Thread Caldarale, Charles R
From: Shamik Bhattacharyya [mailto:shamikbh...@live.com] Subject: Tomcat install jsvc error I get the error: Cannot find any VM in Java Home /home/dbadmin/java6/jdk1.6.0_22 My guess is a broken symlink somewhere, or a 32/64-bit mismatch. What happens when you try this:

RE: JVM and DNS Failover

2010-12-03 Thread Caldarale, Charles R
From: Jordan Michaels [mailto:jor...@viviotech.net] Subject: SOT: JVM and DNS Failover However, the JVM doesn't seem to be doing that. Whenever this name server goes offline, the application dies because something it's doing (we didn't write it) needs to resolve in order for the site to

RE: automatic deployment without server.xml - bad request

2010-12-02 Thread Caldarale, Charles R
From: Justin Case [mailto:send_lotsa_spam_h...@yahoo.com] Subject: Re: automatic deployment without server.xml - bad request when I use the standalone context.xml it creates under work/Catalina/localhost a directory com.mycompany.myapp - which stays empty afterwards. When you say

RE: How to Run a Single Application instead of all Applications under webapps

2010-12-02 Thread Caldarale, Charles R
From: Johnny Clark [mailto:jcl...@acteksoft.com] Subject: How to Run a Single Application instead of all Applications under webapps I can't figure out how to get Tomcat to run a specific application as opposed to every application under the webapps directory. The proper terminology is

RE: APR/Native: when to use it?

2010-12-02 Thread Caldarale, Charles R
From: Aggarwal, Ajay [mailto:ajay.aggar...@stratus.com] Subject: APR/Native: when to use it? Is it always advisable to use APR if tomcat is the main web server? No. Does it provide better performance for core tomcat engine or do you need to write code to take advantage of it? That's

RE: automatic deployment without server.xml - bad request

2010-12-02 Thread Caldarale, Charles R
From: Justin Case [mailto:send_lotsa_spam_h...@yahoo.com] Subject: Re: automatic deployment without server.xml - bad request ...or maybe I should consider whether my application can be both root AND answer to the context... Really, you *must* have a default webapp. Why don't you just

RE: Fwd: Tomcat 7: Compatibility problems

2010-12-01 Thread Caldarale, Charles R
From: Jonatan Aguirre Kobayashi [mailto:jona.agui...@gmail.com] Subject: Re: Fwd: Tomcat 7: Compatibility problems Can i implement the Servlet Invoker using annotations? No. Don't even think about using such in insane mechanism. http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q2 - Chuck

RE: Filter questions

2010-12-01 Thread Caldarale, Charles R
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Subject: RE: Filter questions In the meantime I was trying to understand how/when servletness occurs. Within Tomcat, always. http://localhost:8080 will load index.html, because of the welcome file, in ROOT but that's not

RE: automatic deployment without server.xml - bad request

2010-12-01 Thread Caldarale, Charles R
From: Justin Case [mailto:send_lotsa_spam_h...@yahoo.com] Subject: Re: automatic deployment without server.xml - bad request ...and will it compile the JSPs as well? JSPs are only compiled upon first reference, not before. That results in a slight (usually very slight) pause for the first

RE: Class get deleted at run time

2010-11-30 Thread Caldarale, Charles R
From: Sandip Hirwale [mailto:sandip.hirw...@sukrutsystems.com] Subject: Re: Class get deleted at run time i am deploying application on my local machine just by right click on application and run. That is not deployment in any sense of the term. You really, really need to read some

RE: authentication fail (JNDI Realm with Tomcat )

2010-11-29 Thread Caldarale, Charles R
From: long hong [mailto:longhong1...@gmail.com] Subject: authentication fail (JNDI Realm with Tomcat ) security-constraint web-resource-collection web-resource-nameEntire Application/web-resource-name url-pattern/fs/*/url-pattern You probably want just /* in the above

RE: authentication fail (JNDI Realm with Tomcat )

2010-11-29 Thread Caldarale, Charles R
From: long hong [mailto:longhong1...@gmail.com] Subject: Re: authentication fail (JNDI Realm with Tomcat ) the web root context of my web app is /fs. As I suspected. Again, remove the /fs from the url-pattern; the webapp name is never part of any url-pattern in web.xml. - Chuck THIS

RE: (Tomcat) Does NIO connector make a difference outside of 'Comet' ?

2010-11-29 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:mil...@gmx.de] Subject: Re: (Tomcat) Does NIO connector make a difference outside of 'Comet' ? can we say that: (a) blocking IO requires one thread (or, in some other server environments, one process) per socket Well, sort of. The actual requirement is one

RE: Please help ... [MultiThreadedHttpConnectionManager cleanup]

2010-11-27 Thread Caldarale, Charles R
From: Emerson, Christopher [mailto:cemer...@orangelake.com] Subject: RE: Please help ... [MultiThreadedHttpConnectionManager cleanup] If I have 100+ concurrent users, won't that effect the other users? Each webapp should have its own copy of the HTTP client, so no. Is it possible that I

RE: Please help ... [MultiThreadedHttpConnectionManager cleanup]

2010-11-27 Thread Caldarale, Charles R
From: Emerson, Christopher [mailto:cemer...@orangelake.com] Subject: RE: Please help ... [MultiThreadedHttpConnectionManager cleanup] Looking at the web.xml file used, could it have something to do with this listener as you said earlier? Can't say - Tomcat is just the container here;

RE: Tomcat website unreachable on the internet

2010-11-26 Thread Caldarale, Charles R
From: Nathaniel Thalluri [mailto:nathaniel.thall...@gmail.com] Subject: Tomcat website unreachable on the internet Service name=Catalina (configuration snipped) You appear to be using some very old and inaccurate Tomcat reference. Please throw it away and use the real Tomcat

RE: Tomcat 6.0.24 - Should send body As Chunked Response but sometimes sends it back Un-Chunked

2010-11-25 Thread Caldarale, Charles R
From: declan harrison [mailto:harrison.dec...@gmail.com] Subject: Re: Tomcat 6.0.24 - Should send body As Chunked Response but sometimes sends it back Un-Chunked it does look like it to me that state is leaking between these two request on this same thread. That hints of a ThreadLocal

RE: Please help ... [MultiThreadedHttpConnectionManager cleanup]

2010-11-24 Thread Caldarale, Charles R
From: Emerson, Christopher [mailto:cemer...@orangelake.com] Subject: Please help ... [MultiThreadedHttpConnectionManager cleanup] Ever since we've upgraded to Tomcat 6 4 weeks ago, I've been fighting the following error on shutdown ... You've actually had the error all along, but it's only

RE: Please help ... [MultiThreadedHttpConnectionManager cleanup]

2010-11-24 Thread Caldarale, Charles R
From: Emerson, Christopher [mailto:cemer...@orangelake.com] Subject: RE: Please help ... [MultiThreadedHttpConnectionManager cleanup] So if this is being started from Axis2 1.5.1 client, there's a bug in the client code generation or the supporting Axis2 jars? Possibly, or possibly you

RE: Error Question

2010-11-24 Thread Caldarale, Charles R
From: Omar A. Barrera [mailto:oma...@southtexascollege.edu] Subject: Error Question I am currently using Eclipse Helios and Tomcat 6.0.29 What JVM are you using? There was a known bug in 6u* that threw an erroneous string index out of bounds exception on occasion. The problem was fixed in

RE: ****SPAM**** RE: Error Question

2010-11-24 Thread Caldarale, Charles R
From: Omar A. Barrera [mailto:oma...@southtexascollege.edu] Subject: RE: SPAM RE: Error Question I am currently at JVM 1.6.0_11 and am using JDK 1.6.20. Not sure how you can be two places at once... So updating the JVM should resolve the issue? Might, rather than should. It

RE: org.apache.jasper.util.Entry object Heap Size

2010-11-24 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: org.apache.jasper.util.Entry object Heap Size In the meantime, you should probably upgrade to 7.0.4 which is the latest in the 7.0.x line. I'd recommend skipping 7.0.4 and getting Tomcat 7.0.5 from svn. Mark

RE: Tomcat 6.0.24 - Should send body As Chunked Response but sometimes sends it back Un-Chunked

2010-11-24 Thread Caldarale, Charles R
From: declan harrison [mailto:harrison.dec...@gmail.com] Subject: Re: Tomcat 6.0.24 - Should send body As Chunked Response but sometimes sends it back Un-Chunked Do you have any part of the response stored as an instance field in your servlet? Yes I have a reference to the

RE: Tomcat 6.0.24 - Should send body As Chunked Response but sometimes sends it back Un-Chunked

2010-11-24 Thread Caldarale, Charles R
From: declan harrison [mailto:harrison.dec...@gmail.com] Subject: Re: Tomcat 6.0.24 - Should send body As Chunked Response but sometimes sends it back Un-Chunked I meant I have local variable that reference the response output stream. Ok, you're off the hook on that one. Anything stored

RE: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread Caldarale, Charles R
From: xu cheng [mailto:xcheng@gmail.com] Subject: Re: OutOfMemoryError some time on some tomcat1 hanging onto a reference to an object from your webapp classes, preventing the old webapp deployment from being garbage collected. what kind of object do you mean by saying this?

RE: how to keep session alive on the server side

2010-11-23 Thread Caldarale, Charles R
From: Aggarwal, Ajay [mailto:ajay.aggar...@stratus.com] Subject: how to keep session alive on the server side I have a situation where client enters a long duration request and I need to keep the session alive for the client while this long duration request is going on. Since this long

RE: the memory puzzle me....

2010-11-23 Thread Caldarale, Charles R
From: xu cheng [mailto:xcheng@gmail.com] Subject: the memory puzzle me I oberved the heap of the jvm which runs tomcat without deploying any webapp. and it's some kind like this /|/|/|/|/|/| That's called a sawtooth pattern, and is what you should be seeing. when the used heap

RE: the memory puzzle me....

2010-11-23 Thread Caldarale, Charles R
From: xu cheng [mailto:xcheng@gmail.com] Subject: Re: the memory puzzle me the permanent generation is also collected by major gc? Correct. what will trigger a gc in the permanent generation When either the tenured or the permanent generation is full, someone calls System.gc(),

RE: the memory puzzle me....

2010-11-23 Thread Caldarale, Charles R
From: xu cheng [mailto:xcheng@gmail.com] Subject: Re: the memory puzzle me by the way, do you know *any tool that can monitor the permanent generation*, such what's now resident in the perm gen? I presume you mean on Windows, since you already found one for Linux. I suspect the

RE: Problems with Backup Manager

2010-11-22 Thread Caldarale, Charles R
From: Josef Pullicino [mailto:josef.pullic...@go.com.mt] Subject: Problems with Backup Manager We are having problems using Backup Manager especially when deploying hot portlets. Care to give us a hint about the version of Tomcat you're using, the JVM it's running on, the platform that's

RE: [ANN] New Tomcat committer: Christopher Schultz (schultz)

2010-11-22 Thread Caldarale, Charles R
On behalf of the Tomcat committers I am pleased to announce that Christopher Schultz (schultz) has been voted in as a new Tomcat committer. Please join me in welcoming him. And you thought you were busy before... Congratulations. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR

RE: Server affinity instead of session affinity

2010-11-22 Thread Caldarale, Charles R
From: Andrew Hole [mailto:andremailingl...@gmail.com] Subject: Server affinity instead of session affinity The goal is to send all requests (within a session) from a client browser to the same machine. Is it possible to perform it using jvmRoute? Can't you just set the jvmRoute value for

RE: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread Caldarale, Charles R
From: xu cheng [mailto:xcheng@gmail.com] Subject: Re: OutOfMemoryError some time on some tomcat1 I just kept redeploying apps , and the perm gen keep growing each time I deploy the same app. and when I undeploy the app, the perm gen didn't clean the garbage Exactly the situation

RE: Two way long running servlet connection problem

2010-11-21 Thread Caldarale, Charles R
From: xygnu...@gmail.com [mailto:xygnu...@gmail.com] On Behalf Of Paritosh Patel Subject: Two way long running servlet connection problem What am I doing wrong? For starters, you're not telling us the version of Tomcat in use, the JVM level it's running in, the platform you're running on,

RE: Two way long running servlet connection problem

2010-11-21 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Two way long running servlet connection problem In HTTP 1.1, a change was made, with the objective of avoiding the overhead of establishing/destroying a connection for each request. Careful here. The connection described above is

RE: Two way long running servlet connection problem

2010-11-21 Thread Caldarale, Charles R
From: xygnu...@gmail.com [mailto:xygnu...@gmail.com] On Behalf Of Paritosh Patel Subject: Re: Two way long running servlet connection problem I hope this makes it more clear. Pretty much what I thought you were doing. Should I be doing something explicitly to keep the connection alive

RE: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread Caldarale, Charles R
From: xu cheng [mailto:xcheng@gmail.com] Subject: OutOfMemoryError some time on some tomcat1 the app works pretty well on my pc, and the tomcat is apache-tomcat-6.0.29 however , when I put this app on to another computer with the same tomcat it throws this exception Java

RE: Spam

2010-11-20 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: Spam Since I enrolled in this list, I started to receive spam. If you've never gotten spam before, you must be nearly unique. Since the mailing list messages are archived in numerous public locations, it's pretty much impossible to

RE: Spam

2010-11-20 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: RE: Spam That's is why forums are better than lists. A matter of opinion. I find forums to be nearly unusable. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by

RE: Problems installing Tomcat on Windows 2008

2010-11-19 Thread Caldarale, Charles R
From: Richard Pless [mailto:rfpl...@gmail.com] Subject: Problems installing Tomcat on Windows 2008 The error you're getting is typical of a mismatch between tomcat6.exe and the JVM. Apache Tomcat v6.0.29 (64 bit) Verify that you actually do have the 64-bit version of Tomcat installed. The

RE: Problems installing Tomcat on Windows 2008

2010-11-19 Thread Caldarale, Charles R
From: Richard Pless [mailto:rfpl...@gmail.com] Subject: Re: Problems installing Tomcat on Windows 2008 When I searched for the error in user groups, the only answer that I found was to copy msvrc71.dll to my c:/c/tomcat/bin directory. That shouldn't be necessary, as long as the proper DLL

RE: Problems installing Tomcat on Windows 2008

2010-11-19 Thread Caldarale, Charles R
From: Richard Pless [mailto:rfpl...@gmail.com] Subject: Re: Problems installing Tomcat on Windows 2008 I also ran command prompt as Administrator. I entered 'service.bat install' and received the same failure message: c:\oc\tomcat\binservice.bat install Installing the service 'Tomcat6'

RE: Problems installing Tomcat on Windows 2008

2010-11-19 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Problems installing Tomcat on Windows 2008 You also mention that the Java tab on tomcat6w.exe says use default. Would that be the first one found in the PATH ? No, it's the one in the registry, set by the most recent JVM install

RE: configuring the tomcat-6 to support list of user certificates

2010-11-18 Thread Caldarale, Charles R
From: shashidhar v [mailto:shashidhar.velagand...@gmail.com] Subject: Re: configuring the tomcat-6 to support list of user certificates Could you please give any references or some sample steps Start here: http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html

RE: EXTERNAL: Re: Tomcat hung

2010-11-18 Thread Caldarale, Charles R
From: Robillard, Greg L [mailto:greg.l.robill...@lmco.com] Subject: RE: EXTERNAL: Re: Tomcat hung http-8080-200 daemon prio=10 tid=0xcbca9800 nid=0xb5e waiting on condition [0xc5dbc000..0xc5dbcea0] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method)

RE: Tomcat, JasperServer, and JAR files

2010-11-18 Thread Caldarale, Charles R
From: Thangalin [mailto:thanga...@gmail.com] Subject: Tomcat, JasperServer, and JAR files 1. *Bundle JARs with Servlet.* This is the proper approach. 2. *Common libraries.* A Really Bad Idea. In the first case, multiple applications using JasperReports will result in a gross waste of

RE: Tomcat hung

2010-11-18 Thread Caldarale, Charles R
From: Robillard, Greg L [mailto:greg.l.robill...@lmco.com] Subject: RE: Tomcat hung Java(TM) SE Runtime Environment (build 1.6.0_05-b13) Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode) Last I checked, this is a real VM. Yes, it was identifying it just as 10.0-b19 that was

RE: Tomact does not see log4j-6.0.26.jar while it is there

2010-11-18 Thread Caldarale, Charles R
From: Salam Y. ELIAS [mailto:salamli...@free.fr] Subject: Re: Tomact does not see log4j-6.0.26.jar while it is there It is the Apache Tomcat shipped with Fedora 13 To repeat what Mark said: -contact the maintainers of whatever 3rd party package you used for support - use an ASF

RE: Placing JARs in ..../tomcat/shared/lib causes leaks when stopping apps?

2010-11-17 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: RE: Placing JARs in /tomcat/shared/lib causes leaks when stopping apps? if I don’t remember any valid reason to keep two contexts, I will start using just one! One strong reason to not merge the contexts is to preclude any chance

RE: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: FW: After manager says that there was a leak, how to use a profiler? I moved my JARs from the .../tomcat/shared/lib directory to the web-inf/lib directory in the app itself It better be WEB-INF/lib; case matters (even on Windows). it

RE: Tomcat hung

2010-11-17 Thread Caldarale, Charles R
From: Robillard, Greg L [mailto:greg.l.robill...@lmco.com] Subject: Tomcat hung JVM version is 10.0-b19 No idea what JVM that is; strongly suggest you install a real one (e.g., 6u22) and see if the problem goes away. What happens if you run Tomcat directly, not under control of the IDE?

RE: FW: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: RE: FW: After manager says that there was a leak, how to use a profiler? It seems that the JARs inside ...WEB-INF/lib are not being discovered or used. Hence the request to see your catalina.properties - which looks fine. What's in

RE: After manager says that there was a leak, how to use a profiler?

2010-11-16 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: RE: After manager says that there was a leak, how to use a profiler? All my JARs are in the shared directory that Tomcat has. Is that a problem? Yes, that's a problem. You very likely have some references in the shared classes that

RE: Placing JARs in ..../tomcat/shared/lib causes leaks when stopping apps?

2010-11-16 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: Placing JARs in /tomcat/shared/lib causes leaks when stopping apps? Something like this for each app, the webapploader pretendes to unload all the classes, and if they are shared it is not possible and then the leak happens.

RE: Configuring users

2010-11-15 Thread Caldarale, Charles R
From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: Configuring users Clearly, from the URL you provided, the default server.xml isn't being used. Has the Realm definition been changed? A copy of the complete server.xml (less comments with any sensitive info replaced with ***) is the

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-15 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses? sometimes Tomcat thinks that needs a huge buffer, so it makes the array to increase to millions of chars. I have no such big pages in my site This is the crux of the problem

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-15 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses? Isn't there a log of all the requests? Not by default, but you can enable the AccessLogValve in server.xml, that will display the request URI and the response size. However,

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-13 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses? the Eden Space is barely used (10MB right now). The survivor space is even less used (1MB right now). An object is normally created in Eden and will migrate to survivor if

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses? I'm using Yourkit, and this this what I see. But we can't, since the mailing list strips attachments. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses? On 11/12/2010 2:12 PM, Brian wrote: Oh, I think I found what you were asking, the path to the GC root:

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses? Now I also see that 160MB are being used by org.apache.jasper.runtime.BodyContextImpl. There are a couple of system properties you can set to control this:

RE: 7.0.4 problem

2010-11-12 Thread Caldarale, Charles R
From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] Subject: 7.0.4 problem Using jmeter to load test my servlet, i see mysql threads held up indefinately until i get a 'Too many connections' error from mysql. Can you take a thread dump or three and see what everyone's stuck on? -

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-11 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: Tomcat 6.0.29 using more and more RAM until it collapses? I don't think my app is taking all this RAM It is. when I restart it, the RAM usage doesn't go down. Classic symptom of a webapp leaking memory due to holding onto It seems

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-11 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses? After I perform a SQL sentence, I close the objects (result set, then its statement). In a finally block? If not, you'll leave them open when an exception occurs. - Chuck

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-11 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses? Yes, in a Finally block. This is what I do: I presume you mean you call your closeRsStmt() method in a finally block, since there certainly aren't any finally clauses in what

RE: java.lang.Exception: Socket bind failed: [730048]

2010-11-11 Thread Caldarale, Charles R
From: Pid [mailto:p...@pidster.com] Subject: Re: java.lang.Exception: Socket bind failed: [730048] On 11/11/2010 20:24, Rajmohan Parayil wrote: I am adding this post so that it may help anyone who have faced this issue. Not without a detailed description of the error, how you

RE: Tomcat application with memory leak

2010-11-10 Thread Caldarale, Charles R
From: Robillard, Greg L [mailto:greg.l.robill...@lmco.com] Subject: Tomcat application with memory leak In an attempt to resolve the problem, I increased memory to 2048. That doesn't resolve it, it merely postpones it - as you discovered. How can I run 2 tomcat containers on the same

RE: [OT] Jconsole Perform GC?

2010-11-09 Thread Caldarale, Charles R
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: [OT] Jconsole Perform GC? Anyone know what exactly what kind of GC the Perform GC button in Jconsole does? The same one you get by calling System.gc() - a full GC. The initial work was mostly in the Eden space and

RE: HTTP request and responses mixed up

2010-11-09 Thread Caldarale, Charles R
From: Colpaert, Robert [mailto:robert.colpa...@logica.com] Subject: HTTP request and responses mixed up We are currently experiencing an issue on our system where user A gets the HTTP response intended for user B. In every instance reported of this happening, it has almost always been a

RE: Shutting down one instance of tomcat 6 from a listener

2010-11-09 Thread Caldarale, Charles R
From: Patrick Sauts [mailto:patrick.via...@gmail.com] Subject: Shutting down one instance of tomcat 6 from a listener I'm working with tomcat 6 and multiples instances; The question André was trying to get you to answer is: what do you mean by instance? Multiple instances of what? That's

RE: [OT] Jconsole Perform GC?

2010-11-09 Thread Caldarale, Charles R
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: [OT] Jconsole Perform GC? I was impressed with the speed of the full GC. GC speed is proportional to the number and size of live objects, not dead ones. If your apps don't persist much data, GC will be quite quick. Set

<    10   11   12   13   14   15   16   17   18   19   >