Error using wsadmin to check-out Lotus Connections configuration
February 24, 2011 1 Comment
After reading Dave Hay’s article (WASX7015E seen when using WSAdmin to work with Lotus Connections 3.0 configuration) on problems with checking out Lotus Connections configuration using wsadmin commands it reminded me of a similar “Doh! moment” I had a few weeks ago doing the same thing, which I think is worth sharing as it might help someone resolve the problem more quickly than I did.
I started the wsadmin client using the following command (so far so good):
cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/
./wsadmin.sh -lang jython -user wasadmin -password ********* -port 8879
WASX7209I: Connected to process “dmgr” on node connectionsCellManager01 using SOAP connector; The type of process is: DeploymentManager
WASX7031I: For help, enter: “print Help.help()”
Then from the wsadmin prompt I went to check-out the Files configuration:
wsadmin>execfile(“/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/bin_lc_admin/filesAdmin.py”)
Unfortunately it returned this error:
WASX7015E: Exception running command: “execfile(“/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/bin_lc_admin/filesAdmin.py”)”; exception information:
com.ibm.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File “”, line 1, in ?
File “/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/bin_lc_admin/filesAdmin.py”, line 14, in ?
ImportError: no module named lotusConnectionsCommonAdmin
I tried running the commands several more times, but the same error occurred each time (definition of insanity: doing the same thing over and over again and expecting different results), even searching Google didn’t help pinpoint the issue.
Anyway, eventually I found my mistake, the directory I’d run the wsadmin command from was wrong.
I’d run it from:
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/
When it should have been:
/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/
As soon as I ran the wsadmin command from the correct directory it all just worked