RE: ODBC jar files

2011-10-20 Thread Caldarale, Charles R
> From: Propes, Barry L [mailto:barry.l.pro...@citi.com] > Subject: RE: ODBC jar files > I had web app A with a context file in its META-INF directory and > web app B with a (different) context file in its META-INF directory. That's not related to the classloader being used here. There's a sep

RE: ODBC jar files

2011-10-20 Thread Caldarale, Charles R
> From: Propes, Barry L [mailto:barry.l.pro...@citi.com] > Subject: ODBC jar files > Will it hurt to have two different odbc jar files in the > lib folder? Which lib folder are you referring to? Tomcat's lib folder, or WEB-INF/lib of the webapp? If any class names are common to both jars, yo

RE: how to apply fixes for various identified vulnerabilities

2011-10-19 Thread Caldarale, Charles R
> From: Barrera, Maribel [mailto:maribel.barr...@travelport.com] > Subject: FW: how to apply fixes for various identified vulnerabilities > We are using Tomcat 4.1.24 Which is over 8.5 years old... > McAfee has identified several vulnerabilities. I bet it has. > How do I build these source co

RE: Force 32-bit installation on 64-bit windows?

2011-10-19 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Force 32-bit installation on 64-bit windows? > So if I select the 32-bit JRE, it should install the 32-bit service? Not sure if the installer will ask, but if you make the 32-bit JRE the default, it will use that and select the

RE: Force 32-bit installation on 64-bit windows?

2011-10-19 Thread Caldarale, Charles R
From: David kerber [mailto:dcker...@verizon.net] Subject: Force 32-bit installation on 64-bit windows? If I use the "32-bit/64-bit bit windows service installer", is there a way of forcing it to do a 32-bit installation when it's installing on 64-bit windows server 2008? The current Tomcat Win

RE: [sidebar] Tomcat configuration under webApp

2011-10-19 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: [sidebar] Tomcat configuration under webApp > On 19/10/2011 19:01, Tim Watts wrote: > > Don't know how this happens but your replies are coming across as > > quoted (i.e. having a "> " line prefix). Makes it very difficult to > > follow

RE: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Caldarale, Charles R
> From: chad.da...@emc.com [mailto:chad.da...@emc.com] > Subject: RE: TOMCAT_BASE and TOMCAT_HOME > > > This means that for multiple instances to work, each Tomcat instance > > > has to have its own set of these directories; they cannot be shared by > > > two differently configured Tomcat JVM i

RE: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Caldarale, Charles R
> From: chad.da...@emc.com [mailto:chad.da...@emc.com] > Subject: TOMCAT_BASE and TOMCAT_HOME > I'm reading Tomcat: The Definitive Guide Better to read the real Tomcat documentation, including the RUNNING.txt file in the download. > This means that for multiple instances to work, each Tomcat

RE: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Caldarale, Charles R
> From: Nathan Potter [mailto:npot...@opendap.org] > Subject: Re: JspServlet - Unexpected behavior, possible bug... > So is the idea to identify to the filter: "These are the things for > the org.apache.catalina.servlets.DefaultServlet" and then send > everything else to Hyrax? Can it be conf

RE: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Caldarale, Charles R
> From: Nathan Potter [mailto:npot...@opendap.org] > Subject: Re: JspServlet - Unexpected behavior, possible bug... > I don't see how to do it without using a rewrite rule for > every thing in the top level collection of URL's. You only need to have the filter invoked when the true DefaultServl

RE: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Caldarale, Charles R
> From: Nathan Potter [mailto:npot...@opendap.org] > Subject: Re: JspServlet - Unexpected behavior, possible bug... > by default servlet I mean the servlet mapped to "/" or "/*" And right there is your terminology problem. The default servlet is the one mapped to "/"; anything mapped to "/*"

RE: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Caldarale, Charles R
> From: Nathan Potter [mailto:npot...@opendap.org] > Subject: Re: JspServlet - Unexpected behavior, possible bug... > A new feature has been added to the web application that requires > JSP. But because an alternative default servlet is defined, this > disables the use of the JspServlet using th

RE: [OT] Is incoming connection request queue totally ordered?

2011-10-17 Thread Caldarale, Charles R
> From: Stevo Slavić [mailto:ssla...@gmail.com] > Subject: Re: [OT] Is incoming connection request queue totally ordered? > Needed to understand how Tomcat handles connector connection > requests queues to determine whether request processing order > can be guaranteed. The point I was trying to

