RE: Deploy Problem [SEC=UNCLASSIFIED]

2011-06-16 Thread Fraser, James
UNCLASSIFIED Hi, I'd say you have a problem with you deployment descriptor (web.xml). Do you have a stacktrace you can share? -Original Message- From: Reinhard Hnat [mailto:h...@logotronic.co.at] Sent: Thursday, 16 June 2011 4:57 PM To: users@tomcat.apache.org Subject: Deploy Problem

RE: Embedded tomcat and unit testing.. Tomcat either stops or my unit tests don't execute? [SEC=UNCLASSIFIED]

2011-06-15 Thread Fraser, James
IFIED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, On 6/15/2011 12:09 AM, Fraser, James wrote: > Thanks for your help. I got it working in the end. I suspect the main > problem had to do with not terminating the running instance of Tomcat > correctly in a tear-down method. Th

RE: Embedded tomcat and unit testing.. Tomcat either stops or my unit tests don't execute? [SEC=UNCLASSIFIED]

2011-06-14 Thread Fraser, James
execute? [SEC=UNCLASSIFIED] > From: Fraser, James [mailto:james.fra...@dsto.defence.gov.au] > Subject: RE: Embedded tomcat and unit testing.. Tomcat either stops or > my unit tests don't execute? [SEC=UNCLASSIFIED] > I read that Apache use embedded Tomcat for unit testing. Are there a

RE: Embedded tomcat and unit testing.. Tomcat either stops or my unit tests don't execute? [SEC=UNCLASSIFIED]

2011-06-14 Thread Fraser, James
unit testing.. Tomcat either stops or my unit tests don't execute? [SEC=UNCLASSIFIED] > From: Fraser, James [mailto:james.fra...@dsto.defence.gov.au] > Subject: Embedded tomcat and unit testing.. Tomcat either stops or my > unit tests don't execute? [SEC=UNCLASSIFIED] >

Embedded tomcat and unit testing.. Tomcat either stops or my unit tests don't execute? [SEC=UNCLASSIFIED]

2011-06-14 Thread Fraser, James
UNCLASSIFIED Hi, I have the following in my unit test. @BeforeClass public static void setUpClass() throws ServletException, LifecycleException, MalformedURLException { tomcat = new Tomcat(); tomcat.setBaseDir("."); tomcat.setPort(8084); Context ctx = t

RE: Tomcat 7.0.11 embedded does not load context.xml [SEC=UNCLASSIFIED]

2011-06-14 Thread Fraser, James
UNCLASSIFIED Great, thankyou. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, 14 June 2011 8:38 PM To: Tomcat Users List Subject: Re: Tomcat 7.0.11 embedded does not load context.xml [SEC=UNCLASSIFIED] On 14/06/2011 05:14, Fraser, James wrote

Tomcat 7.0.11 embedded does not load context.xml [SEC=UNCLASSIFIED]

2011-06-13 Thread Fraser, James
UNCLASSIFIED Hi, I am trying to embed Tomcat 7.0.11 into my standard web application. This web application defines some Resource elements in META-INF/context.xml - yet, Tomcat is not loading this file. tomcat = new Tomcat(); tomcat.setBaseDir("."); tomcat.setPort(8084)