Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4573 | major | always | 05-25-11 05:06 | 06-20-11 14:37 | |
|
|||||
Reporter: | cyttesen | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.18 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.20 | ||
|
|||||
Summary: | 0004573: Unable to use JSF libraries from WEB-INF/lib - ClassNotFoundException: com.sun.faces.spi.DiscoverableInjectionProvider | ||||
Description: |
I want to use the JSF libraries provided as part of the webapp itself and not use the JSF libraries delivered as part of Resin (resin/lib/jsf*.jar). I've tried to remove the jsf*.jar from resin/lib but my application then fails with: java.lang.ClassNotFoundException: com.sun.faces.spi.DiscoverableInjectionProvider The log lines after adding the code from http://wiki.caucho.com/ClassLoader [^] is attached to this report. Why does Resin give me the ClassNotFound exception when looking at the log: ... 'EnvironmentClassLoader[web-app:production/webapp/default/ROOT]' ... ...businessconfiguration\WebContent\WEB-INF\lib\jsf-api.jar ...businessconfiguration\WebContent\WEB-INF\lib\jsf-impl.jar ... is displayed just prior to throwing the exception. Copying the JSF libraries from my webapp to resin/lib it works fine - but that is not an option as I have web applications using different JSF versions. Regards, Christian |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
resin.log [^] (35,265 bytes) 05-25-11 05:06 resin.xml [^] (1,645 bytes) 05-25-11 05:30 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|