Embedded tomcat problem

2010-09-30 Thread Mitch Claborn
Tomcat 6.0.29 sun java 1.6.0_20 Ubuntu 10.04 64 bit Seems like this should be simple, but can't get it to work. I'm trying to run a simple embedded Tomcat inside my program. Code for starting the Tomcat is below. It seems to start OK, based on logging messages, but whenever I try to access

Re: Embedded tomcat problem

2010-09-30 Thread Mark Thomas
On 30/09/2010 18:02, Mitch Claborn wrote: Tomcat 6.0.29 sun java 1.6.0_20 Ubuntu 10.04 64 bit Seems like this should be simple, but can't get it to work. I'm trying to run a simple embedded Tomcat inside my program. Code for starting the Tomcat is below. It seems to start OK, based on

RE: Embedded tomcat problem

2010-09-30 Thread Caldarale, Charles R
From: Mitch Claborn [mailto:mitch...@claborn.net] Subject: Embedded tomcat problem The context.xml contains ?xml version=1.0 encoding=UTF-8? Context antiJARLocking=true path=/TestWeb1/ Not directly related to the problem, but you should remove the path attribute; it's not allowed when

Re: Embedded tomcat problem

2010-09-30 Thread Mitch Claborn
At a guess, you'll need to define the JSP servlet in web.xml if you want to handle JSPs. Same goes for the default servlet and static content. Mark Mark - I owe you one! That was it. Seems like when Tomcat runs standalone, it merges the contents of conf/web.xml into the application's