留言板

Beginners problem installing on OSX

Stefan Sievert,修改在14 年前。

Beginners problem installing on OSX

New Member 发布: 1 加入日期: 10-4-21 最近的帖子
Hello,
I am completely new to this forum and Liferay in general. I am currently evaluating Liferay Portal 5.2.3 and am running into the following issue:

I followed the installation instructions to the letter, but I am getting various exceptions during startup.
The first 50 modules load fine; on 51 I get:

Module 51/68 org.apache.geronimo.plugins/console-tomcat/2.1.3/car                 17:52:09,739 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.plugins/console-tomcat/2.1.3/car?J2EEApplication=org.apache.geronimo.plugins/console-tomcat/2.1.3/car,j2eeType=JACCManager,name=JACCManager"
java.lang.ExceptionInInitializerError
	at org.apache.geronimo.security.jacc.ApplicationPolicyConfigurationManager.<init>(ApplicationPolicyConfigurationManager.java:109)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
[...snip...]
Caused by: java.security.ProviderException: No such algorithm: HmacSHA1.  This can be caused by a misconfigured java.ext.dirs, JAVA_HOME or JRE_HOME environment variable.
	at org.apache.geronimo.security.ContextManager.setAlgorithm(ContextManager.java:342)
	at org.apache.geronimo.security.ContextManager.<clinit>(ContextManager.java:65)
	... 38 more

</clinit></init>


followed by


17:52:09,745 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.plugins/console-tomcat/2.1.3/car?J2EEApplication=org.apache.geronimo.plugins/console-tomcat/2.1.3/car,j2eeType=JACCManager,name=JACCManager"
java.lang.NoClassDefFoundError
	at org.apache.geronimo.security.jacc.ApplicationPolicyConfigurationManager.<init>(ApplicationPolicyConfigurationManager.java:109)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948)
</init>


Here's the output of uname -a:

Darwin asterix 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386



and the output of java -version:

java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03-333-9M3125)
Java HotSpot(TM) Client VM (build 1.5.0_22-147, mixed mode, sharing)


Am I overlooking the obvious? Any hints would be greatly appreciated, including RTFM pointers... emoticon
Thanks in advance!!
thumbnail
Bijan Vakili,修改在13 年前。

RE: Beginners problem installing on OSX

Junior Member 帖子: 38 加入日期: 10-4-5 最近的帖子
Stefan,

>> Caused by: java.security.ProviderException: No such algorithm: HmacSHA1. This can be caused by a misconfigured java.ext.dirs, JAVA_HOME or JRE_HOME environment variable.

Run the following command on the Terminal and upload the resultant file here so we can see the environment variables:

env | sort > ~/Desktop/myenv.txt

What version of OSX?

Thanks.