WebSphere Deployment--web Application-Take your own project as an example

Source: Internet
Author: User
Tags websphere application server

1, Yun Ops-webProject Packaging (War)---This project is a MAVEN project

Project Structure please operate in Eclipse .

1) General situation first clean up pom.xml Right-click -->run as-->maven

2) Packaging Operation Pom.xml right -->run as-->maven install--> (War package will be hit at target directory )

files under the target directory :

2,websphere Server and Virtual host

  Log on to the WebSphere console: http://10.181.77.68:9060/ibm/console/login.do

  

  The server creation process.

Server--server type-->websphere application server--> new

  

  Modify Server Properties

The virtual host creation process.

Environment -- virtual host -- new

  

Virtual Host Setup Port

preferred to view, just established server default port

You can see that its default port is 9083, so set the virtual host port we just established to 9083

3,ops-web deployment to WebSphereon

Choose Application--Application type-->websphere enterprise application

 This step is slow because the file is uploaded, patiently waiting for

here to check the module, select the corresponding server, click on the application, you can click the next step

be sure to click Apply Multiple mappings here, then select the virtual host we want to use ...

4,ops-webApp Access

 Browser Address bar input: Http://10.181.77.68:9083/ops-web/home.jspa

  This is logged in with the unified login page of the line.

  

  Home page after sign-in

5,ops-web Application Uninstall

6, Ops-webdirectories and log directories that should eventually be installed

Application:/USR/WEBSPHERE/APPSERVER/PROFILES/VTMTEST/INSTALLEDAPPS/VTM
Log in: /usr/websphere/appserver/profiles/vtmtest/logs/ops_web2

7, Ops-webproject configuration file Description

location in the project where the configuration file is located:ops-web\src\main\resources , as shown

  The configuration files that need to be confirmed and modified before going live are:

Agent.properties, Applicationcontext-security.xml, Ftpconfig.properties, Global.properties, Jdbc.properties, Log4j.properties, Struts.properties.

1) agent.properties ( Some configuration related to Ilink communication )

2) Applicationcontext-security.xml(whether to use unified login)

3) ftpconfig.properties (FTP upload related configuration )

4) global.properties ( Some configuration of Project global )

5) Jdbc.properties ( Configuration of database connection )

6) log4j.properties ( log related configuration )

7) Struts.properties ( only need to change the upload path )

8. Other places to be modified (report)

  Report files are located in ops-web\src\main\webapp\birt\ *.rpttemplate

  There is a separate configuration of the database data source, which needs to be consistent with the actual database Configuration connection . (Open the file and search for " 10.181 "can be positioned .  Modify IP address, if the password for the user name has changed, you need to use Eclipse installed in the Birt plug-In visualization action to change .  because the password is automatically encrypted)

WebSphere Deployment--web Application-Take your own project as an example

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.