I ran into a funky problem using the shale-tiger library with embedded OC4J  
10.1.3.1.1.  The class loader doesn't like paths that start with the forward 
slash.  It took me some work to find the problem since the container eats the 
exception raised in the servlet context listener.  The first exception is 
raised when trying to scan the web classes "/WEB-INF/lib/".  I found a 
workaround by specifying the package(s) to scan using the context param in the 
web.xml.

    <context-param>
      <param-name>org.apache.shale.tiger.SCAN_PACKAGES</param-name>
      <param-value>us/co/cde/ccat/view/backing</param-value>
    </context-param>


Notice that my package doesn't start with a forward slash.  For some reason the 
starting forward slash throws off the class loader?  Is this an older spec 
thing or just a bug?


Oh well, thankfully I found a simple workaround and the tiger library coupled 
with the view library seems to work with the ADF Faces Components.  Although 
I've found them inferior to Trinidad ;-)


Gary

Reply via email to