james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Hauser (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (JAMES-343) James does not compile using Sun JDK 5.0
Date Tue, 11 Jan 2005 05:11:12 GMT
     [ http://issues.apache.org/jira/browse/JAMES-343?page=comments#action_57491 ]
Ralf Hauser commented on JAMES-343:

in order to get the SSL working again, in build.xml, I had to amend the target sar with
    	<property environment="env" />
    	<property name="sunJce" 
    		location="${env.JAVA_HOME}/jre/lib/ext/sunjce_provider.jar" />
    	 <copy file="${sunJce}" todir="${build.lib}"/>
right before the sar task and in org.apache.james.James.initialize(), I had to add
    Security.addProvider(new SunJCE());
Otherwise, when accessing with outlook, it dies with "bad handshake record MAC" and when accessing
it with thunderbird, it dies with "DiffieHellman KeyPairGenerator not available" 

Vincenzo says that in currrent SVN branch_2_1_fcs, the registration is automatically done
(statically) by org.apache.james.security.KeyHolder (at least for the SMIMESign mailet)

> James does not compile using Sun JDK 5.0
> ----------------------------------------
>          Key: JAMES-343
>          URL: http://issues.apache.org/jira/browse/JAMES-343
>      Project: James
>         Type: Bug
>     Versions: 2.2.1
>  Environment: Sun JDK 5.0
> Ant 1.6.2
>     Reporter: Jeff Keyser
>     Priority: Trivial

> Several of the source files use a variable called "enum" for Enumerators.  This is a
new keyword in Java 1.5, and the Sun JDK 5.0 compiler fails when it sees these variables.
> Please add "source='1.4'" (or whichever language version is officially supported) to
the "javac" task in build.xml.
> Changing the names of these variables would also work, but the "source" attribute provides
better forward compatability as the Java language evolves.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message