mec as2 startup error

You are here

mec as2 startup error

6 posts / 0 new
Last post
paul.brydges
paul.brydges's picture
mec as2 startup error

Hello,
When I try to start mec as2 I get the following error: java.lang.NoClassDefFoundError: de.mendelson.util.security.BCCryptoHelper
This is a new install on CentOS 5. I have installed JDK 1.6.0_10. JAVA_HOME=/usr/java/jdk1.6.0_10
Thanks
Paul

heller
heller's picture

Paul,

please ensure to include the bouncycastle provider jars in your classpath.
These are the files

bcmail-jdk16-141.jar
bcprov-jdk16-141.jar

If you have done this and there occure still some errors with missing classes please include all the files in jlib and subfolders into your classpath.

Regards
Heller

paul.brydges
paul.brydges's picture

They are in the path. Does it matter that my versions are -140.jar?

heller
heller's picture

Paul,

no, that doesn't matter. Are you sure m-e-c_as2.jar is in the classpath?

Regards
Heller

paul.brydges
paul.brydges's picture

My CLASSPATH starts with mec_as2.jar:jetty/start.jar:jlib...
It includes all of the jar files in jlib, jlib/jms and jlib/mina. One thing I noticed was that all of the script files were in PC format. In order to get mec_as2_start.sh to run I had to remove all of the ^M. I have the jdk install at /usr/java/jdk1.6.0_10/. My JAVA_HOME is /usr/java/jdk1.6.0_10
Is there anything else I can check?
Thanks
Paul

paul.brydges
paul.brydges's picture

I'm getting closer. Had to move the jdk java path to the start of PATH. More later.