Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

My update says: StandardXAConnectionHandle:prepareStatement should not be used outside an EJBServer

 
Kovacs Antal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

i have a problem in my webapplication, that I don't know how to solve or debug.

I have a web application deployed in a Tomcat 5.5 container. I use a SessionEventListener bean that logs some activities in the database. Sometimes I get this error message:



The code that fails is the following:



My Spring bean config looks like this:



I do not really understand this issue, can you explain me what is wrong and how to fix it?

I'm a fan of stackoverflow so asked it there the first time, but unfortunately no one could help me. A moment ago I put a +50 rep. bounty on it,
so if some of you have the answer you can post it also on stackoverflow so that I can accept it there too.

This is the question link: http://stackoverflow.com/questions/6927561/standardxaconnectionhandlepreparestatement-should-not-be-used-outside-an-ejbserv
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic