You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Pike <pi...@kw.nl> on 2003/08/28 00:49:03 UTC

Class Loader skips WEB-INF/lib and shared/lib ?

Hi

when starting tomcat 5.0.9 on MacOSX,
one of my contexts has trouble reading files
from WEB-INF/classes and WEB-INF/lib

what strikes me most is the localhost_xxx.log (boy i hate
those datestamps in the filename :-) which tries to show
the ClassLoader delegation (I think)

it doesnt seem to find files in WEB-INF/classes
and it doesnt even look in /WEB-INF/lib or $CHOME/shared/lib ?

does this sound familiar to anyone ?

================= [log snippet]

	2003-08-28 00:36:55 Marking servlet xwebdav as unavailable
	2003-08-28 00:36:55 Error loading WebappClassLoader
	  delegate: false
	  repositories:
	    /WEB-INF/classes/
	----------> Parent Classloader:
	StandardClassLoader
	  delegate: true
	  repositories:
	    file:/usr/local/jakarta-tomcat-5/shared/classes/
	----------> Parent Classloader:
	StandardClassLoader
	  delegate: true
	  repositories:
	    file:/usr/local/jakarta-tomcat-5/common/classes/
	    file:/usr/local/jakarta-tomcat-5/common/endorsed/xercesImpl.jar
[snip]	
	    file:/usr/local/jakarta-tomcat-5/common/lib/servlet-api.jar
	----------> Parent Classloader:
	sun.misc.Launcher$AppClassLoader@7172ea


	 nl.v2.apache.WebdavServlet
	java.lang.ClassNotFoundException: nl.v2.apache.WebdavServlet
[etc]

===========


thanks,
*-pike