This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of DevSecOps Adventures: A Game-Changing Approach with Chocolate, LEGO, and Coaching Games and have Dana Pylayeva on-line! See this thread for details.
You can $APP_ROOT/bin/EARExpander.sh shell script to deploy your ear and war file.You need to supply all the neccessary parameters to this script to expand the ear file.
This works for expanding the Ear file into a directory, but it does not update the server-cfg.xml file for me. I was hoping that there was something like seappinstall that works with war files. Ideas?
I tried to zip the contents of the application.ear file into an ear file. I then deleted the application from WebSphere and tried to reinstall it using the seappinstall script I get the following error: Exception: Exception occurred loading deployment descriptor for module sapplciation.war in ear file C:\xxx\application.ear Thanks
SeAppInstall works with both EAR and WAR files on WebSphere 4.0.X AEs. It will update the servlet-cfg.xml file appropriately. Take a look at My workbook for an example of deploying an EAR file with SEappInstall. Kyle
Kyle, Thanks... that works! However, I have to type in values for the context-root, the display name and the default-host. I was hoping to automate this in an ant build-file and I didn't see any -options for these values. How do WAS developers who use Ant automate this? Thanks
AFAIK, basically ANT won't do this part. That's one of the things that's being fixed in WAS 5.0 by the way. You could do it entirely at the command line if you were using WAS 4.0 AE (which includes the WSCP and XMLConfig tools) but it's not as easy in WAS AEs. Kyle