Atomikos Forum

QueueConnectionFactoryBeanBeanInfo inconsistenc: xidFactory

I'm using AtomikosTransactionsEssentials-3.5.0 (transactions-essentials-all.jar) and ActiveMQ 5.1.0 in a standalone environment configured by Spring.

For the inital setup I followed
http://www.atomikos.com/Documentation/SpringIntegration
for setting up Spring's MessageListenerContainer

I get an error when spring tries to create the com.atomikos.jms.QueueConnectionFactoryBean

Method not found: xidFactory

It's declared in QueueConnectionFactoryBeanBeanInfo - the BeanInfo for QueueConnectionFactoryBean but it's not a member of the QueueConnectionFactoryBean :-(

Removing the PropertyDescriptor for xidFactory solved the problem.

Question: is this the proper place to report errors?

Thanks,
Peter
Peter Schuebl Send private email
Friday, January 23, 2009
 
 
Hi,

Thanks for the feedback. You are right, this is a bug and I have created a case for it. Will be fixed in release 3.5.2

Cheers
Guy
Guy Pardon Send private email
Sunday, January 25, 2009
 
 
I've the same problem using atomikos 3.5.1...

I just dont understand the solution given by Peter, what is actually the workaround?

Thanks

Antonio
Antonio Terreno Send private email
Wednesday, February 04, 2009
 
 
Actually I figured out right now...
Changing the class itself right?

Which one then the latest stable release that I should use?

            ret[1] = new PropertyDescriptor("xidFactory", clazz);
            ret[1].setPropertyEditorClass(com.atomikos.datasource.xa.XidFactoryEditor.class);
            ret[1].setShortDescription("the XIDFactory to use");
Antonio Terreno Send private email
Wednesday, February 04, 2009
 
 
Hi Antonio,

yes that's it.

I just commented it out (and adjusted the array size/index of course :-)

Otherwise I followed the documentation: http://www.atomikos.com/Documentation/SpringIntegration

ps: make sure to have a look at the following as well :-)
http://www.atomikos.com/Documentation/KnownProblems#Spring_s_MessageListenerContaine
Peter Schuebl Send private email
Wednesday, February 04, 2009
 
 
Thanks a lot for your quick reply.

It seems however that I can't compile version 3.5.1

Output follows...

C:\java\AtomikosTransactionsEssentials-3.5.1\sources\com\atomikos\jdbc\DataSourceBean.java:58: com.atomikos.jdbc.DataSourceBean is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper

And other 9 error very similar...

:-(
Antonio Terreno Send private email
Wednesday, February 04, 2009
 
 
Well, this one was easy to figure out, I had to compile with java 5 and not 6...

Thanks again.
Antonio Terreno Send private email
Wednesday, February 04, 2009
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics