#98 Reference returned for XA Factories in Embedded mode

v0.7.6.1
open-later
nobody
jndi (13)
5
2004-07-03
2004-06-28
Johnathan Conley
No

Am creating a completely embedded server, instantiating
an instance of EmbeddedServer and building the
Configuration object, /w
ServerConfiguration.setEmbeddedJNDI(true)

Am only registering one Connector for the factories,
and have set the Scheme type to EMBEDDED.

After registering an XA connection factory and
attempting to do a lookup, a javax.naming.Reference
object is returned instead of the actual
XAConnectionFactory.

Upon inspection, the JmsConnectionFactoryBuilder
appears to do this conversion, but only for the Non-XA
Connection Factories (since it checks for specific types)

I was able to follow the same pattern and add the XA
reference conversion code and now get the results as
expected... not sure if this is correct or not - but
you might want to look into it.

Discussion

  • Tim Anderson
    Tim Anderson
    2004-06-30

    • status: open --> pending-later
     
  • Tim Anderson
    Tim Anderson
    2004-06-30

    Logged In: YES
    user_id=557161

    XA transactions aren't supported yet, so
    XA*ConnectionFactory aren't completely coded.

     
  • Tim Anderson
    Tim Anderson
    2004-07-03

    • status: pending-later --> open-later
     
  • mawcs
    mawcs
    2004-09-01

    Logged In: YES
    user_id=671641

    I am having the same issue, but with RMI instead of
    embedded. I see Tim's comment, any idea when transactions
    might be supported?