RE: Fw: Tomcat 5.0.28 jdbc error Name jdbc is not bound in this Context on WindowsXP.

2013-01-19 Thread Caldarale, Charles R
From: Mark Eggers [mailto:its_toas...@yahoo.com] Subject: Re: Fw: Tomcat 5.0.28 jdbc error Name jdbc is not bound in this Context on WindowsXP. In short, upgrade to at least 6.0 (6.0.36 as I write this). 7.0 would be better. Also, never, never copy configuration elements from one major

RE: Configuring Tomcat for generating log file (catalina.out) (Tomcat 5.0)

2013-01-18 Thread Caldarale, Charles R
From: Gabriel Huerta Araujo [mailto:huert...@hildebrando.com] Subject: Configuring Tomcat for generating log file (catalina.out) (Tomcat 5.0) Please be aware that the last Tomcat 5.0 release was over eight years ago, and 5.0 has not been supported for quite some time (several years). You

RE: common vs system vs shared class loaders

2013-01-17 Thread Caldarale, Charles R
From: Narahari 'n' Savitha [mailto:savith...@gmail.com] Subject: Re: common vs system vs shared class loaders Sorry Dan but if I do what you are suggesting I will end up in redundant jars all over the place and I dont want to do that. That's an issue easily handled by a deployment script.

RE: Subdomains in tomcat 7

2013-01-17 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Subdomains in tomcat 7 Host name=www.portal.com appBase=ptt unpackWARs=true autoDeploy=true Context path= docBase=ptt-client/ROOT/ /Host Only one problem: You shouldn't be using server.xml to define

RE: Capacity Planning Turk's Formula

2013-01-17 Thread Caldarale, Charles R
From: yogesh hingmire [mailto:yogesh.hingm...@gmail.com] Subject: Re: Capacity Planning Turk's Formula How do you think capacity planning should be approached ? The _only_ way is to actually benchmark your application(s). Tomcat itself adds very little overhead, so it really depends on the

RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of Tomcat 7?

2013-01-16 Thread Caldarale, Charles R
From: KARR, DAVID [mailto:dk0...@att.com] Subject: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of Tomcat 7? We're running Bamboo 3.4.3 in Tomcat 6.0.20. It mostly apparently works fine, but yesterday I tried to get the Bamboo Sonar plugin working, Did you leave out in

RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of Tomcat 7?

2013-01-16 Thread Caldarale, Charles R
From: KARR, DAVID [mailto:dk0...@att.com] Subject: RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of Tomcat 7? We're running Bamboo 3.4.3 in Tomcat 6.0.20. It mostly apparently works fine, but yesterday I tried to get the Bamboo Sonar plugin working, Did you

RE: Question about config and correct start-up

2013-01-16 Thread Caldarale, Charles R
From: Alan Findly [mailto:afin...@ronan.net] Subject: Re: Question about config and correct start-up That context statement is not correct syntax should be: privileged=true/ Thank you for providing a clear example of why top-posting is evil: no one has any idea which of the several

RE: add database resource

2013-01-10 Thread Caldarale, Charles R
From: leon.m...@hccnet.nl [mailto:leon.m...@hccnet.nl] Subject: RE: add database resource Herewith the content of META-INF/context.xml Context=/atvd Well, that's invalid right off the bat, so the rest of it probably doesn't matter. Read the Context doc again. - Chuck THIS

RE: add database resource

2013-01-10 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: add database resource attributes sandwiched between Content/Content XML tags Make that Context/Context... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use

RE: Remove apache tomcat default home page

2013-01-04 Thread Caldarale, Charles R
From: anakando [mailto:anaka...@yahoo.com] Subject: Re: Remove apache tomcat default home page i cant locate any folder except myapps folder under /ROOT directory. So besides having a horribly out of date version of Tomcat, the configuration is also illegal. The webapp should not be under

RE: redirection of www.xyz.com/xyz to https://xyz.com/xyz.html is not happening in httpd.conf

2012-12-27 Thread Caldarale, Charles R
From: Dhaval Jaiswal [mailto:dhaval.jais...@via.com] Subject: redirection of www.xyz.com/xyz to https://xyz.com/xyz.html is not happening in httpd.conf i have tried through Redirect option to redirect specific page to one *.html it is not redirecting. Still it is redirecting to old values

Re: jvmRoute with multiple AJP Connectors for one Engine

2012-12-18 Thread Caldarale, Charles R
From: Bob Myers b...@nextfort.com Re: jvmRoute with multiple AJP Connectors for one Engine Don't top post - it's really annoying, and makes it extremely difficult to follow the points of a conversation. Connector executor=tomcatThreadPool port=8009 protocol=AJP/1.3 redirectPort=443 /

RE: Does maxPostSize has an effect on file upload?

2012-12-14 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Does maxPostSize has an effect on file upload? Does a file upload as multipart/form-data not count to the size of the POST? No, as the doc make clear. I'm not so sure the docs make it clear. I think you

RE: JMX with Listener

2012-12-11 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: JMX with Listener Now for my problems or questions: - Apparently, the Jmx listener listens on 0.0.0.0 (confirmed by a netstat) on the two ports configured for the listener, is it normal ? I thought that

RE: I can only access Tomcat 7 when running via console (startup.bat)

2012-12-10 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: I can only access Tomcat 7 when running via console (startup.bat) If it was a firewall issue or similar, we'd have the same. Not necessarily. Some weird MS security rule, applying to services but not to regular processes ? Some

RE: Tomcat 6.0 CLASSPATH query

2012-12-09 Thread Caldarale, Charles R
From: Mark Eggers [mailto:its_toas...@yahoo.com] Subject: Re: Tomcat 6.0 CLASSPATH query Another option is to use a VirtualClassLoader and add some random path (/etc/myawesomewebapps/) to it in all webapps. That's only available in Tomcat 7, yes? Presumably, Chris was referring to

RE: Tomcat users

2012-12-08 Thread Caldarale, Charles R
From: Raf Roger [mailto:raf.n...@gmail.com] Subject: Fwd: Tomcat users Where can i find a very good documentation or tutorial/video about users and roles for tomcat 7.x ? Step 1: read the servlet spec: http://download.oracle.com/otndocs/jcp/servlet-3.0-fr-eval-oth-JSpec/ with emphasis on

RE: Z/OS CICS Support

2012-12-06 Thread Caldarale, Charles R
From: Shaik Jani - Cincinnati-AMIG [mailto:jsh...@amig.com] Subject: RE: Z/OS CICS Support What I meant was can we access mainframe resources in Tomcat? It's not Tomcat that accesses any external resources, it's your webapps running under Tomcat. If CICS provides Java-based classes to do

RE: [OT] Recognizing certificate removal (SmartCard)

2012-12-05 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Recognizing certificate removal (SmartCard) Too late (at least in the US); you just made it public... Shuks. Ok then, I'll have to be satisfied with the glory. The US patent law has changed (but may not go into effect until

RE: Suggestion for improving Tomcat startup performance...

2012-12-04 Thread Caldarale, Charles R
From: Tony Anecito [mailto:adanec...@yahoo.com] Subject: Suggestion for improving Tomcat startup performance... I am using Tomcat 7.0.33 and notice on Tomcat startup my web services startup in series rather than parallel. If you do not have it you might want to have an option to startup

RE: Suggestion for improving Tomcat startup performance...

2012-12-04 Thread Caldarale, Charles R
From: Tony Anecito [mailto:adanec...@yahoo.com] Subject: RE: Suggestion for improving Tomcat startup performance... Don't top-post. Ok I found a Engine reference in the server.xml for the catalina service. I am guessing that the attribute should go in there somewhere. I will look at the

RE: Suggestion for improving Tomcat startup performance...

2012-12-04 Thread Caldarale, Charles R
From: Tony Anecito [mailto:adanec...@yahoo.com] Subject: RE: Suggestion for improving Tomcat startup performance... Reply to the list, not to individuals. Not sure what you mean by Top Post. http://ck.wikia.com/wiki/TopPosting http://mailformat.dan.info/quoting/top-posting.html   I only

RE: Tomcat7.0-Setting property 'threadPriority' did not find a matching property

2012-12-02 Thread Caldarale, Charles R
From: Weixiang [mailto:kurt.weixi...@huawei.com] Subject: Tomcat7.0-Setting property 'threadPriority' did not find a matching property I config in my server.xml for a HTTP Connector named MGMT: threadPriority=java.lang.Thread#Thread.MAX_PRIORITY The documentation may give the

RE: Re:Tomcat7.0-Setting property 'threadPriority' did not find a matching property

2012-12-02 Thread Caldarale, Charles R
From: xueshengzj [mailto:xueshen...@163.com] Subject: Re:Tomcat7.0-Setting property 'threadPriority' did not find a matching property The thread priority for threads in the executor The threadPriority attribute is also available for the Connector element, not just Executor. - Chuck

RE: Context Path for a subdirectory

2012-11-30 Thread Caldarale, Charles R
From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] Subject: RE: Context Path for a subdirectory Why is denyStatus an option? Why would someone use it? Because some people still believe in security through obscurity. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

RE: Context Path for a subdirectory

2012-11-30 Thread Caldarale, Charles R
From: Terence M. Bandoian [mailto:tere...@tmbsw.com] Subject: Context Path for a subdirectory A webapp can never be nested inside another, so what you're trying to do is nonsensical. I don't mean to be argumentative but, with Tomcat 6.0.29, I found that static files from an images

RE: Context Path for a subdirectory

2012-11-30 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Context Path for a subdirectory I don't think it's specifically /un/supported. For instance, Tomcat should happily deploy both of these files: myapp.war myapp#static.war That's not what's being discussed.

RE: Error page messages

2012-11-30 Thread Caldarale, Charles R
From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] Subject: RE: Error page messages I don't know of any public facing websites, off hand, that show uncaught exception messages. You need to get out more - there are tons of poorly implemented websites that will splatter stack

RE: Context Path for a subdirectory

2012-11-30 Thread Caldarale, Charles R
From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] Subject: RE: Context Path for a subdirectory what were my options to restrict access to just a subdirectory of a web app in Tomcat 6.0.35? Using just spec-provided mechanisms, such access can be limited to specific users by

RE: Context Path for a subdirectory

2012-11-30 Thread Caldarale, Charles R
From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] Subject: RE: Context Path for a subdirectory I considered the security constraint, but wouldn't that have required me to set up SSL (for a secure user/password submittal) and get someone to pay for a public certificate -

RE: Context Path for a subdirectory

2012-11-29 Thread Caldarale, Charles R
From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] Subject: Context Path for a subdirectory If I have a webapp, with a www directory, and in that www directory are other directories, how would I restrict access to one of those subdirectories to the localhost? Probably your

RE: Writing to response and issuing sendError

2012-11-28 Thread Caldarale, Charles R
From: Michael-O [mailto:1983-01...@gmx.net] Subject: Writing to response and issuing sendError The exception is thrown out to the console but the response is still written. As it should be - it's already committed, and may well have been delivered. If I leave out the flush (which commits

RE: Shutdown.sh doesn't. At least not reliably. (7.0.25)

2012-11-27 Thread Caldarale, Charles R
From: James Lampert [mailto:jam...@touchtonecorp.com] Subject: Shutdown.sh doesn't. At least not reliably. (7.0.25) Or where I should look for indications of what it could be? Can you take a thread dump of the Tomcat process after shutdown.sh has been used?

RE: Install - Tomcat Server on Mac OS X 10.8.2

2012-11-26 Thread Caldarale, Charles R
From: Naga Kishore Vankayala [mailto:vnagakish...@hotmail.com] Subject: Install - Tomcat Server on Mac OS X 10.8.2 I searched for mac version of tomcat and could not find it. Tomcat is pure Java, so it's platform agnostic. The Windows versions are there to facilitate its installation as a

RE: Install - Tomcat Server on Mac OS X 10.8.2

2012-11-26 Thread Caldarale, Charles R
From: Naga Kishore Vankayala [mailto:vnagakish...@hotmail.com] Subject: RE: Install - Tomcat Server on Mac OS X 10.8.2 Do you have any information or document on how we start the server on Mac. Read the RUNNING.txt file, then use the startup.sh script. - Chuck THIS COMMUNICATION MAY

RE: session sharing in Tomcat v7.0

2012-11-25 Thread Caldarale, Charles R
From: JB JUNG [mailto:itsjb.j...@samsung.com] Subject: session sharing in Tomcat v7.0 When I created 2 webapps in 1 host and I wanted to get these 2 webapps to use 1 session. This is specifically prohibited by the servlet spec (which you should read): 7.3 Session Scope HttpSession

RE: How do I know if native plugin in use?

