JBoss Community

Hide JBoss internal exceptions from the client

created by Frank Ulbricht in JBoss AS 7 Development - View the full discussion

Hello friends,

 

when I use JBoss with remoting from a client and there is an exception thrown on the server, I get the exception and its complete stacktrace and causes transfered to the client. But there may be exceptions thrown by some JBoss subsystem (like Hibernate or the database itself) and I usally do not have these classes in the classpath of my client. Why should I - I do not use them here. This all leads to a ClassNotFoundException by the JBoss marshalling... (It seems sometimes the server and the client freeze after this, but that is a different story)

 

Is there a way to configure JBoss not to include the complete cause history in its exceptions down to every internal subsystem?

 

Greetings,

Frank.

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community