geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <>
Subject Re: Server startup fails with Sun JDK 1.5, xalan missing
Date Fri, 17 Nov 2006 14:41:23 GMT

On Nov 17, 2006, at 9:22 AM, anita kulshreshtha wrote:

>    I have been running server using java -jar bin\server.jar on both
> 1.4 and 1.5. The server was built using 1.5:
> ...
>   The console works fine. I hope this info is useful..

You'll only get this error if you use or explicitly  
set endorsed dirs to lib/endorsed when invoking java.

IMO, 'java -jar server.jar' is not really the recommended way of  
starting Geronimo. currently launches Geronimo as follows:

     -Dorg.apache.geronimo.base.dir="$GERONIMO_BASE" \
endorsed" \
     -Djava.ext.dirs="$JRE_HOME/lib/ext:$GERONIMO_BASE/lib/ext" \"$GERONIMO_TMPDIR" \
     -jar "$GERONIMO_HOME"/bin/server.jar $LONG_OPT "$@"

IMO, this issue highlights the fact that we should be using (or specifying equivalent java options) when running  
geronimo tests...


View raw message