[xep-support] MD5 error with Xep 4.4, Java 1.5

From: Bill Karwin <bkarwin@siderean.com>
Date: Thu Jul 07 2005 - 20:14:59 PDT

Hi,

I understood from reading some xep-support archives that I need a
relatively current version of Xep to use it with Java 1.5.
E.g. http://www.renderx.net/lists/xep-support/3103.html

So we upgraded, and now we are running Xep 4.4.

I invoke Xep from Ant as recommended by the documentation, as follows:

  <path id="xep.classpath">
    <fileset dir="${vendor.xep.dir}/lib">
      <include name="xep302_client.jar" />
      <include name="cryptix32.jar" />
      <include name="cryptix32-pgp.jar" />
      <include name="saxon.jar" />
      <include name="xt.jar" />
    </fileset>
  </path>

    <echo>java version = ${java.version}</echo>
    <java classname="com.renderx.xep.Driver" fork="yes">
      <classpath refid="xep.classpath" />
      <jvmarg line="-Dcom.renderx.xep.ROOT=${vendor.xep.dir}" />
      <arg line="xrbrmanual.fo" />
    </java>

I get the following output:

     [echo] java version = 1.5.0_03
     [java] Exception in thread "main" cryptix.security.CryptoError:
java.security.NoSuchAlgorithmException: no such algorithm: MD5 for
provider Cryptix
     [java] at cryptix.security.MD5.getDigestImpl(MD5.java:87)
     [java] at cryptix.security.MD5.<init>(MD5.java:82)
     [java] at com.renderx.util.CheckSigned.load(CheckSigned.java:58)
     [java] at com.renderx.util.License.check(License.java:13)
     [java] at com.renderx.xep.lib.Conf.init(Conf.java:154)
     [java] at com.renderx.xep.Driver.init(Driver.java:33)
     [java] at com.renderx.xep.Driver.main(Driver.java:329)
     [java] Java Result: 1

I found a comment on one message board that I needed to get Cryptix JCE
if I use Java 1.5. So I downloaded that, and added its jars to
xep.classpath, but the error did not change.

If I set JAVA_HOME=C:\j2sdk1.4.2_08, Xep works fine and successfully
generates my PDF output. So I believe my Ant syntax is correct, my
license.xml is valid, etc.
But I must use Java 1.5 for the build environment of this project.
Please tell me specifically what I need to do to get Xep 4.4 working
with Java 1.5.

Bill Karwin
Siderean Software
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Thu Jul 7 20:39:53 2005

This archive was generated by hypermail 2.1.8 : Thu Jul 07 2005 - 20:39:55 PDT