0 Replies Latest reply on Mar 10, 2015 5:47 AM by Mohan Kumar

    Unable to Parse ChangeSet.xml with https

    Mohan Kumar Newbie

      Hello,

       

      Our Client Server is using JBoss EAP 6.2.4 with the guvnor-distribution-wars-5.4.0-20120516-jboss-as-7.0.war. We have deployed a RuleEngine.war to that server. The URL for the changeSet.xml is

      https://xyz.abc.com:34001/drools-guvnor-na/org.drools.guvnor.Guvnor/package/urenewna.rules/LATEST/ChangeSet.xml

       

      RuleEngine is exposing a Web Service. When we invoke this Web Service we are getting the below error logs:

       

      java.lang.RuntimeException: Unable to parse ChangeSet at org.drools.agent.impl.KnowledgeAgentImpl.getChangeSet(KnowledgeAgentImpl.java:448) at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:180) at urenewna.re.CrossUpSellEngine.readKnowledgeBase(CrossUpSellEngine.java:456) at urenewna.re.CrossUpSellEngine.CrossUpSellService(CrossUpSellEngine.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) at java.lang.Thread.run(Thread.java:745) Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884) Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385) Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


      But when I did the same setup locally it is exposing the changeset url with http. It is working fine.


      Can anyone help me to solve this issue?


      Thanks in Advance.

      Mohan Kumar C