Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Marian Mroz
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Marian Mroz
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic