Hi,
I am analysing problem regarding UsertTestITCase.issueSYNCOPE279().
It is reproducible in following situations:
1) Run it as single test: mvn -Pdev -DwaitForCheck=false -Dit.test=
UserTestITCase# issueSYNCOPE279
Because of some reasons this test is succeed in case if
AuthenticationTestITCase,ResourceTestITCase,RoleTestITCase,SchemaTestITCase,UserRequestTestITCase
were executed before (interesting :) )
2) If all core integration tests is running under JDK 1.7
3) With some other conditions.
My analysis shows that the end reason is that SOAP connector (using CXF client)
receives HTML as response for test() invocation:
15:47:46.041 DEBUG
org.identityconnectors.framework.api.operations.GetApiOp.getObject Exception:
javax.xml.ws.soap.SOAPFaultException: Response was of unexpected text/html
ContentType. Incoming portion of HTML stream: OK
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:156)
~[cxf-rt-frontend-jaxws-2.7.0.jar:2.7.0]
at $Proxy196.checkAlive(Unknown Source) ~[na:na]
at
org.connid.bundles.soap.WebServiceConnection.test(WebServiceConnection.java:89)
~[na:na]
at
org.connid.bundles.soap.WebServiceConnector.checkAlive(WebServiceConnector.java:169)
~[na:na]
at
org.identityconnectors.framework.impl.api.local.ConnectorPoolManager$ConnectorPoolHandler.testObject(ConnectorPoolManager.java:105)
~[framework-internal-1.3.2.jar:na]
Therefore propagation of resource "ws-target-resource-3" is failed with
following error:
15:46:55.221 ERROR
org.apache.syncope.core.propagation.impl.AbstractPropagationTaskExecutor -
Exception during provision on resource ws-target-resource-3
org.apache.syncope.core.propagation.TimeoutException: Request timeout
at
org.apache.syncope.core.propagation.impl.ConnectorFacadeProxy.getObject(ConnectorFacadeProxy.java:380)
~[ConnectorFacadeProxy.class:na]
at
org.apache.syncope.core.propagation.impl.AbstractPropagationTaskExecutor.getRemoteObject(AbstractPropagationTaskExecutor.java:438)
~[AbstractPropagationTaskExecutor.class:na]
at
org.apache.syncope.core.propagation.impl.AbstractPropagationTaskExecutor.execute(AbstractPropagationTaskExecutor.java:288)
~[AbstractPropagationTaskExecutor.class:na]
Could you give a hint how to investigate this connector invocation error?
To which instance SOAP connector sends test() request? Why it sometimes answers
with HTML?
Regards,
Andrei.