Skip to content

The version report to registry is 2.0.1 after dubbo 2.5.9 #1524

Closed

Description

@lanhuai

The Dubbo version report to registry is 2.0.1 after dubbo 2.5.9 and 2.5.10.

It should be the same as the dubbo version i think.

Activity

  1. ralf0131 commented on Mar 29, 2018

    @ralf0131
    Contributor

    Hi, welcome!

    It will be appreciated that you can provide a simple step to reproduce this issue.

  2. diecui1202 commented on Mar 29, 2018

    @diecui1202

    I debug the demo in the codebase, and get the following result:

    image

    The red rectangle show "dubbo=2.0.0", is this the problem?

  3. lanhuai commented on Mar 30, 2018

    @lanhuai
    Author

    @diecui1202 Yes, this is the problem.

  4. added
    type/bug
    on Apr 2, 2018
  5. lovepoem commented on Apr 2, 2018

    @lovepoem
    Member

    https://github.com/apache/incubator-dubbo/blob/master/dubbo-common/src/main/java/com/alibaba/dubbo/common/Version.java

    Version.java read version from MANIFEST.MF or jar name.

    Now you debug in classes generated by IDE, no MANIFEST.MF or jar name found

    Must we support the IDEA debug environment?

    If so,we can refer this Generate a Version.java file in Maven

  6. xhrg commented on Apr 2, 2018

    @xhrg

    1 maven Compile and install "dubbo-common"
    2 Closing the “dubbo-common” project in IDE
    And then it's going to be good

  7. lanhuai commented on Apr 10, 2018

    @lanhuai
    Author

    image
    This is the problem, dubbo-2.5.10.jar file from maven repository, Implementation-Version in MANIFEST.MF is wrong, not IDEA debug environment.

  8. cvictory commented on Apr 10, 2018

    @cvictory
    Contributor

    I found Implementation-verison and Specification-version in dubbo jar(version:2.6.1 ) is right now.

    As @diecui1202 said, We will not change the value in register url. such as : registry://224.5.6.7:1234/com.alibaba.dubbo.registry.RegistryService?application=demo-provider&dubbo=2.0.0&pid=9796&qos.port=22222&registry=multicast&timestamp=1523350418885 .
    The value dubbo=2.0.0 will be kept.

  9. zonghaishang commented on Apr 11, 2018

    @zonghaishang
    Member

    @lovepoem

    +1, "ide" can read the version correctly is a good suggestion.

  10. lovepoem commented on Apr 13, 2018

    @lovepoem
    Member

    Duplicate of #1466

  11. chickenlj commented on Apr 25, 2018

    @chickenlj
    Contributor

    Close this one.

  12. added a commit that references this issue on May 31, 2018
  13. added a commit that references this issue on Sep 9, 2019
  14. added a commit that references this issue on Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions