aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Deployment script where to run??? 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 script where to run???" Watch "Deployment script where to run???" New topic
Author

Deployment script where to run???

Sanjay Deshpande
Ranch Hand

Joined: May 22, 2001
Posts: 111
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
 
subject: Deployment script where to run???