I have brought this up before, but now I am hurting from it... I spoke with David a little on this, but that is all it has been was talk.
I am using the JMS RA to obtain a QueueConnectionFactory, then use it to construct the other JMS bits (QueueConnection, QueueSession). The problem that I have is that I pass that factory to some component which needs to serialize it (plus some other state) to recover from a system failure. Under the current 3.0 branch this fails with: java.io.NotSerializableException: org.jboss.resource.connectionmanager.CachedConnectionManager I think that I will run into a few problems trying to use that RA outside of an EJB scope, so I will have to reimplement this in a different manner... but I think this problem might hit me again when and if one of my session beans which uses the JMS RA passivates. My understanding of the EJB spec leaves me to believe that the container does not need to perform any special attention to a resource maanger factory. At one point I looked up the text from the spec and posted it to the forums... but I can't seem to find it now... and I am too busy to go and find it again. Forum search is no good... Anyways, the other point is that this is a manged object and in concept should have all of the information it needs to create new connections. Based on that I would think it should be serializable. So I don't know what is supposed to happen... the EJB spec reads like it should be serializable, though the JMS interfaces are not marked as serializable... but the connection manager stuff from the JCA are... Anyone have a clue what is the right thing todo here? BTW, do we have passivation/activation tests to check that the right thing is done with other JCA related stuff? --jason _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
