Re: How-to-achieve-url-maxtry-filter-in-apache-tomcat

2012-08-28 Thread André Warnier
rathinasamy@snovabits.net wrote: No, not bothering about the interuption. As of now if an order comes generate an url and return back with a maximum try for 2 times and time to live for 15 minutes. Let`s restart this from the beginning. 1) Unless you have a specific webapp and a specific

Re: How-to-achieve-url-maxtry-filter-in-apache-tomcat

2012-08-28 Thread rathinasamy....@snovabits.net
Thank you very much André Warnier for your time. Here I would like to use default webapp/servlet. - add a filter to the default webapp, so that before letting the default servlet return a static file, it will take into account some kind of counter Can you give me some examples for how to add

Re: How-to-achieve-url-maxtry-filter-in-apache-tomcat

2012-08-28 Thread rathinasamy....@snovabits.net
Really sorry, missed the last line... On 8/28/2012 12:48 PM, rathinasamy@snovabits.net wrote: Thank you very much André Warnier for your time. Here I would like to use default webapp/servlet. - add a filter to the default webapp, so that before letting the default servlet return a

Re: Issue starting catalina.sh on Windows for tomcat 7 version

2012-08-28 Thread Joseph
Make script to print sys pros before final call to java exe,compare printed info with previous working one,probably issue with java lib path,class path etc., which makes classloader not able to load ,just a guess,hope it helps 在 2012-8-28,15:18,irfan pasha irfan17...@gmail.com 写道: Hi, I

Re: Issue starting catalina.sh on Windows for tomcat 7 version

2012-08-28 Thread André Warnier
irfan pasha wrote: Hi, I have recently installed tomcat7 version and tried to start catalina.sh from my bash on my windows machine after setting the JAVA path. The above is a bit confusing (and incomplete). On which machine with which OS is which precise (7.x.y) version of Tomcat

Re: Issue starting catalina.sh on Windows for tomcat 7 version

2012-08-28 Thread irfan pasha
Hi, I have installed tomcat 7.0.29 on windows7. I have download .tar.gz file from http://tomcat.apache.org/download-70.cgi. My bash and the console both are in same machine. I have installed MKS tool kit that enables me to run bash on Windows. Let me know if you need more information. Regards,

Re: Issue starting catalina.sh on Windows for tomcat 7 version

2012-08-28 Thread André Warnier
irfan pasha wrote: Hi, I have installed tomcat 7.0.29 on windows7. I have download .tar.gz file from http://tomcat.apache.org/download-70.cgi. My bash and the console both are in same machine. I have installed MKS tool kit that enables me to run bash on Windows. Let me know if you need more

Re: Issue starting catalina.sh on Windows for tomcat 7 version

2012-08-28 Thread irfan pasha
Well i have alternative of starting tomcat based on the OS. But i specifically want to use catalina.sh for both windows and unix operating systems. For the past 4 years i am able to use it, but not only with this version. What is the major change that was done with this version. why does

Re: Issue starting catalina.sh on Windows for tomcat 7 version

2012-08-28 Thread André Warnier
irfan pasha wrote: Well i have alternative of starting tomcat based on the OS. But i specifically want to use catalina.sh for both windows and unix operating systems. What you want, and what is possible and/or supported, may be different things. For the past 4 years i am able to use it, but

Re: Issue starting catalina.sh on Windows for tomcat 7 version

2012-08-28 Thread Martin Knoblauch
On Tue, Aug 28, 2012 at 1:17 PM, André Warnier a...@ice-sa.com wrote: irfan pasha wrote: Well i have alternative of starting tomcat based on the OS. But i specifically want to use catalina.sh for both windows and unix operating systems. What you want, and what is possible and/or supported,

Test - please ignore

2012-08-28 Thread Martin Knoblauch
Just a test after moving from googlemail to gmail. I am kind of afraid that I broke my subscription ... Thanks Martin - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: getRealPath returns null

2012-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/27/12 6:07 PM, Mark Eggers wrote: On 8/27/2012 1:24 PM, Christopher Schultz wrote: Hmm... that's ... not supposed to happen. The AppContext leak-prevention has been in Tomcat since back in 2009. Can you confirm that the

Windows Path Not Found for urandom

2012-08-28 Thread Jeffrey Janner
apologize for the lack of details in advance, but I don't have the specifics yet. I have a customer that is using Tomcat (6.0.33?) on Windows and are monitoring the process with SysInternals Process Monitor. About every 5 seconds, they are seeing Tomcat.exe generate a Path Not Found error on

Re: Issue starting catalina.sh on Windows for tomcat 7 version

2012-08-28 Thread Mark Eggers
On 8/28/2012 2:39 AM, irfan pasha wrote: Hi, I have installed tomcat 7.0.29 on windows7. I have download .tar.gz file from http://tomcat.apache.org/download-70.cgi. My bash and the console both are in same machine. I have installed MKS tool kit that enables me to run bash on Windows. Let me

Re: How-to-achieve-url-maxtry-filter-in-apache-tomcat

2012-08-28 Thread Pid *
On 28 Aug 2012, at 05:00, rathinasamy@snovabits.net rathinasamy@snovabits.net wrote: No It can't be responsible for removing the url, since the url path will not come through my application it is directly hitting the tomcat port. That makes no sense. If it's your app then you can

Re: Custom Header Fields are Missing after SiteMinder Redirect (UNCLASSIFIED)

2012-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 8/27/12 7:25 PM, Lowman, John Mr CTR USA AMC wrote: I hope someone out there has some insight regarding the problem that I'm about to describe. All custom request header fields that are added via the SiteMinder policy server are being

Re: Initial memory pool field is left empty

2012-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ruud, On 8/28/12 11:34 AM, Ruud Boekenoogen wrote: We are running a business objects application in Apache tomcat 5.5..20 and it seems to give errors from time to time. This result is that application no longer being available. What errors do you

Re: Unable to change version of Apache Tomcat

2012-08-28 Thread John Byrne
We call a script that sets variables (See below) and then this script calls ...tomcat/startup.sh (See below) John Byrne System Administrator, IST john_by...@apple.com AppName=Service INST=$1 export SPLUNK_ACCESS_LOGS=/ngs/app/`whoami`/var/`hostname`/accessLogs/$AppName export

Re: Unable to change version of Apache Tomcat

2012-08-28 Thread John Byrne
I figured it out. It was a library issue. Thank you for your help. John Byrne System Administrator, IST john_by...@apple.com On Aug 28, 2012, at 9:42 AM, John Byrne wrote: We call a script that sets variables (See below) and then this script calls ...tomcat/startup.sh (See below)

RE: Custom Header Fields are Missing after SiteMinder Redirect (UNCLASSIFIED)

2012-08-28 Thread Lowman, John Mr CTR USA AMC
Classification: UNCLASSIFIED Caveats: NONE Chris, It looks to me like the policy server is sending an HTTP request using the GET method. John -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, August 28, 2012 12:13 PM To: Tomcat

tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Knute Snortum
If this is the wrong mailing list for tomcat7-maven-plugin, could someone direct me to the right place? I'm developing a Vaadin web app in Eclipse Juno on Windows 7 and I'm using the tomcat7-maven-plugin 2.0-beta-1 to help in development by running the app in Tomcat inside of the IDE -- or I'm

Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Konstantin Kolinko
2012/8/28 Knute Snortum ksnor...@catalystitservices.com: If this is the wrong mailing list for tomcat7-maven-plugin, could someone direct me to the right place? Yes, this is the list. I'm developing a Vaadin web app in Eclipse Juno on Windows 7 and I'm using the tomcat7-maven-plugin

Re: getRealPath returns null

2012-08-28 Thread Mark Eggers
Comments inline with COMMENT On 8/28/2012 8:19 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/27/12 6:07 PM, Mark Eggers wrote: On 8/27/2012 1:24 PM, Christopher Schultz wrote: Hmm... that's ... not supposed to happen. The AppContext

RE: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Knute Snortum
-Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Tuesday, August 28, 2012 11:15 AM To: Tomcat Users List Subject: Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files? 2012/8/28 Knute Snortum

Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Konstantin Kolinko
2012/8/28 Knute Snortum ksnor...@catalystitservices.com: applicationContext.xml is my Spring context file. I have placeholders in it to point to the correct database based on Maven profiles and filtering. So a piece of applicationContext.xml looks like this: bean id=dataSource

Re: getRealPath returns null

2012-08-28 Thread Mark Eggers
On 8/28/2012 11:39 AM, Mark Eggers wrote: COMMENT Well, fantastic isn't quite the word I'd use . . . . I wonder what would happen if I used the classesToInitialize attribute of the JreMemoryLeakPreventionListner, and gave it java.awt.MediaTracker? Just to update - same memory leak

Re: Custom Header Fields are Missing after SiteMinder Redirect (UNCLASSIFIED)

2012-08-28 Thread Rainer Jung
Hi John, On 28.08.2012 01:25, Lowman, John Mr CTR USA AMC wrote: I hope someone out there has some insight regarding the problem that I'm about to describe. All custom request header fields that are added via the SiteMinder policy server are being stripped (intentionally or accidentally)

Re: How-to-achieve-url-maxtry-filter-in-apache-tomcat

2012-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/28/12 3:18 AM, rathinasamy@snovabits.net wrote: Thank you very much André Warnier for your time. Here I would like to use default webapp/servlet. - From reading many many posts to this list, modifying the file system out from under the

Re: Custom Header Fields are Missing after SiteMinder Redirect (UNCLASSIFIED)

2012-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 8/28/12 2:03 PM, Lowman, John Mr CTR USA AMC wrote: It looks to me like the policy server is sending an HTTP request using the GET method. Can you watch with eg. Wireshark to see if the headers are being included in that request? If

RE: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Knute Snortum
-Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Tuesday, August 28, 2012 12:02 PM To: Tomcat Users List Subject: Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files? 2012/8/28 Knute Snortum

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

2012-08-28 Thread Dale Ogilvie
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Not quite. My point was the loading of the EL implementation is likely to be triggered by user code. If the webapp class loader is the TCCL loader than classes from the web app will be loaded before those from the

Re: Customize from and to address for emails that come from tomcat

2012-08-28 Thread bwedd...@sbcglobal.net
I ended up fixing this at the smtp server. I added an entry in /etc/postfix/generic with the undesired address desired address Re-ran the postmap command and reloaded postfix. It is somewhat of a hack, but customers won't see a tomcat at some.local.server.org address. They now see

Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Olivier Lamy
Hi, Inline 2012/8/28 Knute Snortum ksnor...@catalystitservices.com: If this is the wrong mailing list for tomcat7-maven-plugin, could someone direct me to the right place? I'm developing a Vaadin web app in Eclipse Juno on Windows 7 and I'm using the tomcat7-maven-plugin 2.0-beta-1 to help

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

2012-08-28 Thread Konstantin Kolinko
2012/8/29 Dale Ogilvie dale_ogil...@trimble.com: -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Not quite. My point was the loading of the EL implementation is likely to be triggered by user code. If the webapp class loader is the TCCL loader than classes from the web

Re: Custom Header Fields are Missing after SiteMinder Redirect (UNCLASSIFIED)

2012-08-28 Thread Bilal S
On Tue, Aug 28, 2012 at 3:55 PM, Rainer Jung rainer.j...@kippdata.dewrote: Hi John, On 28.08.2012 01:25, Lowman, John Mr CTR USA AMC wrote: I hope someone out there has some insight regarding the problem that I'm about to describe. All custom request header fields that are added via

RE: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Knute Snortum
-Original Message- From: Olivier Lamy [mailto:ol...@apache.org] Sent: Tuesday, August 28, 2012 2:17 PM To: Tomcat Users List Subject: Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files? Hi, Inline 2012/8/28 Knute Snortum

Re: Customize from and to address for emails that come from tomcat

2012-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 8/28/12 5:16 PM, bwedd...@sbcglobal.net wrote: I ended up fixing this at the smtp server. I added an entry in /etc/postfix/generic with the undesired address desired address Re-ran the postmap command and reloaded postfix.