Adding Support to Fedora for Starting tomcat with jsvc

2011-12-29 Thread Joseph D. Wagner
Currently, Fedora 16 does not support starting/stopping tomcat with jsvc. systemd starts tomcat directly using an unprivileged account. This means the only options supported out-of-the-box are: 1) using something like apache mod_proxy as a front-end, or 2) using an iptables entry to forward port

403 jsp - display required roles

2011-12-29 Thread Jürgen Jakobitsch
hi, i have a custom 403 error page. on that page i'd like to display the securityConstraints that apply to the requested resource. example : i have a securityConstraint in my web.xml that says that only users with role X are allowed to view resource myPage. when someone tries to access myPage

Re: Tomcat HTTPS Connector Stops working after an hour

2011-12-29 Thread Saravanan L
*Point 1 and 2. * 1. When I remove acceptCount=1 My tomcat 7 works fine. 2. But I had the same property in tomcat 6 and it worked fine on that. A. I tried remove and altering some variables to check this problem. Mistakenly I thought acceptCount was the culprit, because after removing

Re: Odd NIO connector behavior

2011-12-29 Thread Matthew Tyson
On Wed, Dec 28, 2011 at 6:22 PM, Matthew Tyson matthewcarlty...@gmail.comwrote: On Wed, Dec 28, 2011 at 8:58 AM, Stefan Mayr ste...@mayr-stefan.dewrote: Am 28.12.2011 10:04, schrieb ma...@apache.org: Matthew Tysonmatthewcarltyson@gmail.**com matthewcarlty...@gmail.com wrote: That's

Re: Odd NIO connector behavior

2011-12-29 Thread Matthew Tyson
On Thu, Dec 29, 2011 at 11:07 AM, Pid p...@pidster.com wrote: On 29/12/2011 17:27, Matthew Tyson wrote: On Wed, Dec 28, 2011 at 6:22 PM, Matthew Tyson matthewcarlty...@gmail.comwrote: On Wed, Dec 28, 2011 at 8:58 AM, Stefan Mayr ste...@mayr-stefan.de wrote: Am 28.12.2011 10:04,

Re: Odd NIO connector behavior

2011-12-29 Thread Pid
On 29/12/2011 17:27, Matthew Tyson wrote: On Wed, Dec 28, 2011 at 6:22 PM, Matthew Tyson matthewcarlty...@gmail.comwrote: On Wed, Dec 28, 2011 at 8:58 AM, Stefan Mayr ste...@mayr-stefan.dewrote: Am 28.12.2011 10:04, schrieb ma...@apache.org: Matthew Tysonmatthewcarltyson@gmail.**com

Apache tribes deserialization issues

2011-12-29 Thread Madhav Bhargava
Hi All, We are using Apache tribes library for presence and inter node communication within an OSGi runtime environment. We have a central node (say node A) receiving messages from other nodes ( say node B, C). The message passed is a custom class which is present as part of the API defined in a

Re: Tomcat HTTPS Connector Stops working after an hour

2011-12-29 Thread Mark Thomas
On 29/12/2011 08:51, Saravanan L wrote: *Point 1 and 2. * 1. When I remove acceptCount=1 My tomcat 7 works fine. So remove it and don't put it back. 2. But I had the same property in tomcat 6 and it worked fine on that. Clearly something is broken with your app / Tomcat 7 configuration.

Re: Odd NIO connector behavior

2011-12-29 Thread Tim Watts
On Thu, 2011-12-29 at 11:22 -0800, Matthew Tyson wrote: BIG SNIP How an empty 200 response could be generated without executing the logging statement here is a mystery. Do you still have that MonitoringFilter configured in the web app? Perhaps it is short circuiting the chain. protected

Re: Odd NIO connector behavior

2011-12-29 Thread Matthew Tyson
On Thu, Dec 29, 2011 at 12:02 PM, Tim Watts t...@cliftonfarm.org wrote: On Thu, 2011-12-29 at 11:22 -0800, Matthew Tyson wrote: BIG SNIP How an empty 200 response could be generated without executing the logging statement here is a mystery. Do you still have that MonitoringFilter

help analyzing thread dump for Tomcat 7.0.23 issue

2011-12-29 Thread Mike Wertheim
I have an app that runs on Tomcat 7.0.21 and APR 1.4.7 just fine. The app serves both SSL and non-SSL traffic. SSL traffic makes up roughly 1% of the overall traffic. The Connectors for SSL and non-SSL both use the default value (200) for maxThreads. When I try to run the app on Tomcat 7.0.23

Re: OT: Breadcrumbs Tomcat 7.0.11

2011-12-29 Thread Kiran Badi
You can't, unless you have a filter parsing the outbound generated page, or use JavaScript on the client (neither of which I'd recommend). One of the options I was thinking of writing the filter just to get the path of the clicked pages and use that. But now I feel I might not require that.