Hi!
How can I change the default application from the tomcat
"ROOT/index.jsp" page to an application installed in
"$CATALINA_HOME/Catalina/localhost/app.xml"?
I found the default application in "web.xml" and changed it from
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
to
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/tomcat</url-pattern>
</servlet-mapping>
For the web application I defined (in
"$CATALINA_HOME/Cataline/localhost/app.xml"):
<Context
path="/"
docBase="/opt/app"
debug="0"
reloadable="false">
<Logger
className="org.apache.catalina.logger.FileLogger"
prefix="mywebapp."
suffix=".log"
timestamp="true"/>
</Context>
but after restarting tomcat it seemd not to have any effect: calling
http://server:8080/tomcat did just not work and give back an error
404 - resource not available.
http://server:8080/ did work, but returned the tomcat default page.
My own webapp was not reachable at all.
Any idea what I am missing?
--
Thomas
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]