Re: How to call beforeSessionDestroyed of SessionListener

2006-08-07 Thread Moises Lejter
I am not sure what you are trying to do ... but you should never be calling this yourself - container callbacks are Tomcat's to call. What you would do at app level is define an HttpSessionListener to be called... Moises "Umesh Kudtarkar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTEC

Re: Writing files accessible from a browser

2006-08-07 Thread Moises Lejter
I had a similar question, earlier... There is another issue here: you are right that WAR files are expanded back into a folder - at least by default - so one could still create a folder within the web app to write to, and which is visible to browsers... Until one deploys an updated WAR file.

Re: WAR deployments and uploaded files...

2006-08-03 Thread Moises Lejter
t; <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Moises Lejter wrote: > > Is there a best practice I should be considering here? > > How about this for a quick and dirty approach. > > Use two contexts. One for your app and one, with webD

Problem with JOTM...

2006-08-03 Thread Moises Lejter
"/>   (and I tried repeating the tag in my server.xml, with no luck).   I have all the JOTM jar files in both common/lib and my apps /WEB-INF/lib…   I am a little suspicious of the stack trace that says it’s calling org.apache.naming.factory.TransactionFactory.getObjectInstance

Re: Ant Build Problem Undeploying Struts App from Tomcat

2006-08-02 Thread Moises Lejter
Could it be that you are missing a antiJARLocking="true"somewhere in your tomcat config? Moises "Warren" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I am running Tomcat 5.5.3 on a Windows XP box. When I run my Ant build task > to "undeploy" my webapp, it deletes everything exce

WAR deployments and uploaded files...

2006-08-02 Thread Moises Lejter
best practice I should be considering here? Thank  you! Moises       Moises Lejter Phone: 608-827-7772 Email: [EMAIL PROTECTED]