Bug 778472 (SOA-948)

Summary: HTTP JBoss Remoting Gateway does not support GET
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Martin Vecera <mvecera>
Component: JBossESBAssignee: Mark Little <mark.little>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3 CR1   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-948
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 778473 (view as bug list) Environment:
Last Closed: 2008-12-22 04:53:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Vecera 2008-10-16 08:00:12 UTC
Date of First Response: 2008-10-16 04:38:35
project_key: SOA

According to JBESB-799 "JBR/HTTP Gateway does not appear to provide actions with the query string from a GET". This lead to the following exception:

08:35:17,199 INFO  [MessagePayloadProxy] Null data found in message location(s): [org.jboss.soa.esb.message.defaultEntry]
08:35:17,213 ERROR [JBossRemotingGatewayListener] JBoss Remoting Gateway failed to synchronously deliver message to target service [SecurityCredentials:HttpsMethodService1].
org.jboss.soa.esb.listeners.message.MessageDeliverException: Null data found in message location(s): [org.jboss.soa.esb.message.defaultEntry]
        at org.jboss.soa.esb.message.MessagePayloadProxy.getPayload(MessagePayloadProxy.java:161)
        at org.jboss.soa.esb.listeners.message.AbstractMessageComposer.decompose(AbstractMessageComposer.java:100)
        at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener$JBossRemotingMessageComposer.decompose(JBossRemotingGatewayListener.java:574)
        at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener$JBossRemotingMessageComposer.decompose(JBossRemotingGatewayListener.java:487)
        at org.jboss.soa.esb.listeners.message.UncomposedMessageDeliveryAdapter.deliverSync(UncomposedMessageDeliveryAdapter.java:89)
        at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.invoke(JBossRemotingGatewayListener.java:345)
        at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:866)
        at org.jboss.remoting.transport.coyote.CoyoteInvoker.service(CoyoteInvoker.java:310)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:595)

And the client recieves:
Response code from server: 500
Response message from server: JBoss Remoting: Error occurred within target application.

Comment 1 Martin Vecera 2008-10-16 08:00:47 UTC
Link: Added: This issue depends JBESB-799


Comment 2 Kevin Conner 2008-10-16 08:37:32 UTC
Link: Removed: This issue depends JBESB-799 


Comment 3 Kevin Conner 2008-10-16 08:38:35 UTC
JBESB-1958 is a better report of the issue.

Comment 4 Kevin Conner 2008-10-16 08:38:35 UTC
Link: Added: This issue depends JBESB-1958


Comment 5 Mark Little 2008-10-16 11:25:51 UTC
It does not support other HTTP verbs as well, such as OPTIONS.

Comment 6 Martin Vecera 2008-10-16 11:33:02 UTC
According to PRD following verbs should be supported:
(4.3) HTTP/S support includes support for HTTP verbs such as GET, PUT, POST and DELETE. 

When we asked Burr for more precise definition we got this reply:
And GET, PUT, POST & DELETE should also be supported (GET is presently 
broken) but that isn't exclusive. If HEAD also works then great.

Comment 7 Mark Little 2008-10-16 11:40:01 UTC
Yes, but not for this release now unfortunately. See Fix field.

Comment 8 Martin Vecera 2008-10-16 11:58:21 UTC
The ERROR is thrown even if POST is used without any data in the request body.

Comment 9 Len DiMaggio 2008-10-16 13:51:43 UTC
So - for the 4.3 release, which  HTTP verbs are supported, with which parameters? We'll want to have/build tests to cover what we're supporting.






Comment 10 Martin Vecera 2008-10-17 11:37:26 UTC
Link: Added: This issue is related to JBESB-799


Comment 12 Mark Little 2008-11-04 15:05:17 UTC
Link: Added: This issue related SOA-989


Comment 13 Burr Sutter 2008-12-16 14:45:36 UTC
The new feature in SOA-989 should eliminate the need to correct the JBR-based HTTP support

Comment 14 Mark Little 2008-12-22 04:53:23 UTC
Yes, we won't fix the JBR HTTP support to address this issue.