• 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

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

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
reply
    Bookmark Topic Watch Topic
  • New Topic