[
https://issues.apache.org/jira/browse/CAMEL-5798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502739#comment-13502739
]
Bengt Rodehav commented on CAMEL-5798:
--------------------------------------
Christian,
I think you're on to something here although I can't seem to get it to work.
I tried to modify a pure Karaf 2.3.0 as folllows:
* I added the two lines you mentioned to system.properties. It causes Karaf to
hang on startup (without a message).
* I then noted that the org.apache.xerces and org.apache.xalan packages are
exported by bundle 0 in Servicemix. Therefore, I copied the
org.osgi.framework.bootdelegation property in custom.properties to the
custom.properties in Karaf. Karaf still hangs on startup...
Nevertheless, it is clear that Servicemix is configured (in many different
ways) to make the xml resolving work. Also camel-saxon assumes that this works
but then does not work on a plain Karaf 2.3.0.
Perhaps someone knowledgeable about the details of Servicemix configuration can
look at this. I think there are a couple of possibilities:
* Find out exactly what configuration options are needed to get camel-saxon
work on plain Karaf. Then either
** Change Karaf standard configuration (not a good idea I think)
** Document (in Camel) what must be done to make camel-saxon work on plain
Karaf.
* Upgrade the Saxon version to the one I use (or later) that can work if the
*org.apache.servicemix.bundles.xmlresolver* is installed first. Then add this
bundle to the camel-saxon feature.
I very much prefer the last option. Perhaps it could be part of the next Camel
version (2.10.3)?
> camel-saxon does not work on pure Karaf 2.3.0
> ---------------------------------------------
>
> Key: CAMEL-5798
> URL: https://issues.apache.org/jira/browse/CAMEL-5798
> Project: Camel
> Issue Type: Bug
> Components: camel-saxon
> Affects Versions: 2.10.2
> Reporter: Bengt Rodehav
> Attachments: saxon-problem.zip
>
>
> This has been discussed on the mailing list:
> http://camel.465427.n5.nabble.com/Saxon-and-saxon9he-td5722663.html
> It seems like the camel-saxon feature only has been tested on Servicemix and
> not on a pure Karaf installation. Servicemix comes with a pre-installed
> XmlResolver while Karaf doesn't and it seems like camel-saxon requires an
> XmlResolver. It should therefore be added to the camel-saxon feature.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira