Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple Connection Pools in EJB  RSS feed

Vinaya Shetty
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
One particular session bean within the EJB famework of my application needs to make a connection from an additonal Pool ( other than that used by the entity beans ) .
However getting an error "Connection has laready been created in this tx context for pool name XXX . Iilegal Attempt to create connection from another pool."
Tried to change the transactional properties of the method to "Requires New" and "Never" . However still facing the same problem.
How do we speak to distributed databases within the same EJB application ???
Am using Weblogic 5.1
Please help
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!