Ron,
Ah.. I see it. On the server side, the message was received, but the
de-serialization of one of my incoming objects within the message failed.
Hence, the server socket closes immediately and hence why I get the error that
I do on the client side.
This looks like its a problem on my end. I
FWIW, I did read:
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4134761#4134761
but this is happening consistently - its not like its a socket timeout or it
does this sporadically. This happens every time I try to send a message in this
one particular place in my code (where everywhe
What would cause the version read over the wire to be SocketWrapper.CLOSING?
Specifically, I'm looking at MicroSocketClientInvoker, line 629-ish from
Remoting 2.2.2.SP8:
if (version == SocketWrapper.CLOSING)
| {
|log.debug("Received version 254: treating as end of file");
|throw ne
In reading 5.4.11. HTTP(S) Client Invoker - proxy and basic authentication of
the docs here:
http://www.jboss.org/file-access/default/members/jbossremoting/freezone/docs/guide/2.2/JBoss_Remoting_Guide.pdf
it gives an example of how you can setup http proxy by using the metadata map
passed to th
I'm trying other things - specifically using "serverBindAddress" and that seems
to work better.
Did something happen to the Jboss/Remoting client such that it no longer uses
or refers to "clientConnectAddress"?? No matter what I do, I can't get the
client to behave any differently, specifying c
I am using JBoss/Remoting 2.2.2-SP8 and trying to see how it can be used with
NAT involved (where a server binds to one address but my clients need to access
it over a different IP).
So, here's a simple test I performed to see if clientConnectAddress works.
I have a remoting client that tries t
For those interested, turns out, there is a very easy JBossTM API that I can
use in my interceptor code to do what I want... this static method:
com.arjuna.ats.arjuna.coordinator.BasicAction.Current.setCheckedAction()
Mark Little already gave me the answer in that other thread, I just didn't
un
Ah...good suggestion. I just tried that (looked up the java:/TransactionManager
from JNDI and executed the getTransaction() method from the object that lookup
returned.
And, it turns out, it looks like I don't even have to do that much. I found
that rather than going through JNDI, I can simply
OK, I'll ask this in a different way...
If I write my own EJB3 interceptor (using @AroundInvoke and defined with
), how can I get the transaction that is associated with
the active thread that is executing the request?
If I can get the transaction that the EJB3 invocation is running in , I thin
If I had a local-tx-datasource defined, I can set connection properties like
this:
| ...
|
| UTF-8
|
| true
| ...
But, if I were to convert this to an xa-datasource, I see no way of telling it
to set those connection properties. "BigStringTryClob" is not
I deployed an XA data source using the wiki instructions here:
http://www.jboss.org/community/docs/DOC-12246
In part, it tells me to add this to the ds.xml file:
| jboss:service=TransactionManager
|
However, when I start the server, I get this warning:
anonymous wrote : WARN [com.ar
I'm thinking I might be able to inject an interceptor in my EJB3 interceptor
chain - write my own annotation like @InterruptOnTimeout - and when the method
is called, the interceptor looks for the existance of this annotation on the
method and if it finds it, it grabs the transaction and adds my
BTW: the reason why I want to customize this behavior is described here:
http://management-platform.blogspot.com/2008/11/transaction-timeouts-and-ejb3jpa.html
In short, I don't want my SLSB method to continue when the transaction timeout
expires - I want the thread running that method to be inte
I want to customize the default timeout behavior of the JBoss Transaction
Manager in my EJB3 app (not the timeout value - but the actual behavior that
occurs when the tx times out).
The default is to abort transactions but let the threads active in that
transaction continue to run. See my JBoss
14 matches
Mail list logo