cancel
Showing results for 
Search instead for 
Did you mean: 

Alert Monitoring within PI 7.5 Java Only Stack - Failure within JavaScheduler

ChadRichardson
Participant
0 Kudos

We have a NEW PI 7.5 installation.  I've setup the Integration Configuration object with an Alert Rule connected to consumer ALERT-TO-MAIL.  Setup the Java Mail Client service with the same values used within our OLD PI 7.1 system to send emails through our smtp host.  Created job within JavaScheduler copied from AlertConsumerJob template tied to consumer ALERT-TO-MAIL. When the job executes and an email should be generated I am getting the following error: java.net.SocketException: Permission denied: connect (local port 58178 to address 0:0:0:0:0:0:0:0, remote port 25 to address OUR_HOST OUR_HOST is the actual address of our host smtp server setup in the configuration. Any idea what could be the problem??? Much appreciated, Chad

Accepted Solutions (1)

Accepted Solutions (1)

former_member186851
Active Contributor
0 Kudos

Hello Chad,

Make sure permissions are given at mail server level to hit the mailbox server.

Answers (2)

Answers (2)

former_member182412
Active Contributor
0 Kudos

Hi Chad,

Give the IPv6 address in the smtp host in NWA an try.


The reason of the error is indeed that IPv6 is defaulted on Windows starting from JDK 7

check this below link for more details.

http://stackoverflow.com/questions/7477712/sending-email-using-jsp/7478027#7478027

Regards,

Praveen.

former_member182412
Active Contributor
0 Kudos

Hi Chad,

  • Check is there any firewall between PO server and Mail Server.
  • Do the telnet from PO server to the mail server.

TELNET smtphost 25

Regards,

Praveen.