Oracle® Application Development Framework Developer's Guide
10g Release 3 (10.1.3) B25386-01 |
|
![]() Previous |
![]() Next |
This section describes deployment details that are specific to WebLogic.
Before deploying applications that use ADF to WebLogic, you need to install the ADF runtime libraries on WebLogic. See Section 22.12, "Installing ADF Runtime Library on Third-Party Application Servers" for details.
When you click Test Connection in the Create Application Server Connection wizard, you may get the following exception:
Class Not Found Exception - weblogic.jndi.WLInitialContextFactory
This exception occurs when weblogic.jar
is not in JDeveloper's classpath. You may ignore this exception and continue with the deployment.
You may get an exception in JDeveloper when trying to deploy large EAR files. The workaround is to deploy the application using the server console.
This version of WebLogic supports JDK 1.4. This means that you need to configure JDeveloper to build your applications with JDK 1.4 (such as the JDK provided by WebLogic) instead of JDK 1.5. See Section 22.11, "Deploying to Application Servers That Support JDK 1.4" for details.
WebLogic 8.1 is only J2EE 1.3 compliant. This means that you need to create an application.xml
file that complies with J2EE 1.3. To create this file in JDeveloper, make the following selections:
Select the project in the Applications Navigator.
Select File > New to display the New Gallery.
In Categories, expand General and select Deployment Descriptors.
In Items, select J2EE Deployment Descriptor Wizard and click OK.
Click Next in the wizard to display the Select Descriptor page.
On the Select Descriptor page, select application.xml and click Next.
On the Select Version page, select 1.3 and click Next.
On the Summary page, click Finish.
Similarly, your web.xml
needs to be compliant with J2EE 1.3 (which corresponds to servlet 2.3 and JSP 1.2). To create this file in JDeveloper, follow the steps as shown above, except that you select web.xml in the Select Descriptor page, and 2.3 in the Select Version page.
If you are using Struts in your application, you need to create the web.xml
file at version 2.3 first, then create any required Struts configuration files. If you reverse the order (create Struts configuration files first), this will not work because creating a Struts configuration file also creates a web.xml
file if one does not already exist, but this web.xml
is for J2EE 1.4, which will not work with WebLogic 8.1.
When you are deploying to WebLogic 9.0 from JDeveloper, ensure that the HTTP Tunneling property is enabled in the WebLogic console. This property is located under Servers > ServerName > Protocols. ServerName refers to the name of your WebLogic server.