tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57823] Server hangs if there is a colon on the start of the class path
Date Mon, 27 Apr 2015 18:47:48 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=57823

--- Comment #3 from Christopher Schultz <chris@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message