• 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

urgent help needed running ejb client on weblogic6.1

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
i am new to ejb. i am using weblogic 6.1. i am having problems while running client on coomand prompt for sample examples provided with weblogic 6.1.
this example is already deployed on examplesserver.
things happen as follows ..................

C:\BEA\WLSERV~1.1\CONFIG\EXAMPLES\CLIENT~1>set CLASSPATH=c:\bea\wlserver6.1\config\examples\clientclasses\examples\ejb\basic\statelessSession;c:\bea\wlserver6.1\config\examples\applications\ejb_basic_statelessSession.jar;c:\bea\wlserver6.1\lib\weblogic_sp.jar;c:\bea;c:\bea\wlserver6.1\lib\j2ee12.jar
C:\BEA\WLSERV~1.1\CONFIG\EXAMPLES\CLIENT~1>java examples.ejb.basic.statelessSession.Client
Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/EJBObject
C:\BEA\WLSERV~1.1\CONFIG\EXAMPLES\CLIENT~1>java -classpath %ClASSPATH% examples.ejb.basic.statelessSession.Client
Exception in thread "main" java.lang.NoClassDefFoundError: examples/ejb/basic/statelessSession/Client

Is clientclasses right directory to run the Client. because nothing is written about where to run the client ?
or i should run client from c:\bea\wlserver6.1\samples\examples\ejb\basic\statelessSession here i am having all the .java files for this example.

can anybody help me out please its very urgent.
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi pan, got the same problem myself. The answer is u have to add weblogic.jar to your path. It's found at "install_path"\server\lib\weblogic.jar. Hope it solves your problem. Then you can get to my problem to which I'm still searching for an answer!!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic