This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!