Deploy Pega PRPC 5.5 on Tomcat 8
Hi,
We are running our application on PRPC 5.5 with Tomcat 6 and Java 1.6. We are planning to update Java from 1.6 to 1.8 and Tomcat 6 to 8
We are able to update Java successfully. However we are facing issues running PRPC on Tomcat 8. Error logged is shared below.
Does PRPC 5.5 supports Tomcat 8?
Logs -
2016-06-08 23:14:11,554 ( engine.context.PRNodeImpl) FATAL - Cannot initialize node. java.lang.RuntimeException: Failed to initialize the JSP subsystem at com.pega.pegarules.engine.generator.jsp.TLDLocationsCache.initialize(TLDLocationsCache.java:96) at com.pega.pegarules.engine.generator.jsp.JSPCompilerShell.init(JSPCompilerShell.java:58) at com.pega.pegarules.engine.context.InitialConfiguration.initializeJSPPaths(InitialConfiguration.java:281) at com.pega.pegarules.engine.context.PRNodeImpl.initialize(PRNodeImpl.java:857) at com.pega.pegarules.engine.context.PREnvironment.getThreadAndInitialize(PREnvironment.java:358) at com.pega.pegarules.etier.engine.EngineStartup.initEngine(EngineStartup.java:473) at com.pega.pegarules.etier.impl.EngineImpl._initEngine_privact(EngineImpl.java:136) at com.pega.pegarules.etier.impl.EngineImpl.doStartup(EngineImpl.java:109) at com.pega.pegarules.web.servlet.WebAppLifeCycleListener.contextInitialized(WebAppLifeCycleListener.java:217) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:258) at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:299) at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:348) at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextInitialized(WebAppLifeCycleListenerBoot.java:80) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4813) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5272) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:587) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1798) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java) at java.lang.Thread.run(Thread.java:745) Caused by: com.pega.pegarules.engine.generator.jsp.JSPException: PRException From: (unknown) at com.pega.pegarules.engine.generator.jsp.TLDLocationsCache.processTLDsInJar(TLDLocationsCache.java:184) at com.pega.pegarules.engine.generator.jsp.TLDLocationsCache.processLibPathJars(TLDLocationsCache.java:203) at com.pega.pegarules.engine.generator.jsp.TLDLocationsCache.initialize(TLDLocationsCache.java:92) ... 29 more Caused by: com.pega.pegarules.engine.generator.jsp.JSPException: Problem parsing JSP tld file:/var/tomcat/navigator/webapps/prweb/WEB-INF/lib/pega/pegatags.jar From: (unknown) at com.pega.pegarules.engine.generator.jsp.JSPParserUtilities.parseXMLDocument(JSPParserUtilities.java:225) at com.pega.pegarules.engine.generator.jsp.TLDLocationsCache.getURIFromTLD(TLDLocationsCache.java:122) at com.pega.pegarules.engine.generator.jsp.TLDLocationsCache.processTLDsInJar(TLDLocationsCache.java:160) ... 31 more Caused by: org.xml.sax.SAXException: File /javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd not found at com.pega.pegarules.engine.generator.jsp.JSPParserUtilities$MyEntityResolver.resolveEntity(JSPParserUtilities.java:116) at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) at com.pega.pegarules.engine.generator.jsp.JSPParserUtilities.parseXMLDocument(JSPParserUtilities.java:217) ... 33 more. |