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

From: Alexander Peshkov <peshkov@renderx.com>
Date: Fri Jul 08 2005 - 01:24:05 PDT

Hello Bill,

Look at your classpath:
...
  <include name="xep302_client.jar" />
...
you are still using XEP 3.02, not XEP 4.4.

Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX

BK> Hi,

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

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

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

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

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

BK> I get the following output:

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

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

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

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

-------------------
(*) 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 Fri Jul 8 01:50:55 2005

This archive was generated by hypermail 2.1.8 : Fri Jul 08 2005 - 01:50:56 PDT