Archived Content: This information is no longer maintained and is provided "as is" for your convenience.
Summary
When a JEE run is done, fails with an error message.
Question
jee_connection in <module>ImportError: cannot import name PlatformSpecification
When we try to run JEE Jboss by Shell job, it fails with the following error:
<< Progress message, Severity: Error>>
Failed executing script, details: Traceback (most recent call last):
File "jee_connection", line 9, in <module>
ImportError: cannot import name PlatformSpecification
Answer
Proposed the folloiwng Solution:
First on the UCMDB Server please stop the UCMDB Probe service.
Once is totally stopped, open a command prompt.
Please get into the following path: C:\hp\UCMDB\DataFlowProbe\tools and execute the clearProbeData.bat file with the of the root user of the Probe Database.
Example: C:\hp\UCMDB\DataFlowProbe\tools and execute the clearProbeData.bat password
Watch the wrapperProbeGw.log to determine when the Probe is up again.
Ensure the connection.py is copied to the <UCMDB_Probe>\runtime\ProbeManager\DiscoveryScripts directory.
Then you can try again the JEE job.