2012-11-24 Thread Caldarale, Charles R
From: Tony Anecito [mailto:adanec...@yahoo.com] Subject: How do I know if native plugin in use?   I downloaded and installed TC 7.0.33 64-bit and was wondering how do I know the native plugin is being used? Rather depends on what you mean by native plugin. If you're referring to the APR

RE: TC 7.0.33 startup performance...

2012-11-24 Thread Caldarale, Charles R
From: Tony Anecito [mailto:adanec...@yahoo.com] Subject: TC 7.0.33 startup performance...   Is there some tuning I can try to improve the startup? You can try playing with the startStopThreads attribute on Host: http://tomcat.apache.org/tomcat-7.0-doc/config/host.html If you have multiple

RE: Apache Tomcat upgrade from 6.0.20 to 6.0.36

2012-11-22 Thread Caldarale, Charles R
From: Pankaj Dahiya [mailto:pankaj_dah...@infosys.com] Subject: RE: Apache Tomcat upgrade from 6.0.20 to 6.0.36 Don't top post. Saw some links on internet. Why don't you use the proper documentation rather than search? There's a link on the Tomcat home page:

RE: Tomcat 6.0.18 Caching Question

2012-11-22 Thread Caldarale, Charles R
From: Sekar, Vasanth [mailto:vasanth.se...@supervalu.com] Subject: RE: Tomcat 6.0.18 Caching Question That's the standard version that we have inside our environment for Prod move at this point. Your upgrade strategy is very seriously flawed. Tomcat 7.0.8 build is underway but not in our

RE: Tomcat 6.0.18 Caching Question

2012-11-22 Thread Caldarale, Charles R
From: a b [mailto:jruoh...@gmail.com] On Behalf Of Jukka Ruohonen Subject: Re: Tomcat 6.0.18 Caching Question I am not too keen to see every other question on this list being turned into a question about upgrading. There are two significant reasons for sites to stay up to date on server

RE: Tomcat 6.0.18 Caching Question

2012-11-22 Thread Caldarale, Charles R
From: Sekar, Vasanth [mailto:vasanth.se...@supervalu.com] Subject: RE: Tomcat 6.0.18 Caching Question I am trying to disable the caching under work/catalina - _jsp.java _jsp.class by doing the following That's not caching; that's where the translated and then compiled JSP are placed as a

RE: Need help to understand CVE-2007-0450

2012-11-21 Thread Caldarale, Charles R
From: Aditi Sinha [mailto:adisinha0...@gmail.com] Subject: Need help to understand CVE-2007-0450 We have a web server hosted on Tomcat 7.0.22. The tool was able to access the Tomcat manager application with the following URL : http://localhost:8080/scripts/\../manager/html As per Tomcat

RE: Tomcat with multiple domains

2012-11-21 Thread Caldarale, Charles R
From: Paul van Hoven [mailto:paul.van.ho...@googlemail.com] Subject: Tomcat with multiple domains I found the following tutorial (very old) on the web: http://onjava.com/pub/a/onjava/2006/08/30/publishing-multiple-sites-using-single-tomcat.html Probably best to completely ignore anything

RE: multiple tomcat instances for every application

2012-11-20 Thread Caldarale, Charles R
From: Ashkan Rahmani [mailto:ashkan...@gmail.com] Subject: Re: multiple tomcat instances for every application do you know what is -Xshare:off ? is it related to share classes? http://lmgtfy.com/?q=%22-Xshare%3Aoff%22 King Regards, Didn't realize we were dealing with royalty... -

RE: Context root query

2012-11-20 Thread Caldarale, Charles R
From: vicky007aggar...@yahoo.co.in [mailto:vicky007aggar...@yahoo.co.in] Subject: Re: Context root query Please suggest how i can override the context root of an application using META-INF/context.xml You cannot. Please actually read the documentation everyone has been pointing you to.

RE: Context root query

2012-11-20 Thread Caldarale, Charles R
From: vicky [mailto:vicky007aggar...@yahoo.co.in] Subject: Re: Context root query i located the snippet(mentioned below) in which its written that we can define application context in context.xml. ** Individual

RE: Context root query

2012-11-20 Thread Caldarale, Charles R
From: vicky [mailto:vicky007aggar...@yahoo.co.in] Subject: Re: Context root query What sense does it make to statically defining a Context in server.xml ?? Pretty much none, these days. Don't do it. we cannot override  the default  application context  using /META-INF/context.xml  ??

RE: Context root query

