Re: Tomcat 7: Why is JDK needed ?

2011-07-21 Thread Justin Randall
It uses the Java compiler for activities such as compiling JSPs into Servlets into Java class files. All versions of Tomcat require the JDK. Sent from my BlackBerry device -Original Message- From: Bobi St Date: Thu, 21 Jul 2011 19:58:53 To: Subject: Tomcat 7: Why is JDK needed ? Hi

Re: Tomcat Configuration in Multi Core Systems

2011-04-24 Thread Justin Randall
ry won't change the fact that access to this object from other processors will require non-local memory access through CPU boundaries. Regards, Justin Randall Sent from my BlackBerry device -Original Message- From: David Kerber Date: Sun, 24 Apr 2011 08:54:35 To: Tomcat Users Li

Re: Tomcat Configuration in Multi Core Systems

2011-04-23 Thread Justin Randall
o complete. If each request is handled only by a single thread then it should be expected that a CPU with 1/2 the speed performs 1/2 as fast. Regards, Justin Randall --Original Message-- From: Sujeet Singh To: users@tomcat.apache.org ReplyTo: Tomcat Users List Subject: Tomcat Configu

Re: Tomcat on a Linux virtual machine

2011-04-15 Thread Justin Randall
Hi Darryl, Is the database also running on a VM? My experience with "problematic applications on VMs" hasn't been related to the application itself (Tomcat, BIND, Apache, etc.) but moreso whether they generate high volumes of local storage I/O (like a database using local disks). The impact t

Re: [OT] servlet-specific error pages

2011-04-13 Thread Justin Randall
. Regards, Justin Randall Sent from my BlackBerry device -Original Message- From: Martin Gainty Date: Wed, 13 Apr 2011 21:47:51 To: Tomcat Users List Reply-To: "Tomcat Users List" Subject: RE: [OT] servlet-specific error pages in web.xml for your webapp map a custom jsp for each ret

RE: [OT] servlet-specific error pages

2011-04-13 Thread Justin Randall
programming mistakes as an example. Regards, Justin Randall > Date: Wed, 13 Apr 2011 16:11:09 -0400 > From: ch...@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: [OT] servlet-specific error pages > > -BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 &

RE: [OT] servlet-specific error pages

2011-04-13 Thread Justin Randall
tcher dispatcher = req.getRequestDispatcher("/WEB-INF/path/to/errorfile.jsp"); req.setAttribute("errorCode", "500"); req.setAttribute("errorMessage", "My server had an oops!"); dispatcher.forward(req, rsp); = Note the XML file doesn't have a s

Re: Customize URL access

2011-03-31 Thread Justin Randall
Read up on web.xml and using Serlvet mappings to define paths that map to the Servlet class itself. It looks like you're currently using direct servlet invocation. --Original Message-- From: Jonatan Aguirre Kobayashi To: users@tomcat.apache.org ReplyTo: Tomcat Users List Subject: Customi

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-14 Thread Justin Randall
on 32-bit versus 64-bit performance discussion(s) Sent: Mar 14, 2011 17:08 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin, On 3/14/2011 3:45 PM, Justin Randall wrote: > In general, it is technically possible for a 32-bit application to > perform faster than a 64-bit application when runn

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-14 Thread Justin Randall
In general, it is technically possible for a 32-bit application to perform faster than a 64-bit application when running on a 64-bit CPU because of CPU memory cache behaviour. 64-bit memory addresses occupy more space within a single cache line and can result in added memory cache misses (cache

Re: Change of email address

2010-12-25 Thread Justin Randall
One would imagine you would simply subscribe your new address and (potentially) unsubscribe your old address. --Original Message-- From: Michael McQuade To: 'Tomcat Users List' ReplyTo: Tomcat Users List Subject: Change of email address Sent: Dec 25, 2010 09:57 How does one go about chan

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

2010-12-06 Thread Justin Randall
Just to clarify, I'm not trying to imply that ClientAbortException wouldn't be generated for Async mode in some way but simply that I've only tested TCP RST behaviour in non-Async mode. Sent from my BlackBerry device -Original Message- From: "Justin Randall"

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

2010-12-06 Thread Justin Randall
a web browser). Regards, Justin Randall Sent from my BlackBerry device -Original Message- From: Ben Date: Sun, 5 Dec 2010 14:25:56 To: Tomcat Users List Reply-To: "Tomcat Users List" Subject: Can tomcat detect disconnection by client side in Async mode? Hi there, Any idea about t

