• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Confusion in Exception handling Ejb 2.0 in Jboss

 
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The UserDefinedExceptions thrown from the EJB Method, the container will be shown as it is to the Client
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic