CA Identity Manager : PX Call that works in SOAP-UI is failing when called from PX

book

Article ID: 17137

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Risk Analytics CA Secure Cloud SaaS - Arcot A-OK (WebFort) CLOUDMINDER ADVANCED AUTHENTICATION CA Secure Cloud SaaS - Advanced Authentication CA Secure Cloud SaaS - Identity Management CA Secure Cloud SaaS - Single Sign On

Issue/Introduction



With IDMGR 14.1, you may experince that PX Call that works in SOAP-UI is failing when called from PX. Looking at the log for query execution result, you may see:

java.lang.LinkageError: loader constraint violation: when resolving method "org.json.XML.toJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;" the class loader (instance of org/jboss/modules/ModuleClassLoader) of the current class, com/ca/identitymanager/policyxpress/plugins/data/PxDataWebServiceClient, and the class loader (instance of org/jboss/modules/ModuleClassLoader) for the method's defining class, org/json/XML, have different Class objects for the type org/json/JSONObject used in the signature

at com.ca.identitymanager.policyxpress.plugins.data.PxDataWebServiceClient.getObject(PxDataWebServiceClient.java:267)

at com.ca.identitymanager.policyxpress.structures.PxHandler.testPlugin(PxHandler.java:489)

at com.ca.identitymanager.policyxpress.ui.page.AbstractElementPage.update(AbstractElementPage.java:513)

at com.netegrity.webapp.page.NestingWrapper.update(NestingWrapper.java:249)

at com.netegrity.webapp.page.AbstractParentPage.update(AbstractParentPage.java:67)

at com.netegrity.webapp.page.TabController.update(TabController.java:474)

at com.netegrity.webapp.page.NestingWrapper.update(NestingWrapper.java:249)

at com.netegrity.webapp.page.AbstractParentPage.update(AbstractParentPage.java:67)

at com.netegrity.webapp.page.jsf.JSFParentPage.update(JSFParentPage.java:118)

at com.netegrity.webapp.page.TaskController.update(TaskController.java:626)

at com.netegrity.taglib.skin.TagUtilLocal.update(TagUtilLocal.java:273)

at com.netegrity.taglib.skin.UpdateTag.doEndTag(UpdateTag.java:144)

at org.apache.jsp.app.ui7.index_jsp._jspx_meth_skin_005fupdate_005f0(index_jsp.java:1700)

at org.apache.jsp.app.ui7.index_jsp._jspService(index_jsp.java:188)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:366)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)

at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:82)

at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:250)

at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:193)

at io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:160)

at com.netegrity.webapp.filter.ConsolePageFilter.doFilter(ConsolePageFilter.java:527)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)

at com.netegrity.webapp.page.jsf.FacesFilter.doFilter2(FacesFilter.java:180)

at com.netegrity.webapp.page.jsf.FacesFilter.doFilter(FacesFilter.java:151)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)

at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)

at com.netegrity.webapp.authentication.FrameworkLoginFilter.doFilter(FrameworkLoginFilter.java:341)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)

at com.netegrity.webapp.filter.LocaleFilter.doFilter(LocaleFilter.java:100)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)

at com.netegrity.webapp.filter.ClientExtractFilter.doFilter(ClientExtractFilter.java:35)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)

at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)

at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)

at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)

at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)

at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)

at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248)

at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77)

at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:167)

at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)

at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:761)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Environment

Release:
Component: IDSVA

Resolution

This is a known defect and will be addressed in future CP release of IDMGR 14.1. In the meantime, the workaround/solution would be to remove the easyjson-1.0.0rc1.jar from deployment directory <iam_im.ear>/user_console.war/WEB-INF/lib and restart the application server. The JAR file is placed in this location by mistake (which will be taken care of in next CP release) while the same JAR file exist in different location correctly so there should be no impact to your IDMGR deployment.