[ 
https://issues.apache.org/activemq/browse/SM-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39866
 ] 

eallais edited comment on SM-1020 at 8/7/07 7:57 AM:
---------------------------------------------------------

i found the problem,
The Apache License is borned with the followind comment <!-- -->
We need to replace them with the default xquery comment (: :)

Regards,
Erik

      was (Author: eallais):
    i found the problem,
 the Apache License is borned with the followind comment <!-- -->
We need to replace them with the default xquery comment (: :)

Regards,
Erik
  
> Problem with the saxon-xquery component and the generic query.xq file
> ---------------------------------------------------------------------
>
>                 Key: SM-1020
>                 URL: https://issues.apache.org/activemq/browse/SM-1020
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-saxon
>    Affects Versions: 3.1.1
>            Reporter: Erik Allais
>            Priority: Trivial
>
> hi,
> i compile the saxon component and deploy on servicemix-3.1.1
> here the following xbean.xml
> <beans xmlns:saxon="http://servicemix.apache.org/saxon/1.0";
>        xmlns:example="http://example.com/exampleService";>
>   <!-- START SNIPPET: xquery -->
>   <saxon:xquery service="example:xquery" endpoint="endpoint"
>                 resource="classpath:query.xq" />
>   <!-- END SNIPPET: xquery -->
>   <!-- START SNIPPET: xquery-inline -->
>   <saxon:xquery service="example:xquery-inline" endpoint="endpoint">
>     <!-- CDATA are not supported currently -->
>     <saxon:query>
>       for $x in /bookstore/book
>       where $x/price > 30
>       return $x/title
>     </saxon:query>
>     <saxon:outputProperties>
>       <saxon:property 
> key="{http://saxon.sf.net/}wrap-result-sequence";>yes</saxon:property>
>     </saxon:outputProperties>
>   </saxon:xquery>
>   <!-- END SNIPPET: xquery-inline -->
>  
>   <!-- START SNIPPET: xquery-dynamic -->
>   <saxon:xquery service="example:xquery-dynamic" endpoint="endpoint">
>     <saxon:expression>
>       <bean class="org.apache.servicemix.expression.PropertyExpression">
>         <property name="property" value="xquery.source" />
>       </bean>
>     </saxon:expression>
>   </saxon:xquery>
>   <!-- END SNIPPET: xquery-dynamic -->
> </beans>
> i dont touch the query.xq (the problem seems to come from this file)
> My error is :
> Error on line 18 column 8
>   XPST0003: XQuery syntax error in #...er the License. --> <titles> {#:
>     Unexpected token ">" beyond end of query
> [Fatal Error] :14:47: The element type "titles" must be terminated by the 
> matching end-tag "</titles>".
> WARN  - ServiceAssemblyLifeCycle       - Could not parse result exception
> org.xml.sax.SAXParseException: The element type "titles" must be terminated 
> by the matching end-tag "</titles>".
>         at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>         at 
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.parse(ServiceAssemblyLifeCycle.java:421)
>         at 
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.getComponentFailure(ServiceAssemblyLifeCycle.java:402)
>         at 
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:132)
>         at 
> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:337)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> INFO  - ServiceUnitLifeCycle           - Starting service unit: mc-jsr181-su
> INFO  - ServiceUnitLifeCycle           - Starting service unit: mc-http-su
> INFO  - DeploymentService              - Error in start
> java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?>
> <jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message"; 
> version="1.0">
> <jbi-task-result>
> <frmwk-task-result>
> <frmwk-task-result-details>
> <task-result-details>
> <task-id>start</task-id>
> <task-result>FAILED</task-result>
> <message-type>ERROR</message-type>
> </task-result-details>
> </frmwk-task-result-details>
> </frmwk-task-result>
> <component-task-result>
> <component-name>servicemix-saxon</component-name>
> <component-task-result-details>
> <task-result-details>
> <task-id>start</task-id>
> <task-result>FAILED</task-result>
> <message-type>ERROR</message-type>
> <task-status-msg>
> <msg-loc-info>
> <loc-token/>
> <loc-message>Unable to parse result string</loc-message>
> </msg-loc-info>
> </task-status-msg>
> <exception-info>
> <nesting-level>1</nesting-level>
> <loc-token/>
> <loc-message><component-task-result 
> xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
>         <component-name>servicemix-saxon</component-name>
>         <component-task-result-details>
>                 <task-result-details>
>                         <task-id>start</task-id>
>                         <task-result>FAILED</task-result>
>                         <message-type>ERROR</message-type>
>                         
> <task-status-msg><msg-loc-info><loc-token/><loc-message>Unable to start 
> service unit</loc-message></msg-loc-info></task-status-msg>
>                         <exception-info>
>                                 <nesting-level>1</nesting-level>
>                                 <msg-loc-info>
>                                         <loc-token />
>                                         <loc-message>XQuery syntax error in 
> #...er the License. --> <titles> {#:
>     Unexpected token ">" beyond end of query</loc-message>
>                                         <stack-trace><![CDATA[; Line#: 18; 
> Column#: 8
> net.sf.saxon.trans.StaticError: XQuery syntax error in #...er the License. 
> --> <titles> {#:
>     Unexpected token ">" beyond end of query
>         at net.sf.saxon.query.QueryParser.grumble(QueryParser.java:317)
>         at 
> net.sf.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:103)
>         at net.sf.saxon.query.QueryParser.parseQuery(QueryParser.java:252)
>         at 
> net.sf.saxon.query.QueryParser.makeXQueryExpression(QueryParser.java:101)
>         at 
> net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:472)
>         at 
> net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:530)
>         at 
> org.apache.servicemix.saxon.XQueryEndpoint.start(XQueryEndpoint.java:103)
>         at 
> org.apache.servicemix.common.endpoints.SimpleEndpoint.activate(SimpleEndpoint.java:55)
>         at 
> org.apache.servicemix.saxon.SaxonEndpoint.activate(SaxonEndpoint.java:205)
>         at org.apache.servicemix.common.ServiceUnit.start(ServiceUnit.java:55)
>         at 
> org.apache.servicemix.common.BaseServiceUnitManager.start(BaseServiceUnitManager.java:151)
>         at 
> org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:103)
>         at 
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:130)
>         at 
> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:337)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> ]]></stack-trace>
>                                 </msg-loc-info>
>                         </exception-info>
>                 </task-result-details>
>         </component-task-result-details>
> </component-task-result></loc-message>
> <stack-trace><![CDATA[javax.jbi.management.DeploymentException: 
> <component-task-result 
> xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
>         <component-name>servicemix-saxon</component-name>
>         <component-task-result-details>
>                 <task-result-details>
>                         <task-id>start</task-id>
>                         <task-result>FAILED</task-result>
>                         <message-type>ERROR</message-type>
>                         
> <task-status-msg><msg-loc-info><loc-token/><loc-message>Unable to start 
> service unit</loc-message></msg-loc-info></task-status-msg>
>                         <exception-info>
>                                 <nesting-level>1</nesting-level>
>                                 <msg-loc-info>
>                                         <loc-token />
>                                         <loc-message>XQuery syntax error in 
> #...er the License. --> <titles> {#:
>     Unexpected token ">" beyond end of query</loc-message>
>                                         <stack-trace><![CDATA[; Line#: 18; 
> Column#: 8
> net.sf.saxon.trans.StaticError: XQuery syntax error in #...er the License. 
> --> <titles> {#:
>     Unexpected token ">" beyond end of query
>         at net.sf.saxon.query.QueryParser.grumble(QueryParser.java:317)
>         at 
> net.sf.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:103)
>         at net.sf.saxon.query.QueryParser.parseQuery(QueryParser.java:252)
>         at 
> net.sf.saxon.query.QueryParser.makeXQueryExpression(QueryParser.java:101)
>         at 
> net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:472)
>         at 
> net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:530)
>         at 
> org.apache.servicemix.saxon.XQueryEndpoint.start(XQueryEndpoint.java:103)
>         at 
> org.apache.servicemix.common.endpoints.SimpleEndpoint.activate(SimpleEndpoint.java:55)
>         at 
> org.apache.servicemix.saxon.SaxonEndpoint.activate(SaxonEndpoint.java:205)
>         at org.apache.servicemix.common.ServiceUnit.start(ServiceUnit.java:55)
>         at 
> org.apache.servicemix.common.BaseServiceUnitManager.start(BaseServiceUnitManager.java:151)
>         at 
> org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:103)
>         at 
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:130)
>         at 
> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:337)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> ]]]]><![CDATA[></stack-trace>
>                                 </msg-loc-info>
>                         </exception-info>
>                 </task-result-details>
>         </component-task-result-details>
> </component-task-result>
>         at 
> org.apache.servicemix.common.BaseServiceUnitManager.failure(BaseServiceUnitManager.java:283)
>         at 
> org.apache.servicemix.common.BaseServiceUnitManager.start(BaseServiceUnitManager.java:158)
>         at 
> org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:103)
>         at 
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:130)
>         at 
> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:337)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> ]]></stack-trace>
> </exception-info>
> </task-result-details>
> </component-task-result-details>
> </component-task-result>
> </jbi-task-result>
> </jbi-task>
>         at 
> org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:121)
>         at 
> org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:107)
>         at 
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:144)
>         at 
> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:337)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> ERROR - AutoDeploymentService          - Failed to update Service Assembly: 
> mc-sa
> java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?>
> <jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message"; 
> version="1.0">
> <jbi-task-result>
> <frmwk-task-result>
> <frmwk-task-result-details>
> <task-result-details>
> <task-id>start</task-id>
> <task-result>FAILED</task-result>
> <message-type>ERROR</message-type>
> </task-result-details>
> </frmwk-task-result-details>
> </frmwk-task-result>
> <component-task-result>
> <component-name>servicemix-saxon</component-name>
> <component-task-result-details>
> <task-result-details>
> <task-id>start</task-id>
> <task-result>FAILED</task-result>
> <message-type>ERROR</message-type>
> <task-status-msg>
> <msg-loc-info>
> <loc-token/>
> <loc-message>Unable to parse result string</loc-message>
> </msg-loc-info>
> </task-status-msg>
> <exception-info>
> <nesting-level>1</nesting-level>
> <loc-token/>
> <loc-message><component-task-result 
> xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
>         <component-name>servicemix-saxon</component-name>
>         <component-task-result-details>
>                 <task-result-details>
>                         <task-id>start</task-id>
>                         <task-result>FAILED</task-result>
>                         <message-type>ERROR</message-type>
>                         
> <task-status-msg><msg-loc-info><loc-token/><loc-message>Unable to start 
> service unit</loc-message></msg-loc-info></task-status-msg>
>                         <exception-info>
>                                 <nesting-level>1</nesting-level>
>                                 <msg-loc-info>
>                                         <loc-token />
>                                         <loc-message>XQuery syntax error in 
> #...er the License. --> <titles> {#:
>     Unexpected token ">" beyond end of query</loc-message>
>                                         <stack-trace><![CDATA[; Line#: 18; 
> Column#: 8
> net.sf.saxon.trans.StaticError: XQuery syntax error in #...er the License. 
> --> <titles> {#:
>     Unexpected token ">" beyond end of query
>         at net.sf.saxon.query.QueryParser.grumble(QueryParser.java:317)
>         at 
> net.sf.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:103)
>         at net.sf.saxon.query.QueryParser.parseQuery(QueryParser.java:252)
>         at 
> net.sf.saxon.query.QueryParser.makeXQueryExpression(QueryParser.java:101)
>         at 
> net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:472)
>         at 
> net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:530)
>         at 
> org.apache.servicemix.saxon.XQueryEndpoint.start(XQueryEndpoint.java:103)
>         at 
> org.apache.servicemix.common.endpoints.SimpleEndpoint.activate(SimpleEndpoint.java:55)
>         at 
> org.apache.servicemix.saxon.SaxonEndpoint.activate(SaxonEndpoint.java:205)
>         at org.apache.servicemix.common.ServiceUnit.start(ServiceUnit.java:55)
>         at 
> org.apache.servicemix.common.BaseServiceUnitManager.start(BaseServiceUnitManager.java:151)
>         at 
> org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:103)
>         at 
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:130)
>         at 
> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:337)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> ]]></stack-trace>
>                                 </msg-loc-info>
>                         </exception-info>
>                 </task-result-details>
>         </component-task-result-details>
> </component-task-result></loc-message>
> <stack-trace><![CDATA[javax.jbi.management.DeploymentException: 
> <component-task-result 
> xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
>         <component-name>servicemix-saxon</component-name>
>         <component-task-result-details>
>                 <task-result-details>
>                         <task-id>start</task-id>
>                         <task-result>FAILED</task-result>
>                         <message-type>ERROR</message-type>
>                         
> <task-status-msg><msg-loc-info><loc-token/><loc-message>Unable to start 
> service unit</loc-message></msg-loc-info></task-status-msg>
>                         <exception-info>
>                                 <nesting-level>1</nesting-level>
>                                 <msg-loc-info>
>                                         <loc-token />
>                                         <loc-message>XQuery syntax error in 
> #...er the License. --> <titles> {#:
>     Unexpected token ">" beyond end of query</loc-message>
>                                         <stack-trace><![CDATA[; Line#: 18; 
> Column#: 8
> net.sf.saxon.trans.StaticError: XQuery syntax error in #...er the License. 
> --> <titles> {#:
>     Unexpected token ">" beyond end of query
>         at net.sf.saxon.query.QueryParser.grumble(QueryParser.java:317)
>         at 
> net.sf.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:103)
>         at net.sf.saxon.query.QueryParser.parseQuery(QueryParser.java:252)
>         at 
> net.sf.saxon.query.QueryParser.makeXQueryExpression(QueryParser.java:101)
>         at 
> net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:472)
>         at 
> net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:530)
>         at 
> org.apache.servicemix.saxon.XQueryEndpoint.start(XQueryEndpoint.java:103)
>         at 
> org.apache.servicemix.common.endpoints.SimpleEndpoint.activate(SimpleEndpoint.java:55)
>         at 
> org.apache.servicemix.saxon.SaxonEndpoint.activate(SaxonEndpoint.java:205)
>         at org.apache.servicemix.common.ServiceUnit.start(ServiceUnit.java:55)
>         at 
> org.apache.servicemix.common.BaseServiceUnitManager.start(BaseServiceUnitManager.java:151)
>         at 
> org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:103)
>         at 
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:130)
>         at 
> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:337)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> ]]]]><![CDATA[></stack-trace>
>                                 </msg-loc-info>
>                         </exception-info>
>                 </task-result-details>
>         </component-task-result-details>
> </component-task-result>
>         at 
> org.apache.servicemix.common.BaseServiceUnitManager.failure(BaseServiceUnitManager.java:283)
>         at 
> org.apache.servicemix.common.BaseServiceUnitManager.start(BaseServiceUnitManager.java:158)
>         at 
> org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:103)
>         at 
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:130)
>         at 
> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:337)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> ]]></stack-trace>
> </exception-info>
> </task-result-details>
> </component-task-result-details>
> </component-task-result>
> </jbi-task-result>
> </jbi-task>
>         at 
> org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:121)
>         at 
> org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:107)
>         at 
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:144)
>         at 
> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:337)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> WARN  - AutoDeploymentService          - Directory: deploy: Automatic install 
> of 
> /home/servicemix/apache-servicemix-3.1.1-incubating/deploy/mc-sa-1.0-SNAPSHOT.jar
>  failed
> javax.jbi.management.DeploymentException: Failed to update Service Assembly: 
> mc-sa
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:349)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> Caused by: java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?>
> <jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message"; 
> version="1.0">
> <jbi-task-result>
> <frmwk-task-result>
> <frmwk-task-result-details>
> <task-result-details>
> <task-id>start</task-id>
> <task-result>FAILED</task-result>
> <message-type>ERROR</message-type>
> </task-result-details>
> </frmwk-task-result-details>
> </frmwk-task-result>
> <component-task-result>
> <component-name>servicemix-saxon</component-name>
> <component-task-result-details>
> <task-result-details>
> <task-id>start</task-id>
> <task-result>FAILED</task-result>
> <message-type>ERROR</message-type>
> <task-status-msg>
> <msg-loc-info>
> <loc-token/>
> <loc-message>Unable to parse result string</loc-message>
> </msg-loc-info>
> </task-status-msg>
> <exception-info>
> <nesting-level>1</nesting-level>
> <loc-token/>
> <loc-message><component-task-result 
> xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
>         <component-name>servicemix-saxon</component-name>
>         <component-task-result-details>
>                 <task-result-details>
>                         <task-id>start</task-id>
>                         <task-result>FAILED</task-result>
>                         <message-type>ERROR</message-type>
>                         
> <task-status-msg><msg-loc-info><loc-token/><loc-message>Unable to start 
> service unit</loc-message></msg-loc-info></task-status-msg>
>                         <exception-info>
>                                 <nesting-level>1</nesting-level>
>                                 <msg-loc-info>
>                                         <loc-token />
>                                         <loc-message>XQuery syntax error in 
> #...er the License. --> <titles> {#:
>     Unexpected token ">" beyond end of query</loc-message>
>                                         <stack-trace><![CDATA[; Line#: 18; 
> Column#: 8
> net.sf.saxon.trans.StaticError: XQuery syntax error in #...er the License. 
> --> <titles> {#:
>     Unexpected token ">" beyond end of query
>         at net.sf.saxon.query.QueryParser.grumble(QueryParser.java:317)
>         at 
> net.sf.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:103)
>         at net.sf.saxon.query.QueryParser.parseQuery(QueryParser.java:252)
>         at 
> net.sf.saxon.query.QueryParser.makeXQueryExpression(QueryParser.java:101)
>         at 
> net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:472)
>         at 
> net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:530)
>         at 
> org.apache.servicemix.saxon.XQueryEndpoint.start(XQueryEndpoint.java:103)
>         at 
> org.apache.servicemix.common.endpoints.SimpleEndpoint.activate(SimpleEndpoint.java:55)
>         at 
> org.apache.servicemix.saxon.SaxonEndpoint.activate(SaxonEndpoint.java:205)
>         at org.apache.servicemix.common.ServiceUnit.start(ServiceUnit.java:55)
>         at 
> org.apache.servicemix.common.BaseServiceUnitManager.start(BaseServiceUnitManager.java:151)
>         at 
> org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:103)
>         at 
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:130)
>         at 
> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:337)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> ]]></stack-trace>
>                                 </msg-loc-info>
>                         </exception-info>
>                 </task-result-details>
>         </component-task-result-details>
> </component-task-result></loc-message>
> <stack-trace><![CDATA[javax.jbi.management.DeploymentException: 
> <component-task-result 
> xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
>         <component-name>servicemix-saxon</component-name>
>         <component-task-result-details>
>                 <task-result-details>
>                         <task-id>start</task-id>
>                         <task-result>FAILED</task-result>
>                         <message-type>ERROR</message-type>
>                         
> <task-status-msg><msg-loc-info><loc-token/><loc-message>Unable to start 
> service unit</loc-message></msg-loc-info></task-status-msg>
>                         <exception-info>
>                                 <nesting-level>1</nesting-level>
>                                 <msg-loc-info>
>                                         <loc-token />
>                                         <loc-message>XQuery syntax error in 
> #...er the License. --> <titles> {#:
>     Unexpected token ">" beyond end of query</loc-message>
>                                         <stack-trace><![CDATA[; Line#: 18; 
> Column#: 8
> net.sf.saxon.trans.StaticError: XQuery syntax error in #...er the License. 
> --> <titles> {#:
>     Unexpected token ">" beyond end of query
>         at net.sf.saxon.query.QueryParser.grumble(QueryParser.java:317)
>         at 
> net.sf.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:103)
>         at net.sf.saxon.query.QueryParser.parseQuery(QueryParser.java:252)
>         at 
> net.sf.saxon.query.QueryParser.makeXQueryExpression(QueryParser.java:101)
>         at 
> net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:472)
>         at 
> net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:530)
>         at 
> org.apache.servicemix.saxon.XQueryEndpoint.start(XQueryEndpoint.java:103)
>         at 
> org.apache.servicemix.common.endpoints.SimpleEndpoint.activate(SimpleEndpoint.java:55)
>         at 
> org.apache.servicemix.saxon.SaxonEndpoint.activate(SaxonEndpoint.java:205)
>         at org.apache.servicemix.common.ServiceUnit.start(ServiceUnit.java:55)
>         at 
> org.apache.servicemix.common.BaseServiceUnitManager.start(BaseServiceUnitManager.java:151)
>         at 
> org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:103)
>         at 
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:130)
>         at 
> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:337)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> ]]]]><![CDATA[></stack-trace>
>                                 </msg-loc-info>
>                         </exception-info>
>                 </task-result-details>
>         </component-task-result-details>
> </component-task-result>
>         at 
> org.apache.servicemix.common.BaseServiceUnitManager.failure(BaseServiceUnitManager.java:283)
>         at 
> org.apache.servicemix.common.BaseServiceUnitManager.start(BaseServiceUnitManager.java:158)
>         at 
> org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:103)
>         at 
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:130)
>         at 
> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:337)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> ]]></stack-trace>
> </exception-info>
> </task-result-details>
> </component-task-result-details>
> </component-task-result>
> </jbi-task-result>
> </jbi-task>
>         at 
> org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:121)
>         at 
> org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:107)
>         at 
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:144)
>         at 
> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:337)
>         ... 5 more
> Regards,
> Erik

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to