anastasiatx
Programmer
I've inherited an existing web application that runs in tomcat 3.1 as standalone servletcontainer.
Server.xml has <Context path="/" docBase="webpages" />
Under webpages we have directories:
TessWeb (main entry point to the web application)
WEB-INF (with the web.xml that defines servlets used in TessWeb)
webpages has index.jsp that simply forwards to /TessWeb.
The tomcat directories are
bin,etc,lib,logs,etc,conf,webpages,work.
There are many jsp pages and servlets (the servlets are compiled and put in the tomcathome lib directory) which have explicit directory references /TessWeb/subdira/
etc...
I am trying to migrate to 3.2.4
I can't seem to get the context to be webapps dir.
(btw does anyone know why dir name changed from webpages in tomcat 3.1 to webapp in timcat 3.2.4 and later).
I added the contect path="" docBase="webapps" to server.xml.
My tomcat log shows:
ContextManager: Adding context Ctx( )
ContextManager: Adding context Ctx( /index.jsp )
ContextManager: Adding context Ctx( /TessWeb )
ContextManager: Adding context Ctx( /WEB-INF )
PoolTcpConnector: Starting HttpConnectionHandler on 8080
Ctx( /TessWeb ): IOException in: R( /TessWeb + /framework/images/pes_home.gif + null) Connection aborted by peer: socket write error
2002-10-31 09:40:21 - Ctx( /TessWeb ): IOException in: R( /TessWeb + /framework/images/pes_home.gif + null) Connection reset by peer: socket write error
Why did tomcat add CTX for /index.jsp, /TessWeb, AND, web-inf????
Tomcat3.1 log does not even seem to have the concept of Ctx?
Any ideas???
Server.xml has <Context path="/" docBase="webpages" />
Under webpages we have directories:
TessWeb (main entry point to the web application)
WEB-INF (with the web.xml that defines servlets used in TessWeb)
webpages has index.jsp that simply forwards to /TessWeb.
The tomcat directories are
bin,etc,lib,logs,etc,conf,webpages,work.
There are many jsp pages and servlets (the servlets are compiled and put in the tomcathome lib directory) which have explicit directory references /TessWeb/subdira/
etc...
I am trying to migrate to 3.2.4
I can't seem to get the context to be webapps dir.
(btw does anyone know why dir name changed from webpages in tomcat 3.1 to webapp in timcat 3.2.4 and later).
I added the contect path="" docBase="webapps" to server.xml.
My tomcat log shows:
ContextManager: Adding context Ctx( )
ContextManager: Adding context Ctx( /index.jsp )
ContextManager: Adding context Ctx( /TessWeb )
ContextManager: Adding context Ctx( /WEB-INF )
PoolTcpConnector: Starting HttpConnectionHandler on 8080
Ctx( /TessWeb ): IOException in: R( /TessWeb + /framework/images/pes_home.gif + null) Connection aborted by peer: socket write error
2002-10-31 09:40:21 - Ctx( /TessWeb ): IOException in: R( /TessWeb + /framework/images/pes_home.gif + null) Connection reset by peer: socket write error
Why did tomcat add CTX for /index.jsp, /TessWeb, AND, web-inf????
Tomcat3.1 log does not even seem to have the concept of Ctx?
Any ideas???