File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes EJB3.0 - java.lang.reflect.UndeclaredThrowableException problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB3.0 - java.lang.reflect.UndeclaredThrowableException problem" Watch "EJB3.0 - java.lang.reflect.UndeclaredThrowableException problem" New topic
Author

EJB3.0 - java.lang.reflect.UndeclaredThrowableException problem

Marian Mroz
Greenhorn

Joined: Mar 05, 2009
Posts: 3
Hi I've got a problem with run simple EJB3.0 application

I've got an interface:


and EJB Bean implementation:


and I complie it with using jdk6

I put it on JBoss 4.2.3.GA with jre1.5.0_16

On the server there is an information that it started:
12:27:20,328 INFO [EJBContainer] STARTED EJB: pl.edu.mmroz.CalculatorBean ejbName: CalculatorBean

When I'm try run simple test application:



I receive following error:


Does anybody know what is the reason of this exception?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10069
    
163

Are you using the correct version of JBoss jar files in your client classpath? You should be placing the exact same jbossall-client.jar file from the %JBOSS_HOME%/client folder, in the client classpath.

[My Blog] [JavaRanch Journal]
Marian Mroz
Greenhorn

Joined: Mar 05, 2009
Posts: 3
Thanks for help. It was a problem - there was a different access to jbossall-client.jar (it was set jbossall-client-3.2.3.jar)
 
Don't get me started about those stupid light bulbs.
 
subject: EJB3.0 - java.lang.reflect.UndeclaredThrowableException problem