2012-11-20 Thread Caldarale, Charles R
From: vicky [mailto:vicky007aggar...@yahoo.co.in] Subject: Re: Context root query My client has application archives files which all have version string in it as stated below :- eg:- mom-1.2.0.war, mom-1.3.0.war,  mom-1.4.0.war,  mom-1.5.0.war So they doest want the version string

RE: Running two different version of tomcat on the same server

2012-11-20 Thread Caldarale, Charles R
From: Kent Cole [mailto:kc...@reservationsoftwareonline.com] Subject: Running two different version of tomcat on the same server I am looking for instructions on how to run two different versions of tomcat on the same Linux server. Can anyone point me to instructions on doing this? Look

RE: My app stop respoding after 3 to 5 days in my Redhat server

2012-11-19 Thread Caldarale, Charles R
From: Daniel Mikusa [mailto:dmik...@vmware.com] Subject: Re: My app stop respoding after 3 to 5 days in my Redhat server I wanted to know whether is there any configuration issue in my tomcat, because of more request coming from the client machine it is stop working? Take some thread

RE: multiple tomcat instances for every application

2012-11-19 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: multiple tomcat instances for every application Most JVMs use shared memory for some things like core classes, etc. Unfortunately, I don't think that's true, at least for the Sun/Oracle JVMs - only the client JVM

RE: Handling requests when under load - ACCEPT and RST vs non-ACCEPT

2012-11-12 Thread Caldarale, Charles R
From: selvakumar netaji [mailto:vvekselva...@gmail.com] Subject: Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT I'm new to this mailing list. I read the above mail list and not able to grasp the concepts like load balancing, keep alive. Can you please give me links

RE: Windows Server 2003 - Apache Tomcat 6.0.14 is shutting down 5 seconds after started

2012-11-11 Thread Caldarale, Charles R
From: Camilo Diaz [mailto:k.dia...@gmail.com] Subject: Re: Windows Server 2003 - Apache Tomcat 6.0.14 is shutting down 5 seconds after started When I use the the startup.bat command When it finished all seems to be normal and I am able to see tomcat.exe in the task manager processes

RE: rotation of catalina.out on restart but no truncation

2012-11-09 Thread Caldarale, Charles R
From: Meik Suchlich [mailto:meik.suchl...@brandad-systems.de] Subject: AW: rotation of catalina.out on restart but no truncation catalina.out is rotated by restart to catalina.-mm-dd.log, but catalina.out itself contains the entries of the rotated log. I only want to know, how we

RE: App Initialization Order In Tomcat

2012-11-07 Thread Caldarale, Charles R
From: Jose H. Martinez [mailto:josehmartin...@gmail.com] Subject: Re: App Initialization Order In Tomcat Make the web service war filename be alphabetically before the second application war fileEg alpha.war is the web service and beta.war is the dependant application. This is

RE: AW: AW: tomcat 6.0.32 stops expiring sessions

2012-11-05 Thread Caldarale, Charles R
From: Igor Cicimov [mailto:icici...@gmail.com] Subject: Re: AW: AW: tomcat 6.0.32 stops expiring sessions The default session timeout for ssl in tomcat6 is 24 hours, maybe that explains why. Uh, what? Hi Chris, I got this from the config page

RE: AW: AW: AW: AW: AW: tomcat 6.0.32 stops expiring sessions

2012-11-05 Thread Caldarale, Charles R
From: Altmeier, Christian [mailto:christian.altme...@softwareag.com] Subject: AW: AW: AW: AW: AW: AW: tomcat 6.0.32 stops expiring sessions do you have a guideline how to get the thread dump? It's in the FAQ:

RE: Comma related bug in org.apache.catalina.valves.RemoteIpValve

2012-10-31 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Comma related bug in org.apache.catalina.valves.RemoteIpValve We'll probably end up with something like tagregex1,regex2,.../tag. Or a single regex, with | between the alternatives (which could be a workaround for you now, I guess).

RE: Rediect to another Tomcat instance...

2012-10-31 Thread Caldarale, Charles R
From: Tony Anecito [mailto:adanec...@yahoo.com] Subject: Re: Rediect to another Tomcat instance... I have a blog app that I want to isolate to another Tomcat instance and leave my web services on my exsting one. Can I not run the second Tomcat service on port 82 for example and redirect

RE: PDF Download problem tomcat = 7.0.27

