Re: invalidate session after calling listeners

2005-08-29 Thread Franklin Phan
and provides a reference to the session. The API documentation for that method should have said something like: "This method is called *upon receiving notification* that this object is being unbound from the *invalidated* session." Thanks, again. Still, though, what is a "glo

Re: invalidate session after calling listeners

2005-08-28 Thread Franklin Phan
Hassan, Also, I don't understand the difference between a "global" and a "non-global" listener approach. Can you explain? Thanks. Thanks. Hassan Schroeder wrote: Franklin Phan wrote: I'm trying to code a method to clean up specifically named files insid

Re: invalidate session after calling listeners

2005-08-28 Thread Franklin Phan
ay, "...and that object receives the event, it still knows its attributes." What do you mean by "object"? Which object? Thanks. Hassan Schroeder wrote: Franklin Phan wrote: I'm trying to code a method to clean up specifically named files inside a working dir (in W

Re: invalidate session after calling listeners

2005-08-26 Thread Franklin Phan
ndingListener and define your own valueBound and valueUnbound methods. DarekC On Fri, 2005-08-26 at 13:08, Franklin Phan wrote: Is there a way to set Tomcat to call listeners before invalidate() is called on a session? I'm trying to code a method to clean up specifically named files insid

invalidate session after calling listeners

2005-08-26 Thread Franklin Phan
Is there a way to set Tomcat to call listeners before invalidate() is called on a session? I'm trying to code a method to clean up specifically named files inside a working dir (in Windows XP) whenever the session times out. I can't seem to find a way to do it. Apparently, invalidate() is call

Setting up mutiple Tomcats as services

2005-08-25 Thread Franklin Phan
I installed two instances (two separate installations) of Tomcat 4.1.18 onto my computer. How do I have them both as services that start automatically whenever my machine starts? I use Windows XP. Thanks. - To unsubscribe, e

Re: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
Jay, I did that just last night. I got: C:\Program Files\Apache Group\Tomcat 4.1\webapps\htmaint\WEB-INF\work_xml Franklin Phan Cygna Energy Services www.cygna.net Jay Burgess wrote: Why don't you do: System.out.println(getServletContext().getRealPath(XML_WORK_PATH)); And see wh

Re: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
MAIL PROTECTED] Sent: Thursday, August 25, 2005 4:21 PM To: Tomcat Users List Subject: Re: Malformed URL Exception: unknown protocol: c I assume becuase the url you pass it starts c:\ as that is the start of the XML_WORK_PATH. You need to prefix it with file:/// (or however many slashes you need

Re: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
AIL PROTECTED] Sent: Thursday, August 25, 2005 4:21 PM To: Tomcat Users List Subject: Re: Malformed URL Exception: unknown protocol: c I assume becuase the url you pass it starts c:\ as that is the start of the XML_WORK_PATH. You need to prefix it with file:/// (or however many slashes you need to g

Single copy of Tomcat shared amongst multiple users

2005-08-25 Thread Franklin Phan
In RUNNING.txt, a paragraph says: "In many circumstances, it is desirable to have a single copy of a Tomcat 4 binary distribution shared among multiple users on the same server. To make this possible, you must configure a CATALINA_BASE environment variable (in addition to CATALINA_HOME as descri

Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Franklin Phan
I use Windows XP Pro. My JAVA_HOME environment variable points to c:\j2sdk1.4.2_05. The CLASSPATH is set to have as the first element "%JAVA_HOME%\bin". I've written an XSL Transform servlet that makes use of the package javax.xml.transform. Why do I get the following error: javax.servlet.Ser

Multiple Tomcats on the same machine possible?

2005-08-25 Thread Franklin Phan
Instead of having one Tomcat on each machine, we'd like to try to fit multiple on one. Any advice on how to go about that? We use Windows XP. How would the start/stop services work then? I presume that we will need a different port number for each Tomcat install. Thanks. --

Getting Log4JLogger errors when attempting to start web app

2005-04-26 Thread Franklin Phan
I have not been able to start my web app. I am using Tomcat 5.0.?. Everytime I go to the URL, I get "The requested resource (/xyz) is not available" error. I go to look in the launcher.server.log file and see the following: SEVERE: Exception sending context initialized event to listener instance

Re: Expression Languange not working for me

2005-04-26 Thread Franklin Phan
be some caching that prevents you from seeing the correct result. Try creating a new jsp from scratch and do it again. -Original Message- From: Franklin Phan [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 6:34 PM To: Tomcat Users List Subject: Re: Expression Languange not working for

Re: Expression Languange not working for me

2005-04-25 Thread Franklin Phan
om/xml/ns/j2ee/web-app_2_4.xsd"; > Fredrik Liden wrote: Try this: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&q

Re: Expression Languange not working for me

2005-04-25 Thread Franklin Phan
This is what my web.xml file contains: http://java.sun.com/dtd/web-app_2_3.dtd";> What do I change? Fredrik Liden wrote: Check your web.xml file to make sure you're using the 2.4 dtd and not 2.3 or lower. Fredrik -Original Message- From: Franklin Phan [mailto:[EMAIL PRO

Expression Languange not working for me

2005-04-25 Thread Franklin Phan
I am running Tomcat 4.1.18 and 5.0.x. I tried the following HTML and JSP using EL, and am not getting the correct response from either Tomcat version. I have the following HTML: Name: And the following JSP: <%@ page isELIgnored ="false" %> Request param name is: ${param.name}