Just throwin' this in: standalone Tomcat 3.x does this thing where it
will always add a context root according to the war name; but if a
Context is added in it's config/server.xml, it will add that too. 
They're trying to be helpful but in the end it's just confusing (sort of
like when driving, giving up the right of way to be nice just ends up
confusing everyone else on the road and makes the situation unsafe).  
According the the J2EE spec, a context name is assigned to a web
application in the EAR's application.xml file, and has NOTHING to do
with the name of the war file.  Take a look at the DTD.

--

Lewis Henderson wrote:
> 
> That is exactly what my problem is...
> 
> I assumed that the context root was the war name??? so in my war if a jsp
> references /some.jsp, it would use the root of the war...is this not
> correct?
> 
> If I only use relative paths it works...however, this is NOT always
> possible!
> 
> Is there a config option I'm missing?
> 
> Lewis
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Crossley
> Sent: 26 May 2001 04:30
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] :-< Tomcat sends CPU 100% ?!
> 
> I've seen tomcat do that when there is no ROOT directory beneath webapps
> and a nonexistent URI is requested.
> 
> Lewis Henderson wrote:
> >
> > ....arghhh
> >
> > I'm using JBoss 2.2.1 and Tomcat 3.2.1 and the processor goes to 100%/99%
> > and stays there !?
> >
> > Any ideas where to look?
> >
> > Lewis
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to