Mantis - Quercus
Viewing Issue Advanced Details
3250 minor always 01-14-09 01:15 04-19-09 02:29
GreenEyed  
nam  
normal  
closed 3.2.1  
fixed  
none    
none 4.0.0  
0003250: Quercus .jar published at the maven repository is not propertly packaged
If one uses the resin-quercus.jar distributed through the Caucho Maven 2 repository, many errors are displayed because there are declared classes that tried to be loaded through a ServiceLoader that are not actually there in the .jar file.

The descriptor file that list the classes that should be there is:
META-INF/services/com.caucho.quercus.QuercusClass

And the classes that are listed there but are not present are, at least:
com.caucho.quercus.lib.pdf.PDF
com.caucho.quercus.lib.dom.DOMXPath
com.caucho.quercus.lib.dom.DOMText
com.caucho.quercus.lib.dom.DOMProcessingInstruction
com.caucho.quercus.lib.dom.DOMImplementation
com.caucho.quercus.lib.dom.DOMEntityReference
com.caucho.quercus.lib.dom.DOMElement
com.caucho.quercus.lib.dom.DOMDocument
com.caucho.quercus.lib.dom.DOMComment
com.caucho.quercus.lib.dom.DOMAttr
com.caucho.quercus.lib.bam.BamModule
com.caucho.quercus.lib.ResinModule
com.caucho.quercus.lib.pdf.PDFModule
The file is downloaded from here:
http://caucho.com/m2/com/caucho/resin-quercus/3.2.1/ [^]

Notes
(0003922)
chrislewis   
03-24-09 12:43   
The same thing happens with the jar extracted from the current war at: http://quercus.caucho.com/download/quercus-3.2.1.war [^]
(0003959)
nam   
04-19-09 02:28   
Fixed for 4.0. DOM has been added to Quercus Open Source. Now, missing classes and modules that are optional will not emit warnings.