History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: APF-658
Type: Task Task
Status: Open Open
Priority: Major Major
Assignee: Matt Raible
Reporter: Matt Raible
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

Document how to make Resin 3.x aware of Spring 2.0 when using Cargo

Created: 21/Feb/07 10:20 PM   Updated: 09/Oct/07 11:43 AM
Component/s: Build, Test, or Deploy Process, Documentation
Affects Version/s: 2.0-M3
Fix Version/s: 2.1

File Attachments: 1. Text File pom.xml.patch (0.7 kb)
2. Text File resin.patch (2 kb)



 Description  « Hide
Add the following to the <container> element in the cargo plugin:

<!-- Make Resin aware of Spring 2.0 XSDs -->
<systemProperties>
    <javax.xml.parsers.DocumentBuilderFactory>
        org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
    </javax.xml.parsers.DocumentBuilderFactory>
    <javax.xml.parsers.SAXParserFactory>
        org.apache.xerces.jaxp.SAXParserFactoryImpl
     </javax.xml.parsers.SAXParserFactory>
</systemProperties>

 All   Comments   Change History   FishEye      Sort Order:
Matt Raible - 21/Feb/07 10:56 PM
Attached patch for adding Resin profile when other Resin/Cargo/Spring issues are fixed.

Matt Raible - 14/Aug/07 12:39 AM
Adding the <systemProperties> no longer seems to work. It results in the following error using 3.0.21 and 3.0.22 on OS X with JDK 5.

[INFO] [talledLocalContainer] [22:37:41.453] javax.servlet.ServletException: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated: java.lang.NullPointerException
[INFO] [talledLocalContainer] [22:37:41.453] at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:164)


Matt Raible - 14/Aug/07 12:40 AM
Attached latest attempt at fixing Cargo, Spring 2.0 and Resin.

Matt Raible - 14/Aug/07 12:40 AM
Moved to future release since there's not much demand for Resin support and it seems mostly to be a problem with 1) Resin not supporting Spring 2.0 out-of-the-box and 2) Cargo not staying up-to-date on Resin releases.