Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JSP Interest »

More on endorsed.dirs error on executing Tomcat

Martin Gainty

2003-09-01


Folks:

Digging thru numerous archives I discovered that Starting Tomcat if you get an error that states
error with java.endorsed.dirs

Uninstall the SDK and the JRE
Reinstall the JRE
SDK (donot install JRE..this option doesnt work)

set JAVA_HOME=BaseDirectoryWhereJREandSDKIsInstalled

ALSO
Windows CLASSPATH is limited to 256 characters so you may want to break up your jars this way
SET SERVLET_PATH=AllOfTheServletJarsAreSpecifiedHere

Then later to save some space
SET CLASSPATH=%SERVLET_PATH%;%AXISCLASSPATH%;tools.jar...

then Tomcat will start

Thought I would share..

-Martin

===========================================================================
To unsubscribe: mailto listserv@(protected)".
For digest: mailto listserv@(protected)".

Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com


©2008 junlu.com - Jax Systems, LLC, U.S.A.