Inhaltsverzeichnis

1. Dispatcher Error Mailbenachrichtigung einrichten

1.1 Service.properties editieren

Die Datei Service.properties befindet sich unter folgendem Pfad auf dem Server

C:\plm\dispatcher\DispatcherClient\conf\Service.properties

##############################################################################
#
#     E - M A I L
#
#  The following are the recognized Dispatcher Client e-mail properties:

#
# Name          : Service.Email.AdminEmailId
# Description   : Adminstrator e-mail addresses to receive notification.
#                 specified e-mail inbox
# Value         : One or more valid, comma delimited, e-mail addresses. If a
#                 different address delimiter must be used, it must be specified
#                 as the Service.Email.AdminEmailIdDelimiter property value.
#
Service.Email.AdminEmailId=
 
#
# Name          : Service.Email.AdminEmailIdDelimiter
# Description   : The delimiter used for AdminEmailId property value.
# Value         : A valid delimiter character
# Default value : ,
#
Service.Email.AdminEmailIdDelimiter=,
 
#
# Name          : Service.Email.SMTPServerName
# Description   : Server used for basic text messaging
# Value         : A valid IP address of the SMTP Server
#
Service.Email.SMTPServerName=LOCALHOST
 
#
# Name          : Service.Email.SendUserEmailOnError
# Description   : 0 = off
#                 1 = Turn on e-mail based notification for Teamcenter users
#                     that create translation requests. When a translation
#                     error occurs, e-mail will be sent to the e-mail address
#                     specified for the user that owns the translation
#                     request.
# Value         : 0 or 1
#
Service.Email.SendUserEmailOnError=0
 
#
# Name          : Service.Email.SenderId
# Description   : All adminstrator and user error notifications sent via e-mail
#                 will use this value as the e-mail sender address.
# Value         : A single valid e-mail address.
# Default value : The Dispatcher Client name.
#
Service.Email.SenderId=CHANGE_ME@LOCALHOST
 
#
# Name          : Service.Email.EmailSubjectPrefix
# Description   : This set of characters is prepended to the subject
#                 of the e-mail
# Value         : String
#
Service.Email.EmailSubjectPrefix=[TS_ERROR]
 
###############################################################################

Folgende Einträge müssen editiert werden:

Service.Email.AdminEmailId=your_admin_mail_adress@domain.com
Service.Email.AdminEmailIdDelimiter=,
Service.Email.SMTPServerName=mail.domain.com
Service.Email.SendUserEmailOnError=1
Service.Email.SenderId=noreply@domain.com
Service.Email.EmailSubjectPrefix=[DISPATCHER-ERROR]

1.2 Test durch provozieren eines Fehlers

Beispiel:

⇒ Nun wird eine Email mit der Fehlermeldung versendet

Inhalt der Mail:

[DISPATCHER-ERROR]DispatcherClient_192.168.0.226_2099:Ua612236e05f983276180a

Fehlerbericht aus "DispatcherService"
Konvertierungsanforderungsdetails --
Aufgaben-ID:Ua612236e05f983276180a
Anbieter:SIEMENS
Konvertierer:avamsofficetopdfvbs
Datum:27-Oct-2020 15:45
 
Primäre und sekundäre Objektliste --
Primäres Objekt:000153/A
Sekundäres Objekt:000153/A-Dispatcher Test
 
Benutzername:infodba
Benutzer-E-Mail-ID:Unbekannt
Hostname:eTC-Dev
 
Kommentar:Error returned by the translator...
 
Fehlerbericht:Konvertierung auf Grund nicht erzeugter Dateien fehlgeschlagen.