Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confusion in Exception handling Ejb 2.0 in Jboss

 
Kousik Majumder
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am newbie in Ejb 2.0. I am getting unexpected result in Jboss 4.2.3 while using Ejb 2.0 but the same code is working fine in Weblogic 8.1

Actually I am not getting the actually thrown business exception from ejbStore() method to the calling client. So the client is giving the RollBackException in stead of any business exception.


In between somewhere the original exception is absorbed. Can somebody tell me how can I fetch that original business excption and show it to the user? Unless I know how Jboss container manages the EJB process flow I can not do that.

Please suggest.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The UserDefinedExceptions thrown from the EJB Method, the container will be shown as it is to the Client
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic