Add new container installation documents to JBoss

Source: Internet
Author: User

1. Conventions:

According to bindings-JBoss-beans rules, ports-default configuration is based on 7101 + 100, that is, the corresponding Naming Service, remote classloading service, remoting connector, RMI/jrmp, ha pooled invoker and so on will be adaptive + 100; if it is ports-02, it will add 200, and so on.

 

Here we use the newly deployed fenxiaopromotion JBoss container as an example.


2. First come to/data/JBoss/Server

CP-r default fenxiaopromotion

Note: the size of the default package must be 26875 (accurate to bytes). If the size is inconsistent, copy the default package from other JBoss machines.

3. Vim/data/JBoss/Server/fenxiaopromotion/CONF/bindingservice. Beans/META-INF/bindings-jboss-beans.xml

Add <inject bean = "ports04bindings"/>

650) This. width = 650; "class =" confluence-embedded-image "src =" http://wiki.uletm.com/download/attachments/14879531/image2014-7-24+10%3A28%3A34.png? Version = 1 & modificationdate = 1406169962000 "alt =" image2014-7-24108103793a28%3a34.png? Version = "/>


Add at the place of row 100th

650) This. width = 650; "class =" confluence-embedded-image "src =" http://wiki.uletm.com/download/attachments/14879531/image2014-7-24+10%3A28%3A43.png? Version = 1 & modificationdate = 1406169962000 "alt =" image2014-7-241_101_3a281_3a43.png? Version = "/> \


4. Copy and rename the restart script

Jboss_fenxiaopromotion_restart.sh

#/Bin/bash

~ /Shell/jbosskill. Sh fenxiaopromotion 172.24.144.86 7501

Add domain IP Port

Vim ~ /Shell/jbosskill. Sh increase the judgment by 7501

650) This. width = 650; "class =" confluence-embedded-image "src =" http://wiki.uletm.com/download/attachments/14879531/image2014-7-24+10%3A30%3A58.png? Version = 1 & modificationdate = 1406169962000 "alt =" image2014-7-24+10%3a30%3a58.png? Version = "/>

Restart to check whether nestat-tnlap | grep 7501 has been started.


5. The data source file ends with DS. xml

Because the data source is connected to the database, the account and password of the database are involved. Therefore, this part of development will first send an email to the responsible person for operations.


6. Deploy the application

Deploying an application is still following the usual release process, packaging and publishing. If you do not add new modules to the release script in case of an emergency, you only need to manually package and release the application.

General steps:

SVN co ....

MVN clan package-denv = xxx-dversion = xxxx

...

CD target

SCP... upload to/data/JBoss/Server/fenxiaopromotion/deploy.

This article is from the "Zhanghe" blog, please be sure to keep this source http://9206668.blog.51cto.com/9196668/1541589

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.