[jboss-user] [JBoss Remoting Users] - Re: why would version == SocketWarpper.CLOSING ?

2009-12-04 Thread mazz
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

[jboss-user] [JBoss Remoting Users] - Re: why would version == SocketWarpper.CLOSING ?

2009-12-04 Thread mazz
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

[jboss-user] [JBoss Remoting Users] - why would version == SocketWarpper.CLOSING ?

2009-12-04 Thread mazz
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

[jboss-user] [JBoss Remoting Users] - invoker locator config vs. request metadata params

2009-09-09 Thread mazz
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

[jboss-user] [Remoting] - Re: clientConnectAddress not working

2009-06-26 Thread mazz
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

[jboss-user] [Remoting] - clientConnectAddress not working

2009-06-26 Thread mazz
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

[jboss-user] [EJB 3.0] - Re: how to customize the TM for my EJB3 app?

2008-11-29 Thread mazz
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

[jboss-user] [EJB 3.0] - Re: how to customize the TM for my EJB3 app?

2008-11-29 Thread mazz
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

[jboss-user] [EJB 3.0] - Re: how to customize the TM for my EJB3 app?

2008-11-29 Thread mazz
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

[jboss-user] [JCA/JBoss] - how to add connection properties to XA datasources?

2008-11-28 Thread mazz
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

[jboss-user] [JCA/JBoss] - XAExceptionFormatters not supported?

2008-11-28 Thread mazz
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

[jboss-user] [EJB 3.0] - Re: how to customize the TM for my EJB3 app?

2008-11-28 Thread mazz
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

[jboss-user] [EJB 3.0] - Re: how to customize the TM for my EJB3 app?

2008-11-24 Thread mazz
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

[jboss-user] [EJB 3.0] - how to customize the TM for my EJB3 app?

2008-11-24 Thread mazz
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