Mule 3.6 Rest component not working and getting resource not found issue

Nadendla

Here is the mule configuration and class code respectively .Problem is HTTP listener is not listening at the path http://localhost:9091/test

<http:listener-config name="HTTP_Listener_Configuration" host="localhost" port="9091" doc:name="HTTP Listener Configuration"/>
<flow name="restFlow">
    <http:listener config-ref="HTTP_Listener_Configuration" path="/" doc:name="HTTP"/>
    <jersey:resources doc:name="REST">
        <component class="com.syn.rest.test" />
    </jersey:resources>
</flow>


@Path("test") 
public class test {         

@GET    
public String method() 
{
    return "It works";  
}
}

Note: Same code is working with Mule 3.5 EE but not with Mule 3.6.1 EE and 3.7 EE

Avanaur

Try this, with star * on path.

<http:listener config-ref="HTTP_Listener_Configuration" path="/*" doc:name="HTTP"/>

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Getting mule message properties in a Jersey resource component class

From Dev

Mule REST Component Return type

From Dev

Resource not found on localhost using Anypoint Studio (MULE)

From Dev

Resource not found on localhost using Anypoint Studio (MULE)

From Dev

Mule ldap connector not working xsd issue

From Dev

getting path for resource that is a folder not working

From Dev

How to use Spring Rest Service with REST Component in Mule

From Dev

Upgrade to MVC3. ashx resource cannot be found. Routing issue?

From Dev

Getting No HTTP resource was found that matches the request URI

From Dev

Is it correct to return 404 when a REST resource is not found?

From Dev

Root resource classes found jersey rest

From Dev

Root resource classes found jersey rest

From Dev

Centralizing getting of a session variable in a Jersey REST resource

From Dev

Getting REST Resource path in EAR file

From Dev

When i'm trying to test rest-api is not working any methods all methods in postman is getting back and not found

From Dev

Kubernetes imagePullSecrets not working; getting "image not found"

From Dev

Getting command-not-found working under zsh

From Dev

Getting command-not-found working under zsh

From Dev

Pagination not working in codeigniter getting 404 page not found

From Dev

Problems getting recursive component working in Om?

From Dev

Problems getting recursive component working in Om?

From Dev

Lumia imaging sdk 3 blur effect issue (The component cannot be found. (Exception from HRESULT: 0x88982F50))

From Dev

No resource identifier found for attribute 'border_width' for component CircleImageView

From Dev

Getting 404 resource not found when creating conversation in Microsoft Bot Framework

From Dev

Getting resource not found when try to return html page from controller

From Dev

I keep getting "404 - Resource not found" from Bing's APIs

From Dev

HBase rest API not working for getting namespaces

From Dev

Find regex pattern for following ,I have found this \w{3,6}\/\w{1,6}[\/\s\-]\w* but still not working

From Dev

REST GET api - what to return when resource not found

Related Related

  1. 1

    Getting mule message properties in a Jersey resource component class

  2. 2

    Mule REST Component Return type

  3. 3

    Resource not found on localhost using Anypoint Studio (MULE)

  4. 4

    Resource not found on localhost using Anypoint Studio (MULE)

  5. 5

    Mule ldap connector not working xsd issue

  6. 6

    getting path for resource that is a folder not working

  7. 7

    How to use Spring Rest Service with REST Component in Mule

  8. 8

    Upgrade to MVC3. ashx resource cannot be found. Routing issue?

  9. 9

    Getting No HTTP resource was found that matches the request URI

  10. 10

    Is it correct to return 404 when a REST resource is not found?

  11. 11

    Root resource classes found jersey rest

  12. 12

    Root resource classes found jersey rest

  13. 13

    Centralizing getting of a session variable in a Jersey REST resource

  14. 14

    Getting REST Resource path in EAR file

  15. 15

    When i'm trying to test rest-api is not working any methods all methods in postman is getting back and not found

  16. 16

    Kubernetes imagePullSecrets not working; getting "image not found"

  17. 17

    Getting command-not-found working under zsh

  18. 18

    Getting command-not-found working under zsh

  19. 19

    Pagination not working in codeigniter getting 404 page not found

  20. 20

    Problems getting recursive component working in Om?

  21. 21

    Problems getting recursive component working in Om?

  22. 22

    Lumia imaging sdk 3 blur effect issue (The component cannot be found. (Exception from HRESULT: 0x88982F50))

  23. 23

    No resource identifier found for attribute 'border_width' for component CircleImageView

  24. 24

    Getting 404 resource not found when creating conversation in Microsoft Bot Framework

  25. 25

    Getting resource not found when try to return html page from controller

  26. 26

    I keep getting "404 - Resource not found" from Bing's APIs

  27. 27

    HBase rest API not working for getting namespaces

  28. 28

    Find regex pattern for following ,I have found this \w{3,6}\/\w{1,6}[\/\s\-]\w* but still not working

  29. 29

    REST GET api - what to return when resource not found

HotTag

Archive