2012-10-30 Thread Caldarale, Charles R
From: Johnny Six [mailto:johnny6che...@gmail.com] Subject: Re: PDF Download problem tomcat = 7.0.27 It looks like Tomcat7 is munging the content-type header. The correct response header should be: Content-Type: multipart/byteranges; boundary=CATALINA_MIME_BOUNDARY good

RE: Max Threads - Worker Threads clarification

2012-10-24 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Max Threads - Worker Threads clarification It's a little more complicated than that, because a threaded Tomcat can have multiple connections per child process. One presumes you meant httpd rather than Tomcat in the

RE: Tomcat forwarding example...

2012-10-23 Thread Caldarale, Charles R
From: Jeff [mailto:predato...@gmail.com] Subject: Tomcat forwarding example... So instead we are moving to supporting multiple versions/endpoints within the same WAR. That sounds like a rather shaky proposition. However, during the transition, this causes the actual service URL to

RE: Thread related MBean questions

2012-10-22 Thread Caldarale, Charles R
From: Wiley, Maxie [mailto:maxie.wi...@serco-na.com] Subject: RE: Thread related MBean questions All, Don't hijack threads. Start a completely new thread for a new topic. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only

RE: Tomcat 7 Java options format on Windows

2012-10-22 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat 7 Java options format on Windows AFAIK, Java command-line options are the same on all platforms except that file paths (not URLs!) on win32 systems generally use backslashes instead of regular slashes. But,

RE: Restricting certain ports to certain contexts?

2012-10-16 Thread Caldarale, Charles R
From: James Lampert [mailto:jam...@touchtonecorp.com] Subject: Restricting certain ports to certain contexts? A Tomcat server with a number of contexts. One of those contexts should be available unsecured on port 8080. The others should only be available secured, on port 443. Is there a

RE: jasper production config parameters

2012-10-12 Thread Caldarale, Charles R
From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] Subject: jasper production config parameters I would like to make the changes to my jasper config per http://tomcat.apache.org/tomcat-7.0-doc/jasper-howto.html#Production_Configuration My question is, am I required to do this in

RE: high CPU usage on tomcat 7

2012-10-04 Thread Caldarale, Charles R
From: Kirill Kireyev [mailto:kir...@instagrok.com] Subject: Re: high CPU usage on tomcat 7 Perhaps what I need is to have the JVM do garbage collections more frequently, so that they don't become a huge CPU-hogging ordeals when they do happen. That's not how it works. The amount of time

RE: Question on Contexts and resource pathing

2012-10-02 Thread Caldarale, Charles R
From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Question on Contexts and resource pathing when the application is zipped up and deployed out under $CATALINA_HOME/webapps/ROOT For clarification, do you mean deployed _as_ ROOT, or _under_ ROOT? Webapps cannot be nested, so no

RE: Question on Contexts and resource pathing

2012-10-02 Thread Caldarale, Charles R
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: Question on Contexts and resource pathing Remember that relative links are based on the web page the links are accessed from, not to the base of the webapp. You need to use a leading slash to base them on the webapp.

RE: Problems Increassing -Xmx

2012-10-01 Thread Caldarale, Charles R
From: joel badia escolà [mailto:basto...@gmail.com] Subject: Problems Increassing -Xmx if [ -z $JAVA_OPTS ]; then JAVA_OPTS=-Djava.awt.headless=true -Xmx2000m RELEVANT fi And what happens if you don't put quotation marks around the values? And i tried to modify

RE: Tomcat 6 serious issues on AIX 5.3

2012-09-28 Thread Caldarale, Charles R
From: vincent.soo...@daimler.com [mailto:vincent.soo...@daimler.com] Subject: Re: Tomcat 6 serious issues on AIX 5.3 On machines with higher memory Tomcat does not crash but as I indicated we get SocketException: [2012-09-25 12:13:35,700] ERROR com.*Action - System Error

RE: Suggestions for obtaining mod_jk for Amazon EC2

2012-09-28 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Suggestions for obtaining mod_jk for Amazon EC2 I'm trying to set up an Amazon EC2 instance as a proxying web server for Tomcat using mod_jk. I'm using Amazon's basic Linux 32-bit AMI which doesn't include much --

RE: Problem with hosting mulitple websites on single tomcat 7

