aspose file tools*
The moose likes BEA/Weblogic and the fly likes Need help.. weblogic ejbc error.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Need help.. weblogic ejbc error.." Watch "Need help.. weblogic ejbc error.." New topic
Author

Need help.. weblogic ejbc error..

Rajat Nayer
Greenhorn

Joined: Feb 11, 2002
Posts: 21
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

Joined: Mar 14, 2001
Posts: 74
Can you do a jar -tvf on the jar you created and post the output here.


"It is almost always answered in the API" - Murali Nanchala
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Moving to BEA/WebLogic Forum...
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
rajatn,
In the future, please avoid cross-posting the same question in multiple forums. It is considered very bad netiquette.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help.. weblogic ejbc error..
 
Similar Threads
How to do EJB Deployment?
Deployment problem in weblogic 6.0
ERROR: ejbc couldn't invoke compiler
Why am I getting this error (A beginners question)
ejbc error