If you already contacted support, continue to the JavaMail
MustGather information. Otherwise, click MustGather:
Read First for all WebSphere Application Server Products.
The debugger must be run on the mail session in question to
troubleshoot JavaMail problems. Use the following instructions to gather
that information.
Engaging debug for your JavaMail session
- From the Application Server administrative console:
select Resources > Mail Providers > Built-In Mail
Provider > Mail Sessions.
- Select the JavaMail session that you want to debug.
- At the bottom of the pane, select Enable debug mode (see
screenshot below).
- Click Apply.
- Save the change to the master configuration.
- Stop the Application Server.
- While the Application Server is stopped, remove the present log files
located in the logs directory under your WebSphere Install Home, or save
these files in another location.
- Restart the Application Server.
- Run your mail application and note the exact time when the error
occurs.
When you finish your debugging session, reverse the preceding process to
disable the debugger. This avoids generating a larger file than normal.
Note: You must stop your Application Server again to remove the
debug option.
Collect the SystemOut.log, the StandardOut.log and the
SystemErr.log from the logs directory, then follow instructions
in Submitting Diagnostic Information to IBM Technical Support
for Problem Determination.
Note:
If using JavaMail and the information is hardcoded instead of creating a
mail session in the administrative console, then this procedure is not
supported. If the information is hardcoded, Application Server features
are not being used, only the Application Server JRE is, and you are
responsible for your own code. In this case there is no mail session on
which to set the debugger.
If this is the case, go into the object you created that contains the
JavaMail properties and set the property mail.debug = true. This
produces a file containing the debug information. You can use this file to
see what code you must change to correct your problem. |