Skip Headers
Oracle® Application Development Framework Developer's Guide
10g Release 3 (10.1.3)
B25386-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

22.8 Deploying to WebLogic

This section describes deployment details that are specific to WebLogic.

22.8.1 WebLogic Versions Supported

Table 22-5 shows the supported versions of WebLogic:

Table 22-5 Support Matrix for WebLogic

WebLogic version JDK version J2EE version

8.1 SP4

1.4

ADF applications have been certified against the Sun JDK, but not the JRockit JDK.

1.3

9.0

1.5

1.4


22.8.2 WebLogic Versions 8.1 and 9.0 Deployment Notes

  • 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.

22.8.3 WebLogic 8.1 Deployment Notes

  • 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:

    1. Select the project in the Applications Navigator.

    2. Select File > New to display the New Gallery.

    3. In Categories, expand General and select Deployment Descriptors.

    4. In Items, select J2EE Deployment Descriptor Wizard and click OK.

    5. Click Next in the wizard to display the Select Descriptor page.

    6. On the Select Descriptor page, select application.xml and click Next.

    7. On the Select Version page, select 1.3 and click Next.

    8. 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.

22.8.4 WebLogic 9.0 Deployment Notes

  • 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.

22.8.5 WebLogic Deployment Methods

You can deploy directly to WebLogic if you have set up a connection in JDeveloper to your WebLogic server.

You can also deploy using the WebLogic console (for example: http://<weblogic_host:port>/console/).