You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Xin Li <xl...@seasllc.com> on 2001/12/04 18:05:52 UTC

tomcat 4 and enhydra 3.1 application

Hi,

This is Xin. A new user of tomcat4. I need to run my enhydra application
under Tomcat4. I read the discussion about this issue from last month, it is
very helpful. However, I still have some questions on the instruction that
Dave Li provided. Any help will be appreciated.

Question 1: In order to let it work, we need to

"1. Patch the Enhydra 3.1 HttpPresentationServlet (see attached)
   Simple patch to linked up the classloader of the servlet"

May I know where the patch should be placed?

Question 2: in server.xml, we should add <Context path="/enhydra"
docBase="enhydra" debug="1"/> in it.
Should "path" be "/EnhydraWebApp" if the folder's name under "webapps" is
"EnhydraWebApp"?

Question 3:

There is an example of web.xml  (I suppose this web.xml is the file under
webapps/EnhydraWebApp/WEB-INF/, is it right?)
<web-app>

    <servlet>
        <servlet-name>
            enhydra
        </servlet-name>
        <servlet-class>

com.lutris.appserver.server.httpPresentation.servlet.HttpPresentationServlet
        </servlet-class>
        <init-param>
            <param-name>ConfFile</param-name>

<param-value>/home/david/work/SkunkWorks/EnhydraWebApp/WebApp/output/conf/We
bApp.conf</param-value>
        </init-param>
    </servlet>

    <!-- The mapping for the default servlet -->
    <servlet-mapping>
      <servlet-name>enhydra</servlet-name>
      <url-pattern>/*</url-pattern>
    </servlet-mapping>
</web-app>

Is there any special requirement about the "servlet-name"? Can it be
something else?

Thanks,

Xin


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>