• Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple Connection Pools in EJB

 
Vinaya Shetty
Greenhorn
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
Regards
Vinaya
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!