developerWorks  >  Lotus  >  Forums & community  >  IBM Connections Forum

IBM Connections Forum

developerWorks




Running wsadmin commands after upgrading to 2.0.1
Steve Davis 06:07 PM
Installation 2.0 Windows


I've upgraded our server from 2.0.0.1 to 2.0.1 and did not run into any errors when upgrading the databases or installing the fixpack and fixes. When I try to run populateLoginNames(), I get an error:

E:\ibm\LotusConnectionsv2\Websphere\AppServer\profiles\AppSrv01\bin>wsadmin -lang jython -user lcuser -<USER> <PASSWORD> -port 8880
WASX7209I: Connected to process "server1" on node ewconnectionsNode01 using SOAP
 connector;  The type of process is: UnManagedProcess
WASX7031I: For help, enter: "print Help.help()"
wsadmin>execfile("blogsAdmin.py")
Blogs Administration initialized on cell:  ewconnectionsNode01Cell
wsadmin>BlogsMigrationService.populateLoginNames()
WASX7015E: Exception running command: "BlogsMigrationService.populateLoginNames(
)"; exception information:
 com.ibm.bsf.BSFException: exception from Jython:
Traceback (innermost last):
  File "<input>", line 1, in ?
AttributeError: populateLoginNames


I checked the server for blogsAdmin.py and see an older version in the following folder:
E:\ibm\LotusConnectionsv2\Websphere\AppServer\profiles\AppSrv01\bin\blogsAdmin.py with a date of 8/1/2008

In this folder, I see the update version:
E:\ibm\LotusConnectionsv2\Websphere\LotusConnections\blogs\blogs\blogs\scripts\jython\blogsAdmin.py with a date of 10/13/2009

When I copy the new file to the ..\bin folder, I get the following error instead:

wsadmin>execfile("blogsAdmin.py")
Blogs Administration initialized on cell:  ewconnectionsNode01Cell
wsadmin>BlogsMigrationService.populateLoginNames()
Setting bean name to WebSphere:cell=ewconnectionsNode01Cell,name=BlogsMigration,
node=ewconnectionsNode01,process=server1
WASX7015E: Exception running command: "BlogsMigrationService.populateLoginNames(
)"; exception information:
 javax.management.ReflectionException
java.lang.NoSuchMethodException: java.lang.NoSuchMethodException: populateLoginNames

The same is true for the .py files for other modules. Should the bin folder have been updated with the new .py files? Why when I copy the updated files to the bin folder do I still see an error?

BTW, when I look at the about pages of the modules I can open, I see Release 2.0 LC2.0_FP_20080703.0916 which seems wrong.

It appears that the fix is properly installed according to updateLC:

E:\ibm\LotusConnectionsv2\update>updateLC -fixpack -installdir "E:\ibm\LotusConnectionsv2\Websphere\LotusConnections"
Start of [ updateLC ]
Build 20991231_2359

Verifying installer jar:
  [ LotusConnectionsUpdateInstaller.jar ]

Setting permissions on E:\ibm\LOTUSC~1\WEBSPH~2\LOTUSC~1\version
Set encoding: console
Fix pack update specified
Target product directory: E:\ibm\LotusConnectionsv2\Websphere\LotusConnections
Copyright (c) IBM Corporation 2002, 2007; All rights reserved.
IBM Lotus Connections
Update Installer Version 2.0.1, Dated 10/13/08

Listing installed fix packs:
  Fix pack name: LC2001_Fixpack
  Fix pack name: LC201_Fixpack
UpdateInstaller.puiReturnCode is 0

End of [ updateLC ]

Thanks
Steve

Go back