• Post Reply Bookmark Topic Watch Topic
  • New Topic

ejb error on simple transaction  RSS feed

 
James Drinkard
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I'm new to ejb's, but have been developing servlets for a while. I'm trying to fire off an exiting ejb that some other developers created. It returns information from a prepared statement. I created a servlet that calls a getInfo class that in turn calls the getInfo ejb I want. I can find the bean, get into it and call the getInfo method inside the bean that I'm looking for, but it blows up when the prepared statement fires off. I manually run the same query under my sqlplus client and it works fine. I'm not sure if it's a code issue or may be related to oracle? I'm using WSAD 5.0 as the IDE, Oracle 9i, and the Oracle Thin driver (XA) because some of the transactions require a two phase commit. Any ideas?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Blows up? How about a stack trace?
 
Vinod John
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by James Drinkard:
Hello All,
I'm new to ejb's, but have been developing servlets for a while. I'm trying to fire off an exiting ejb that some other developers created. It returns information from a prepared statement. I created a servlet that calls a getInfo class that in turn calls the getInfo ejb I want. I can find the bean, get into it and call the getInfo method inside the bean that I'm looking for, but it blows up when the prepared statement fires off. I manually run the same query under my sqlplus client and it works fine. I'm not sure if it's a code issue or may be related to oracle? I'm using WSAD 5.0 as the IDE, Oracle 9i, and the Oracle Thin driver (XA) because some of the transactions require a two phase commit. Any ideas?

What is the actual error (Exception you are getting, Stack trace will be much more helpful
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!