What is the possible ways of getting ParseException: com.ctc.wstx.exc.WstxUnexpectedCharException during adapter configuration or registration.
Maximum times getting below exception during adapter configuration or registration in ETM jar files.
how can we avoid it or any solution.
org.apache.abdera.parser.ParseException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61); expected a semi-colon after the reference for entity 'etag'
at [row,col {unknown-source}]: [17,77]
at org.apache.abdera.parser.stax.FOMBuilder.next(FOMBuilder.java:260) ~[abdera-parser-0.4.0-incubating.jar!/:0.4.0-incubating]
at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265) ~[axiom-impl-1.2.5.jar!/:na]
at org.apache.axiom.om.impl.traverse.OMChildrenIterator.next(OMChildrenIterator.java:106) ~[axiom-api-1.2.5.jar!/:na]
at org.jaxen.expr.DefaultNameStep.evaluate(DefaultNameStep.java:208) ~[jaxen-1.2.0.jar!/:na]
at org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java:140) ~[jaxen-1.2.0.jar!/:na]
at org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:102) ~[jaxen-1.2.0.jar!/:na]
at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:675) ~[jaxen-1.2.0.jar!/:na]
at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:215) ~[jaxen-1.2.0.jar!/:na]
at org.apache.abdera.parser.stax.FOMXPath.selectNodes(FOMXPath.java:162) ~[abdera-parser-0.4.0-incubating.jar!/:0.4.0-incubating]
at org.apache.abdera.parser.stax.FOMXPath.selectNodes(FOMXPath.java:180) ~[abdera-parser-0.4.0-incubating.jar!/:0.4.0-incubating]
at com.ibm.rqm.adapter.library.data.NewRequester.getAllProjectAreas(NewRequester.java:476) ~[com.ibm.rqm.adapter.library-6.0.6.jar!/:na]
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Apr 03 '23, 10:52 a.m.If you want others to help you, please provide information. I already suggested to read: See https://jazz.net/forum/questions/203755/how-should-i-ask-a-question-in-the-forum-if-i-want-to-receive-useful-answers for considerations.
anuraag kb
Apr 04 '23, 5:43 a.m.we are not using commands, but we are using ETM client Library version- 6.0.6 (com.ibm.rqm.integration.client-6.0.6.jar and com.ibm.rqm.adapter.library-6.0.6.jar).
David Honey
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Apr 04 '23, 5:52 a.m.If you are using client Java APIs, describe what calls are being made and what data is being passed in each call. Please read https://jazz.net/forum/questions/203755/how-should-i-ask-a-question-in-the-forum-if-i-want-to-receive-useful-answers.
anuraag kb
Apr 04 '23, 6:22 a.m.The usecase is that an adapter is configured and is running. After that when registering another adapter belonging to a different ETM server, we get the error specified in the question.
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Apr 04 '23, 6:46 a.m.If you are unwilling or unable to provide data needed to make progress, there is no way to help. I am not going to spend more time in trying to get more information from you.
Please note that 6.0.6 is no longer supported and there might even be issues with Java versions, SSL/TLS, supported certifications and algorithms that renders it usage impossible.
Good luck.