• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help.. weblogic ejbc error..

 
Rajat Nayer
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • 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!!
 
Murali Nanchala
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you do a jar -tvf on the jar you created and post the output here.
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to BEA/WebLogic Forum...
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic