Exception processing JAR

2003-08-20 Thread Tim Davidson
We are using the jregex package in our application, and when tomcat starts it causes this error in the tomcat logs, can anyone suggest a reason for it? The same error has been seen on other machines with different JAR, but the same exception. we are using tomcat 4.1.24 java 1.4 winNT 2003-08-20

Preventing access to a directory

2003-08-14 Thread Tim Davidson
Hi, how can we prevent access to a set of JSP's inside a specific directory? aparrently there is a directory tag for server.xml? thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

How can you give someone a role?

2003-08-14 Thread Tim Davidson
Hi, How can you give someone a security-role? when someone accesses a certain jsp, I want to give them a role (no authentication) how is this possible? All of the examples I've seen require some sort of login. eg. something like: user.setRole("manager"); where I have defined manager:

RE: Tomcat 4.1 & https problem

2003-08-08 Thread Tim Davidson
I had the same problem, it seems to occur when you uncomment the connector in server.xml and causes tomcat to exit, making it impossible to see what the error message was. I gave up in the end. Have you been able to get it working? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAI

RE: Tomcat 4.1 & https problem

2003-08-08 Thread Tim Davidson
y/cert files live (i.e. within the Tomcat directory structure somewhere)? Thanks, Scott Stewart [Manager, Software Development] [EMAIL PROTECTED] ClearSky Mobile Media, Inc. 56 E. Pine St. Suite 200 Orlando, FL 32801 USA -----Original Message- From: Tim Davidson [mailto:[EMAIL PROTECTED] Sen

RE: Preventing access to a directory

2003-08-06 Thread Tim Davidson
listings: http://jakarta.apache.org/tomcat/faq/misc.html#listing To prevent individual access to jsps, use web.xml and a security constraint. -Tim Tim Davidson wrote: > Hi, > how can we prevent access to a set of JSP's inside a specific directory? > aparrently there is a

RE: Checking for invalidated session

2003-08-01 Thread Tim Davidson
with more than three months of playing with this as a spare time hobby feel free to critique the solution please. Murray -Original Message- From: Tim Davidson [mailto:[EMAIL PROTECTED] Sent: Friday, 1 August 2003 18:10 To: Tomcat Users List Subject: RE: Checking for invalidated session

RE: Checking for invalidated session

2003-08-01 Thread Tim Davidson
But surely theres a better way? Whould I be better off replacing "session.invalidate()" with "session = null"? -Original Message- From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 6:44 PM To: Tomcat Users List Subject: Re: Checking for invalidated session A

RE: Checking for invalidated session

2003-07-31 Thread Tim Davidson
out.println( "new session" ); } someone let me know if i'm wrong. hugs, --- Fabio Moraes [EMAIL PROTECTED] System Engineer Work Force Management System +55 21 3088 9548 -Original Message- From: Tim Davidson [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003

Checking for invalidated session

2003-07-31 Thread Tim Davidson
Hi, How can you check to see if a session has already been validated? i.e. if( !session.isInvalidated()) <-- what should go here? { session.invalidate(); } to prevent the following exception: "org.apache.jasper.JasperException: invalidate: Session already invalidated" --

[OFF-TOPIC] possible virus "No Valid Command Found"

2003-07-11 Thread Tim Davidson
Has anyone else recieved about 30 emails from [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Custom 500 error page

2003-06-27 Thread Tim Davidson
The change notes are in the distribution under release-notes.txt. This works for me: 500 /jsp/errorPage.jsp -Original Message- From: Nate [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 5:15 PM To: Tomcat Users List Subject: Custom 500 error page Hi al

RE: servlet response.sendRedirect() illegal state exception

2003-06-26 Thread Tim Davidson
sugget me whats the alternative . -Original Message----- From: Tim Davidson [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 12:17 PM To: Tomcat Users List Subject: RE: servlet response.sendRedirect() illegal state exception It means a response has already been committed (i.e

RE: servlet response.sendRedirect() illegal state exception

2003-06-26 Thread Tim Davidson
It means a response has already been committed (i.e. you have already committed to sending HTML from that servlet). Somewhere it your code you are using the printWriter or response.sendRedirect or you are already forwarding to another servlet. You should avoid having more than one response.sendR

RE: Tomcat/Eclipse tutorial?

2003-06-23 Thread Tim Davidson
: "Tim Davidson" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, June 23, 2003 3:20 PM Subject: RE: Tomcat/Eclipse tutorial? Theres an even better way - use the MyEclipse plugin at www.myeclipse.com. The plugin (EA2), relaesed today

RE: Tomcat/Eclipse tutorial?

2003-06-23 Thread Tim Davidson
Theres an even better way - use the MyEclipse plugin at www.myeclipse.com. The plugin (EA2), relaesed today supports tomcat webapps and JSP development with JSP syntax highlighting and debugging etc.. regards. -Original Message- From: Mohun Biswas [mailto:[EMAIL PROTECTED] Sent: Sunday,