Fixes are available
APAR status
Closed as program error.
Error description
When deploying a decision service to Rule Execution Server the following error occurs. IlrSessionFac E com.ibm.rules.res.internal.RESTException: ilog.rules.res.util.http.IlrHttpConnectionException: Unexpected error "javax.xml.bind.JAXBException ... Caused by: java.lang.ClassCastException: com.ibm.rules.res.model.rest.Libra ry$JaxbAccessorM_getId_setId_java_lang_String incompatible with com.sun.xml.internal.bind.v2.runtime.reflect.Accessor at com.su n.xml.internal.bind.v2.runtime.reflect.opt.OptimizedAccessorFact ory.instanciate(OptimizedAccessorFactory.java:202) at com.sun.x ml.internal.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory .get(OptimizedAccessorFactory.java:141) at com.sun.xml.internal .bind.v2.runtime.reflect.Accessor$GetterSetterReflection.optimiz e(Accessor.java:400) at com.sun.xml.internal.bind.v2.runtime.pr operty.SingleElementLeafProperty.<init>(SingleElementLeafPropert y.java:89) at sun.reflect.GeneratedConstructorAccessor229.newInstance(Unknown Source)
Local fix
To workaround this issue, add the following property to the JVM running the Rule Execution Server. -Djavax.xml.bind.JAXBContex t=com.sun.xml.internal.bind.v2.ContextFactory
Problem summary
**************************************************************** * USERS AFFECTED: * * Users deploying to RES. * **************************************************************** * PROBLEM DESCRIPTION: * * Deploying to the RES may fail with below error : * * * * Unexpected error "javax.xml.bind.JAXBException in VTT * * End2End tests. * * <<< * * [3/20/20 17:16:59:477 CET] 0000033f SystemErr R Mar 20, * * 2020 5:16:59 PM * * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl * * SEVERE: com.ibm.rules.res.internal.RESTException: * * ilog.rules.res.util.http.IlrHttpConnectionException: * * Unexpected error "javax.xml.bind.JAXBException * * * * with linked exception: * * * * [java.lang.reflect.InvocationTargetException]" when * * contacting * * "http://<server>/res/api/v1/xml/libraries/DERunDebugDependen * * t_L2RuleApp2_library/1.0", HTTP status 200: <?xml * * version="1.0" encoding="UTF-8" standalone="yes"?> * * <library> * * <id>DERunDebugDependent_L2RuleApp2_library/1.0</id> * * * * <uri>reslib://DERunDebugDependent_L2RuleApp2_library/1.0</ur * * i> * * <name>DERunDebugDependent_L2RuleApp2_library</name> * * <version>1.0</version> * * <creationDate>2020-03-20T16:16:59.211Z</creationDate> * * <content>resuri://loanvalidation-xom.jar/1.0</content> * * </library> * * * * at * * com.ibm.rules.res.internal.RESWebClient.getLibrary(RESWebCli * * ent.java:922) * * at * * com.ibm.rules.res.internal.MutableXOMRepositoryRESTAdapter.g * * etLibrary(MutableXOMRepositoryRESTAdapter.java:114) * * at * * com.ibm.rules.res.internal.MutableXOMRepositoryRESTAdapter.a * * ddLibrary(MutableXOMRepositoryRESTAdapter.java:146) * * at * * com.ibm.rules.decisionservice.internal.RESClient$4.createNew * * Library(RESClient.java:717) * * at * * com.ibm.rules.decisionservice.internal.RESClient$4.execute(R * * ESClient.java:646) * * at * * com.ibm.rules.decisionservice.internal.RESClient$4.execute(R * * ESClient.java:575) * * at * * com.ibm.rules.decisionservice.internal.RESClient.safeInvokeR * * ES(RESClient.java:136) * * at * * com.ibm.rules.decisionservice.internal.RESClient.deploy(RESC * * lient.java:575) * * at * * com.ibm.rules.decisionservice.internal.RESRESTClient4.deploy * * (RESRESTClient4.java:38) * * at * * com.ibm.rules.decisionservice.internal.DsResRestClient.deplo * * y(DsResRestClient.java:48) * * at * * ilog.rules.teamserver.model.decisionservice.wrapper.DCIDsSer * * ver.deploy(DCIDsServer.java:90) * * at * * com.ibm.rules.decisionservice.DsXOMDeployManager.deploy(DsXO * * MDeployManager.java:87) * * at * * com.ibm.rules.decisionservice.DsDeployManager.deploy(DsDeplo * * yManager.java:81) * * at * * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.deplo * * yDSRuleAppArchive(IlrSessionFacadeImpl.java:5803) * * at * * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl$9.cal * * l(IlrSessionFacadeImpl.java:6056) * * at * * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl$9.cal * * l(IlrSessionFacadeImpl.java:6052) * * at * * java.util.concurrent.FutureTask.run(FutureTask.java:277) * * at * * java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool * * Executor.java:1160) * * at * * java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo * * lExecutor.java:635) * * at java.lang.Thread.run(Thread.java:812) * * Caused by: * * ilog.rules.res.util.http.IlrHttpConnectionException: * * Unexpected error "javax.xml.bind.JAXBException * * - with linked exception: * * [java.lang.reflect.InvocationTargetException]" when * * contacting * * "http://<server>/res/api/v1/xml/libraries/DERunDebugDependen * * t_L2RuleApp2_library/1.0", HTTP status 200: <?xml * * version="1.0" encoding="UTF-8" standalone="yes"?> * * >>> * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
The code is fixed.
Temporary fix
Comments
APAR Information
APAR number
RS03621
Reported component name
WDS FOR RULES
Reported component ID
5725B6903
Reported release
8A0
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-05-20
Closed date
2020-05-27
Last modified date
2020-05-27
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WDS FOR RULES
Fixed component ID
5725B6903
Applicable component levels
R8A0 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8A0","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
17 February 2022