IntelliJ Java IDE
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
Register / Login
JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply 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: 214
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: 2231

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


Save India From Corruption - Anna Hazare.
 
 
subject: Confusion in Exception handling Ejb 2.0 in Jboss
 
Threads others viewed
Integration of jboss messaging with jboss
How Jboss calls Ejb methods
Exception handling for EJB 2.0 in Jboss 4.2
How to integrate hibernate and EJB (stateless session bean)
The SQL error Io exception: Connection reset occurs.
IntelliJ Java IDE