cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

mail,warning mail,modify warning mail

ZL_10908440
7-Bedrock

mail,warning mail,modify warning mail

I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.0.0

Modify warning mail,like the system fails,need to send a warning mail.

ACCEPTED SOLUTION

Accepted Solutions

  1. Start Windchill
  2. Run jconsole from Windchill Shell if Windchill is not configured to run as a Windows service. If Windchill is configured as a Windows service, then run windchill wt.util.jmx.SMJconsole
  3. Connect to a Server Manager on the JConsole window without password
  4. Click on MBeans > com.ptc > Emailer > Attributes and fill in MailServer, MailServerUsername, MailServerPassword, MailServerPort
     
    Rocket__1-1706062169968.png

     

  5. Click on MBeans > com.ptc  > Emailer  > EmailLists > JMXAdministrator > Operations > AddAddresses > Enter the email address in the String Field
  6. To propagate the value to methodServerMBean also, need to run below command
  • Open Windchill Shell
  • Goto <Windchill>/codebase
  • Execute ANT command
  • ant -f modifyMBeanConfig.xml setEmailList -DemailAddresses="<comma-delimited list of email addresses>"
  1. Go back to Attributes field in the left pan
  2. Check the correctness of the email address in the AdressList  > Refresh.
  3. Now go to MBean > com.ptc > Notification Handlers > Method Server Stop Notifier > Attributes and remove wt.manager.jmx.MethodServerMProxyMBean.methodServer.added from Ignored Notification types
  4. The above should take effect in 3 minutes after setting this value

NOTE: Make sure to save the settings after updating in JConsole. To save the changes click on MBeans > com.ptc  > Loader > Operations > save

View solution in original post

1 REPLY 1

  1. Start Windchill
  2. Run jconsole from Windchill Shell if Windchill is not configured to run as a Windows service. If Windchill is configured as a Windows service, then run windchill wt.util.jmx.SMJconsole
  3. Connect to a Server Manager on the JConsole window without password
  4. Click on MBeans > com.ptc > Emailer > Attributes and fill in MailServer, MailServerUsername, MailServerPassword, MailServerPort
     
    Rocket__1-1706062169968.png

     

  5. Click on MBeans > com.ptc  > Emailer  > EmailLists > JMXAdministrator > Operations > AddAddresses > Enter the email address in the String Field
  6. To propagate the value to methodServerMBean also, need to run below command
  • Open Windchill Shell
  • Goto <Windchill>/codebase
  • Execute ANT command
  • ant -f modifyMBeanConfig.xml setEmailList -DemailAddresses="<comma-delimited list of email addresses>"
  1. Go back to Attributes field in the left pan
  2. Check the correctness of the email address in the AdressList  > Refresh.
  3. Now go to MBean > com.ptc > Notification Handlers > Method Server Stop Notifier > Attributes and remove wt.manager.jmx.MethodServerMProxyMBean.methodServer.added from Ignored Notification types
  4. The above should take effect in 3 minutes after setting this value

NOTE: Make sure to save the settings after updating in JConsole. To save the changes click on MBeans > com.ptc  > Loader > Operations > save

Announcements


Top Tags