What was the container you used before (does Oracle use Orion ?) ?
Anyway, with Tomcat4.x, you must use its application manager servlet to install your web apps. It's not sufficient to move them into the $CATALINA_HOME/webapps directory.
See:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html
Luca
McBrayer, Roy wrote:
I was developing an application on Oracle9iAS using DbForms. I need to
shift this to TomCat 4.1.X . When I move the application directory to the
TomCat Home\wepapps directory, I cannot open any pages of the site (either
jsp or html). I get an http error 404.
If I replace the web.xml file in my applications web-inf directory with a
plain vanilla version of the web.xml then I can at least access my pages.
But, using the web.xml that contains dbforms controller references, I cannot
get it to function. The web.xml from the original install is below. Is
there anything specific to TomCat that I must configure in order for the
dbforms controller sections to work?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<servlet>
<servlet-name>control</servlet-name>
<servlet-class>org.dbforms.Controller</servlet-class>
<init-param>
<param-name>maxUploadSize</param-name>
<param-value>80000</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>file</servlet-name>
<servlet-class>org.dbforms.util.FileServlet</servlet-class>
<load-on-startup>3</load-on-startup>
</servlet>
<servlet>
<servlet-name>org.dbforms.ConfigServlet</servlet-name>
<servlet-class>org.dbforms.ConfigServlet</servlet-class>
<init-param>
<param-name>log4j.configuration</param-name>
<param-value>/WEB-INF/log4j.properties</param-value>
</init-param>
<load-on-startup>4</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>control</servlet-name>
<url-pattern>/servlet/control</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>file</servlet-name>
<url-pattern>/servlet/file</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>25</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>home.jsp</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>/WEB-INF/dbforms.tld</taglib-uri>
<taglib-location>/WEB-INF/dbforms.tld</taglib-location>
</taglib>
</web-app>
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
DbForms Mailing List
http://www.wap-force.net/dbforms
