WebSphere Issues


Deploy an ear app onto WebSphere Application Server through wsadmin

Filed under: Linux, WAS, WebSphere Portal — Ishtiaque @ 8:03 am

1. Run the following command to export wps.ear application from the server:

/wp_profile/bin/wsadmin.sh -user wpsadmin -password wpsadmin -c “$AdminApp export wps /opt/deploy/wps.ear

2. Run the following command to expand the wps.ear file:

/wp_profile/bin/EARExpander.sh -ear /opt/work/deploy/wps.ear -operationDir /opt/work/deploy/wps_expanded -operation expand

3. Deploy your changes in the expanded directory of the application.

4. Collapse the expanded directory back into wps.ear or app.war file:

/wp_profile/EARExpander.sh -ear /opt/deploy/wps.ear -operationDir /opt/deploy/wps_expanded -operation collapse

5. Deploy the wps.ear using the following command:

/wp_profile/bin/wsadmin.sh -user wpsadmin -password wpsadmin -c “$AdminApp install /opt/deploy/wps.ear {-update -appname wps -nodeployejb}”

6. Restart your application server in this example it would WebSphere_Portal.


1. http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/index.jsp?topic=/com.ibm.wp.zos.doc/wps/dgn_dpycst.html


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: