Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

deployment error

 
Sanjay Deshpande
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check the package statement in your AccountBean.java ..also check the entries in the ejb-jar.xml
 
Sanjay Deshpande
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi prakash ,
Thnx for reply. I am not able to deploy ejb!above commands run successfully.But weblogic server does not start.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic