Quantcast
Channel: The Middleware Shop
Viewing all articles
Browse latest Browse all 156

WebSphere Jython: ImportError: no module named

$
0
0

 

Error:

WASX7209I: Connected to process "server1" on node WAS7_01_AppServer01 using SOAP connector;  The type of process is: UnManagedProcess
WASX7017E: Exception received while running file "/var/apps/scripts/wasAdmin/manageApp/appReady.py"; exception information: com.ibm.bsf.BSFException: exception from Jython:
Traceback (innermost last):
  File "<string>", line 13, in ?
ImportError: no module named appManager

The reason for this error was because I had referred to a Jython class-file (Jython OO script) by name in the same directory, but I had the name wrong. The file was manageApp, not appManage.

My import statement was:

import AppManage as app

It should have been

import manageApp as app

 


Viewing all articles
Browse latest Browse all 156

Trending Articles