aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Confusion in Exception handling Ejb 2.0 in Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Confusion in Exception handling Ejb 2.0 in Jboss" Watch "Confusion in Exception handling Ejb 2.0 in Jboss" New topic
Author

Confusion in Exception handling Ejb 2.0 in Jboss

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 227
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.


Thanks in Advance,
Kousik
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

The UserDefinedExceptions thrown from the EJB Method, the container will be shown as it is to the Client


Save India From Corruption - Anna Hazare.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Confusion in Exception handling Ejb 2.0 in Jboss
 
Similar Threads
How Jboss calls Ejb methods
Exception handling for EJB 2.0 in Jboss 4.2
Integration of jboss messaging with jboss
The SQL error Io exception: Connection reset occurs.
How to integrate hibernate and EJB (stateless session bean)