wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Cannot find javadb client jar file for glassfish 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 "Cannot find javadb client jar file for glassfish" Watch "Cannot find javadb client jar file for glassfish" New topic
Author

Cannot find javadb client jar file for glassfish

Harshana Dias
Ranch Hand

Joined: Jun 11, 2007
Posts: 327


I have wrote a simple EJB application and going to test it through a java application client. For that i am fetching the bean as below,



But i am getting below exception followed by lot of other null pointers,

03-Dec-2012 22:37:37 com.sun.enterprise.v3.server.CommonClassLoaderServiceImpl findDerbyClient INFO: Cannot find javadb client jar file, derby jdbc driver will not be available by default. java.lang.RuntimeException: Orb initialization erorr at org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getORB(GlassFishORBHelper.java:148)


I add this jar even in to build path but still the exception occured. Even i can found the derbyclient jar is there under glassfish\javadb\lib

Also i need to verify whether i run this client correctly?

its just after deploy the application, right click on client class and run as java application right?
 
jQuery in Action, 2nd edition
 
subject: Cannot find javadb client jar file for glassfish