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 Problem running EJB client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problem running EJB client" Watch "Problem running EJB client" New topic
Author

Problem running EJB client

Manoj Gundawar
Ranch Hand

Joined: Nov 17, 2002
Posts: 169
Hi,
I am trying to run EJB client from dos prompt. (not using any WSAD stuff) I am pointing all required jars in classpath(I hope I am). Also pointing to IBM java (as EJB was created in WSAD)
I am getting following error:
----------------------
Exception in thread "P=926057 =0:CT" java.lang.NoClassDefFoundError: org/omg/CosPropertyService/PropertyNotFound
--------------------
I did search on google but did not find anything on this error.
I have following jars in my classpath:
set classpath=%classpath%;.;./lib/activation.jar;./lib/ejbcontainer.jar;./lib/ibmorb.jar;./lib/ivjejb35.jar;./lib/j2ee.jar;./lib/naming.jar;./lib/namingclient.jar;./lib/utils.jar;./lib/runtime.jar;./lib/webcontainer.jar;./lib/websphere.jar;./lib/iwsorb.jar;./lib/rt.jar

Any help would be greatly appriciated.

(Please dont move this to WSAD, as this is strictly an EJB issue )

Thanks
Manoj


Manoj<br />SCJP, SCJD, SCWCD, IBM WSAD.
Layi Egbeyemi
Greenhorn

Joined: Oct 08, 2003
Posts: 9
Hi Jmannu,

I don't see ....../servlet-api.jar!!!
Manoj Gundawar
Ranch Hand

Joined: Nov 17, 2002
Posts: 169
Isn't J2ee.jar enough?
Layi Egbeyemi
Greenhorn

Joined: Oct 08, 2003
Posts: 9
No it isn't...
 
 
subject: Problem running EJB client