Oracle9ias deployment under J2EE application deployment

xiaoxiao2021-03-06  60

Oracle 9IAS J2EE application releases and configuration

Installation Configuration Application Server Operating System

Install Oracle 9IAS 9.0.2 Enterprise Edition

1 Oracle 9i Application Server INFRASTRUCTRURE;

Among them: Oracle 9ias Infrastructure Instance Name: Ora9ias_IS; Password: Ora9ias

Installation directory: d: / ora9is

2 Oracle 9ias Application Server (Business Intelligence and Forms);

Among them: Oracle 9ias Instance Name: Ora9ias; Password: xxxxxx

Installation directory: d: / ora9ias

Package application

The application directory structure that needs to be packaged is

Root directory/

JSP program directory /

WEB-INF /

Classes /

LIB /

Web.xml

In the root directory, use the jar -cvf command to package it as a WebJ2ee.war file.

Create a new TEMP root directory, establish a meta-inflica in the directory, which is newly built, and its content is:

WebJ2ee Application Description Webj2ee.war < / Web-Uri> wherein the underlined portion can be modified according to the actual situation. Its directory structure is: Temp / meta-inf / application.xml Webj2ee.war

Package it to WebJ2EE.EAR in the TEMP root directory.

Configure Oracle Application Server

NO.1 enters Oracle Enterprise Management Web Console

Enter Oracle Enterprise Management Web Console

In the IE browser, its URL is generally: http: // ip-address: 1810 /

Note: This address is the same as the server IP address installed in Oracle9ias.

Username: IAS_ADMIN; Password: xxxxx (password entered between the user when installing ORA9IAS)

No.2 Enter the configuration interface of Oracle IAS

Generally selects IAS to configure. Click on "Name" to enter the configuration screen:

Note: Because the domains and DNS servers are installed on the application server, if the terminal of the connection server does not join the domain or does not set the DNS of the server to the DNS of the application server, it is possible to pass the server's host name and cannot access the interface. The IP address needs to be accessed with the IP address. No.3 Enter Oracle Http Server Configuration Interface:

Click the "HTTP Server" link to enter the configuration interface.

NO.4 Configuring HTTP Listening Port:

Click on the Server Properties link below "Management" to enter the next interface:

Click the [Add New Address / Port] button to appear blank lines, fill in the new port under the port column: 80, the IP address column can not be filled, the default is the server IP address. Drag the browser vertical scroll bar down.

Click the [Application] button to save this configuration.

Click the [YES] button, restart OHS, return to the server properties interface, click the 'Application Server: XXX_ias.xxxx.xx.xxx' above the interface, return to NO. 4 The IAS configuration interface shown.

Note: The "Advanced Server Properties" link below the Server Properties link can enter the interface of the configuration file list, and the students can study research. Where httpd.conf file is the weight.

NO.5 Enter the OC4J Configuration Interface:

Click the "OC4J_HOME" link to enter the OC4J configuration interface.

No.6 Deploy J2EE App:

Click the [Deploy EAR File] button to enter the deployment first step - Introduction:

Click the [Next] button:

Click the [Browse ...] button to select a J2EE application EAR package, which is best located on the server to avoid deploying time. Fill in the unique application name in the space below, which is equivalent to the unique ID of the application.

After the setting is complete, click the [Next] button, start the copy application to the corresponding position, time may be longer, please wait patiently.

Set the URL to access the J2EE application, for example: / webj2ee.

Note: '/' in front of the specific URL.

Click the [Complete] button to complete the configuration.

Click the [Deployment] button to start deploying applications, and time may be longer.

After the deployment, the OC4J_HOME home page will be automatically returned. At this time, it is possible to see the application that has just been deployed under "deployed application".

Click the link to deploy the completed application to enter the configuration interface

NO.7 Configuring J2EE App:

Click on the "Advanced Properties" link below to enter the configuration file interface.

Click on the "Data-Sources.xml" link,

Configuration for data sources:

Location = "The same as the application"

UserName = "Database User Name"

Password = "password"

URL = "JDBC: Oracle: Thin: @ip_address: 1521: SID"

After the configuration is complete, click the [Application] button to save the configuration.

No.8 Restart OC4J:

On this interface, restart OC4J_HOME.

No.9 Test:

Test your application in the IE browser successfully deployed, generally

http://xxx.xxx.xxx.xxx/Webj2ee / xxxx.jsp

转载请注明原文地址:https://www.9cbs.com/read-119428.html

New Post(0)