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
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
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
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]
>
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
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
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)