APAR status
Closed as program error.
Error description
Whenever trying to import smtplib inside a script the following error is caught: exception information: com.ibm.bsf.BSFException: exception from Jython: Traceback (most recent call last): File "<string>", line 28, in <module> File "/usr/WebSphere/AppServer/optionalLibraries/jython/Lib/sm tplib.py",line 46, in <module> import email.utils ImportError: No module named email
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server * * Version 9. * **************************************************************** * PROBLEM DESCRIPTION: Error importing smtplib in jython * **************************************************************** * RECOMMENDATION: * **************************************************************** Whenever trying to import smtplib inside a script the following error is caught: exception information: com.ibm.bsf.BSFException: exception from Jython: Traceback (most recent call last): File "<string>", line 28, in <module> File "/usr/WebSphere/AppServer/optionalLibraries/jython/Lib/sm tplib.py",line 46, in <module> import email.utils ImportError: No module named email
Problem conclusion
Adding back email module. The fix for this APAR is targeted for inclusion in fix pack 9.0.5.21. For more information, see 'Recommended Updates for WebSphere Application Server': https://www.ibm.com/support/pages/node/715553
Temporary fix
Comments
APAR Information
APAR number
PH60948
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2024-04-17
Closed date
2024-08-06
Last modified date
2024-08-06
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]
Document Information
Modified date:
06 August 2024