Dubbo-admin Environment Construction Attention Point

Source: Internet
Author: User

    • GitHub Source: Https://github.com/alibaba/dubbo.git

    • After downloading to eclipse, re-load the MAVEN project.

    • To modify a Pom file:

1, the dependence of WEBX changed to 3.1.6 version;

<dependency> <groupId>com.alibaba.citrus</groupId> <artifactid>citrus-webx-all</a Rtifactid> <version>3.1.6</version> </dependency>

2, add the velocity of dependence, I used 1.7;

<dependency> <groupId>org.apache.velocity</groupId> <ARTIFACTID>VELOCITY</ARTIFAC Tid> <version>1.7</version> </dependency>

3, add exclusion to dependency Dubbo, avoid introducing old spring

     <dependency>        <groupId> com.alibaba</groupid>        <artifactid>dubbo</ artifactid>        <version>${project.parent.version}</ version>        <exclusions>             <exclusion>                 <groupId>org.springframework</groupId>                 <artifactid>spring </artifactId>            </exclusion>         </exclusions>    </dependency> 

4, WEBX has more than 3 of spring dependency, so comment out the spring dubbo-admin inside

<!--<dependency>--> <!--<groupId>org.springframework</groupId>--> <!--<a Rtifactid>spring</artifactid>--> <!--</dependency>-->

OK The Lib directory is not dependent on the Spring 3 after the war package decompression.

  • download zookeeper:http://apache.fayea.com/zookeeper/stable/zookeeper-3.4.6.tar.gz

    Modify the Conf under Zoo_sample.cfg to ZOON.CFG and modify the data storage location inside.

  • Publish Dubbo-admin with Tomcat and modify the dubbo.properties under Web-inf

    dubbo.registry.address=zookeeper://127.0.0.1:2181 address and port modified to the corresponding zookeeper

    Visit Dubbo-admin:


Dubbo-admin Environment Construction Attention Point

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.