2012-09-24 Thread Caldarale, Charles R
From: Pradeep [mailto:chaudhariprade...@gmail.com] Subject: Fwd: Problem with hosting mulitple websites on single tomcat 7 Host name=a.com appBase=webapps_a/Host Host name=b.com appBase=webapps_b/Host they both are pointing to o.com and not to their respective domains/webapp directories

RE: Problem with hosting mulitple websites on single tomcat 7

2012-09-24 Thread Caldarale, Charles R
From: chaudhariprade...@gmail.com [mailto:chaudhariprade...@gmail.com] Subject: Re: Problem with hosting mulitple websites on single tomcat 7 Don't top post. It goes to o.com So much for the admonition to be precise... What it are you talking about? What client are you using? Where is

RE: Nondeterministic behaviour of security constraints in Tomcat 7

2012-08-29 Thread Caldarale, Charles R
From: CASALINO, Matteo Maria [mailto:matteo.maria.casal...@sap.com] Subject: Nondeterministic behaviour of security constraints in Tomcat 7 The problem occurs for HTTP requests matching to the most specific URL pattern (in the above example, /a/b, /a/b/c, etc.), Please state where in the

RE: %{xxx}t not working

2012-08-21 Thread Caldarale, Charles R
From: John Byrne [mailto:john_by...@apple.com] Subject: Re: %{xxx}t not working Even though I've downloaded 7.0.29 From where? Exactly what did you download? What did you do after downloading? Be precise in your responses. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR

RE: tomcat sessions

2012-08-18 Thread Caldarale, Charles R
From: Elias Kopsiaftis [mailto:yemi...@gmail.com] Subject: tomcat sessions I found this site: http://tomcat.apache.org/tomcat-4.1-doc/config/manager.html Unless you're using a horribly outdated and completely unsupported version of Tomcat, why on earth are you looking there? Install a

RE: tomcat shutdown clarification

2012-08-14 Thread Caldarale, Charles R
From: Davis, Chad [mailto:chad.da...@emc.com] Subject: tomcat shutdown clarification When I use the shutdown.sh script to stop tomcat, what happens? I am tempted to say Magic. BUT the JVM won't go down if there are still other threads running Am I missing anything important? Just one

RE: tomcat shutdown clarification

2012-08-14 Thread Caldarale, Charles R
From: Davis, Chad [mailto:chad.da...@emc.com] Subject: RE: tomcat shutdown clarification And how does the -force option affect this? Will that kill the JVM regardless . . . Usually. The -force option will invoke kill -9 on the Tomcat pid if Tomcat doesn't stop in the specified time,

RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-12 Thread Caldarale, Charles R
From: Dale Ogilvie [mailto:dale_ogil...@trimble.com] Subject: RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl The following class load output excerpt results when I request a jsp from app1 (wtpwebapps/PromotionCodes/)

RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-08 Thread Caldarale, Charles R
From: Dale Ogilvie [mailto:dale_ogil...@trimble.com] Subject: RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl That says to me that app1 already has an instance of org.apache.jasper.runtime.ELContextImpl which it is

RE: Context variation problems -- localhost versus VPS

2012-08-06 Thread Caldarale, Charles R
From: Rainer Frey [mailto:rainer.f...@inxmail.de] Subject: Re: Context variation problems -- localhost versus VPS On 28.07.2012, at 00:01, Caldarale, Charles R wrote: You *must* have a webapp named ROOT - no exceptions. Excuse me, but where's that requirement coming from? To quote from

RE: [Tomcat 7] Why can't you use automatic deployment and exploded WAR when docBase is outside appBase?

2012-08-06 Thread Caldarale, Charles R
From: Miguel Almeida [mailto:migueldealme...@gmail.com] Subject: [Tomcat 7] Why can't you use automatic deployment and exploded WAR when docBase is outside appBase? The motivation for this is a simple code ServletContext.getRealPath(/) to create a simple temporary inputstream that works

RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-05 Thread Caldarale, Charles R
From: Dale Ogilvie [mailto:dale_ogil...@trimble.com] Subject: RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl I thought the WEB-INF/lib directories for different applications were isolated from each other, but in this case

RE: Context variation problems -- localhost versus VPS

2012-07-27 Thread Caldarale, Charles R
From: David Woosley [mailto:dwoos...@appnation.com] Subject: Context variation problems -- localhost versus VPS Development localhost: Tomcat 5.5.9 7.3 years old. Production remote VPS: Tomcat 5.5.3 7.9 years old You are in serious need of an upgrade. It's probably pointless to even

