This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Deployment script where to run???
 
It's not a secret anymore!