Re: Resource not available in Tomcat 7.0.29

2012-10-11 Thread Chinmoy Chakraborty
Thanks a lot Chris. I found the problem. It was my problem. I was putting wrong '/' (forward slash) before the mentioned page. Everything works as expected now. Chinmoy On Fri, Oct 12, 2012 at 10:29 AM, Chinmoy Chakraborty wrote: > Chris, > > Thanks a lot for your reply...here are my answers

Re: Resource not available in Tomcat 7.0.29

2012-10-11 Thread Chinmoy Chakraborty
Chris, Thanks a lot for your reply...here are my answers for your questions.. On Thu, Oct 11, 2012 at 8:34 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chinmoy, > > On 10/11/12 10:55 AM, Chinmoy Chakraborty wrote: > > I am u

??????Suggestions for Interesting Tomcat-related presentations at ApacheCONNA 2013

2012-10-11 Thread ??????????
Thanks chris , is there any topic difference between tomcat cluster and user proxy to load balance tomcat(such as nigix) -- -- ??: "Christopher Schultz"; : 2012??10??12??(??) 4:31 ??: "Tomcat Users List"; : Suggestions f

Suggestions for Interesting Tomcat-related presentations at ApacheCON NA 2013

2012-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Having missed my opportunity last year (through my own laziness), I'm considering doing a Tomcat-related presentation at "this" year's ApacheCON NA (http://apachecon.com/). Note that I'm talking about the North American conference in February, 20

Re: Exceptions in Catalina.log and Catalina.yyyy-mm-dd.log files on AS/400

2012-10-11 Thread James Lampert
Pid * wrote: Examine the first few bytes of the input. I seem to remember a character encoding issue causing this error. Of what input in particular? At least some of these exceptions appear to be getting thrown in the process of bringing up Tomcat, so I'm guessing we're not talking about a

Re: How to limit the number of sessions per IP address (DOS attacks)

2012-10-11 Thread Jose María Zaragoza
I'd like to implement something for controlling flooding on the same URL. I've thought to make it using by a valve filter ( based on RemoteAddressFilter ) and check remote IP address. is it the best way ? is Remote IP address reliable ? I'll be a public Tomcat 6 server I could add a CAPTCHA but

Re: Tomcat DBCP & SQLServer failover

2012-10-11 Thread Jose María Zaragoza
> How can you tell the difference between a primary server being "down" > and the primary server needing to (otherwise?) fail-over to the > backup? I'm confused about your nomenclature (primary failover means > mirror -> primary?). Well, I'm newbie in SQLServer but I think that primary and mirror

Re: Bug with 404 handling in mod_jk?

2012-10-11 Thread Nico Pro
Hello, And, if you try : JkMount /* 1c;use_server_errors=404 http://tomcat.apache.org/connectors-doc/reference/uriworkermap.html Does that help you ? Le 11 oct. 2012 à 19:21, Pete Storey a écrit : > Ah ha, well spotted, thanks! Indeed the ErrorDocument pointed to 404.htm, > and htm hadn't

Re: Debug tomcat 6.0

2012-10-11 Thread Pid *
On 11 Oct 2012, at 08:34, "vicky007aggar...@yahoo.co.in" wrote: > All, Please don't hijack other people's threads. p > > How to debug tomcat 6.0 , actually i am a Having issue with tomcat static > membership cluster . But i am not seeing any relevant information in > catalina.out file. > >

Re: Bug with 404 handling in mod_jk?

2012-10-11 Thread Pete Storey
Ah ha, well spotted, thanks! Indeed the ErrorDocument pointed to 404.htm, and htm hadn't been unmapped. Now I have done, it works fine! Cheers Pete On 11/10/2012 17:34, "Christopher Schultz" wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Pete, > >On 10/11/12 11:44 AM, Pete Storey

Re: AW: AW: WebSockets and HTTPS problems

2012-10-11 Thread Mark Thomas
Konstantin Kolinko wrote: >2012/10/11 Mark Thomas : >> On 10/10/2012 19:57, Mark Thomas wrote: >>> On 10/10/2012 19:51, Steffen Heil (Mailinglisten) wrote: Hi > I just took a look at this. The examples work out of the box for >HTTPS with > BIO but not with NIO. This looks l

Re: Bug with 404 handling in mod_jk?

2012-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pete, On 10/11/12 11:44 AM, Pete Storey wrote: > I think I've found a small bug in mod_jk relating to the way it > handles 404 errors, though it's possible it's a configuration > problem (but I don't think so). Wondering if anyone can help? [snip]

Re: AW: AW: AW: WebSockets and HTTPS problems

2012-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steffen, On 10/11/12 11:36 AM, Steffen Heil (Mailinglisten) wrote: >> See if this fixes if for you: >> http://people.apache.org/~markt/dev/tomcat-7/v7.0.33-r1397089/apache- >> >> tomcat-7.0.33-r1397089.tar.gz > > Preliminary tests look promising. E

Bug with 404 handling in mod_jk?

2012-10-11 Thread Pete Storey
Hi, I think I've found a small bug in mod_jk relating to the way it handles 404 errors, though it's possible it's a configuration problem (but I don't think so). Wondering if anyone can help? In essence, we have a Centos 5.8 box running Apache 2.2.3-65 (as they call it ­ it's the latest version

AW: AW: AW: WebSockets and HTTPS problems

2012-10-11 Thread Steffen Heil (Mailinglisten)
Hi > See if this fixes if for you: > http://people.apache.org/~markt/dev/tomcat-7/v7.0.33-r1397089/apache- > tomcat-7.0.33-r1397089.tar.gz Preliminary tests look promising. Everything worked (using a few single click tests so far). Thanks! > This is not an official release. Use it at your own

Re: AW: AW: WebSockets and HTTPS problems

2012-10-11 Thread Konstantin Kolinko
2012/10/11 Mark Thomas : > On 10/10/2012 19:57, Mark Thomas wrote: >> On 10/10/2012 19:51, Steffen Heil (Mailinglisten) wrote: >>> Hi >>> I just took a look at this. The examples work out of the box for HTTPS >>> with BIO but not with NIO. This looks like a Tomcat bug at this point.

Re: Resource not available in Tomcat 7.0.29

2012-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chinmoy, On 10/11/12 10:55 AM, Chinmoy Chakraborty wrote: > I am using Tomcat 7.0.29 and I have an application which uses JSF > 1.2. All my .htm requests are mapped to faces Servlet. On login it > allows to me go x.htm and renders the page nicely but

Re: AW: AW: WebSockets and HTTPS problems

2012-10-11 Thread Mark Thomas
On 10/10/2012 19:57, Mark Thomas wrote: > On 10/10/2012 19:51, Steffen Heil (Mailinglisten) wrote: >> Hi >> >>> I just took a look at this. The examples work out of the box for HTTPS >> with >>> BIO but not with NIO. This looks like a Tomcat bug at this point. >>> I'll take a look. >> >> What would

Re: Sending through WebSockets

2012-10-11 Thread Mark Thomas
On 10/10/2012 21:29, Steffen Heil (Mailinglisten) wrote: > Hi > > I have a server with several websocket connections. > (Or at least I will have at some time, see thread about ssl problems...) > > Now just as in the chat example, I need to send some data from time to time > so some (but not necce

Resource not available in Tomcat 7.0.29

2012-10-11 Thread Chinmoy Chakraborty
Hi All, I am using Tomcat 7.0.29 and I have an application which uses JSF 1.2. All my .htm requests are mapped to faces Servlet. On login it allows to me go x.htm and renders the page nicely but when I press BACK button of the browser internally it calls "*window.location.href = "/x.htm*"; and it

Re: Debug tomcat 6.0

2012-10-11 Thread vicky007aggarwal
Thanks Mark for such a easy explanatory answer. Appreciated ;) Thanks, Vicky On Oct 11, 2012, at 1:21 PM, Mark Eggers wrote: > On 10/11/2012 12:32 AM, vicky007aggar...@yahoo.co.in wrote: >> All, >> >> How to debug tomcat 6.0 , actually i am a Having issue with tomcat static >> membership clu

Re: INFO: Marking servlet jsp as unavailable

2012-10-11 Thread Konstantin Kolinko
2012/10/11 majin_clo...@t-online.de : > Hello, > > thanks for your reply. > > But I don't think that this is the solution. I could make this on my > system without errors. Then I installed a virtual machine (Vagrant) > and in this machine it isn't working. I have everything installe

Re: INFO: Marking servlet jsp as unavailable

2012-10-11 Thread majin_clo...@t-online.de
Hello, thanks for your reply. But I don't think that this is the solution. I could make this on my system without errors. Then I installed a virtual machine (Vagrant) and in this machine it isn't working. I have everything installed, Path's and Codes are the same. Do you have an

Re: [partly OT] Tomcat SPNEGO valve - role assignment in 'grant-all' realm

2012-10-11 Thread André Warnier
Maarten van Hulsentop wrote: Hi, We are configuring our Tomcat web application to authenticate using SPNEGO (Kerberos in particular) on Tomcat 7.0.29. ... Hi. If you are interested in that subject in general, may I suggest that you have a look at Jespa (www.ioplex.com) ? (I have no commercia

Re: INFO: Marking servlet jsp as unavailable

2012-10-11 Thread Konstantin Kolinko
2012/10/10 majin_clo...@t-online.de : > INFO: Marking servlet jsp as unavailable > Oct 10, 2012 8:25:06 AM org.apache.catalina.core.StandardContext > loadOnStartup > SEVERE: Servlet /kornakapi threw load() exception > java.lang.ClassCastException: org.apache.jasper.servlet.JspServlet > cannot be ca

Re: NPE during custom error page handling in Tomcat 7.0.32

2012-10-11 Thread Sean Owen
This is resolved -- at least this is a formula that works: Tomcat.addServlet(context, "error_jspx", new error_jspx()); context.addServletMapping("/error.jspx", "error_jspx"); while this doesn't: Tomcat.addServlet(context, "error_jspx", new error_jspx()).addMapping("/error.jspx"); On Wed, Oct 1

Re: Debug tomcat 6.0

2012-10-11 Thread Mark Eggers
On 10/11/2012 12:32 AM, vicky007aggar...@yahoo.co.in wrote: All, How to debug tomcat 6.0 , actually i am a Having issue with tomcat static membership cluster . But i am not seeing any relevant information in catalina.out file. Kindly suggest Thanks Vicky Edit $CATALINA_BASE/conf/logging.pr

Re: [OT] how to programmatically expire inactive sessions?

2012-10-11 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shanti, On 10/10/12 2:55 PM, Shanti Suresh wrote: I am also just curious how much active heap you are really using. From the previous heapdumps the script generated, what size are these? Was there a reason you needed a hu

Debug tomcat 6.0

2012-10-11 Thread vicky007aggarwal
All, How to debug tomcat 6.0 , actually i am a Having issue with tomcat static membership cluster . But i am not seeing any relevant information in catalina.out file. Kindly suggest Thanks Vicky - To unsubscribe, e-mail: user