RE: Context variation problems -- localhost versus VPS

2012-07-27 Thread Caldarale, Charles R
From: David Woosley [mailto:dwoos...@appnation.com] Subject: Re: Context variation problems -- localhost versus VPS Tomcat 5.5 deployment seems somewhat confusing to me. It's the same in 5.5, 6.0, and 7.0, with more options available in 7. Basically, the rules to follow are: 1) Don't put

RE: Happy Birthday, Chuck!

2012-07-26 Thread Caldarale, Charles R
From: Gregor S. [mailto:rc4...@googlemail.com] Subject: Happy Birthday, Chuck! thanks again for your valuable comments on this list, and keep it up! You're welcome, and thank you. - Chuck

RE: Project will not build

2012-07-24 Thread Caldarale, Charles R
From: Cotton, Joseph B [mailto:bcot...@dpscs.state.md.us] Subject: RE: Project will not build Isnt /WEB-INF/lib a Tomcat folder? Not really. It's usage is defined in the servlet spec; the Tomcat doc avoids duplicating information from the spec, since that's required reading before

RE: tomcat 7.0.29 build fails with dbcp target enabled; ok if disabled.

2012-07-24 Thread Caldarale, Charles R
From: k9...@operamail.com [mailto:k9...@operamail.com] Subject: tomcat 7.0.29 build fails with dbcp target enabled; ok if disabled. building Tomcat7 from src Why? java version 1.7.0_b147-icedtea Tomcat 7 must be built with JDK 6 due to incompatibilities introduced by Sun/Oracle in JRE 7.

RE: Minimum Java Version question

2012-07-23 Thread Caldarale, Charles R
From: mike shugar [mailto:mikeshu...@hotmail.com] Subject: Minimum Java Version question Looking at the versions table here - does Minimum Java Version mean the lowest required version to run the Tomcat version Yes. or does it mean the lowest version that can run on the Tomcat version?

RE: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4?

2012-07-22 Thread Caldarale, Charles R
From: k9...@operamail.com [mailto:k9...@operamail.com] Subject: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4? I've installed rpm -qa | grep -i ^tomcat tomcat-lib-7.0.27-7.1.noarch

RE: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4?

2012-07-22 Thread Caldarale, Charles R
From: Tim Watts [mailto:t...@cliftonfarm.org] Subject: Re: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4? Since you've told the OS to not allow IPv4 connections on IPv6 sockets, I believe you would need to configure a

RE: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4?

2012-07-22 Thread Caldarale, Charles R
From: k9...@operamail.com [mailto:k9...@operamail.com] Subject: Re: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4? Service name=Catalina Connector port=8080 protocol=HTTP/1.1

RE: Location of Tomcat 7 jvm defualt settings...

2012-07-20 Thread Caldarale, Charles R
From: Tony Anecito [mailto:adanec...@yahoo.com] Subject: Location of Tomcat 7 jvm defualt settings... Does anyone know the location of the default jvm settings for Tomcat 7 if the JAVA_OPTS env variable for windows is not specified? There are none. Tomcat uses whatever the JVM defaults

RE: Calling Bootstrap.main from a Java program

2012-07-15 Thread Caldarale, Charles R
From: Mike O'Leary [mailto:tmole...@uw.edu] Subject: Calling Bootstrap.main from a Java program When I tried this running my Java program in Eclipse, the call to Bootstrap.main(new String[]{start}) did not return. The thread that calls Bootstrap.main() ends up waiting for input on the

RE: Watched Resources

2012-07-13 Thread Caldarale, Charles R
From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: Watched Resources On 13/07/2012 09:46, kieran...@gmx.net wrote: with the context.xml like this: Context path=/ docBase= reloadable=true That docBase looks very, very wrong. As does the path. Since the OP provided no useful

RE: Watched Resources

2012-07-13 Thread Caldarale, Charles R
Looks like we're going to referring to this a lot today: http://www.catb.org/~esr/faqs/smart-questions.html This website must be wrong: its predictions don't agree with my observations: http://stardate.org/nightsky/moon I think you're forgetting that it's Friday the 13th... - Chuck

RE: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-12 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container Considering the number of times this has come up on the list, I do not understand why the people who make the Service installer don't just add the missing files in

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