Troubleshoot mail issues
One answer
Christophe Elek schrieb:
There is a way to enable debug information being logged. Unfortunately,
I just found out that the logging configuration is very hidden and
cumbersome. I filed a defect for this and subscribed you: 36133: Server
log configuration completely hidden.
But any fix won't help you with you current setup so here is a
description on how to enable it:
1. Shut down the server
2. Delete all contents of the folder <install dir>/jazz/server/tomcat/work
3. Go to this directory: <install
dir>/jazz/server/tomcat/webapps/jazz/WEB-INF/eclipse/plugins/com.ibm.team.repository.servlet_0.6.0.<build-id>/
4. There is a jar that contains the log4j.properties file
4a. With a graphical Zip utility: Open the archive and extract the file
4b. Linux shell: unzip com.ibm.team.repository.servlet.jar log4j.properties
5. Open the file. At the end insert this line:
log4j.logger.com.ibm.team.workitem=DEBUG
6a. Update the file in the archive with the new one using your utility
6b. Linux shell: zip com.ibm.team.repository.servlet.jar log4j.properties
7. Edit <install dir>/jazz/server/teamserver.properties and add the
property: com.ibm.team.workitem.notification.mail.fixedDelay=40. This
will schedule the mailer every 40s instead of the default 10min. Don't
forget to remove it after debugging.
8. Start the server
9. Connect with a client and open an item (query, workitem, ...) to
start the scheduler.
The information will be printed into <install
dir>/jazz/server/tomcat/logs/catalina.out. On Linux you can use:
less catalina.out
and then hit F (capital f). This will update the display continuously.
Regards,
Frank
We have our won sandbox but I cannot receive mail
How do we troubleshoot it ? Is there a trace we can run ?
There is a way to enable debug information being logged. Unfortunately,
I just found out that the logging configuration is very hidden and
cumbersome. I filed a defect for this and subscribed you: 36133: Server
log configuration completely hidden.
But any fix won't help you with you current setup so here is a
description on how to enable it:
1. Shut down the server
2. Delete all contents of the folder <install dir>/jazz/server/tomcat/work
3. Go to this directory: <install
dir>/jazz/server/tomcat/webapps/jazz/WEB-INF/eclipse/plugins/com.ibm.team.repository.servlet_0.6.0.<build-id>/
4. There is a jar that contains the log4j.properties file
4a. With a graphical Zip utility: Open the archive and extract the file
4b. Linux shell: unzip com.ibm.team.repository.servlet.jar log4j.properties
5. Open the file. At the end insert this line:
log4j.logger.com.ibm.team.workitem=DEBUG
6a. Update the file in the archive with the new one using your utility
6b. Linux shell: zip com.ibm.team.repository.servlet.jar log4j.properties
7. Edit <install dir>/jazz/server/teamserver.properties and add the
property: com.ibm.team.workitem.notification.mail.fixedDelay=40. This
will schedule the mailer every 40s instead of the default 10min. Don't
forget to remove it after debugging.
8. Start the server
9. Connect with a client and open an item (query, workitem, ...) to
start the scheduler.
The information will be printed into <install
dir>/jazz/server/tomcat/logs/catalina.out. On Linux you can use:
less catalina.out
and then hit F (capital f). This will update the display continuously.
Regards,
Frank