Websphere installation, enterprise deployment application example Environment name version Linux system CentOS-5.6-x86_64Oracle software 10201_database_linux_x86_64.cpioWebsphereWASND70_LINX64 enterprise application package hyl. ear *************************************** ***********
Websphere installation, enterprise deployment application example Environment name version Linux system CentOS-5.6-x86_64 Oracle software 10201_database_linux_x86_64.cpio Websphere WASND70_LINX64 enterprise application package hyl. ear *************************************** ***********
Example of Websphere installation and enterprise application deployment
Environment
Name |
Version |
Linux |
CentOS-5.6-x86_64 |
Oracle software |
10201_database_linux_x86_64.cpio |
Websphere |
WASND70_LINX64 |
Enterprise Application Package |
Hyl. ear |
**************************************** ********************** **************************************** **
In this article, hyl. ear is used in enterprise applications to avoid sensitive words. the pictures are changed accordingly and only for technical exchanges and sharing.
For more information about the middleware theory, see the following articles.
**************************************** **************************************** **************************************** ******
**************************************** ***************************************
* Goal: to install Websphere and deploy applications
* Steps:
* 1. install Websphere
* 2. deploy applications
**************************************** **************************************
[Root @ hyl bin] # java-version -- verify the java version. the java version 1.6 meets the WAS requirements.
Java version "1.6.0 _ 17"
OpenJDK Runtime Environment (IcedTea61.7.5) (rhel-1.16.b17.el5-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-f8, mixed mode)
1. install Websphere
The installation reference is as follows:
Put the second disc as follows:
2. deploy enterprise applications
Browser logon: http: // 192.168.56.103: 9060/admin
Deploy enterprise applications
Note: hyl. ear is used as an example for enterprise applications.
Click the Oracle JDBC Driver. on the page that appears, click "data source" as follows:
Enter jdbc: oracle: thin: @ 192.168.56.103: 1521: hyl
-- Save and click New
-- Set and save the following operations
-- Create again after completion, as shown below
Test the connection and an error is reported as follows:
To solve the package problem, copy the/home/u01/app/oracle/product/10.2.0/db_1/jdbc/lib/ojdbc14.jar file to the root directory, reconfigure the "JDBC provider", as shown in:
Note: The ojdbc6.jar package should be used for oracle11g, and the ojdbc14.jar package should be used for oracle10g.
Test the connection again as follows:
Start, application: hyl. ear
-- The configuration is successful. enter the corresponding IP address in the browser.
-- So far, the process of deploying enterprise-level applications using hyl. ear has been described. For example, log on to the browser: http: // localhost: 9080/hyl (or loaclhost is the host IP address. 9080 is the default port. you can view another article by changing the settings: middleware optimization: click to open the link)
Summary: pay attention to the class path setting. if the package path is incorrect and the specified package cannot be found, the connection will fail.
**************************************** *******Statement************************************************
Original works, from "Deep Blue blog" blog, welcome to reprint, reprint please be sure to indicate the source (http://blog.csdn.net/huangyanlong ).
Please leave a message if the statement is incorrect. thank you very much.
Reminder: click the directory to view the directory.
*****************************************************************************************************