WebSphere Device, enterprise Deployment application Example
Environment
Name |
Version number |
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 avoids sensitive words, the application of this paper is replaced with hyl.ear. Pictures have corresponding changes, just to do technical exchanges and share, hope to be known.
For the introduction of middleware theory, please pay attention to the article.
*************************************************************************************************************** ***************
*******************************************************************************
* Target: Install Websphere , deployment Applications
* steps:
* 1 , installation Websphere
* 2 , deployment Applications
*******************************************************************************
[[email protected] bin]# java-version -- Verify the Java version number, theJava version number is 1.6 Meet 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-b16,mixed mode)
1. Installing WebSphere
Installation references such as the following:
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
Put the second disc, for example:
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
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
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
After clicking on the Oracle JDBC driver, go to the interface and click on "Data source" for example:
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
Fill in value: jdbc:oracle:thin:@192.168.56.103:1521:hyl
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
-- after saving, click New
-- The following actions need to be set after saving
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
-- after the completion of the new, such as the following
Test connection. An error has been made. For example, the following:
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
Resolves a problem with the package. Copy the/home/u01/app/oracle/product/10.2.0/db_1/jdbc/lib/ojdbc14.jar file to the root folder. Configure the JDBC provider again, for example, as seen 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. For example, the following:
Launch, Application: Hyl.ear
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvahvhbmd5yw5sb25n/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
--The configuration succeeds at this time. You can enter the corresponding 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 host IP, 9080 is to use the default port, change the settings can be browsed there is also an article: Middleware optimization: Click to open link )
Summary: Note the setting of the classpath, assuming that the package path is incorrect and the specified package cannot be found. Will cause the connection to fail.
*********************************************** declaration ***************************************** *******
original work, from the "Deep Blue Blog" blog. Welcome reprint, please be sure to indicate the source (http://blog.csdn.net/huangyanlong) when reproduced.
There are errors in the presentation. Please leave your message. greatly appreciated.
Reminder: Click on the folder. More helpful for your viewing.
*************************************************************************************************** **
Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.
WebSphere Device, enterprise Deployment application Application