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 deployment error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "deployment error" Watch "deployment error" New topic
Author

deployment error

Sanjay Deshpande
Ranch Hand

Joined: May 22, 2001
Posts: 111
Hi when i run command weblogic.ejbc i get error :Class AccountBean not found
Why so?
My commands are:
-copy *.xml build\META-INF
-javac -d build Account.java AccountHome.java ProcessingErrorException.java AccountBean.java
-cd build
-jar cv0f beanManaged.jar META-INF wow
-cd ..
-java -classpath %WL_HOME%/lib/weblogic_sp.jar;%WL_HOME%/lib/weblogic.jar java weblogic.ejbc -compiler javac build\beanManaged.jar %APPLICATIONS%\beanManaged.jar
this iswhere i get error
sathyaprakash
Greenhorn

Joined: Jul 13, 2001
Posts: 4
check the package statement in your AccountBean.java ..also check the entries in the ejb-jar.xml
Sanjay Deshpande
Ranch Hand

Joined: May 22, 2001
Posts: 111
Hi prakash ,
Thnx for reply. I am not able to deploy ejb!above commands run successfully.But weblogic server does not start.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deployment error