[
https://jira.jboss.org/jira/browse/JBESB-2106?page=com.atlassian.jira.plu...
]
Martin Vecera updated JBESB-2106:
---------------------------------
Attachment: security_basic_JBESB-2106.tar.bz2
Sorry for the delay...
See attached QS (based on security_basic). See the error thrown at the client side:
[java] Sending http post to server...
[java] org.jboss.remoting.CannotConnectException: Can not connect http client
invoker. Response: JBoss Remoting: Error occurred within target application./500.
[java] at
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:348)
[java] at
org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:137)
[java] at
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
[java] at org.jboss.remoting.Client.invoke(Client.java:1634)
[java] at org.jboss.remoting.Client.invoke(Client.java:548)
[java] at
org.jboss.soa.esb.samples.quickstart.securitybasic.HttpClient.makeInvocation(HttpClient.java:52)
[java] at
org.jboss.soa.esb.samples.quickstart.securitybasic.HttpClient.main(HttpClient.java:76)
[java] Caused by: java.lang.NullPointerException
[java] at
org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:526)
[java] at
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:307)
[java] ... 6 more
Caused by NPE - there is no response that the client could read. I think it should receive
an error message because wrong credentials are used. Or am I wrong and this is correct
behaviour?
Btw. when correct credentials are used, EOFException is thrown instead which is wrong
either, I think...
JBR listener doesn't return error to a client
---------------------------------------------
Key: JBESB-2106
URL:
https://jira.jboss.org/jira/browse/JBESB-2106
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta
Affects Versions: 4.4
Reporter: Martin Vecera
Attachments: security_basic_JBESB-2106.tar.bz2
When I'm using JBR listener in synchronous way, I'm not able to find out whether
the message was successfully delivered.
JBossRemotingGatewayListener, method invoke(), line 345:
Object response = messageDeliveryAdapter.deliverSync(invocationRequest, 20000);
When an exception is thrown (e.g. SecurityServiceException), the client is never informed
of this problem. As a response it simply gets null. I'd expect for the client to get
the exception.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira