Skip to content

Rest Protocol can't work when use Tomcat 8.0.x as web container for Dubbo 2.7.7 #6399

Closed

Description

@yiocio
  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 2.7.7
  • Operating System version: Window 64x
  • Java version: 1.8
  • Tomcat version: 8.0.11

Steps to reproduce this issue

  1. enable Rest Protocol using <dubbo:protocol name="rest" server="tomcat">, the point is using tomcat as WebContainer;
  2. annotate one service's implementation class with @DubboService(protocol = "rest");
  3. start dubbo container and send one http request to it;

Expected Result

I should get http response by PostMan.

Actual Result

PostMan said : the connection is refused。It seems that the Application never listen on the given port .

Activity

  1. changed the title [-]Rest Protocol can't work when use Tomcat as web container for Dubbo 2.7.7[/-] [+]Rest Protocol can't work when use Tomcat 8.0.x as web container for Dubbo 2.7.7[/+] on Jul 2, 2020
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions