SourceForge.net
2004-06-28 14:00:33 UTC
Bugs item #981265, was opened at 2004-06-28 09:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=981265&group_id=54559
Category: jndi
Group: v0.7.6.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Johnathan Conley (jconley)
Assigned to: Nobody/Anonymous (nobody)
Summary: Reference returned for XA Factories in Embedded mode
Initial Comment:
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=981265&group_id=54559
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=981265&group_id=54559
Category: jndi
Group: v0.7.6.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Johnathan Conley (jconley)
Assigned to: Nobody/Anonymous (nobody)
Summary: Reference returned for XA Factories in Embedded mode
Initial Comment:
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=981265&group_id=54559