Oracle 9iAS does use a modified version of Orion.

I have tried to use the application manager servlet (and I have used it for
other apps with no problem) but cannot get the installation to function.  I
have also manually changed the server.xml file which is the same file
altered by the application manager.  The problem is in the web.xml file that
contains references to the dbforms controller.  If I comment out the
controller sections from the web.xml file, I can at least access the root
url of the web site.  With these sections in, I get a 404 error even when
attempting to access an html page in the directory.  But, I receive no
errors from TomCat even though something in the web.xml file controller
references is keeping the site from loading.

Thanks,
Roy

-----Original Message-----
From: Luca Fossato [mailto:fossato@;pow2.com]
Sent: Saturday, November 02, 2002 5:37 AM
To: McBrayer, Roy
Cc: '[EMAIL PROTECTED]'
Subject: Re: [dbforms] Configuration of web.xml for Tomcat 4.1

Hi Roy,

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: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to