Deploy your packaged application to the Apache Tomcat Application Server through an application server connection. A packaged application will contain a deployment profile that names the files to be deployed, describes their organization, and specifies the target server.
The target Tomcat server must be installed locally or mapped to a network drive.
To deploy to the Apache Tomcat Application Server:
If the project is a Business Components UIX JSP project, add required Cabo resources to it.
If your project uses ADF Business Components, install the ADF runtime libraries on the server.
If the project is a UIX web application, configure the server for UIX deployment.
Select the deployment profile in the Navigator, right-click, and choose Deploy to | <application server connection> to package the application as an archive file and deploy it via the selected application server connection.
Stop and restart the Tomcat server.
Notes:
Make sure that you have the tools.jar
library in the
Tomcat classpath. This file is located in <jdev_install>
/jdk/lib
and must be of the version of the JDK being used to run
Tomcat. Otherwise, you may encounter problems when running
applications in Tomcat.
When developing a Business Components project to be deployed to Tomcat, you must select a connection type and the corresponding SQL dialect, type maps or domains. For more information, see Developing Business Components for Oracle Lite and Non-Oracle Data Sources .
The recommended deployment for web applications is
<Tomcat_install>/webapps/<subdirectory>
. Set this option in the General page of the WAR File deployment profile.
conf/server.xml
file:
<DefaultContext crossContext="true"/>
This will allow the WAR file in the root of
<tomcat-install>/webapps
to detect the /cabo/
shared installables. See Tomcat system administration documentation for more
information.
Only one of the two parameters ... or ... should be defined.
Because Tomcat does not release tags after pooling, subsequent uses of the same tag with incompatible attributes defined will cause this error.
To avoid the error, you must disable tag pooling in Tomcat:
<tomcat_home>/conf/web.xml
in a text editor.
<init-param>
<param-name>enablePooling</param-name>
<param-value>true</param-value>
</init-param>
<param-value>
to false
.
Working with the Apache Tomcat Application
Server
About Tomcat
Directory Structure for UIX Deployment
Configuring Tomcat for UIX Deployment
Copyright © 1997, 2004, Oracle. All rights reserved.