Oracle Application Server 10g Migrating from Oracle Application Server 10g (9.0.4) Part Number B10424-01 |
|
This chapter provides a general discussion of the Oracle Application Server 10g characteristics in comparison to those of Oracle Application Server. It includes a mapping of Oracle Application Server components to their equivalent functionality in Oracle Application Server 10g.
Topics discussed are:
Oracle Application Server 10g provides full support for the Java 2 Platform Enterprise Edition (J2EE), XML, and emerging Web services standards. With Oracle Application Server 10g, you can simplify information access for your customers and trading partners by delivering enterprise portals, which can be customized and accessed from a network browser or wireless devices. It allows you to redefine your business processes, and integrate your applications and data sources with those from your customers or partners. You can deliver tailored customer experiences via real-time personalization, and assess and correlate Web site traffic patterns using Oracle Application Server 10g integrated business intelligence services.
You can also implement a centralized management, security, and directory framework to manage and monitor all of your distributed systems and diverse user communities. Oracle Application Server 10g allows you to save on Web site infrastructure by deploying your fast, scalable Internet applications through built-in Web caching, load balancing and clustering capabilities.
Table 1-1 presents Oracle Application Server components and their corresponding functionality in Oracle Application Server 10g, as well as the chapter in this guide that contains detailed information regarding specific components. During the migration process, you must migrate Oracle Application Server components to their closest corresponding components in Oracle Application Server 10g.
This section discusses enterprise services and characteristics of a Web site of concern to administrators and developers. The following topics are discussed:
This section also describes whether migrating your Web site from Oracle Application Server to Oracle Application Server 10g affects these characteristics.
Oracle Application Server consists of three layers, the HTTP listener layer, the server layer, and the applications layer. The HTTP listener layer consists of listeners, adapter interface, and dispatchers. The server layer provides a common set of components for managing applications. These components include load balancing, logging, automatic failure recovery, security, directory and transaction management components. The application layer consists of applications, cartridges, and cartridge servers. When a request arrives, the dispatcher routes the request to the application server layer, and if a cartridge instance is available, the request is serviced by that instance. Otherwise, a new instance is created.
In Oracle Application Server 10g, Oracle HTTP Server handles load balancing, routing servlet requests to OC4J through mod_oc4
j, single sign-on authentication and security context propagation through mod_osso
and SSL. OC4J consists of pure J2EE containers for running JSPs, servlets, and EJBs, and provides J2EE container services. Both the Oracle HTTP Server and OC4J perform the same functions as three layers in Oracle Application Server.
You can deploy Oracle Application Server in single or multiple host environments. You can configure Oracle HTTP Server and OC4J for single or clustered host environments.
In Oracle Application Server, each listener accommodates a maximum number of concurrent connections. This number varies based on operating system restrictions. To distribute the request load on a site, you can create multiple listeners, each listening on a different TCP port.
For Oracle Application Server 10g on UNIX, Oracle HTTP Server creates a pool of child processes ready to handle incoming client requests during the startup. As the requests load increases, the server spawns new processes for subsequent requests. The initial and maximum size of the pool, and the minimum or maximum number of spare server processes is configured with the StartServers
, MaxClients
, MinSpareServers
and MaxSpareServers
directives, respectively.
For Oracle Application Server 10g on Windows, Oracle HTTP Server runs as a multi-threaded process. The number of simultaneous connections is configured with the ThreadsPerChild
directive, which is analogous to both the StartServers
and MaxClients
directives for UNIX.
You can configure Oracle Application Server through the Node Manager. For Oracle Application Server 10g, you can configure Oracle HTTP Server using Oracle Enterprise Manager Application Server Control, or by manually editing the httpd.conf
file, which is located at:
In Oracle Application Server, as the number of requests increases, the system creates new cartridge servers and new instances.
In Oracle Application Server 10g, Oracle HTTP Server's mod_oc4j
receives requests from the server and routes them to the OC4J servlet container.
See Also:
|
When a component, such as a listener or a cartridge server fails, Oracle Application Server detects the failure and restarts the failed component. It restores any preserved state information, when possible.
In Oracle HTTP Server, if there is more than one HTTP server host, or more than one OC4J host, when one of the hosts stops, the system will still function as long as one HTTP server and one OC4J are running, provided that J2EE components have been deployed against the cluster of OC4J instances. Any Oracle HTTP Server instance can route a request to any OC4J instance. Maintaining routing information in cookies eliminates single point of failure.
Oracle Application Server allocates system resources and prioritizes requests based on two types of load balancing methods, priority-based method and minimum or maximum-based method.
In priority mode, the system manages and allocates resources automatically, based on the priority level you set for your applications and cartridges. The number of processes, threads, and instances is automatically determined based on the request load and priority level of the application and components.
In minimum or maximum mode, you set the number of instances, threads and client parameters for each cartridge at the cartridge level.
In Oracle HTTP Server, you can define the number of hosts, and a logical set of these hosts in your configuration file. The system assigns incoming requests to OC4J instances.
Oracle Application Server provides GUI tools and built-in support for administering and monitoring your site, listeners, and applications. The configuration data from the Oracle Application Server Manager tool is stored in various configuration files.
In Oracle HTTP Server, you can perform site administration and maintenance using Oracle Enterprise Manager, or through a set of configuration files. Table 1-2 presents configuration files for the Oracle Application Server HTTP listener and Oracle HTTP Server.
You must convert the certificate from Oracle Application Server to Oracle Application Server 10g. The section below provides the required instructions.
Protecting your site with SSL is one of the security measures you can take. If you have done so and want to migrate your SSL certificate to Oracle Application Server 10g, you must convert it.
Oracle Application Server 10g contains two migration tools, pconvert
and ssl2ossl
(UNIX) or osslconvert
(Windows). Perform following steps to migrate from the Oracle Application Server certificate to an Oracle Application Server 10g certificate or wallet.
pconvert
, which is located at:
The syntax for running pconvert
is:
pconvert -s oas_private_key_file -d ias_private_key_file
For example:
prompt> pconvert -s privkey.der -d iaskey.pem
ias_private_key
file that you obtained from step 1 with the conversion tool, ssl2ossl
or osslconvert
. The full paths to the tools are:
ssl2ossl
on UNIX is:
ssl2ossl -cert oas_certificate_file -key ias_private_key_file -wltpass password_for_wallet -certpass password_for_oas_certificate_file -chain oas_certificate_chain_file -capath oas_certificate_authority_path -cafile oas_certificate_authority_file -wallet wallet_full_path -ssowallet yes/no -validate yes/no
osslconvert
on Windows is:
osslconvert.exe -cert oas_certificate_file -key ias_private_key_file -wltpass password_for_wallet -certpass password_for_oas_certificate_file -chain oas_certificate_chain_file -capath oas_certificate_authority_path -cafile oas_certificate_authority_file -wallet wallet_full_path -ssowallet yes/no -validate yes/no
Table 1-3 summarizes the parameters and their associated requirements for the ssl2ossl
or osslconvert
conversion tool.
Oracle Application Server 10g Security Guide for details on
See Also:
ssowallet
and other security information
Oracle Application Server 10g uses Oracle HTTP Server, and Oracle Application Server uses HTTP Server as their Web listeners. However, many companies only use Microsoft Internet Information Services (IIS), or SUN One as their corporate standard Web server.
Both Oracle Application Server and Oracle Application Server 10g support third party Web servers, such as IIS and Sun ONE.
|
![]() Copyright © 2002, 2003 Oracle Corporation. All Rights Reserved. |
|