Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004676 [Resin] minor always 07-21-11 03:12 07-22-11 16:52
Reporter cyttesen View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0004676: Reopening 0004573: Unable to use JSF libraries from WEB-INF/lib - ClassNotFoundException: com.sun.faces.spi.DiscoverableInjectio
Description I cannot get Resin 4.0.20 working with my own JSF library.

Resin lib:
activation.jar
activation.LICENSE
eclipselink.jar
javaee-16.jar
javamail-14.LICENSE
javamail-141.jar
jsf-api.jar
jsf-impl.jar
jsf.LICENSE
pro.jar
resin.jar
validation-api-1.0.0.GA.jar
webservices-api.jar
webservices-extra-api.jar
webservices.LICENSE
webutil.jar

WAR - WEB-INF/lib:
commons-beanutils-1.8.0.jar
commons-collections-3.2.1.jar
commons-digester-1.8.jar
commons-logging-1.1.1.jar
delegator.jar
imsasclient.jar
IMSBusinessComponentsClient.jar
jbossall-client.jar
jsf-api.jar
jsf-facelets.jar
jsf-impl.jar
log4j.jar
MdcBusinessClient.jar
richfaces-api-3.3.3.Final.jar
richfaces-impl-jsf2-3.3.3.Final.jar
richfaces-ui-3.3.3.Final.jar

Scenario 1:
===========
Copying war archive to resin/webapps
Starting resin.

See log output resin_1.log
([11-07-21 11:27:06.105] {http://*:8080-1} [^] javax.servlet.ServletException: Illegal attempt to set ViewHandler after a response has been rendered.)


Scenario 2:
===========
Stopping resin
Removing resin lib jsf*.jar
Removing expanded war directory from webapps
Starting resin

See log output resin_2.log
([11-07-21 11:30:22.489] {main} java.lang.ClassNotFoundException: com.sun.faces.spi.DiscoverableInjectionProvider)


Scenario 3:
===========
Keeping expanded webapps/war-directory
Inserting in resin.xml <server-default>:
  <jvm-classpath>D:/download/resin-pro-4.0.20/webapps/mdc/WEB-INF/lib/jsf-api.jar</jvm-classpath>
  <jvm-classpath>D:/download/resin-pro-4.0.20/webapps/mdc/WEB-INF/lib/jsf-impl.jar</jvm-classpath>
Starting resin.

Application now runs fine.

Regards
Christian
Additional Information
Attached Files  resin_logs.zip [^] (8,822 bytes) 07-21-11 03:12

- Relationships

- Notes
(0005395)
ferg
07-22-11 16:52

META-INF/services/com.sun.faces.spi.injectionprovider also needs aliasing in WebApp
 

- Issue History
Date Modified Username Field Change
07-21-11 03:12 cyttesen New Issue
07-21-11 03:12 cyttesen File Added: resin_logs.zip
07-21-11 03:13 cyttesen Issue Monitored: cyttesen
07-22-11 16:52 ferg Note Added: 0005395
07-22-11 16:52 ferg Assigned To  => ferg
07-22-11 16:52 ferg Status new => closed
07-22-11 16:52 ferg Resolution open => fixed
07-22-11 16:52 ferg Fixed in Version  => 4.0.21


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker