Re: Deploying ROOT application errors.

2010-08-31 Thread Wesley Acheson
I reinstalled tomcat to another directory and it all works fine now :( Now I'm confused. Its the same zip file I used for tomcat yesterday. Anyway issues closed for the moment. Wes - To unsubscribe, e-mail:

Re: Deploying ROOT application errors.

2010-08-30 Thread Wesley Acheson
On Tue, Aug 31, 2010 at 12:05 AM, Wesley Acheson wesley.ache...@gmail.com wrote: Hi, I assumed that this would be fixed by now still having a problem with the same application. Setup the same. Except trying with tomcat 6.0.29 which I downloaded today. I was unable to get to the bottom of

Re: Deploying ROOT application errors.

2010-08-30 Thread Wesley Acheson
Sorry I don't understand what's happening. It is working now but It didn't work the first time I deployed to the new Tomcat instance. I got a bunch of warnings saying not able to remove from filesystem and checked the offending jar was in the filesystem too. However after shutting down tomcat

Re: Deploying ROOT application errors.

2010-08-30 Thread Mark Thomas
On 30/08/2010 23:21, Wesley Acheson wrote: More Info it seems to work correctly if the war file is deployed after tomcat has started. However if the war file is there when I start tomcat it is undeployable. SEVERE: [C:\icarus\tomcat\webapps\ROOT\WEB-INF\lib] could not be completely dele

Re: Deploying ROOT application errors.

2010-08-30 Thread Wesley Acheson
Sorry for the double/treble post earlier I started one reply saved as a draft. Then found out more details posted them and accidently sent the draft also. details below. Looks like you have a locked JAR file. That is indicative of a memory leak. You need to figure out a) which JAR can't be

Re: Deploying ROOT application errors.

2009-07-17 Thread Wesley Acheson
I'm still having a problem. I'm trying de register the JDBC driver in a crude way when the context is destroyed. /** * @see ServletContextListener#contextDestroyed(ServletContextEvent) */ public void contextDestroyed(ServletContextEvent sce) { Enumeration drivers =

Re: Deploying ROOT application errors.

2009-07-17 Thread Mark Thomas
Wesley Acheson wrote: I'm still having a problem. I'm trying de register the JDBC driver in a crude way when the context is destroyed. /** * @see ServletContextListener#contextDestroyed(ServletContextEvent) */ public void contextDestroyed(ServletContextEvent sce) {

Re: Deploying ROOT application errors.

2009-07-17 Thread Wesley Acheson
I've never profilled an application. Is there any decient free ones? Preferably one that plugs into eclipse. Or any other way to specify a driver that won't prevent my undeploying ROOT? A Different host? On Sat, Jul 18, 2009 at 12:02 AM, Mark Thomas ma...@apache.org wrote: Wesley Acheson

Re: Deploying ROOT application errors.

2009-07-17 Thread Mark Thomas
Wesley Acheson wrote: I've never profilled an application. Is there any decient free ones? Preferably one that plugs into eclipse. Google for Eclipse TPTP. Alternatively, YourKit is free for 30 days and well worth the price of a full version. (full disclosure - they give ASF committers free

Re: Deploying ROOT application errors.

2009-07-16 Thread Mark Thomas
Wesley Acheson wrote: In that it includes root.war and it undeploying it. yes. Jar locking I don't know about. How do I prevent that? Jar locking very unlikely to be a Tomcat bug. So, one or both of: - fix the bug in your application - work around the bug in a third party library you are

Re: Deploying ROOT application errors.

2009-07-16 Thread Wesley Acheson
Theres only two jars and their not used. jar -tf ROOT.war META-INF/ META-INF/MANIFEST.MF WEB-INF/ WEB-INF/classes/ WEB-INF/classes/com/ WEB-INF/classes/com/icarus/ WEB-INF/lib/ index.jsp WEB-INF/classes/com/icarus/Test.java WEB-INF/lib/jstl-1.2.jar WEB-INF/lib/mysql-connector-java-5.1.6.jar

Re: Deploying ROOT application errors.

2009-07-16 Thread Mark Thomas
Wesley Acheson wrote: Theres only two jars and their not used. The flippant reply would be Well delete them then and the problem will go away WEB-INF/lib/mysql-connector-java-5.1.6.jar As soon as I saw that, I suspected it would be the one causing grief and... However the webapp isn't

Deploying ROOT application errors.

2009-07-15 Thread Wesley Acheson
Hi using the manager I can deploy an application to root. However if tomcat is restarted I cannot redeploy/undeploy it. I think this is because libaries used by this application are available to all applications. How do I either reliably deploy/undeploy from root? Failing that when set up with

Re: Deploying ROOT application errors.

2009-07-15 Thread David Rees
On Wed, Jul 15, 2009 at 2:25 PM, Wesley Achesonwesley.ache...@gmail.com wrote: How do I either reliably deploy/undeploy from root? Name the war file ROOT.war. http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html -Dave -

Re: Deploying ROOT application errors.

2009-07-15 Thread Wesley Acheson
Doesn't work I'm afraid not after tomcat is restarted. If I try to deploy ROOT.war via the manager It just deletes the contents of the ROOT expanded directory minus the web-inf and meta-inf folders. however if I stop tomcat manually delete ROOT.war and ROOT folder, start tomcat I can deploy a

Re: Deploying ROOT application errors.

2009-07-15 Thread Konstantin Kolinko
Usual questions: 1. Your exact Tomcat version. 2. Your OS and configuration. If I try to deploy ROOT.war via the manager It just deletes the contents of the ROOT expanded directory minus the web-inf and meta-inf folders. Maybe the following will help you:

Re: Deploying ROOT application errors.

2009-07-15 Thread Wesley Acheson
Tomcat 6.0.18 windows vista professional 32 bit. Although I seem to have seen a related issue on tomcat 5.5 here https://issues.apache.org/bugzilla/show_bug.cgi?id=36990 Regards, Wes On Thu, Jul 16, 2009 at 12:52 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: Usual questions: 1.

Re: Deploying ROOT application errors.

2009-07-15 Thread David Rees
On Wed, Jul 15, 2009 at 3:58 PM, Wesley Achesonwesley.ache...@gmail.com wrote: On Thu, Jul 16, 2009 at 12:52 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: Maybe the following will help you: http://wiki.apache.org/tomcat/FAQ/Windows Tomcat 6.0.18 windows vista professional 32 bit.

Re: Deploying ROOT application errors.

2009-07-15 Thread Pid
On 15/7/09 23:58, Wesley Acheson wrote: Tomcat 6.0.18 windows vista professional 32 bit. Although I seem to have seen a related issue on tomcat 5.5 here In that it appears to involve ROOT.war? https://issues.apache.org/bugzilla/show_bug.cgi?id=36990 Sounds like you have a jar locking

Re: Deploying ROOT application errors.

2009-07-15 Thread Wesley Acheson
In that it includes root.war and it undeploying it. yes. Jar locking I don't know about. How do I prevent that? On Thu, Jul 16, 2009 at 1:08 AM, Pid p...@pidster.com wrote: On 15/7/09 23:58, Wesley Acheson wrote: Tomcat 6.0.18 windows vista professional 32 bit. Although I seem to have

Re: Deploying ROOT application errors.

2009-07-15 Thread Wesley Acheson
Oops sorry no I didn't see that I'll take a look. On Thu, Jul 16, 2009 at 1:06 AM, David Rees dree...@gmail.com wrote: On Wed, Jul 15, 2009 at 3:58 PM, Wesley Achesonwesley.ache...@gmail.com wrote: On Thu, Jul 16, 2009 at 12:52 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: Maybe