Websphere安装、企业部署应用【应用案例】
Websphere安装、企业部署应用举例 环境 名称 版本 Linux系统 CentOS-5.6-x86_64 Oracle软件 10201_database_linux_x86_64.cpio Websphere WASND70_LINX64 企业应用程序包 hyl.ear *********************************************************说明***********
Websphere安装、企业部署应用举例
环境
名称 |
版本 |
Linux系统 |
CentOS-5.6-x86_64 |
Oracle软件 |
10201_database_linux_x86_64.cpio |
Websphere |
WASND70_LINX64 |
企业应用程序包 |
hyl.ear |
*********************************************************说明****************************************************************
企业应用规避敏感词汇,本文应用均使用hyl.ear代替,图片均有相应改动,只为做技术交流与分享,望周知。
关于中间件理论知识介绍,请关注后续文章。
******************************************************************************************************************************
*******************************************************************************
*目标:安装Websphere、布署应用程序
*步骤:
* 1、安装Websphere
* 2、布署应用程序
******************************************************************************[root@hyl bin]# java -version --验证java版本,java版本为1.6符合WAS要求
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、安装Websphere
安装参考截图如下:
放入第二张光盘,如下:
2、部署企业应用
浏览器登陆:http://192.168.56.103:9060/admin

部署企业应用
说明:以hyl.ear举例为企业应用程序
点击Oracle JDBC Driver后,进入界面后点击“数据源”如下:
填入值:jdbc:oracle:thin:@192.168.56.103:1521:hyl
--保存后,点击新建
--以下操作均需设置后保存

--完成后再次新建,如下

测试连接,报错了,如下:

解决包的问题,将/home/u01/app/oracle/product/10.2.0/db_1/jdbc/lib/ojdbc14.jar文件拷贝到根目录下,重新配置“JDBC提供程序”,如下图所示:
这里要注意:对于oracle11g应使用ojdbc6.jar包,对于oracle10g应使用ojdbc14.jar包。
再次测试连接,如下:
启动,应用程序:hyl.ear
--此时配置成功,在浏览器中输入相应IP地址即可。
--至此,使用hyl.ear部署企业级应用的过程介绍完毕。如:浏览器登陆:http://localhost:9080/hyl (或loaclhost为主机IP即可,9080是使用默认的端口,改变设置可浏览另一篇文章:中间件的优化:点击打开链接)
小结:注意类路径的设置,如果设置包路径不对,无法找到指定的包,会引起连接失败。
***********************************************声明************************************************
原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明出处(http://blog.csdn.net/huangyanlong)。
表述有错误之处,请您留言,不胜感激。
提醒:点击目录,更有助于您的查看。
*****************************************************************************************************

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The role and practical application of arrow symbols in PHP In PHP, the arrow symbol (->) is usually used to access the properties and methods of objects. Objects are one of the basic concepts of object-oriented programming (OOP) in PHP. In actual development, arrow symbols play an important role in operating objects. This article will introduce the role and practical application of arrow symbols, and provide specific code examples to help readers better understand. 1. The role of the arrow symbol to access the properties of an object. The arrow symbol can be used to access the properties of an object. When we instantiate a pair

Deleted something important from your home screen and trying to get it back? You can put app icons back on the screen in a variety of ways. We have discussed all the methods you can follow and put the app icon back on the home screen. How to Undo Remove from Home Screen in iPhone As we mentioned before, there are several ways to restore this change on iPhone. Method 1 – Replace App Icon in App Library You can place an app icon on your home screen directly from the App Library. Step 1 – Swipe sideways to find all apps in the app library. Step 2 – Find the app icon you deleted earlier. Step 3 – Simply drag the app icon from the main library to the correct location on the home screen. This is the application diagram

While studying in high school, some students take very clear and accurate notes, taking more notes than others in the same class. For some, note-taking is a hobby, while for others, it is a necessity when they easily forget small information about anything important. Microsoft's NTFS application is particularly useful for students who wish to save important notes beyond regular lectures. In this article, we will describe the installation of Ubuntu applications on Ubuntu24. Updating the Ubuntu System Before installing the Ubuntu installer, on Ubuntu24 we need to ensure that the newly configured system has been updated. We can use the most famous "a" in Ubuntu system

If you have used Docker, you must understand daemons, containers, and their functions. A daemon is a service that runs in the background when a container is already in use in any system. Podman is a free management tool for managing and creating containers without relying on any daemon such as Docker. Therefore, it has advantages in managing containers without the need for long-term backend services. Additionally, Podman does not require root-level permissions to be used. This guide discusses in detail how to install Podman on Ubuntu24. To update the system, we first need to update the system and open the Terminal shell of Ubuntu24. During both installation and upgrade processes, we need to use the command line. a simple

1. Introduction Over the past few years, YOLOs have become the dominant paradigm in the field of real-time object detection due to its effective balance between computational cost and detection performance. Researchers have explored YOLO's architectural design, optimization goals, data expansion strategies, etc., and have made significant progress. At the same time, relying on non-maximum suppression (NMS) for post-processing hinders end-to-end deployment of YOLO and adversely affects inference latency. In YOLOs, the design of various components lacks comprehensive and thorough inspection, resulting in significant computational redundancy and limiting the capabilities of the model. It offers suboptimal efficiency, and relatively large potential for performance improvement. In this work, the goal is to further improve the performance efficiency boundary of YOLO from both post-processing and model architecture. to this end

The Linuxtee command is a very useful command line tool that can write output to a file or send output to another command without affecting existing output. In this article, we will explore in depth the various application scenarios of the Linuxtee command, from entry to proficiency. 1. Basic usage First, let’s take a look at the basic usage of the tee command. The syntax of tee command is as follows: tee[OPTION]...[FILE]...This command will read data from standard input and save the data to

Detailed steps to install Go language on Win7 computer Go (also known as Golang) is an open source programming language developed by Google. It is simple, efficient and has excellent concurrency performance. It is suitable for the development of cloud services, network applications and back-end systems. . Installing the Go language on a Win7 computer allows you to quickly get started with the language and start writing Go programs. The following will introduce in detail the steps to install the Go language on a Win7 computer, and attach specific code examples. Step 1: Download the Go language installation package and visit the Go official website

Title: A complete guide to installing FTPS service under Linux system In Linux system, setting up an FTP server is a common requirement. However, in order to enhance the security of data transmission, we can choose to install the FTPS service, which adds SSL/TLS encryption function based on the FTP protocol. Through the FTPS service, we can upload and download files while ensuring the security of data transmission. This article will provide a detailed guide for installing FTPS service under Linux system and provide specific instructions.
