Programatically setting web.xml in embedded Tomcat

2011-06-24 Thread Andrew Brock
Hi all, I'm currently using Tomcat's embedded feature for unit testing of a web service. This web service displays different behaviour depending on the contents of the web.xml file. I therefore want to exercise different web.xml configurations in my unit tests. Currently the setup code I'm using i

Re: Changing embedded Tomcat from v6 to v7 causes InitialContext lookup to fail

2011-05-04 Thread Andrew Brock
Ah, that was it - thanks. Andrew On 3 May 2011 21:57, Andrew Brock wrote: > -- Forwarded message -- > From: Mark Thomas > Date: 3 May 2011 21:51 > Subject: Re: Changing embedded Tomcat from v6 to v7 causes > InitialContext lookup to fail > To: Tomcat Users Li

Changing embedded Tomcat from v6 to v7 causes InitialContext lookup to fail

2011-05-03 Thread Andrew Brock
(Note: this question is also on StackExchange at http://stackoverflow.com/questions/5866237/) I'm using JUnit test cases to exercise my web service using embedded Tomcat. Under Tomcat 6 everything was working fine, but when I switched my project to Tomcat 7 I'm coming unstuck. The code I was usin

JasperException: No tag "xhtml" defined in tag library associated with uri "urn:jsptagdir:/WEB-INF/tags

2006-01-09 Thread Andrew Brock
Hi, I am trying to support an existing web site in jspx. I have setup Tomcat on a Windows server as a test environment before I deploy my changes. However I cannot open the index page. I get this error and I am not sure how to fix it http://localhost:8080/viewscast/index.jspx: HTTP Status