cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 2.1 + Weblogic 10 installation + JDKMessageDigest

alexwibowo
Champ in-the-making
Champ in-the-making
Hi,


I'm trying to install Alfresco 2.1 on Weblogic 10, following the exact instruction on:


http://wiki.alfresco.com/wiki/Install_Weblogic_10_WAR


It was installed OK, login page was displayed as expected. But after logging in (admin/admin), I got the following error on the JSP:

javax.faces.FacesException: Error calling action method of component with id loginForm:submit
caused by:
javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login}
caused by:
java.lang.RuntimeException: class configured for MessageDigest(provider: BC)cannot be found.
caused by:
java.security.NoSuchAlgorithmException: class configured for MessageDigest(provider: BC)cannot be found.
caused by:
java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.JDKMessageDigest$MD4


So I tried to precompile (weblogic.appc) the JSP with adding bouncy castle JARs to the classpath. But I still got the same error.

Has anyone got the same error before?



Thanks!
3 REPLIES 3

vycitalr
Champ in-the-making
Champ in-the-making
I also started to experience this problem on my Bea installation.
Have you found solution for this?

sineex
Champ in-the-making
Champ in-the-making

dwysocki
Champ in-the-making
Champ in-the-making
I'm facing to the same problem.

I've moved the library bcprov-jdk15-137.jar from \alfresco\WEB-INF\lib to the lib of the domain.

Don't forget to add the library in the PRE_CLASSPATH (\bin\setDomainEnv.cmd)

It works fine for me, now I can log in with 'admin' account.

David.