UCMDB and UD Practitioners Forum (Previously CMS)
cancel

J2ee Websphere by shell

Highlighted
ctruong
Outstanding Contributor.

J2ee Websphere by shell

After upgrading to cp11 update 5, we got the following error while running Websphere by shell

 

<< Progress message, Severity: Error>>
Failed executing script, details: Traceback (innermost last):
File "<string>", line 2, in ?
File "websphere_by_shell", line 129, in DiscoveryMain
File "websphere_discoverer", line 757, in parseCellConfig
AttributeError: module 'websphere' has no attribute 'Cell'

 

Before updating we were having the following error

 

QCCR1H79929 Fixed the issue with J2EE WebSphere by Shell job failing with error message: "org.jdom.input.JDOMParseException: Error on line -1: Premature end of file".

 

Any idea

2 REPLIES
Dima Gomel
Micro Focus Expert

Re: J2ee Websphere by shell

If you think CP11 Update5 doesn't solve the problem decribed in QCCR1H79929 please open support case and provide all this info. It should go through the R&D.

Regards
-Dmitry Gomel, PMP
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Click the Like button at the bottom to say 'Thanks'.
Adrian_David
Outstanding Contributor.

Re: J2ee Websphere by shell

On my side this line points to:

 

return websphere.Cell(xpath.evaluate('//Cell/@name', doc),
xpath.evaluate('//Cell/@cellType', doc))

 

Can you thus check if in your websphere.py you have the class Cell defined there? and alos please check that in the websphere_discoverer script you have the "import websphere" at the begining.

 

Adrian