File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Bitronix- getting InstanceAlreadyExistsException and BitronixRuntimeException errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Bitronix- getting InstanceAlreadyExistsException and BitronixRuntimeException errors" Watch "Bitronix- getting InstanceAlreadyExistsException and BitronixRuntimeException errors" New topic
Author

Bitronix- getting InstanceAlreadyExistsException and BitronixRuntimeException errors

Andrew Samii
Greenhorn

Joined: Mar 01, 2011
Posts: 5
I'm trying to set up a development environment for a project I need to work on, and apparently it uses bitronix as its JTA. I get some large amounts of stack traces, starting with one that states "cannot call method 'registerMBean'". This is repeated 100+ times:


I can't understand what's causing this, I've been trying to figure it out for hours now, so any advice would be appreciated.

I think what's happening is that each "bitronix.tm:type=JDBC,UniqueName=coreDataSource,Id=0" should be unique, but I'm not sure what this is from, or saying, so I can't figure out how to make it change.
 
 
subject: Bitronix- getting InstanceAlreadyExistsException and BitronixRuntimeException errors