RE: Multiple war files for a single webapp or context

2011-10-17 Thread Caldarale, Charles R
> From: Ziggy [mailto:zigg...@gmail.com] > Subject: Multiple war files for a single webapp or context > If any of the files change (either the jsp, css, js or java > files) i have to always rebuild the whole war file. This > means i deploy every single file on every release. Why is that a pro

RE: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Caldarale, Charles R
> From: Nathan Potter [mailto:npot...@opendap.org] > Subject: Re: JspServlet - Unexpected behavior, possible bug... > Does that mean that you figured out what I was talking about or how to > correct/adjust the behavior? No, but hopefully Ms Ramsey will now stop polluting the mailing list. Let

RE: Is incoming connection request queue totally ordered?

2011-10-17 Thread Caldarale, Charles R
> From: Ann Ramsey [mailto:ann.m.ram...@gmail.com] > Subject: Re: Is incoming connection request queue totally ordered? > Listen, the answers were all Greek to me. If you guys are > going to REALLY help non-IT people deal with TomCat, you > might want to speak English in your responses, so that

RE: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: JspServlet - Unexpected behavior, possible bug... > On 10/17/2011 2:29 PM, Ann Ramsey wrote: > > we figured it out - thank you > What was the problem? It appears Ms Ramsey is completely clueless concerning use of

RE: Is incoming connection request queue totally ordered?

2011-10-17 Thread Caldarale, Charles R
> From: Ann Ramsey [mailto:ann.m.ram...@gmail.com] > Subject: Re: Is incoming connection request queue totally ordered? > Thank you - we figured it out. Besides learning how to ask questions in a reasonable manner, you also need to learn not to respond to threads completely unrelated to your to

RE: Is incoming connection request queue totally ordered?

2011-10-17 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Is incoming connection request queue totally ordered? > As ar as I know, this is something controlled by the TCP/IP > stack of your host. And by network topology. > It is not dependent on Tomcat or Java. Not necessarily true; Tom

