Saturday, October 12, 2013

Wsadminlib now available at!

IBM has publicly released wsadminlib at

Github is a popular modern file-sharing service.  Github allows you to use their service for free when you share your contributions publicly.  This is the same as our goal for wsadminlib, so it's a perfect match.

To report problems, ask questions, or make suggestions, please visit:

Wsadminlib is still available from IBM developerWorks, but it's download-only.  Now that wsadminlib is released at github, you are welcome and encouraged to fork your own branches and share your contributions with other users.

We hope you like it!

PS:  To download a quick zip of the entire package, go to the github site and click the button "Download ZIP" on the lower right.

Saturday, January 7, 2012

Fix for bug in method createUsingTemplate()

Here is a fix for a recently-discovered problem which has been hiding in wsadminlib for a long time.

Method createUsingTemplate() calls helper method _create() and passes-in a template.  When the template parameter is non-null, _create() calls AdminConfig.create() with the additional template parameter.  This doesn't work.  It should be calling AdminConfig.createUsingTemplate().

To fix it, edit your copy of wsadminlib, go to helper method _create() and find the section 'if template' (around line 8676, depending on your version).  Change AdminConfig.create() to AdminConfig.createUsingTemplate().  It should look like this:

        if template:
            sop(m, 'AdminConfig.create(%s, %s, %s, %s)' % (repr(type), repr(parent), repr(attrs), repr(template)))
            object=AdminConfig.createUsingTemplate(type, parent, attrs, template)

Many thanks to Yun-Shian Jiang in Canada who reported the problem, debugged it, and suggested the correct fix.

Monday, June 27, 2011

Saving large EAR files

Things have been quiet here at 'wsadminlib central' lately, since many contributors have been focused on getting WAS V8 out the door.  Now that WAS V8 has shipped, here is a brief update...

Frequent wsadminlib contributor Chris in Australia reported a problem saving a large EAR file, on the order of 300 Mb.  He had trouble starting the application immediately after doing a save and sync.  He also observed that the file system was still growing for a short time after the sync.

Now I always thought that an application was fully deployed and ready to start when wsadminlib's method saveAndSync() returned, but not true...

Sunday, June 26, 2011

WAS V8 and

The IBM WebSphere Application Server version 8.0 was released a few weeks ago, and wsadminlib helped deliver it.  Wsadminlib was used internally within IBM as part of many automated testcases.  This included the original prototypes, all the betas, and the final verifications.

So as you move forward migrating from prior versions of WAS to V8, you may continue using wsadminlib knowing it performed yeoman's service throughout the latest release's development and delivery.