Where does JTServer store its “Email Settings” because it's trying to connect to the wrong smtp server? (edited 29th August)
Edited from the original message to provide a bit more information :
Following an upgrade from CLM v6.0.2 to v6.0.6. the email messages sent from the Jazz Team Server stopped working.
I have found a “work around” but I have to do this every single time the server reboots.
The error I am getting is a Connection error.
And by monitoring the smtp traffic I can see that the smtp packets are being sent to the wrong ip address. i.e. they are not being sent to my “mailserver”
My Jazz Team Server’s E-mail Settings included :
SMTP Server = mailserver
If I just change the settings so that
SMTP Server = mailserver.fully_qualified_domain_name and save the change then everything is OK : "Send Test Email" works, the monitored smtp traffic shows the correct ip address for the mailserver and all of the Jazz Team Server's email messages are sent successfully.
Everything is fine until the next reboot of the server, when the problem returns.
Once again I make a simple edit to the “Email Setttings” This time SMTP Server = mailserver. (without the FQDN) and everything is OK.
I have looked in the “teamserver.properties” file for the JTS which has the entry
( or com.ibm.team.repository.notification.mail.smtp.server = mailserver.FQDN)
It’s easy enough for me to sort out the problem by making this quick edit on the “Email Settings” page but I don’t really want to be doing this every time the server restarts.
Update (Aug 29th) : I have turned on the "Debug Mail API" setting.
But following a reboot of the server it is trying to connect to "oldmailserver" (not the one specified on the "Email Settings page" or the jts/"team.properties").
Why if you reboot the Jazz Team Server does it try to send email(smtp) to an old smtp server ?
Thanks Peter
|
One answer
I think I have found out why I have been having problems with smtp mail from the Jazz Team Server v6.0.6.
Everything on the My Jazz Team Server’s E-mail Settings looked OK including :
SMTP Server = mailserver and the “jts/teamserver.properties” file has the entry
So I couldn’t work out why email wasn’t working after every reboot of the server.
But I then had a trawl through all of the other configuration files and in the “teamserver.properties” for Requirements Management, “rm/ teamserver.properties”, I found a reference to an old mail server that we were using last year.
I think what must be happening is that when the server reboots the Jazz Team Server is initialized. Then immediately after that each of the applications, ‘ccm’, ‘qm’, ‘dcc’ etc. are initialized. The ‘rm/teamserver.properties’ value for the smtp server must be overwriting the value that we have specified in the Jazz Team Server settings.
I edited ‘rm/teamserver.properties’ (using NotePad) so that com.ibm.team.repository.notification.mail.smtp.server = mailserver , rebooted the server and now everything seems to be OK.
I do still have a couple of questions which I would be interested in knowing the answers to :
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Anybody got any ideas ?