Re: GET and POST data in same request

2010-12-02 Thread Justin Randall
GET and POST are HTTP verbs/operations. It is impossible to have a combo GET/POST. Which ever verb is specified in the HTTP headers is what will control whether doGet or doPost is called. You are correct that GET and POST reference data differently, however they are actions and not "areas of d

RE: what is it doing ?

2010-10-19 Thread Justin Randall
One more thing, aside from checking whether the CPU consumed is usr or sys you may also want to lookup at iowait (a.k.a "wa"). This would indicate the CPU is busy waiting for IO operations to complete (potentially a slow disk or storage device). Regards, Justin Randall &

RE: what is it doing ?

2010-10-19 Thread Justin Randall
ess the >issue. You could also check "top" to see whether the CPU is being consumed in usr or sys space, along with whether maybe the memory on your system is maxed out (trigger high CPU load transfer data between RAM and swap space). Regards, Justin Randall > Date:

RE: j_security_check with https

2009-01-07 Thread Justin Randall
rs@tomcat.apache.org > Subject: Re: j_security_check with https > > Hi Justin, > > On Wed, Jan 7, 2009 at 4:13 AM, Justin Randall wrote: > > > > Create a Filter subclass with the sole purpose of having its "doFilter" > > method call "sendRedirect&quo

RE: j_security_check with https

2009-01-06 Thread Justin Randall
Howdy, First, to clear an incorrect point made... There is a point of switching back to HTTP after HTTPS. From a server load perspective having to perform SSL computations for every single HTTP request can be a serious performance bottleneck. As for the security aspect, transmission of the

RE: Form Based Authenticattion - j_security_check does not redirect from http to https

2008-12-09 Thread Justin Randall
Based Authenticattion - j_security_check does not redirect > from http to https > > > > Justin Randall-5 wrote: > > > > > > Hi again, > > > > I thought about this a little more and I think what you're experiencing > > might be as a result of

RE: Form Based Authenticattion - j_security_check does not redirect from http to https

2008-12-09 Thread Justin Randall
Hi again, I thought about this a little more and I think what you're experiencing might be as a result of the RequestDispatcher. When the RequestDispatcher "fowards" to a URL resource, it overrides the SSL/Authentication constraints you have setup. There is a way of getting around this (whic

RE: Form Based Authenticattion - j_security_check does not redirect from http to https

2008-12-09 Thread Justin Randall
Hello, Have you tried adding "j_security_check" to your web.xml for patterns which should be redirected to SSL? Regards, Justin > Date: Tue, 9 Dec 2008 00:17:36 -0800 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Form Based Authenticattion - j_security_check does not redi

RE: Tomcat 6.0.18 Servlet Loading/Reloading

2008-12-04 Thread Justin Randall
n. > > Justin. > > > From: [EMAIL PROTECTED] > > To: users@tomcat.apache.org > > Date: Wed, 3 Dec 2008 20:46:50 -0600 > > Subject: RE: Tomcat 6.0.18 Servlet Loading/Reloading > > > > > From: Justin Randall [mailto:[EMAIL PROTECTED] > > > Sub

RE: Tomcat 6.0.18 Servlet Loading/Reloading

2008-12-04 Thread Justin Randall
fferent logging statements. You will see both of them being executed when Tomcat loads the Servlet. I hope this helps better clarify the situation. Justin. > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Date: Wed, 3 Dec 2008 20:46:50 -0600 > Subject: RE: Tomcat 6.0.18 Serv

RE: Tomcat 6.0.18 Servlet Loading/Reloading

2008-12-03 Thread Justin Randall
I've been doing some more testing and added a bunch of "System.out.println" statements to the "init", "init(ServletConfig)", and "doPost/doGet" methods so that I could see what my application was doing without log4j initialized. Basically when I restart Tomcat, it doesn't call any of the "init"

Tomcat 6.0.18 Servlet Loading/Reloading

2008-12-03 Thread Justin Randall
Hello, I have a very strange issue with Tomcat 6.0.18 and I'm not sure what information to provide to help debug further. I have an installation of Tomcat 6.0.18 which fails to properly initialize servlets upon restart. If I deploy a new application.war file while Tomcat is running (even if i