Re: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread Yucca Nel
I am not too sure on this, but it could be because runtime exceptions are usually avoidable and perhaps therefore you need to deal with such errors beforehand(higher up in the stack) and throw custom exceptions. It doesn't sound like good coding standards(what you are doing anyway). If you are

Re: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread Yucca Nel
I thought I would like to add to thepoint I am trying to make, I am using hibernate validation API and get big fat runtime exceptions if the validation API fails a check on a field that has certain validations like length etc. These excceptions are avoidable (some of them) from the point

how to invalidate a user session properly?

2010-05-12 Thread Yucca Nel
Currently I need to fire my jsf command button twice to get the logic behind it to invalidate the session correctly as follows: public String logout(ActionEvent ae) throws IOException, ServletException { HttpServletRequest req= (HttpServletRequest)

Re: Avoiding random JMX port on tomcat

2010-05-12 Thread emerson cargnin
Thanks Chuck But I meant in changing this random port to a specific one without having to change the server.xml to add a new listener and jars. regards Emerson On 9 April 2010 02:12, Caldarale, Charles R chuck.caldar...@unisys.comwrote: On Apr 8, 2010, at 12:59, emerson cargnin

adding transport gauruntee ti web.xml issues

2010-05-12 Thread Yucca Nel
In tomcat 6 I am bringing down the container when asking for confidential RESOURCE. iS THERE A REASON FOR THIS? CONTAINER AND RESOURCE WORK FINE LIKE THIS... security-constraint web-resource-collection web-resource-nameloggedInUser/web-resource-name

Re: Avoiding random JMX port on tomcat

2010-05-12 Thread Paolo Santarsiero
I think the only possibility in order to fix RMI server port behind a firewalled system is to use JMX Remote Lifecycle Listener in server.xml and add catalina-jmx-remote.jar in lib folder. I used it for remote jvm monitoring and now works fine. You can read procedure here

Re: Avoiding random JMX port on tomcat

2010-05-12 Thread André Warnier
Paolo Santarsiero wrote: I think the only possibility in order to fix RMI server port behind a firewalled system is to use JMX Remote Lifecycle Listener in server.xml and add catalina-jmx-remote.jar in lib folder. I used it for remote jvm monitoring and now works fine. You can read procedure

RE: adding transport gauruntee ti web.xml issues

2010-05-12 Thread Caldarale, Charles R
From: Yucca Nel [mailto:yucca...@live.co.za] Subject: adding transport gauruntee ti web.xml issues In tomcat 6 I am bringing down the container when asking for confidential RESOURCE. iS THERE A REASON FOR THIS? Hard to tell without real information. What exact Tomcat version are you using?

Re: how to invalidate a user session properly?

2010-05-12 Thread Hassan Schroeder
On Wed, May 12, 2010 at 12:24 AM, Yucca Nel yucca...@live.co.za wrote: Currently I need to fire my jsf command button twice Bummer. But wouldn't it be better to find a JSF list to ask all these JSF-specific questions on? Because they apparently have nothing to do with Tomcat :-) -- Hassan

help : Tomcat 6.0.20 session replication not working

2010-05-12 Thread o-rabbit
I have two load balanced instances of tomcat with apache 2.2.14 in front using mod_jk 1.2.28. The load balancing is working as expected. I want to turn on session replication ... so I did the following : 1. I uncommented Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster/ in

RE: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread Propes, Barry L
While not using a framework like Hibernate, I recall coding for an exception in the servlet itself. Then throwing an exception to get to the error page. Not sure if that helps you or not. -Original Message- From: Yucca Nel [mailto:yucca...@live.co.za] Sent: Wednesday, May 12, 2010 2:15

Re: Horizontal Cluster Session Persistence during Failover

2010-05-12 Thread o-rabbit
Hi, I have the same problem and I am using static membership, but I am getting classnotfoundexception for all application level attribute values. Any ideas why this is the case? Thanks in advance. -- View this message in context:

Re: Horizontal Cluster Session Persistence during Failover

2010-05-12 Thread Pid
On 12/05/2010 14:57, o-rabbit wrote: Hi, I have the same problem and I am using static membership, but I am getting classnotfoundexception for all application level attribute values. Any ideas why this is the case? Thanks in advance. You just replied to a thread from September 2009, with

RE: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread bryan jacobs
I don't have any web framework. I'm using JQuery with JAX-RS. So jquery posts/gets from the JAX-RS layer. The SecurityException is related to a person trying to hack the system. Thus, when they perform their attempted hack the code simply throws a SecurityException, and takes them to a, we

Re: help : Tomcat 6.0.20 session replication not working

2010-05-12 Thread André Warnier
o-rabbit wrote: ... Is there something more I need to do?? Please reply urgently!!! Hi. For your information, the above is almost guaranteed to have the opposite effect of what you would like. The people answering on forums such as this one, are volunteers who donate their time. You are a

Re: help : Tomcat 6.0.20 session replication not working

2010-05-12 Thread Gregor Schneider
On Wed, May 12, 2010 at 3:51 PM, o-rabbit rju...@gmail.com wrote: Is there something more I need to do?? yes: read the clustering-how-to: http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html rgds gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp:

Any way to get Tomcat to complain if an EL var is undefined?

2010-05-12 Thread laredotornado
Hi, I'm using Tomcat 6.0.26. I wanted to know if there was any setting that would cause the compiler to complain if an EL variable was never defined. For example if I have p${resul}/p the result will be p/p because I haven't defined resul in any scope. I was hoping an exception

Re: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread Konstantin Kolinko
2010/5/12 bryan jacobs bryancjac...@hotmail.com:    error-page         exception-typeorg.lds.lua.directory.exception.LuaSecurityException/exception-type        location/error.html/location    /error-page However, if I change the above configuration to:    error-page

Re: snort detecting ICMP traffic, tomcat?

2010-05-12 Thread Mark H. Wood
On Tue, May 11, 2010 at 09:33:36AM -0500, Caldarale, Charles R wrote: From: James R. Marcus [mailto:jmar...@edhance.com] Subject: snort detecting ICMP traffic, tomcat? Could Tomcat be generating ICMP traffic to an IP accessing the server? No. Java is not capable of generating ICMP

Tomcat 6 does not evaluate certain EL expressions

2010-05-12 Thread Misch, Oliver / Kuehne + Nagel / Ham MI-AJ
Hi! We are currently migrating a web app from 5.5.20 to 6.0.26 (with identical behaviors on different operating systems). On a few pages, we are experiencing a different behavior related to EL expressions. In the example page below and with tomcat 5.5.20, the expression in the line html:link

Re: help : Tomcat 6.0.20 session replication not working

2010-05-12 Thread o-rabbit
On Wed, May 12, 2010 at 3:51 PM, o-rabbit rju...@gmail.com wrote: Is there something more I need to do?? yes: read the clustering-how-to: http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html fyi...People usually post in forums such as this after going through the application website.

RE: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread bryan jacobs
Thanks for that information. I will do some research based on that. Bryan Date: Wed, 12 May 2010 19:50:16 +0400 Subject: Re: error-page exception-type subclasses of RuntimeException are not handled From: knst.koli...@gmail.com To: users@tomcat.apache.org 2010/5/12 bryan jacobs

Re: help : Tomcat 6.0.20 session replication not working

2010-05-12 Thread o-rabbit
I am glad everyone does not think like you do! awarnier wrote: o-rabbit wrote: ... Is there something more I need to do?? Please reply urgently!!! Hi. For your information, the above is almost guaranteed to have the opposite effect of what you would like. The people answering on

upgrading Tomcat v6.0.20

2010-05-12 Thread Althea Martin
Preparing to perform my first Tomcat upgrade. Current Tomcat v6.0.20 upgrading to v6.0.26. My OS is MS Windows Server 2003 SP2. Anything special I need to do or know aside from creating a backup? -Althea

Re: Tomcat 6 does not evaluate certain EL expressions

2010-05-12 Thread Konstantin Kolinko
2010/5/12 Misch, Oliver / Kuehne + Nagel / Ham MI-AJ oliver.mi...@kuehne-nagel.com: html:link href=#${currentBlockName} If you will look at the Status file, as mentioned in http://tomcat.apache.org/bugreport.html#Recently_fixed_issues You will see

RE: upgrading Tomcat v6.0.20

2010-05-12 Thread Caldarale, Charles R
From: Althea Martin [mailto:althea.mar...@pl.netl.doe.gov] Subject: upgrading Tomcat v6.0.20 Preparing to perform my first Tomcat upgrade. Current Tomcat v6.0.20 upgrading to v6.0.26. My OS is MS Windows Server 2003 SP2. Anything special I need to do or know aside from creating a backup?

Re: help : Tomcat 6.0.20 session replication not working

2010-05-12 Thread Gregor Schneider
On Wed, May 12, 2010 at 7:21 PM, o-rabbit rju...@gmail.com wrote: I am glad everyone does not think like you do! FYI: André is well know to this group as one of the persons trying their very best to help anybody having problems regarding Tomcat. If you didn't receive any answer helping you

Re: Any way to get Tomcat to complain if an EL var is undefined?

2010-05-12 Thread Pid
On 12/05/2010 16:31, laredotornado wrote: Hi, I'm using Tomcat 6.0.26. I wanted to know if there was any setting that would cause the compiler to complain if an EL variable was never defined. For example if I have p${resul}/p the result will be p/p because I haven't defined

mod_jk file not found

2010-05-12 Thread Markus Mehrwald
Hi, I installed mod_jk and it works perfect except of a little strange problem. I let handle tomcat everything except of static files which the following lines in the virtual host for port 80 and the same for port 443: # Send servlet for context / jsp-examples to worker named worker1 JkMount

RE: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread bryan jacobs
In the process of putting together the simple war file without all our CXF and JAX-RS configuration the exception-type element was handling exceptions correctly. This is NOT a bug in tomcat, but something that our CXF layer is doing. Thanks for the help, and sorry for wasting your time.