On Oct 27, 2006, at 2:50 PM, Jay D. McHugh wrote:

Hello all.

I just finished rebuilding a fresh checkout of trunk and built it starting with a blank m2 repo.

When I try to start the server, I get the following error (both on tomcat and jetty):
Using GERONIMO_BASE:   /opt/geronimo-jetty-j2ee-1.2-SNAPSHOT
Using GERONIMO_HOME:   /opt/geronimo-jetty-j2ee-1.2-SNAPSHOT
Using GERONIMO_TMPDIR: /opt/geronimo-jetty-j2ee-1.2-SNAPSHOT/var/temp
Using JRE_HOME:        /opt/jdk1.5.0_06
Using GERONIMO_OUT: /opt/geronimo-jetty-j2ee-1.2-SNAPSHOT/var/ log/geronimo.out
...

Jay,
My problem is caused by my setting of JAVA_HOME/JRE_HOME. In my case, $JRE_HOME/lib/ext was not a valid directory. Once I set JAVA_HOME/ JRE_HOME correctly, Geronimo starts fine.

Either 1) your JAVA_HOME/JRE_HOME is incorrect, or 2) the layout of your JRE is not matching the expectations of geronimo.sh. Can you let us know if you're setting JAVA_HOME or JRE_HOME and the contents of either $JRE_HOME/lib/ext or $JAVA_HOME/jre/iib/ext or $JAVA_HOME/lib/ ext (I think those are the possible permutations).

The reason why the exception is occurring is that an implementation of HmacSHA1 can not be loaded. The failure to load HmacSHA1 is the root cause of the problem. You aren't seeing this because an exception is being caught. The exception processing is calling assert. However, assertions are not enabled. We should consider adding -enableassertions to geronimo.sh. If you "export JAVA_OPTS=- enableassertions" before running geronimo.sh, you should see the actual problem...

--kevan

Reply via email to