RE: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Caldarale, Charles R
> From: Nathan Potter [mailto:npot...@opendap.org] > Subject: JspServlet - Unexpected behavior, possible bug... > In my web application I need to utilize the JSP servlet, but > I need to use a different servlet mapping: > > jsp > /jsp/* > Before going any further,

RE: Service not starting due to java.lang.NoSuchMethodError

2011-10-16 Thread Caldarale, Charles R
> From: Ricardo Martin [mailto:rmar...@chamsyspr.com] > Subject: Service not starting due to java.lang.NoSuchMethodError > I have a Centos 5.7 server with JRE 1.6.0u27, tomcat 6.0.33 & > postgresql 9.1. How was Tomcat installed? Is it a real Tomcat downloaded ftom tomcat.apache.org, or a 3rd-p

RE: filters on j_security_check

2011-10-15 Thread Caldarale, Charles R
> From: Chema [mailto:demablo...@gmail.com] > Subject: Re: filters on j_security_check > where I can find info about SecurityFilter ? The first hit on Google... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended

RE: WebApp access to a LAN share

2011-10-15 Thread Caldarale, Charles R
> From: Brian Burch [mailto:br...@pingtoo.com] > Subject: Re: WebApp access to a LAN share > Well, for a start a webapp is not normally allowed to access > files outside its own container... Unless you've configured Tomcat to use a security manager, that's simply false; webapps run under the s

RE: Cannot retrieve client cert when requesting javax.net.ssl.peer_certificates

2011-10-14 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: Cannot retrieve client cert when requesting > javax.net.ssl.peer_certificates > I don't see that parameter anywhere in the servlet specification. It was in the 2.1 spec for ServletRequest, but seems to have disappeared somewhere alon

RE: filters on j_security_check

2011-10-13 Thread Caldarale, Charles R
> From: Alejandro Soto [mailto:smalejan...@gmail.com] > Subject: Re: filters on j_security_check > call j_security_check from inside another servlet is > just an idea, why is bad idea? Because it's not supported by the spec; please read SRV.12. If you want to do programmatic security in addit

RE: filters on j_security_check

2011-10-13 Thread Caldarale, Charles R
> From: Alejandro Soto [mailto:smalejan...@gmail.com] > Subject: Re: filters on j_security_check > what i need is to know if the authentication was successful or not What are you going to do with said information? > I just need to know that status and has to be before the authentication > mech

RE: Application not logging out properly

2011-10-12 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Application not logging out properly > But I can see these pages visited in the session just invalidated > by using the browser's back button after logging out. The session state is completely irrelevant - the browser knows noth

RE: Application not logging out properly

2011-10-12 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Application not logging out properly > But it doesn't explain why I can see the pages after session invalidation. It certainly does. If the browser (or some other intermediary) is caching the pages, they will be available for d

RE: Application not logging out properly

2011-10-12 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Application not logging out properly > I would rather avoid forcing the browser to reload each > page via the appropriate headers. Then they're going to be available in the browser cache until the browser chooses to discard th

RE: Application not logging out properly

2011-10-12 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: Application not logging out properly > upon logout, I find I am able to browse back through some > of the pages visited in the session. Are you sure it's not the browser simply displaying previously cached pages? If so, then have

RE: manager trying to use JAASRealm vice tomcat-users.xml

2011-10-12 Thread Caldarale, Charles R
> From: Lund, Holly (CONTR) [mailto:holly.l...@hq.doe.gov] > Subject: manager trying to use JAASRealm vice tomcat-users.xml > Tomcat 6.0.32 and java 1.6 on solaris 10 Good to know; thanks. > Uncommented the connector 8080 That's very odd, since that is not commented out in the standard serve

RE: Need help on SSL problem on new server after move from existing server

2011-10-11 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Need help on SSL problem on new server after move from existing > server > > There is no "debug" attribute on the element > any longer. Nor was it there in Tomcat 5.5, so that makes me suspicious of the whole se

RE: Rsecurity breach on tomcat 6.0.26

2011-10-11 Thread Caldarale, Charles R
> From: zach Li [mailto:zach...@hotmail.com] > Subject: Rsecurity breach on tomcat 6.0.26 > one user screen(or input) totallly showing up on the different user screen. Your webapp is most likely storing references to the request or response objects in static or instance fields of a servlet (or

RE: Fwd: SessionListener.sessionDestroyed is not called when stopping web application

2011-10-10 Thread Caldarale, Charles R
> From: Violeta Georgieva [mailto:miles...@gmail.com] > Subject: Re: Fwd: SessionListener.sessionDestroyed is not called when > stopping web application > I can confirm that in all three scenarios sessionDestroyed method > is not invoked and session.expire(false) is invoked. This may be becaus

RE: Should Form Authentication Valve restore request body on a PUT?

2011-10-07 Thread Caldarale, Charles R
> From: Nicholas Sushkin [mailto:nsush...@openfinance.com] > Subject: Re: Should Form Authentication Valve restore request body on a PUT? > The correct behaviour IMHO is to always GET the login form and return > it as a response to the unauthenticated request of any kind. Then, once > the form is

RE: Adding Revisions

2011-10-07 Thread Caldarale, Charles R
> From: Brendan P Keenan [mailto:bkee...@csc.com] > Subject: Adding Revisions > I cannot find how to apply 1162959. Hopefully someone > can tell me the steps or point me to documentation Have you read this? http://tomcat.apache.org/tomcat-6.0-doc/building.html - Chuck THIS COMMUNICATION MA

RE: Should Form Authentication Valve restore request body on a PUT?

2011-10-07 Thread Caldarale, Charles R
> From: Nicholas Sushkin [mailto:nsush...@openfinance.com] > Subject: Re: Should Form Authentication Valve restore request body on a PUT? > I set request method to "GET" on all unauthenticated requests that > forward to the login page. I'm confused. If you turn a PUT into a GET, it would seem

RE: How to get Tomcat HTTP port during startup of the server

2011-10-06 Thread Caldarale, Charles R
> From: Lahiru Gunathilake [mailto:glah...@gmail.com] > Subject: How to get Tomcat HTTP port during startup of the server > I have a requirement of getting the Tomcat HTTP port during > startup of my application. The obvious first question is: why? Also, you must know that Tomcat may be liste

RE: Detecting a login or logoff event

2011-10-06 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: Detecting a login or logoff event > I need to be able to intercept a successful authentication of a > login / logout request which can then be used to make a series > of system updates to record the fact. > I am thinking about scrip

RE: Using multiple login pages

2011-10-05 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: Using multiple login pages > If you're already using a .jsp for the login, you have all the dynamic > content capability you need. If instead you want the login to be handled > by a servlet, just make the setting target a previ

RE: Using multiple login pages

2011-10-05 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Using multiple login pages > Do you mean the login page as specified in web.xml's > as below: If you're already using a .jsp for the login, you have all the dynamic content capability you need. If instead you want the login t

RE: Using multiple login pages

2011-10-05 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Using multiple login pages > I wouldn't mind seeing a servlet specified as if you know > of an example. Simply set the of some to that of the login page. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWI

RE: Using multiple login pages

2011-10-04 Thread Caldarale, Charles R
> From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com] > Subject: Using multiple login pages > is it possible with Tomcat 6.0.26 for multiple login pages > to be specified? Read the servlet spec, especially section 13.2. A webapp may have only one element, so there cannot be multiple lo

RE: RHEL + Tomcat6, error in logfile

2011-10-04 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: RHEL + Tomcat6, error in logfile > Oct 4, 2011 4:46:25 PM org.apache.catalina.mbeans.ServerLifecycleListener > lifecycleEvent > SEVERE: destroyMBeans: Throwable > javax.management.MalformedObjectNameException: Cannot create object name fo

RE: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive

2011-09-30 Thread Caldarale, Charles R
> From: rapponcape [mailto:rapponc...@gmail.com] > Subject: Re: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive > It appears that I'll have to go back to using Apache Note that Tomcat is also Apache. > to proxy these requests to get keep-alive behavior to > function with these clie

RE: problem configuring tomcat7 in ubuntu 10.04

2011-09-29 Thread Caldarale, Charles R
> From: Anisha Karki [mailto:karki.ani...@gmail.com] > Subject: Re: problem configuring tomcat7 in ubuntu 10.04 > I downloaded tomcat 7.0.0 That would be a serious error; the current version is 7.0.21. 7.0.0 never got beyond beta. > Is there any documentation or step by step explanation on ho

RE: Seeking tips on multi-host, multi-context deployments

2011-09-28 Thread Caldarale, Charles R
> From: Sam Hokin [mailto:s...@ims.net] > Subject: Seeking tips on multi-host, multi-context deployments > I could post up all the various JVM and Tomcat parameters The devil is in the details. Without the specifics of the execution environment and the observed errors, it's really impossible t

RE: 2 servlets on tomcat.

2011-09-28 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: 2 servlets on tomcat. > ilyal levin wrote: > > I have installed tomcat v6 on port 8080, wrote a simple java > > program (eclipse 3.7) and now i have my servlet running. > > now i want to write another servlet, how can i define tomcat

RE: bind webapps to different IP addresses on a single instance of tomcat

2011-09-27 Thread Caldarale, Charles R
> From: Robert Lafleur [mailto:rlafl...@vbridges.com] > Subject: Re: bind webapps to different IP addresses on a single instance of > tomcat > Are these options available in Tomcat 6? Yes, all of them are. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MAT

RE: bind webapps to different IP addresses on a single instance of tomcat

2011-09-27 Thread Caldarale, Charles R
> From: Robert Lafleur [mailto:rlafl...@vbridges.com] > Subject: bind webapps to different IP addresses on a single instance of tomcat > Is there a way to configure a single instance of tomcat > to bind webapps to different ip addresses, or do I have > to configure two tomcat instance to host ea

RE: Tomcat 7 sometime returns wrong IP address with request.getRemoteAddr()

2011-09-21 Thread Caldarale, Charles R
> From: charlesk40 [mailto:charles...@yahoo.com] > Subject: Tomcat 7 sometime returns wrong IP address with > request.getRemoteAddr() > box1 makes a request to Tomcat7 server but the request.getRemoteAddr() > returns the IP address of box2 (or box n). This problem doesn't happen > all the time

RE: websphere 7.0 JAXWS webservice deployed in tomcat 6.0.32 not working

2011-09-21 Thread Caldarale, Charles R
> From: Narahari 'n' Savitha [mailto:savith...@gmail.com] > Subject: Re: websphere 7.0 JAXWS webservice deployed in tomcat 6.0.32 not > working > Tomcat7 can handle Servlet3 based classes. But Tomcat 6 can't, so perhaps you should retry using Tomcat 7. - Chuck THIS COMMUNICATION MAY CONTAIN

RE: Users and authentication - how?

2011-09-18 Thread Caldarale, Charles R
> From: Dola Woolfe [mailto:dolac...@yahoo.com] Subject: Users and > authentication - how? > Surely, there exists a relatively generic approach to this that > includes a backend database, new user form and authentication > rules! But I can't find. Can someone direct me as to where to > start m

RE: Using calendar .ics files over Tomcat 5.5

2011-09-15 Thread Caldarale, Charles R
> From: Dean Hoover [mailto:kb7...@gmail.com] > Subject: Re: Using calendar .ics files over Tomcat 5.5 > We are not using DAV, just simple iCalendar (.ics) files. But what _writes_ the files? Unless you have your own servlet to do this, or use DAV or a similar file upload mechanism, nothing ca

RE: 501 error not going to location

2011-09-14 Thread Caldarale, Charles R
> From: kkrikor [mailto:krikor.kruml...@gmail.com] > Subject: 501 error not going to location > I have set up an error page for the 501 error code. Where did you configure the ? (Be precise.) > Testing with Tomcat 7. Tomcat 7.what.what? (Be precise.) Since error pages are specific to indiv

RE: Strange networking trace

2011-09-14 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Strange networking trace > <- 58 Response and ACK > <- 58 Duplicate response and ACK > <- 54 ACK > <- 54 Duplicate ACK > <- 191 HTTP response > <- 191 Duplicate HTTP response > <- 54 ACK and FIN > <- 54 Duplicate ACK a

RE: Managing deployments in continuous build environments...

2011-09-13 Thread Caldarale, Charles R
> From: Jeff [mailto:predato...@gmail.com] > Subject: Managing deployments in continuous build environments... > Is there a best practice (process/tools) for handling web > application deployments in a continuous integration/deployment > pipeline environment across multiple nodes? You might wan

RE: Valves

2011-09-13 Thread Caldarale, Charles R
> From: Ricardo Bayley [mailto:ricardo.bay...@gmail.com] > Subject: Valves > I read this articles but I don't understand where or which > xml file to edit. > Can anyone tell me where should I configure it ? You configure the at the desired scope. If you want it to affect only the one webapp,

RE: JSP Exception object arriving null at error handler

2011-09-11 Thread Caldarale, Charles R
> From: Nadav Katz [mailto:nadav.k...@oracle.com] > Subject: RE: JSP Exception object arriving null at error handler > Is there anywhere where I can find documentation for this? Read the servlet spec. > I'm asking because I came across this behavior by chance when I got > a NullPointerExceptio

RE: Do imports inherit?

2011-09-10 Thread Caldarale, Charles R
> From: Donald Jolley [mailto:jolleyt...@gmail.com] > Subject: Do imports inherit? > I was sort of thinking that if I imported those classes > into a parent class that would be sufficient for all the > children. Apparently it isn't. Your final conclusion is correct - it's not sufficient. This

RE: Save session information in Memory database

2011-09-09 Thread Caldarale, Charles R
> From: Ashish Kulkarni [mailto:ashish.kulkarn...@gmail.com] > Subject: Re: Save session information in Memory database > What do you mean it will slow down? You would be making requests across a wire rather than reads and writes to memory. > we go about 1 GB of ram and Tomcat starts running o

RE: tomcat manager not working

2011-09-08 Thread Caldarale, Charles R
> From: Mark Eggers [mailto:its_toas...@yahoo.com] > Subject: Re: tomcat manager not working > You have the following virtual host: > >     >    maxyexpress.co.uk > > This means that the actual docBase may end up to be: > %CATALINA_HOME%\webapps\d:\wwwroot\maxyexpress.co.uk\wwwroot Don't thin

RE: Performance for many small requests

2011-09-03 Thread Caldarale, Charles R
> From: David Kerber [mailto:dcker...@verizon.net] > Subject: Re: Performance for many small requests > Then why shouldn't I just double my heap size? Wouldn't > that eliminate the risk of increased cache misses? As Darius stated, this part of the discussion is probably completely irrelevant

RE: Performance for many small requests

2011-09-03 Thread Caldarale, Charles R
> From: Darius D. [mailto:darius@gmail.com] > Subject: Re: Performance for many small requests > in my opinion using 64bit JVM with such a small > heap is only needed if performance testing shows > gains versus 32bit JVM. The main advantage of using a 64-bit JVM is the increased number of re

RE: Tomcat Performance Turning.

2011-09-02 Thread Caldarale, Charles R
> From: Talha Fazal [mailto:tfa...@credera.com] > Subject: RE: Tomcat Performance Turning. > We did take a thread dump and we found a lot of threads locked. > "http-8014-9" daemon prio=10 tid=0x60965c00 nid=0x6c83 in > Object.wait() > at > org.apache.tomcat.util.net.JIoEndpoin

RE: Tomcat Performance Turning.

2011-09-02 Thread Caldarale, Charles R
> From: Talha Fazal [mailto:tfa...@credera.com] > Subject: Tomcat Performance Turning. > In our staging environment for load testing, when we run the load > test using 525 concurrent users, the app doesn't perform at all. > The CPU usage (on Apache and Tomcat Servers) hovers between 7% to > 8%.

RE: Performance for many small requests

2011-09-01 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Performance for many small requests > > NIO may incur slightly more overhead due to thread switching. > > You'll have to measure to see if it's of any benefit. > Yes, but my guess is that it would be better than suf

RE: Performance for many small requests

2011-09-01 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Performance for many small requests > > You could also use the NIO connector which allows you > > to have fewer threads serve more requests without the > > keepalive-expiration delay. > Thanks, I'll take a look at this. NIO may

RE: Performance for many small requests

2011-09-01 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Performance for many small requests > > For small requests having a large new generation in the heap helps. > > This helps with the short term objects in the heap to get collected. > I'm not sure what this means, but I'll do some

RE: Performance for many small requests

2011-09-01 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Performance for many small requests > Is there any indication from what I've said that > I need a larger heap? Don't think so, but GC logging will tell you for sure. The compressed OOPs capability with a small heap should not i

RE: Performance for many small requests

2011-09-01 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Performance for many small requests > > Are you using 64-bit java or 32-bit? > 64-bit. Might want to try -XX:+UseCompressedOops, since you have a small heap on a 64-bit JVM. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

RE: [Solved] Two SSL certs. for same web app

2011-08-31 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: [Solved] Two SSL certs. for same web app > Since you have only one , the name attribute is irrelevant > as long as it matches the defaultHost setting in the . Should also note that the standard value of "localhost" for the def

RE: [Solved] Two SSL certs. for same web app

2011-08-31 Thread Caldarale, Charles R
> From: Greg Johnson [mailto:gre...@yahoo.com] > Subject: [Solved] Two SSL certs. for same web app > I did end up needing to slightly change the Host and Engine > declarations to point to 'ip-address-one' in my example. That change isn't necessary. >     Since you have only one , the name at

RE: Prevent Deployment

2011-08-30 Thread Caldarale, Charles R
> From: Mark Thomas > subject: RE: Prevent Deployment > > I don't believe there's a way to do this directly > Take a look at deployIgnore for the Host. Looks like I need to brush up on current capabilities... Thanks for the correct answer, which is obviously way better than my suggestion. - C

RE: Prevent Deployment

2011-08-30 Thread Caldarale, Charles R
> From: Jesse Farinacci [mailto:jie...@gmail.com] > Subject: Prevent Deployment > I'm using Tomcat 7.0.20 on IBM JDK 1.6.x. Thanks for telling us; many don't bother. > For historical reasons, I have some folders which are inside webapps. Do you mean they are under the appBase directory, or in

RE: Default App when virtual host under Tomcat 7.0.20

2011-08-30 Thread Caldarale, Charles R
> From: Rain Man [mailto:cmssea...@hotmail.com] > Subject: Default App when virtual host under Tomcat 7.0.20 > I'm trying to have virtual hosts in Tomcat 7.0.20 with a default app > WITHOUT renaming everything ROOT Not sure why you want to do things the hard way, but so be it. You need to plac

RE: deny access to directory

2011-08-30 Thread Caldarale, Charles R
> From: Robert Jacobson [mailto:robert.c.jacob...@nasa.gov] > Subject: deny access to directory > I'm trying to deny access to the .svn directories for my > Tomcat 6.0.32 installation "Doctor, doctor, it hurts when I do this." This begs the question: why do you have .svn directories underneath

RE: Two SSL certs. for same web app

2011-08-29 Thread Caldarale, Charles R
> From: Greg Johnson [mailto:gre...@yahoo.com] > Subject: Two SSL certs. for same web app > I've done some research and I believe I should use the "address" > parameter on the connectors, so that I would then have two sets of > Connector's, using the "clientn.keystore" on the 2nd SSL connector.

RE: TC on Windows Server Core

2011-08-24 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: TC on Windows Server Core > unless the JVM does something silly like trying to initialize > the graphics subsystem even when there isn't one available. Have to differentiate between the JVM graphics subsystem and t

RE: Is there a way to bake in URL parameters to a URL path?

2011-08-24 Thread Caldarale, Charles R
> From: Mattmann, Chris A (388J) [mailto:chris.a.mattm...@jpl.nasa.gov] > Subject: Is there a way to bake in URL parameters to a URL path? > What I would like to be able to do is to set up, via > configuration, the ability to map a new URL, say: > > http://myhost/fictionbooks > > To > > http:/

RE: Ajp13Processor threads are not getting closed.

2011-08-24 Thread Caldarale, Charles R
> From: Jagadish Raj R [mailto:jagadish_ra...@symantec.com] > Subject: Ajp13Processor threads are not getting closed. > Tomcat - 4.1.27 That version of Tomcat is over eight years old, and Tomcat 4 has not been supported for several years. Might want to think about upgrading... - Chuck THIS

RE: Multiple Tomcat Instances with Multiple IPs

2011-08-19 Thread Caldarale, Charles R
> From: Vickie Troy-McKoy [mailto:vtmc...@hotmail.com] > Subject: RE: Multiple Tomcat Instances with Multiple IPs > When I put in the DNS name or the IP address of the newly defined > interface with the correct port in the browser, I get "page can not > be displayed". Use netstat -ap to make su

RE: Multiple Tomcat Instances with Multiple IPs

2011-08-19 Thread Caldarale, Charles R
> From: Vickie Troy-McKoy [mailto:vtmc...@hotmail.com] > Subject: RE: Multiple Tomcat Instances with Multiple IPs > the very 1st time I ONLY changed ALL of the Connector ports > to add address="xxx.xx.x.xx". Since you didn't change the shutdown port on the second Tomcat instance, it would not

RE: Multiple Tomcat Instances with Multiple IPs

2011-08-19 Thread Caldarale, Charles R
> From: Vickie Troy-McKoy [mailto:vtmc...@hotmail.com] > Subject: Multiple Tomcat Instances with Multiple IPs > Instead of running it on different ports, we decided to run it > on a different IP address. Each Tomcat must still have a unique shutdown port configured in its element. > In serve

RE: Tomcat 6 getting error when trying to specify keystore

2011-08-18 Thread Caldarale, Charles R
> From: Diep, David (OCTO-Contractor) [mailto:david.d...@dc.gov] > Subject: RE: Tomcat 6 getting error when trying to specify keystore > I get the following in my logs during startup: > java.io.FileNotFoundException: > C:\Program Files\Apache Software Foundation\Tomcat 6.0\cert\keystore.jks > (T

RE: Why is the tomcat welcome page showing?

2011-08-15 Thread Caldarale, Charles R
> From: Furst, Carl [mailto:carl.fu...@mlb.com] > Subject: Why is the tomcat welcome page showing? > In server.xml I have a Host section set up with a Context that > has a path set to "". Unfortunate that you choose to use the least desirable method of setting the default webapp. > I see in t

RE: Tomcat war context path

2011-08-15 Thread Caldarale, Charles R
> From: Jesse Farinacci [mailto:jie...@gmail.com] > Subject: Re: Tomcat war context path > You could also bundle a META-INF/context.xml file which looks something akin > to: > > Pretty much wrong on all counts: 1) The path attribute is not allowed when the element is in META-INF/context.x

RE: j_security_check and RequestDispatcher forward

2011-08-15 Thread Caldarale, Charles R
> From: Chen Paz [mailto:chen@expand.com] > Subject: j_security_check and RequestDispatcher forward > I am using a servlet to intercept form based authentication in order > to insert attribute into the request and then to redirect the request > to j_security_check using RequestDispatcher. I

RE: auth-constraint

2011-08-12 Thread Caldarale, Charles R
> From: Bijesh Vijayan [mailto:bije...@gmail.com] > Subject: Re: auth-constraint > Is there a way in tomcat 7 to mention the roles outside of web.xml. Read section 8 of the servlet 3.0 spec; you might be able to use a web-fragment.xml to list the roles. - Chuck THIS COMMUNICATION MAY CONTAI

RE: auth-constraint

2011-08-12 Thread Caldarale, Charles R
> From: Bijesh Vijayan [mailto:bije...@gmail.com] > Subject: auth-constraint > I was having the following entry in my application web.xml in tomcat 5. You need to be precise when stating Tomcat versions; Tomcat 5.what.what? > > * > Let's look at section 12.7 of the servlet spec: "The spec

RE: nested context issue in tomcat 7

2011-08-12 Thread Caldarale, Charles R
> From: Bijesh Vijayan [mailto:bije...@gmail.com] > Subject: Re: nested context issue in tomcat 7 > So you mean to say that my URL should be changed for the > second context ? No, continue to use the slash in the URL; only the location in the file system contains the # as a place-holder for th

RE: Parallel Deployment & Sessions: What am I Missing?

2011-08-12 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: Parallel Deployment & Sessions: What am I Missing? > > Results surprise me ('NEW version ') > Why is that surprising? To quote from the doc: > "If no session information is present in the request, use the late

RE: Parallel Deployment & Sessions: What am I Missing?

2011-08-12 Thread Caldarale, Charles R
> From: shmol...@gmail.com [mailto:shmol...@gmail.com] On Behalf Of Jonathan > Rosenberg > Subject: Re: Parallel Deployment & Sessions: What am I Missing? > 1) Copy foo##001.war to webapps & visit /foo. > Results as expected ('old version'). Fine so far. > 2) Copy foo##002.war to webapps & re

RE: nested context issue in tomcat 7

2011-08-12 Thread Caldarale, Charles R
> From: Bijesh Vijayan [mailto:bije...@gmail.com] > Subject: Re: nested context issue in tomcat 7 > Where can I mention the path.my URLs are > http://localhost:8080/Employee/logon.do > http://localhost:8080/Employee/Reports/first.do The path is derived from the name of the .xml file containing t

RE: nested context issue in tomcat 7

2011-08-12 Thread Caldarale, Charles R
> From: Bijesh Vijayan [mailto:bije...@gmail.com] > Subject: nested context issue in tomcat 7 > file name = CATALINA_BASE/conf/Catalina/localhost/Employee.xml > docBase="./Employee" > c

RE: Cannot make war file as default app

2011-08-12 Thread Caldarale, Charles R
> From: exquisite [mailto:gautam_exquis...@yahoo.com] > Subject: Re: Cannot make war file as default app > i did not want to rename my war to ROOT.war And thereby make a lot more work for yourself. Simply rename it and be done. Using the horribly outdated and restrictive mechanism of placing

RE: Tomcat war context path

2011-08-11 Thread Caldarale, Charles R
> From: Mohit Anchlia [mailto:mohitanch...@gmail.com] > Subject: Tomcat war context path > Currently when I deploy abc-SNAPSHOT-01.war I access is something like > http://localhost:8080/abc-SNAPSHOT-01.war Unlikely; I suspect it's really: http://localhost:8080/abc-SNAPSHOT-01 > How can I change

RE: "-d64" disappears from command line in "ps" output?

2011-08-11 Thread Caldarale, Charles R
> From: Bill Davidson [mailto:bill...@gmail.com] > Subject: Re: "-d64" disappears from command line in "ps" output? > > In what way does this concern Tomcat? > I wasn't sure if it had something to do with the way it was launched. Are you using jsvc? If so, it might strip off parameters it does

RE: "-d64" disappears from command line in "ps" output?

2011-08-10 Thread Caldarale, Charles R
> From: Bill Davidson [mailto:bill...@gmail.com] > Subject: "-d64" disappears from command line in "ps" output? > RedHat 5.6 64-bit > "java -version" output: > Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode) > Tomcat: 6.0.26 > The "-d64" option seems to be removed from the "ps" >

RE: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive

2011-08-05 Thread Caldarale, Charles R
From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive > Now, is this a fixable thing within the Java stack? Or is it an > application limitation? The other option is re-write the STM Servlet(s) as non-STM. What Ma

<    5   6   7   8   9   10   11   12   13   14   >