WebSphere installation, enterprise Deployment application Examples

Source: Internet
Author: User

WebSphere installation, enterprise Deployment application Examples


Environment

Name

Version

Linux Systems

Centos-5.6-x86_64

Oracle Software

10201_database_linux_x86_64.cpio

Websphere

Wasnd70_linx64

Enterprise Application Packages

Hyl.ear


Description **************************************************** ************

Enterprise application to avoid sensitive words, the use of this article is used hyl.ear instead, the pictures have corresponding changes, only to do technical exchanges and share, hope to be known.

For the introduction of middleware theory, please follow the next article.

*************************************************************************************************************** ***************


*******************************************************************************

* Target: Install Websphere , deployment Applications

* steps:

* 1 , installation Websphere

* 2 , deployment Applications

*******************************************************************************

[[email protected] bin]# java-version -- verify java version,java version is 1.6 meets was requirement

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-b16,mixed mode)


1. Installing WebSphere

The installation reference is as follows:




























Insert the second disc as follows:







2. Deploy enterprise Applications

Browser Login: Http://192.168.56.103:9060/admin



Deploy Enterprise Apps

Description: An enterprise application with Hyl.ear as an example





























After clicking on the Oracle JDBC driver, enter the interface and click on "Data Source" as follows:




Fill in value: jdbc:oracle:thin:@192.168.56.103:1521:hyl








-- after saving, click New

-- the following actions need to be set up after saving



-- Once you are done, create a new




Test the connection, error, as follows:


To resolve the problem with the package, copy the/home/u01/app/oracle/product/10.2.0/db_1/jdbc/lib/ojdbc14.jar file to the root directory and reconfigure the JDBC provider as shown in:

Note here: 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:


Launch, Application: Hyl.ear





--When the configuration is successful, enter the appropriate IP address in the browser.

-At this point, the process of deploying an enterprise application using Hyl.ear is complete. such as: Browser login: http://localhost:9080/hyl (or Loaclhost for the host IP, 9080 is to use the default port, change the settings can browse another article: Middleware optimization: Click to open link )

Summary: Note the setting of the classpath, if the package path is not set, the specified package cannot be found, causing the connection to fail.


*********************************************** declaration ***************************************** *******

original works, from the "Blue Blog" blog, Welcome to reprint, please be sure to indicate the source ( Http://blog.csdn.net/huangyanlong ).

There is an error in the statement, please leave a message, greatly appreciated.

Reminder: Click on the table of contents, more helpful to your view.

*************************************************************************************************** **


























Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.