Deploy Tocam with 2 war - one core and one customize

2009-07-05 Thread sha_z12
Hello, i need to deploy to tomcat 2 wars that have same file name but the files can be different. for example, the 2 wars are : 1. CORE.war 2. Customize.war what i need is that when i am calling default.jsp file, tomcat will go first to customize.war and will look there for the requested

Re: NotSerializableException MemoryUser?

2009-07-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 7/3/2009 11:48 AM, Mark Thomas wrote: Christopher Schultz wrote: Ronald, On 7/3/2009 6:34 AM, Ronald Klop wrote: I'm running Tomcat 6.0.20 in a cluster on 3 nodes. If I restart one I get this exception: Caused by:

Re: Response Time in Jasper Logs

2009-07-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 7/3/2009 10:42 PM, Robinson, Eric wrote: I just want to be sure of one thing. Does the value represent the total time from the moment tomcat saw the client's request to the time it successfully delivered the full response? You can always

Re: Tomcat for serving only static files - how to prevent the likes of JSP execution

2009-07-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Keith, On 7/4/2009 7:17 PM, Keith67 wrote: I have an application I would like to allow users to upload files through, and then I want to be able to link to them and serve them from the server. If I do this, I run the risk of them uploading

RE: Response Time in Jasper Logs

2009-07-05 Thread Robinson, Eric
That's very helpful, Chris. The bytes are not guaranteed to have arrived at the client by the time the valve computes the elapsed time. Right, but is it generally correct to say that the response time value represents the time from when the request was received to the time the response was

Re: Deploy Tocam with 2 war - one core and one customize

2009-07-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shon, On 7/5/2009 8:44 AM, sha_z12 wrote: i need to deploy to tomcat 2 wars that [contain the] same file name[s] but the files can be different. for example, the 2 wars are : 1. CORE.war 2. Customize.war what i need is that when i am calling

Re: Tomcat for serving only static files - how to prevent the likes of JSP execution

2009-07-05 Thread Keith67
Chris and Len, Thanks for this. In thinking about this, it may be the easiest thing for me to do to simply block people uploading files that look like .jsp! Initially didn't consider this, as it's a blacklisting approach as opposed to a whitelisting approach, which is not as good really. Made

Re: Tomcat for serving only static files - how to prevent the likes of JSP execution

2009-07-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Keith, On 7/5/2009 10:15 AM, Keith67 wrote: In thinking about this, it may be the easiest thing for me to do to simply block people uploading files that look like .jsp! That is definitely a possible strategy, but would that interfere with your

Re: Response Time in Jasper Logs

2009-07-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 7/5/2009 10:07 AM, Robinson, Eric wrote: That's very helpful, Chris. The bytes are not guaranteed to have arrived at the client by the time the valve computes the elapsed time. Right, but is it generally correct to say that the

Re: JSP when tag question

2009-07-05 Thread Jim Anderson
Ron, Thank you, much! I will definitely get the plugin and give it a try. Jim Ron McNulty wrote: Hi Jim A liitle OT, but I can recommend the HTML Validator plugin for Firefox (if you don't already have it). It puts a red light in the bottom right corner of the browser when you forget an

Re: Deploy Tocam with 2 war - one core and one customize

2009-07-05 Thread David Smith
sha_z12 wrote: Hello, i need to deploy to tomcat 2 wars that have same file name but the files can be different. for example, the 2 wars are : 1. CORE.war 2. Customize.war what i need is that when i am calling default.jsp file, tomcat will go first to customize.war and will look there

Re: Tomcat for serving only static files - how to prevent the likes of JSP execution

2009-07-05 Thread David Smith
Christopher Schultz wrote: Keith, On 7/4/2009 7:17 PM, Keith67 wrote: I have an application I would like to allow users to upload files through, and then I want to be able to link to them and serve them from the server. If I do this, I run the risk of them uploading executable content

Re: Tomcat for serving only static files - how to prevent the likes of JSP execution

2009-07-05 Thread Keith67
Yes, thought had occurred... It wouldn't need to be DefaultServlet even as I can control the URL for which these files would be accessed. It was the thought of cut and pasting all the MIME types to get them to work that was putting me off! Thanks, Keith. -- View this message in context:

RE: Response Time in Jasper Logs

2009-07-05 Thread Robinson, Eric
Chris, Your question makes me think that perhaps what you're seeing is a timing-out keep-alive request: It's not what I'm seeing in the logs, it's what the customer is seeing in the application. One of my customers says they are frequently seeing long application delays on all of the

Multiple invocation of servlet with the same URL request

2009-07-05 Thread Daniele Development-ML
Hello everybody, I'm developing a web application using Struts and Tomcat as deployment container. A servlet of the application retrieves a BLOB object (ca 1 - 4 MB) from the local database and registers this activity in another table, of the same db. Looking at the log and all the printouts, I

RE: Multiple invocation of servlet with the same URL request

2009-07-05 Thread Caldarale, Charles R
From: Daniele Development-ML [mailto:daniele@googlemail.com] Subject: Multiple invocation of servlet with the same URL request Anybody has any hint about this problem and how to resolve it? It's you code - do more debugging. Start by including a stack trace where you have the

tomcat shut down normally

2009-07-05 Thread maven apache
Hi all:I am working with a web service using the tomcat,however I met some problems recently. The tomcat shut down when my application work wrongly. I intend to call some command in my web application by the Runtime class,and I create a new class which extends the Thread to get the Error stream,if