• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployment script where to run???

 
Sanjay Deshpande
Ranch Hand
Posts: 111
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have my file structure as:
E:\weblogic\wlserver6.1_beta\config\mydomain\applications\DefaultWebApp_myserver
i am using following commands at dos prompt:
mkdir build build\META-INF
copy *.xml build\META-INF
javac -d build Account.java AccountHome.java ProcessingErrorException.java AccountBean.java
cd build
jar cv0f Account.jar META-INF mydomain
cd ..
java -classpath %WL_HOME%/lib/weblogic_sp.jar;%WL_HOME%/lib/weblogic.jar weblogic.ejbc -compiler javac build\Account.jar %APPLICATIONS%\Account.jar
javac Account.java AccountHome.java ProcessingErrorException.java
javac Account.java AccountHome.java ProcessingErrorException.java
I GET ERROR: ACCOUNT BEAN NOT FOUND .
WHERE TO RUN A BATCH FILE HAVING ALL THESER COMMANDS?
AT config>mydomain ?
OR AT config>mydomain>Applications
OR AT config>mydomain>Applications>defaultwebapp_myserver?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic