Hi all,

The System class get me an empty Properties (not a null properties)
and after that I can't write into the hashtable.

private Session getMailSession()
 {
  Properties properties = System.getProperties();
  properties.put ( MAIL_TRANSPORT_PROTOCOL, SMTP );
  properties.put ( MAIL_HOST,
       TurbineResources.getString( MAIL_SERVER ) );
  return Session.getDefaultInstance(properties, null);
 }

properties is empty at the end of this code ! ! !

I have JServ1.1.2 and I work with VisalAge as dev. env.

I have tried whitout launch JServ and Turbine and I works !

Does somebody have any idea ?
Where can I find System.getProperties sources ?

Regards 






------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to