Records in this category

Sticky FAQs

»

ID #1180

Sending emails fails when running Muse with Java 1.7 with the error: "SendMail: Improper module setting(s). Contact your administrator. [ Could not connect to SMTP host: mail.museglobal.com, port: 25 ]".

The problem is due to the IPv4/IPv6 preference of Java.

Java tries to use IPv6 by default - see the Oracle FAQ (http://www.oracle.com/technetwork/java/javamail/faq/index.html) .
To fix the problem set the System property "java.net.preferIPv4Stack" to "true". You can do this by editing "configure*" scripts from ${MUSE_HOME}/use/ice and ${MUSE_HOME}/tomcat/bin directories and add the following parameter:

-Djava.net.preferIPv4Stack="true" in the extra JVM parameters section.

Example: When running Muse on Windows, in the ${MUSE_HOME}/tomcat/bin/configure.bat file the parameter will be placed just below the line:

rem Set extra JVM parameters (space delimited list)
in the following variable "TOMCAT_ExtraJVMParams= "(no quotes)

set TOMCAT_ExtraJVMParams=-Djava.net.preferIPv4Stack="true"

Categories for this entry

Tags: -

Related entries: -

Last update: 2013-10-29 14:16
Author: Administrator
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Rate this FAQ

Average rating: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

powered by phpMyFAQ 2.7.2