Question
Last activity: 20 Jun 2016 13:17 EDT
Hi Pega Team, I am trying to install Pega 7. I am using postgresql DB and Tomcat 7 Application server. As per Pega 7 installation Guide I need to put xerces.jar, xml-apis.jar and xaml.jar in lib directory of TOMCAT_HOME. Found xml-apis.jar and xercesImpl.
Hi Pega Team, I am trying to install Pega 7. I am using postgresql DB and Tomcat 7 Application server. As per Pega 7 installation Guide I need to put xerces.jar, xml-apis.jar and xaml.jar in lib directory of TOMCAT_HOME. Found xml-apis.jar and xercesImpl.jar in scripts folder of Pega download itself. Couldnt find xaml.jar in it nor on the internet. So can you please guide me to a link from where I can download the same?
Message was edited by: Marissa Rogers - moved from Mesh Help, added category


Pegasystems Inc.
US
Updated: 20 Jun 2016 11:00 EDT
To clarify, the section that states this requirement is under "Configuring web SSO with encrypted assertions".
I have looked into this and found that there are two issues with this section:
1) This is only required for Pega instances deployed on Weblogic.
2) xaml.jar is not correct, the correct jar file should be xalan.jar (this is, however, also not included in the media. It needs to be sourced separately)
I believe this should be corrected in the 7.2.1 installation guides.
For you Lakshmi, you can ignore this section if you are using Tomcat.
Ok then I tried the installation skipping the xaml.jar file. And after putting the prweb.war,prhelp.war and prsysmgmt.war in webapps folder and restarting the tomcat server,
if I check the catalina.out file for the logs, I get the below error:
java.lang.InternalError: cannot create instance of org.bouncycastle.jcajce.provider.symmetric.IDEA$Mappings : java.lang.ClassCastException: org.bouncycastle.jcajce.provider.symmetric.IDEA$Mappings cannot be cast to org.bouncycastle.jcajce.provider.util.AlgorithmProvider
at org.bouncycastle.jce.provider.BouncyCastleProvider.loadAlgorithms(Unknown Source)
at org.bouncycastle.jce.provider.BouncyCastleProvider.setup(Unknown Source)
at org.bouncycastle.jce.provider.BouncyCastleProvider.access$000(Unknown Source)
at org.bouncycastle.jce.provider.BouncyCastleProvider$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.bouncycastle.jce.provider.BouncyCastleProvider.<init>(Unknown Source)
at com.pega.pegarules.exec.internal.util.crypto.PRCryptoImpl.registerProviders(PRCryptoImpl.java:265)
at com.pega.pegarules.exec.internal.util.crypto.PRCryptoImpl.getInstance(PRCryptoImpl.java:287)
at com.pega.pegarules.exec.internal.PRExecProviderImpl.getCrypto(PRExecProviderImpl.java:401)
at com.pega.pegarules.deploy.internal.archive.ParUtilsImpl.<clinit>(ParUtilsImpl.java:157)
at com.pega.pegarules.deploy.internal.PRDeployProviderImpl.getParUtils(PRDeployProviderImpl.java:106)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine(EngineStartup.java:513)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._initEngine_privact(EngineImpl.java:172)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.doStartup(EngineImpl.java:145)
at com.pega.pegarules.web.servlet.WebAppLifeCycleListener._contextInitialized_privact(WebAppLifeCycleListener.java:311)
at com.pega.pegarules.web.servlet.WebAppLifeCycleListener.contextInitialized(WebAppLifeCycleListener.java:218)
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 com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextInitialized(WebAppLifeCycleListenerBoot.java:83)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5003)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5517)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1095)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1960)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Unable to locate KeyringImpl keyring after trying:
<properties>
amp-pegarules.keyring
ip-172-16-13-6-dWoxYGN3-pegarules.keyring
Inspite of this error the war gets deployed and I am able to access the PEGA UI. Dont know what this error is and why it occurred, I followed all the steps as per the guide. Hope this error wont cause any loss of functionality of PEGA.
Updated: 20 Jun 2016 13:17 EDT
I'm not certain, but I would think that this means you're trying to run Pega in an encrypted way, but due to this failure (unable to locate keyringimpl) it's currently not encrypted. If you're able to access Pega, I don't think this is going to prevent you from doing anything, but as I said, the encryption component seems to have failed. Please let us know if my assumption is correct (you are intending to run Pega in an encrypted way). Once we understand what you're trying to do, someone with more knowledge in this area can hopefully help you move forward.
good question. I am not even sure these jars are required. Santosh Das can you shed some lights on this?