This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Deployment script where to run???
 
Similar Threads
Class not found exception.
deployment error
Deployment problem in weblogic 6.0
i'm so frustrated......deployment issue
WebLogic 6.0 -- The Hello World Example