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

2012-08-27 Thread Joseph
Have u tried to use regex to filter URL ,use concurrent hash map and atomic int to count? 在 2012-8-27,13:30,rathinasamy@snovabits.net rathinasamy@snovabits.net 写道: Hi everyone, Please give me some ideas to achieve maxtry concept. I want to destroy the url path after some amount

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

2012-08-27 Thread rathinasamy....@snovabits.net
Hi, Many thanks for your reply. I am asking something which should be done in apache tomcat configurations, Since I have not able to control that maxtry concept through my application (it is out of my app control) Through my app just generate a url to access a video file at run time, may be

Tomcat Maven Plugin - Executable jar context loading and shutdown

2012-08-27 Thread Sérgio
Hi. I am trying to use the Tomcat Maven Plugin to create an executable jar file with an embedded Tomcat7, but I am having two issues when trying to do so. The first one, is that I am not getting how I can stop my executable jar. I want to run it in from a script (like the shutdown.sh/bat from

Re: Class not Found, but it's in WEB-INF/classes

2012-08-27 Thread Daniel Mikusa
On Aug 25, 2012, at 3:52 PM, Jonathan Rosenberg wrote: On Sat, Aug 25, 2012 at 3:40 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/8/25 Jonathan Rosenberg j...@tabbysplace.org: BTW: it's Tomcat 7.0.12 When Tomcat starts, its prints its version number, e.g. INFO: Starting

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

2012-08-27 Thread Pid
On 27/08/2012 08:17, rathinasamy@snovabits.net wrote: Hi, Many thanks for your reply. I am asking something which should be done in apache tomcat configurations, Since I have not able to control that maxtry concept through my application (it is out of my app control) There's no

Re: [OT] redirecting people to maintenance mode

2012-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 8/24/12 8:43 PM, Martin Gainty wrote: dont forget with PEM you will need to deploy a single-rooted PKI http://en.wikipedia.org/wiki/Privacy_Enhanced_Mail WTF are you talking about? No single-root is necessary: web servers support

Re: getRealPath returns null

2012-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/25/12 2:15 PM, Mark Eggers wrote: I could even work on convincing people to move away from this PDF library (creates permgen leaks when images are included) to something a bit more sane. Maybe even something that read stream data and

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan, On 8/26/12 7:00 PM, Ivan Polak wrote: in Tomcat 7.0.14 (where everything is OK) is not null. Is there any reason you are using 7.0.ancient instead of 7.0.latest? How about trying 7.0.29? - -chris -BEGIN PGP SIGNATURE- Version:

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-27 Thread Ivan Polak
Dne 27.8.2012 17:27 Christopher Schultz ch...@christopherschultz.net napsal(a): -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan, On 8/26/12 7:00 PM, Ivan Polak wrote: in Tomcat 7.0.14 (where everything is OK) is not null. Is there any reason you are using 7.0.ancient instead of

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan, On 8/27/12 11:33 AM, Ivan Polak wrote: Dne 27.8.2012 17:27 Christopher Schultz ch...@christopherschultz.net napsal(a): Is there any reason you are using 7.0.ancient instead of 7.0.latest? How about trying 7.0.29? I am using tomcat

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

2012-08-27 Thread Martin Gainty
what is the amount of time the request connection will be alive for the first try? what is the mechanism used to uniquely identify the browser client maybe From? http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Request-Headers.html In any case if the HTTP_FROM is the same as

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

2012-08-27 Thread Terence M. Bandoian
On 8/27/2012 2:17 AM, rathinasamy@snovabits.net wrote: Hi, Many thanks for your reply. I am asking something which should be done in apache tomcat configurations, Since I have not able to control that maxtry concept through my application (it is out of my app control) Through my app just

Re: getRealPath returns null

2012-08-27 Thread Mark Eggers
This is long and mostly off-topic. Read if you wish to follow the fun and games of tracking down permgen leaks, especially with a third party obfuscated library. On 8/27/2012 8:15 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/25/12 2:15 PM, Mark

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-27 Thread Konstantin Kolinko
2012/8/27 Ivan Polak ivan.po...@f4s.sk: On 26 August 2012 23:05, Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/8/27 Ivan Polak ivan.po...@f4s.sk: I have found, where is the problem. problem is in StandardContextValve.java in @Override public final void invoke(Request request,

Re: getRealPath returns null

2012-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/27/12 3:39 PM, Mark Eggers wrote: This is long and mostly off-topic. Read if you wish to follow the fun and games of tracking down permgen leaks, especially with a third party obfuscated library. :) JMLPL documentation?

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-27 Thread Ivan Polak
On 27 August 2012 22:13, Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/8/27 Ivan Polak ivan.po...@f4s.sk: On 26 August 2012 23:05, Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/8/27 Ivan Polak ivan.po...@f4s.sk: I have found, where is the problem. problem is in

Re: getRealPath returns null

2012-08-27 Thread Mark Eggers
Edited for sanity. Comments surrounded by COMMENT On 8/27/2012 1:24 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/27/12 3:39 PM, Mark Eggers wrote: This is long and mostly off-topic. Read if you wish to follow the fun and games of tracking

Custom Header Fields are Missing after SiteMinder Redirect (UNCLASSIFIED)

2012-08-27 Thread Lowman, John Mr CTR USA AMC
Classification: UNCLASSIFIED Caveats: NONE Folks, 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) from the

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

2012-08-27 Thread Mark Thomas
On 21/08/2012 23:35, Dale Ogilvie wrote: -Original Message- From: Pid * [mailto:p...@pidster.com] Where is that dependency JSP jar from? It should not be in WEB-INF/lib if it's providing JSP functionality. p The manifest for the jar says JSP 2.1 Jasper implementation from

Issue starting catalina.sh on Windows for tomcat 7 version

2012-08-27 Thread irfan pasha
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. I get the following error when i start in my console Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/s tartup/Bootstrap

Unable to change version of Apache Tomcat

2012-08-27 Thread John Byrne
Hello all, I'm trying to upgrade to 7.0.29 from 7.0.8 and I've switched the soft link under Tomcat/ (our setup). However, this is not upgrading the server. I've looked for environment variables but can't find any that would seem to point to the old version. (see environment variables set

Re: Unable to change version of Apache Tomcat

2012-08-27 Thread Igor Cicimov
On Aug 28, 2012 1:39 PM, John Byrne john_by...@apple.com wrote: Hello all, I'm trying to upgrade to 7.0.29 from 7.0.8 and I've switched the soft link under Tomcat/ (our setup). However, this is not upgrading the server. I've looked for environment variables but can't find any that would seem

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

2012-08-27 Thread rathinasamy....@snovabits.net
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. I deployed my application as a war file in server through that app created a folder in: tomcat_server_home/webapps/root/club/dely/ios/.. So

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

2012-08-27 Thread rathinasamy....@snovabits.net
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. On 8/27/2012 11:04 PM, Terence M. Bandoian wrote: On 8/27/2012 2:17 AM, rathinasamy@snovabits.net wrote: Hi, Many thanks

WebSocket scalability concerns

2012-08-27 Thread Albert Kam
I am currently doing some research on implementing a chat system using java on the server side. I read a code example for tomcat on : http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/chat/ChatWebSocketServlet.java?view=markup 1. Horizontal scaling I imagine