Posts

Showing posts with the label wsadmin Tutorial

Jython Deployment automation in WebSphere

Image
We can have different JEE applications to install on IBM WebSphere Application Server such as: Enterprise applications .ear files Web Applications .war files Business Application Utility/shared libraries .jar files You need to know what type of application you wish to deploy. Where to install it in the Cell. If it is an EJB application you need to provide the binding details as an initial parameter. All application-related functions are available with AdminApp object. For making the application changes permanent you need to save the AdminConfig. Web application deployment with Jython wsadmin Let's see the war file installation process AdminApp.install(ear, '[-BindJndiForEJBBusiness [[ejb_1.jar ejb1 ejb_1.jar,META-INF/ejb-jar.xml test.ejb1 jndi1 ]]]') # For Web application inside .ear files you need to provide virtual host name. These virtual host varies in the ND cell. AdminApp.install('fullpath/yourApp.ear', ['-MapWebModToVH', [[...