× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello,

Something strange happened when I restarted websphere after adding a
java.awt.headless=true in the customized properties of JVM.

The applications running on the system i send emails through javamail 1.3.

The code is like that :
mailProps = System.getProperties();
mailProps.put("mail.smtp.host", serveurSmtpProvider);
mailProps.put("mail.smtp.auth", "true");
mailProps.put("mail.smtp.localhost", monAdresseIP);
PasswordAuthentication pa = new PasswordAuthentication(profil,
motdepasse);
Session mailSession = Session.getInstance(mailProps, new
SmtpAuthenticator());

It has been working perfectly since eons.

Since I restarted websphere, the SMTP server refuses the connection,
because it receives a host name
wich is like "theNameOfMyPreviousAS400@myDomainName".
So I see in the debug :
EHLO "theNameOfMyPreviousAS400@myDomainName" invalid domain name.

The same java classes running from my PC with the test server embedded in
WDSC work fine,
the smtp server replies as expected :
EHLO "monAdresseIP" pleased to meet you and processes the email.

I've checked everything I thought of : the host table, the domain name,
Apache and Websphere configuration...
Nothing looking like this unexpected host address.

Thanks in advance for any hint you can provide, I'm getting a big headache
here...

Marie-Line

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.