https://bz.apache.org/bugzilla/show_bug.cgi?id=57823

--- Comment #3 from Christopher Schultz <ch...@christopherschultz.net> ---
(In reply to gregh from comment #2)
> This was the entry in the /etc/rc.d/init.d script that I have used for many
> years, 5,6,7.  This only happens in 8.
> 
> CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/bootstrap.jar
> 
> ie the CLASSPATH value in /etc/profile.d had been commented out.
> 
> Still, I think it should have some sanity check that it does not scan the
> root folder.

Your script can easily check to see if $CLASSPATH is empty and then ignore it.
Tomcat doesn't do any scanning of the CLASSPATH itself (meaning, no textual
scanning of the actual string representing the system classpath) and so there's
not really any appropriate place to do this checking, other than adding some
new sanity check for this.

I agree with Mark's reticence to add a check for this; there are an infinite
number of insane CLASSPATH entries, and we can't check for all of them.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to