[
https://issues.apache.org/activemq/browse/SM-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48453#action_48453
]
Freeman Fang commented on SM-1711:
----------------------------------
Hi Andrea,
Follow the step you mentioned here, but still get exception when deploy your SA,
The exception complain
javax.jbi.JBIException: Must be configured with either the 'compiledScript' or
'engine' property
The whole log is :
INFO - AutoDeploymentService - Directory: hotdeploy: Archive changed:
processing WSTestCXF_v_0-sa.zip ...
Jan 5, 2009 5:55:35 PM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be http://0.0.0.0:1972/Registry
INFO - ServiceAssemblyLifeCycle - Starting service assembly:
WSTestCXF_v_0
INFO - ServiceUnitLifeCycle - Initializing service unit:
WSTestCXF_v_0-cxf-bc-su
Jan 5, 2009 5:55:35 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via
org.mortbay.log.Slf4jLog
Jan 5, 2009 5:55:35 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: jetty-6.1.6
Jan 5, 2009 5:55:35 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Started [email protected]:1972
INFO - ServiceUnitLifeCycle - Initializing service unit:
WSTestCXF_v_0-lw-su
INFO - ComponentMBeanImpl - Initializing component:
WSTestCXF.PreparaRisposta_v_0
INFO - ComponentMBeanImpl - Starting component:
WSTestCXF.PreparaRisposta_v_0
ERROR - ComponentMBeanImpl - Could not start component
javax.jbi.JBIException: Must be configured with either the 'compiledScript' or
'engine' property
at
org.apache.servicemix.components.script.ScriptComponent.start(ScriptComponent.java:83)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:293)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1209)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1163)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1122)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1074)
at
org.apache.servicemix.lwcontainer.LwContainerEndpoint.activate(LwContainerEndpoint.java:54)
at
org.apache.servicemix.common.DefaultServiceUnit.init(DefaultServiceUnit.java:54)
at
org.apache.servicemix.common.BaseServiceUnitManager.init(BaseServiceUnitManager.java:122)
at
org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.init(ServiceUnitLifeCycle.java:85)
at
org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:123)
at
org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:378)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:355)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO - ServiceUnitLifeCycle - Starting service unit:
WSTestCXF_v_0-cxf-bc-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
xmlns="http://java.sun.com/xml/ns/jbi/management-message">
<component-name>servicemix-lwcontainer</component-name>
<component-task-result-details>
<task-result-details>
<task-id>init</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
<task-status-msg>
<msg-loc-info>
<loc-token/>
<loc-message>Unable to init service unit</loc-message>
</msg-loc-info>
</task-status-msg>
<exception-info>
<nesting-level>1</nesting-level>
<msg-loc-info>
<loc-token/>
<loc-message>Must be configured with
either the 'compiledScript' or 'engine' property</loc-message>
<stack-trace><![CDATA[javax.jbi.JBIException: Must be configured with either
the 'compiledScript' or 'engine' property
at
org.apache.servicemix.components.script.ScriptComponent.start(ScriptComponent.java:83)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:293)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1209)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1163)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1122)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1074)
at
org.apache.servicemix.lwcontainer.LwContainerEndpoint.activate(LwContainerEndpoint.java:54)
at
org.apache.servicemix.common.DefaultServiceUnit.init(DefaultServiceUnit.java:54)
at
org.apache.servicemix.common.BaseServiceUnitManager.init(BaseServiceUnitManager.java:122)
at
org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.init(ServiceUnitLifeCycle.java:85)
at
org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:123)
at
org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:378)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:355)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
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>
</jbi-task-result>
</jbi-task>
at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:125)
at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:111)
at
org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:146)
at
org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:378)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:355)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
ERROR - AutoDeploymentService - Failed to update Service Assembly:
WSTestCXF_v_0
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
xmlns="http://java.sun.com/xml/ns/jbi/management-message">
<component-name>servicemix-lwcontainer</component-name>
<component-task-result-details>
<task-result-details>
<task-id>init</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
<task-status-msg>
<msg-loc-info>
<loc-token/>
<loc-message>Unable to init service unit</loc-message>
</msg-loc-info>
</task-status-msg>
<exception-info>
<nesting-level>1</nesting-level>
<msg-loc-info>
<loc-token/>
<loc-message>Must be configured with
either the 'compiledScript' or 'engine' property</loc-message>
<stack-trace><![CDATA[javax.jbi.JBIException: Must be configured with either
the 'compiledScript' or 'engine' property
at
org.apache.servicemix.components.script.ScriptComponent.start(ScriptComponent.java:83)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:293)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1209)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1163)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1122)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1074)
at
org.apache.servicemix.lwcontainer.LwContainerEndpoint.activate(LwContainerEndpoint.java:54)
at
org.apache.servicemix.common.DefaultServiceUnit.init(DefaultServiceUnit.java:54)
at
org.apache.servicemix.common.BaseServiceUnitManager.init(BaseServiceUnitManager.java:122)
at
org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.init(ServiceUnitLifeCycle.java:85)
at
org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:123)
at
org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:378)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:355)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
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>
</jbi-task-result>
</jbi-task>
at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:125)
at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:111)
at
org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:146)
at
org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:378)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:355)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
WARN - AutoDeploymentService - Directory: hotdeploy: Automatic
install of /local/apache-servicemix-3.3/hotdeploy/WSTestCXF_v_0-sa.zip failed
javax.jbi.management.DeploymentException: Failed to update Service Assembly:
WSTestCXF_v_0
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:368)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
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
xmlns="http://java.sun.com/xml/ns/jbi/management-message">
<component-name>servicemix-lwcontainer</component-name>
<component-task-result-details>
<task-result-details>
<task-id>init</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
<task-status-msg>
<msg-loc-info>
<loc-token/>
<loc-message>Unable to init service unit</loc-message>
</msg-loc-info>
</task-status-msg>
<exception-info>
<nesting-level>1</nesting-level>
<msg-loc-info>
<loc-token/>
<loc-message>Must be configured with
either the 'compiledScript' or 'engine' property</loc-message>
<stack-trace><![CDATA[javax.jbi.JBIException: Must be configured with either
the 'compiledScript' or 'engine' property
at
org.apache.servicemix.components.script.ScriptComponent.start(ScriptComponent.java:83)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:293)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1209)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1163)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1122)
at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1074)
at
org.apache.servicemix.lwcontainer.LwContainerEndpoint.activate(LwContainerEndpoint.java:54)
at
org.apache.servicemix.common.DefaultServiceUnit.init(DefaultServiceUnit.java:54)
at
org.apache.servicemix.common.BaseServiceUnitManager.init(BaseServiceUnitManager.java:122)
at
org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.init(ServiceUnitLifeCycle.java:85)
at
org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:123)
at
org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:378)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:355)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
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>
</jbi-task-result>
</jbi-task>
at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:125)
at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:111)
at
org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:146)
at
org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:378)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:355)
... 6 more
Do I miss something?
Freeman
> INFO: Interceptor has thrown exception, unwinding now
> org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:
> ------------------------------------------------------------------------------------------------------
>
> Key: SM-1711
> URL: https://issues.apache.org/activemq/browse/SM-1711
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-cxf-bc
> Affects Versions: servicemix-cxf-bc-2008.01
> Reporter: Andrea Zoppello
> Assignee: Freeman Fang
> Attachments: CXFInvoker_v_0-sa.zip, smx-bean-common-utils-2.4.jar,
> smx-bean-components-2.4.jar, smx-bean-support-2.4.jar, WSTestCXF_v_0-sa.zip
>
>
> I've two sas:
> 1) The first one starts when an xml file appears on a folder ( btw it's just
> a way sto start the process the content of the file is ignored ) then it use
> an eip-pipeline with a transformer that is a cxf-bc-input-output.
> 2) The second process expose a cxf-input-output consumer called by the first
> process.
> This is the soap response the cxf-bc-provider ( i've used the tcp moinitor to
> trace it )
> HTTP/1.1 200 OK
> Content-Type: application/soap+xml; charset=UTF-8
> Content-Length: 621
> Server: Jetty(6.1.6)
> <soap:Envelope
> xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><RelatesTo
> xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:B5AAE5716469A68D5C1227796067318</RelatesTo><Action
>
> xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:RegisterDocumentSet-bResponse</Action></soap:Header><soap:Body>
> <rs:RegistryResponse
> status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success"
> xmlns:SOAP-SEC="http://schemas.xmlsoap.org/soap/security/2000-12"
> xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"
> xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
> /></soap:Body></soap:Envelope>
> As you could see there's nothing wrong.... with that soap response.
> But the exception is the same with or without ssl i've this exception:
> 27-nov-2008 15.28.19 org.apache.cxf.phase.PhaseInterceptorChain doIntercept
> INFO: Interceptor has thrown exception, unwinding now
> org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to
> insert a node where it is n
> t permitted.
> at org.apache.xerces.dom.ParentNode.internalInsertBefore(Unknown Source)
> at org.apache.xerces.dom.ParentNode.insertBefore(Unknown Source)
> at org.apache.xerces.dom.CoreDocumentImpl.insertBefore(Unknown Source)
> at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source)
> at
> org.apache.cxf.staxutils.StaxUtils.readDocElements(StaxUtils.java:719)
> at org.apache.cxf.staxutils.StaxUtils.read(StaxUtils.java:605)
> at
> org.apache.servicemix.cxfbc.interceptors.JbiInWsdl1Interceptor.getBodyElement(JbiInWsdl1
> nterceptor.java:306)
> at
> org.apache.servicemix.cxfbc.interceptors.JbiInWsdl1Interceptor.handleMessage(JbiInWsdl1I
> terceptor.java:143)
> at
> org.apache.servicemix.cxfbc.interceptors.JbiInWsdl1Interceptor.handleMessage(JbiInWsdl1I
> terceptor.java:59)
> at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
> at
> org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageO
> server.java:137)
> at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit
> java:2029)
> at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:186
> )
> at
> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:249)
> at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
> at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.