I changed "TRUE" to "true" and got a new verison of cornerstone.jar (from James 2.1a1 release). I now can start james with ssl turned on:
C:\working\james-2.0a3>echo off C:\java\j2sdk1.4.1 C:\java\j2sdk1.4.1\bin\java "Home directory: C:\working\james-2.0a3" "Home ext directory: C:\working\james-2.0a3\lib" Phoenix 4.0a4 Application file:/C:/working/james-2.0a3/apps/james.sar uses a deprecated packaging format. James 2.0a3-cvs Started POP3 Server ssl:995 Started SMTP Server ssl:25 Started NNTP Server plain:119 However, when I tried to send a mail from my mail servlet client with SSL using the similar code as described in JavaWorlds Java Tip 115. The program hang ... I tried to look at various logs and have no clue what happened. My guess is that SSL handshaking did not succeed. I would appreciate if you can give me any help ... Zhiyong Li Analytical Solutions, SAS Institute (919) 653-2746 [EMAIL PROTECTED] -----Original Message----- From: Hontvari Jozsef [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 20, 2002 4:11 AM To: James Users List Subject: Re: SSL & TSL You should also check for a bug in this version, as I remember there is a bug related to this, the option switching on ssl only accepts a case sensitive value. Best if you look at the source. ----- Original Message ----- From: "Zhiyong Li" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 19, 2002 11:14 PM Subject: SSL & TSL I downloaded James 2.0a3-cvs and I have J2SDK1.4.1 in my Win2000 machine. I followed the steps to update the config.xml files and I can get the server up after going through a bunch of pains. The changes I made include: 1. In config.xml: uncomment useSSL for both SMTP and POP3. 2. In config.xml: uncomment <factory name="ssl" ... section 3. Create a keystore with keytool. However, the command window of the server is still shown: Application file:/C:/working/james-2.0a3/apps/james.sar uses a deprecated packaging format. James 2.0a3-cvs Started POP3 Server plain:995 Started SMTP Server plain:25 Started NNTP Server plain:119 I would expect that they show "secure" instead of "plain". Also, when I tried to connect to it with my Java mail program, I got the exception, javax.servlet.ServletException: Could not connect to SMTP host: localhost, port: 25; Thank you for your help, Zhiyong Li Analytical Solutions, SAS Institute (919) 653-2746 [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
