RE: Publishing Java webservice - tomcat 5.5 shared hosting

2009-12-07 Thread Gerwood Stewart
will probably need to modify the web.xml to be aware of it. Gerwood Stewart Senior Programmer/System Administrator Information Technology Directory Armidale NSW Australia 2351 Phone: +61 02 6773 2068 gstew...@une.edu.au www.une.edu.au  CRICOS Provider Number: 3G -Original Message- From

RE: Publishing Java webservice - tomcat 5.5 shared hosting

2009-12-06 Thread Gerwood Stewart
I'd first check your hosting providers policy on webservices etc. Do you develop the context /webapps/mywebsite? Can you fully redeploy it or modify it? Can you ask for it to be restarted? Gerwood Stewart Senior Programmer/System Administrator Information Technology Directory Armidale NSW

RE: Tomcat common/lib

2009-11-15 Thread Gerwood Stewart
Ziggy These days I'm more familiar with Maven (which solves this simply) however from the days of Ant I think the following might help a little: From memory most ant scripts are custom. You have to add the command to copy libraries etc. You will probably need to add an extra set of commands

RE: Secure login only, not rest of app

2009-11-10 Thread Gerwood Stewart
Pid Regarding the login. I don't know what architecture you have but what your asking is possible. what Peter indicated below is more likely. It doesn't look like you are using spring but you might want to look at some of the ways they do such this. I do know you can enforce the use of https

WebappClassLoader and undeploy

2009-11-09 Thread Gerwood Stewart
I originally started down this path trying to find a memory leak (involving commons-logging etc). I now have a more general question: I've created an almost empty context. It contains 1 servlet which contains an arraylist (just to create a large object that is easier to see in memory graphs)

RE: WebappClassLoader and undeploy

2009-11-09 Thread Gerwood Stewart
To: Tomcat Users List Subject: Re: WebappClassLoader and undeploy Gerwood Stewart wrote: Tomact seems to have retained 1 on the WebappClassLoader instances. I have two questions at this point: 1. From the Javadocs both WebappClassLoader and WebappLoader are class loaders. What

RE: WebappClassLoader and undeploy

2009-11-09 Thread Gerwood Stewart
Elli I understand most of this. I do several things such as forcing a GC before doing the heap dump, from what you are say this may not be enough? Either way I'm not looking for an instance of the class to simply be there I'm looking at the GC Roots. I also tried an additional step of after

RE: WebappClassLoader and undeploy

2009-11-09 Thread Gerwood Stewart
Mark Thanks. I suppose I'd better get back to identifying the real problems then. :D Gerwood From: Mark Thomas [ma...@apache.org] Sent: Tuesday, 10 November 2009 10:48 AM To: Tomcat Users List Subject: Re: WebappClassLoader and undeploy Gerwood Stewart

RE: Tomcat Memory and Garbage Collection questions...

2009-11-03 Thread Gerwood Stewart
Elli Thanks for the reply. I also missed josephs (unless there is several of these threads going on). Hot deployment is what we would like to do. It's not possible as yet because of eventual permgen memory errors. I also (in general) think it's a good idea to _know what we're doing_ so some

Tomcat and PermGen

2009-11-02 Thread Gerwood Stewart
This is not quite a question about out of memory errors. It's a question about the behaviour of contexts when deployed and un-deployed and what should happen to the non-heap (or in fact any) memory when we undeploy a context. From my understanding (and it's not a good one) I would expect to see

RE: Tomcat and PermGen

2009-11-02 Thread Gerwood Stewart
November 2009 11:04 AM To: Tomcat Users List Subject: Re: Tomcat and PermGen Gerwood Stewart wrote: This is not quite a question about out of memory errors. It's a question about the behaviour of contexts when deployed and un-deployed and what should happen to the non-heap (or in fact any