You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Andrea Zoppello (JIRA)" <ji...@apache.org> on 2008/12/01 10:33:05 UTC

[jira] Created: (SM-1711) INFO: Interceptor has thrown exception, unwinding now org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:

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
    Affects Versions: servicemix-cxf-bc-2008.01
            Reporter: Andrea Zoppello


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.


[jira] Commented: (SM-1711) INFO: Interceptor has thrown exception, unwinding now org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48017#action_48017 ] 

Freeman Fang commented on SM-1711:
----------------------------------

can't deploy the test in servicemix container,
get error like
<stack-trace><![CDATA[org.apache.xbean.kernel.ServiceRegistrationException: org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [spagic.properties] cannot be opened because it does not exist
and
Caused by: java.lang.ClassNotFoundException: org.apache.servicemix.components.groovy.GroovyComponent in classloader org.apache.servicemix.components.groovy.GroovyComponent
        at org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:206)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:229)
        at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:93)

> 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, 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.


[jira] Commented: (SM-1711) INFO: Interceptor has thrown exception, unwinding now org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48019#action_48019 ] 

Freeman Fang commented on SM-1711:
----------------------------------

Hi Andrea,

I copy the 3 jar files to my SMX_HOME/lib and create an empty spagic.properties also there, but get  same error.
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.


[jira] Commented: (SM-1711) INFO: Interceptor has thrown exception, unwinding now org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ 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 SelectChannelConnector@0.0.0.0: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.


[jira] Resolved: (SM-1711) INFO: Interceptor has thrown exception, unwinding now org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SM-1711.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2.4
                   3.3.1
                   servicemix-cxf-bc-2008.02

commit fix
http://svn.apache.org/viewvc?rev=735604&view=rev for 3.2 branch
http://svn.apache.org/viewvc?rev=735606&view=rev for servicemix-cxf-bc component project


> 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
>             Fix For: servicemix-cxf-bc-2008.02, 3.3.1, 3.2.4
>
>         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.


[jira] Work started: (SM-1711) INFO: Interceptor has thrown exception, unwinding now org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SM-1711 started by Freeman Fang.

> 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, 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.


[jira] Assigned: (SM-1711) INFO: Interceptor has thrown exception, unwinding now org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned SM-1711:
--------------------------------

    Assignee: Freeman Fang

> 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, 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.


[jira] Commented: (SM-1711) INFO: Interceptor has thrown exception, unwinding now org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:

Posted by "Andrea Zoppello (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48020#action_48020 ] 

Andrea Zoppello commented on SM-1711:
-------------------------------------

Hi,

I've no problem with this configuration.

BTW sometimes, i need to clean up the data, activemq-data, and var folders under SMX_HOME and then
restart servicemix.
Another thing you must not have the jar with the old lightweight component (servicemix-components-3.3.jar) in the classpath, beacuse the smx-bean-components-2.4.jar contain the porting of the lightweight component we need to servicemix-bean.

With this configuration is working for me.
The jars attached let you to deploy servicemix-bean with the style of the old lw-container ( putting pojo classes in the cp ), you could find some messages about that in the mailing list.

Andrea

> 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.


[jira] Updated: (SM-1711) INFO: Interceptor has thrown exception, unwinding now org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:

Posted by "Andrea Zoppello (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Zoppello updated SM-1711:
--------------------------------

    Attachment: WSTestCXF_v_0-sa.zip

The two sa for test case..

> 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
>    Affects Versions: servicemix-cxf-bc-2008.01
>            Reporter: Andrea Zoppello
>         Attachments: 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.


[jira] Updated: (SM-1711) INFO: Interceptor has thrown exception, unwinding now org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:

Posted by "Andrea Zoppello (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Zoppello updated SM-1711:
--------------------------------

    Attachment: CXFInvoker_v_0-sa.zip

The second sa for test case

> 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
>         Attachments: CXFInvoker_v_0-sa.zip, 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.


[jira] Updated: (SM-1711) INFO: Interceptor has thrown exception, unwinding now org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:

Posted by "Andrea Zoppello (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Zoppello updated SM-1711:
--------------------------------

    Attachment: smx-bean-components-2.4.jar
                smx-bean-support-2.4.jar
                smx-bean-common-utils-2.4.jar

Hi Freeman,

Sorry i've attached a sa that use a class that is the porting of the lw groovy component to servicemix-bean.

To deploy the process you need to have the attached files in the classpath and tho have an empty spagic.properties in the classpath

> 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.


[jira] Commented: (SM-1711) INFO: Interceptor has thrown exception, unwinding now org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48065#action_48065 ] 

Freeman Fang commented on SM-1711:
----------------------------------

Hi Andrea,

Still can't manage to run your testcase succesfully.
A couple of question
 you said "you must not have the jar with the old lightweight component (servicemix-components-3.3.jar) in the classpath"
where is servicemix-components-3.3.jar? Do you mean servicemix-lwcontainer-3.3-installer.zip? After remove it from hotdeploy folder, your two testcase sa suspend to deploy, I get
WARN  - AutoDeploymentService          - Components servicemix-lwcontainer are not installed yet: the service assembly CXFInvoker_v_0 deployment is suspended and will be resumed once the listed components are installed
I already put your 3 smx-bean*.jar into SMX_HOME/lib.
Maybe I miss something, do you mean I need generate zip with jbi descriptor from your 3 smx-bean*.jar? If so, could you please append the working component with jbi package?

Or give me some detailed guide.
Thanks
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.


[jira] Updated: (SM-1711) INFO: Interceptor has thrown exception, unwinding now org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:

Posted by "Andrea Zoppello (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Zoppello updated SM-1711:
--------------------------------

    Component/s: servicemix-cxf-bc

> 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
>         Attachments: CXFInvoker_v_0-sa.zip, 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.


[jira] Commented: (SM-1711) INFO: Interceptor has thrown exception, unwinding now org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR:

Posted by "Andrea Zoppello (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48103#action_48103 ] 

Andrea Zoppello commented on SM-1711:
-------------------------------------

Hi Freeman,

Sorry for all that confusion, the previous post was my fault, this is beacuse i'm trying to solve two problems on using cxf and i've made confusion. In the previous post i've said to you wrong things.

So ignore my previous post, and restart from scratch.

Follow this steps

(1) Copy the file SMX_HOME\extras\servicemix-components-3.3.jar into SMX_HOME\lib\

(2) The two process attached are effectively using the lw-container so you do not need the three jars related to smx-bean,and you need the installer zip of the lw-container.

(3) Effectively the only thing you need is the spagic.properties in the classpath ( it's enough ) you've an empty properties file.

With this configuration it should work.

Andrea


> 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.