Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-17 Thread Rainer Jung
Try if you can touch the file outside of tomcat using the same user id, that your tomcat process uses and using the exact samne path. Is there SELinux something similar on your system? Regards, Rainer - To start a new topic,

Can't find classes in jar files in WEB-INF (was: Recurring (looping?) error messages)

2007-02-17 Thread aladdin
When I put my webapp.jar file in the WEB-INF directory, it doesn't find the app. When I exploded it into the classes directory, and associated subdirectories, they are found fine, but I get this problem (the one below). This, it turns out, is triggered by the fact I have the webapp.jar file in

Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-17 Thread dlangschied
Hi - Original Message From: Rainer Jung [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, February 17, 2007 12:00:25 PM Subject: Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new Try if you can touch the file outside of tomcat using

Re: Tomcat ssl/https: error 302 when accessing servlet with https

2007-02-17 Thread Greg Brownell
All, Well, the solutions was rather simple. Since I had to re-install Fedora Core 5, I neglected to open port 443 in the FC firewall. Once opened, all worked just fine. Sorry for spinning everyone's wheels, but I guess there's a lesson in here somewhere (probably something to do with

Re: [OT] Weird Exception thrown on startup (how to resolve?)

2007-02-17 Thread Lisa
I think this worked. I just recursively removed every .ser file there just to make sure: $find . -name '*.ser' -exec rm {} \; thanks L Markus Schönhaber wrote: Lisa wrote: What is throwing the following Exception? How to fix? --- INFO: Filter 'sessionFilter' configured

Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-17 Thread Martin Gainty
if you're not writing within the $CATALINA_HOME folder you'll need to assign write permissions for TOMCAT webapps to access the folder e.g. grant { permission java.io.FilePermission /opt/jdk1.5.0_06/jre/lib/wsdl.properties, read,write,execute; } Viel Gluck, Martin --

Re: [OT] Weird Exception thrown on startup (how to resolve?)

2007-02-17 Thread Martin Gainty
a good practice would be to handle the IOException in code //lets assume foo was initialised to a Foo class and supposedly serialised earlier (possibly in an earlier (init()) method) String result; try { result = foo.getNewMethod() } catch(IOException ioe) { System.out.println(foo is corrupt

Re: URL Redirect Question

2007-02-17 Thread Stanczak Group
Ya the filter option sounds good. Where/what is this project? Nikola Milutinovic wrote: Actually, there is already a project URL Filter for Java Web applications, basically does what mod_rewrite and mod_proxy give you. Maybe not in so many details, but it is going to save our hide on our next

Re: URL Redirect Question

2007-02-17 Thread Martin Gainty
If apache is front ending I would use mod_rewrite else use Tomcat filter and valves as earlier suggested M- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to

Re: Performance tuning parameters

2007-02-17 Thread j r
Alan, Thanks for the definitions. This is good info! -j On 2/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: J. This is what I've learnt in the last couple of months: - maxThreads The maximum number of http worker threads that tomcat will create. This is the limit of the number of

Re: URL Redirect Question

2007-02-17 Thread Stanczak Group
So create a filter or is there one already to use? Martin Gainty wrote: If apache is front ending I would use mod_rewrite else use Tomcat filter and valves as earlier suggested M- --- This e-mail message (including