You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by renz <re...@areasante.com> on 2014/10/01 15:01:54 UTC

org.apache.openejb.client.Client.processRequest swallows IOException

Hello,

Why does /processRequest /method of /org.apache.openejb.client.Client/ class
swallow IOException? Is that a bug or a spec recommandation?

According to source code of version 4.6.0.2, IOException are not nested in a
RemoteException :
http://grepcode.com/file/repo1.maven.org/maven2/org.apache.openejb/openejb-client/4.6.0.2/org/apache/openejb/client/Client.java#366

I've looked at earlier version like 3.0.2. At this time, IOException were
nested in RemoteException :
http://grepcode.com/file/repo1.maven.org/maven2/org.apache.openejb/openejb-client/3.0.2/org/apache/openejb/client/Client.java#45

Thank you.





--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/org-apache-openejb-client-Client-processRequest-swallows-IOException-tp4672072.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: org.apache.openejb.client.Client.processRequest swallows IOException

Posted by renz <re...@areasante.com>.
Thank you.




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/org-apache-openejb-client-Client-processRequest-swallows-IOException-tp4672072p4676341.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: org.apache.openejb.client.Client.processRequest swallows IOException

Posted by Romain Manni-Bucau <rm...@gmail.com>.
opened https://issues.apache.org/jira/browse/TOMEE-1632

"forkin" Client class and putting it before in the classpath you can
workwround it but it is a fragile solution


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-09-26 7:37 GMT-07:00 renz <re...@areasante.com>:

> Hello Romain,
>
> I know my post is a bit old but I've still noticed the same issue and AFAIK
> I'm not using Failover.
> Is there any workaround like using my own subclass of
> org.apache.openejb.client.Client ?
>
> Thank you.
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/org-apache-openejb-client-Client-processRequest-swallows-IOException-tp4672072p4676338.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Re: org.apache.openejb.client.Client.processRequest swallows IOException

Posted by renz <re...@areasante.com>.
Hello Romain,

I know my post is a bit old but I've still noticed the same issue and AFAIK
I'm not using Failover.
Is there any workaround like using my own subclass of
org.apache.openejb.client.Client ?

Thank you.



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/org-apache-openejb-client-Client-processRequest-swallows-IOException-tp4672072p4676338.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: org.apache.openejb.client.Client.processRequest swallows IOException

Posted by Romain Manni-Bucau <rm...@gmail.com>.
looks like a bug designed when using failover only


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-10-01 15:01 GMT+02:00 renz <re...@areasante.com>:
> Hello,
>
> Why does /processRequest /method of /org.apache.openejb.client.Client/ class
> swallow IOException? Is that a bug or a spec recommandation?
>
> According to source code of version 4.6.0.2, IOException are not nested in a
> RemoteException :
> http://grepcode.com/file/repo1.maven.org/maven2/org.apache.openejb/openejb-client/4.6.0.2/org/apache/openejb/client/Client.java#366
>
> I've looked at earlier version like 3.0.2. At this time, IOException were
> nested in RemoteException :
> http://grepcode.com/file/repo1.maven.org/maven2/org.apache.openejb/openejb-client/3.0.2/org/apache/openejb/client/Client.java#45
>
> Thank you.
>
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/org-apache-openejb-client-Client-processRequest-swallows-IOException-tp4672072.html
> Sent from the TomEE Users mailing list archive at Nabble.com.