I'm using import org.apache.catalina.startup.Tomcat to embed tomcat.
After it is running, I'm trying to add another webapp with .addWebapp.
The addWebapp call logs:
2011-06-20 11:23:23,385 [http-bio-9167-exec-2] INFO
org.apache.catalina.util.LifecycleBase - The start() method was called
on
Reading org.apache.catalina.startup.Tomcat.addWebapp(Host, String,
String, String), I don't understand the following:
// prevent it from looking ( if it finds one - it'll have dup error )
ctxCfg.setDefaultWebXml(org/apache/catalin/startup/NO_DEFAULT_XML);
Why is this being used
Hi Benson,
On 20.06.2011 17:51, Benson Margulies wrote:
Reading org.apache.catalina.startup.Tomcat.addWebapp(Host, String,
String, String), I don't understand the following:
// prevent it from looking ( if it finds one - it'll have dup error )
Hi, I set up a testcase at
https://github.com/bimargulies/Tomcat-Solr-Test-Case. Note that this
is NOT a 3.0 webapp. I read the code, and the failing path is in the
if statement for 'pre-3.0'. Please have a look at the single Java
class in there and tell me what is wrong, since it seems quite
Ranier,
I don't have a problem executing jsps. I have a problem configuring a
webapp with entire servlets defined by jsps. My code works perfectly
fine launching another webapp with jsps in it which are not declared
in servlet elements.
--benson
On Mon, Jun 20, 2011 at 12:56 PM, Rainer Jung