• 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

Need help.. weblogic ejbc error..

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!!!
I am trying to run my first EJB using Weblogic 7.0. I have created the Hoem, Remote and Bean classes in D:\myjavawork\EJB\DEMO folder.After that i did the foll.:
1) compiled these using javac with weblogic.jar in the classpath.
2) created ejb-jar.xml and weblogic-ejb-jar.xml in D:\myjavawork\EJB\DEMO\META-INF folder
3) created the jar file demo.jar at D:\myjavawork\EJB\DEMO.
4) when i run weblogic.ejbc, it gives an error :
"...Unable to load the class ejb.demo.DemoBean.."
Please help me solve this.
if possible, pls let m eknow what all needs to be done after this ejbc command is successful.
I am looking for some hand-holding support here.
thanks!!
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you do a jar -tvf on the jar you created and post the output here.
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to BEA/WebLogic Forum...
 
Chris Mathews
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
rajatn,
In the future, please avoid cross-posting the same question in multiple forums. It is considered very bad netiquette.
reply
    Bookmark Topic Watch Topic
  • New Topic