Hi Saurabh,

See comments below.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 12, 2001 2:16 AM
> To: Tomcat-User@Jakarta. Apache. Org
> Subject: help-context not loaded with jakarta-tomcat-3.3-b2.
> 
> 
> 
> 1) Windows98.
> 2) jakarta-tomcat-3.3-b2(installed in E:)
> 
> I have got my webapp in D:\ua.
> 
> I added apps-ua.xml in TOMCAT_HOME/conf/ While starting 
> tomcat it finds the
> apps-ua.xml file but when i go to localhost/ua i get a FILE 
> NOT FOUND ERROR.
> 
> When the tomcat is started i also do not see any context "/ua" to be
> loaded.(please see the log message below). Which is strange.

If a context for "/ua" isn't displayed, then "http://localhost:8080/us/";
isn't going to find anything.  I would guess that something
isn't quite right in apps-ua.xml or the directory pointed to by
the context's docBase property doesn't look like a webapp, so it
isn't added.  If you could post the contents of the apps-ua.xml,
it would help.

> 
> Any clues ??
> 
> 1) When i tried to change apps-127.0.0.1.xml to set my Doc Base as
> d:\ua\htdocs, tomcat threw a lot of errors while starting up.

This suggests that d:\ua\htdocs isn't configured correctly to be
a web application. Is there a "WEB-INF\web.xml" under "htdocs"?

> 
> 2)I want all the requests sent to http://localhost:8080/ to go to
> d:\ua\htdocs, can any one tell me how to go about it with
> jakarta-tomcat-3.3-b2. (changing server.xml and adding 
> context in it was
> also of no help).

This is a little confusing, "http://localhost:8080/"; gets you to
the Tomcat web server.  Which context a request goes to depends
on what comes after the "8080/".  To have all request go to
a single context, you what have to have only a root context
being served.  If any other contexts were available, they
could "steal" requests from the root context.

Larry

> 
> 
> Regards,
> Saurabh
> 
> 
> 2001-09-12 11:33:53 - ContextXmlReader: Context
> config=$TOMCAT_HOME\conf\apps-12
> 7.0.0.1.xml
> 2001-09-12 11:33:53 - ContextXmlReader: Context
> config=$TOMCAT_HOME\conf\apps-ex
> amples.xml
> 2001-09-12 11:33:54 - ContextXmlReader: Context
> config=$TOMCAT_HOME\conf\apps-ad
> min.xml
> 2001-09-12 11:33:54 - ContextXmlReader: Context
> config=$TOMCAT_HOME\conf\apps-ua
> .xml
> 2001-09-12 11:33:54 - AutoWebApp: Loaded from config: DEFAULT:/admin
> 2001-09-12 11:33:54 - AutoWebApp: Loaded from config: 
> DEFAULT:/examples
> 2001-09-12 11:33:54 - AutoWebApp: Auto-Adding DEFAULT:/
> 2001-09-12 11:33:54 - ContextManager: Tomcat configured and 
> in stable state
> 2001-09-12 11:33:54 - ContextManager: Adding  DEFAULT:/examples
> 2001-09-12 11:33:54 - ContextManager: Adding  DEFAULT:/admin
> 2001-09-12 11:33:54 - ContextManager: Adding  DEFAULT:/ROOT
> EmbededTomcat: Init time 2360
> 2001-09-12 11:33:54 - Http10Interceptor: Starting on 8080
> 2001-09-12 11:33:54 - Ajp12Interceptor: Starting on 8007
> 2001-09-12 11:33:54 - Ajp13Interceptor: Starting on 8009
> EmbededTomcat: Startup time 220
> 2001-09-12 11:39:25 - Ctx() : Status code:404 request:R(  + 
> /ua/ + null)
> msg:null
> 

Reply via email to