[ openjms-Bugs-981265 ] Reference returned for XA Factories in Embedded mode
"SourceForge.net" <[email protected]> Sat, 03 Jul 2004 04:19:04 -0700
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #981265, was opened at 2004-06-29 00:00 Message generated for change (Settings changed) made by tanderson 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: Later 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. ---------------------------------------------------------------------- Comment By: Tim Anderson (tanderson) Date: 2004-06-30 12:11 Message: Logged In: YES user_id=557161 XA transactions aren't supported yet, so XA*ConnectionFactory aren't completely coded. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474136&aid=981265&group_id=54559 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com