如何修复"PegaRULES initialization failed. Server: unknown"



我正在为pega应用程序设置一个新服务器。在启动JVM时,我面临以下错误。请在下面帮忙。

版本

apache_tomcat = 5.5.17
java = 1.5.0_22
OS = Linux

是否需要添加任何配置?

错误

2018-12-20 09:38:33101[main][][](etier.engine.EngineStartup)错误-PegaRULES初始化失败。服务器:未知com.pega.pegarles.pub.database.ConnectionException:获取数据库pegarules 0的连接时遇到数据库常规问题无法加载JDBC驱动程序类"oracle.JDBC.OracleDriver"发件人:(未知)由SQL问题引起。问题#1,SQLState为null,错误代码0:org.apache.tomcat.dbcp.dbcp.SQLNestedException:无法加载JDBC驱动程序类"oracle.JDBC.OracleDriver"网址:com.pega.pegarules.engine.database.ExceptionInformation.createExceptionDueToDBFailure(ExceptionInformation.java:146)网址:com.pega.pegarules.engine.database.ConnectionManager.getConnection(ConnectionManager.java:1108)网址:com.pega.pegarules.engine.database.ConnectionManager.getConnection(ConnectionManager.java:783)网址:com.pega.pegarules.engine.database.ConnectionManager.rebuildDBNameDefinitions(ConnectionManager.java:1970)网址:com.pega.pegarules.engine.database.ConnectionManager.(ConnectionManager.java:462)网址:com.pega.pegarules.engine.database.ConnectionManager.getInstance(ConnectionManager.java:560)网址:com.pega.pegarules.etier.engine.EngineStartup.initEngine(EngineStartup.java:393)网址:com.pega.pegarules.etier.impl.EngineImpl._initEngine_privact(EngineImpl.java:125)网址:com.pega.pegarules.etier.impl.EngineImpl.doStartup(EngineImpl.java:98)网址:com.pega.pegarules.web.servlet.WebAppLifeCycleListener.contextInitialized(WebAppLifeCycleSistener.java:203)网址:org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)网址:org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)网址:org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)网址:org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)网址:org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)网址:org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)网址:org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)网址:org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)网址:org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)网址:org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)网址:org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)网址:org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)网址:org.apache.catalina.core.StandardHost.start(StandardHost.java:718)网址:org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)网址:org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)网址:org.apache.catalina.core.StandardService.start(StandardService.java:450)网址:org.apache.catalina.core.StandardServer.start(StandardServer.java:709)网址:org.apache.catalina.startup.catalina.start(catalina.java:551)在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)位于java.lang.reflect.Method.ioke(Method.java:592)网址:org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)网址:org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)由以下原因引起:org.apache.tomcat.dbcp.dbcp.SQLNestedException:无法加载JDBC驱动程序类"oracle.JDBC.OracleDriver"网址:org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:766)网址:org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)网址:com.pega.pegarules.engine.database.DataSourceManager.getConnection(DataSourceManager.java:251)网址:com.pega.pegarules.engine.DatabaseConnection.activate(DatabaseConnection.java:1113)网址:com.pega.pegarules.engine.database.ConnectionManager.getConnection(ConnectionManager.java:1077)…还有32个由java.lang.UnsupportedClassVersionError引起:.class文件中的版本号错误位于java.lang.ClassLoader.defineClass1(本机方法)位于java.lang.ClassLoader.defineClass(ClassLoader.java:621)位于java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)位于java.net.URLClassLoader.defineClass(URLClassLoader.java:260)位于java.net.URLClassLoader.access$100(URLClassLoader.java:56)位于java.net.URLClassLoader$1.run(URLClassLoader.java:195)位于java.security.AccessController.doPrivileged(本机方法)位于java.net.URLClassLoader.findClass(URLClassLoader.java:188)位于java.lang.ClassLoader.loadClass(ClassLoader.java:307)位于java.lang.ClassLoader.loadClass(ClassLoader.java:252)位于java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)位于java.lang.Class.forName0(本机方法)位于java.lang.Class.forName(Class.java:164)网址:org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:760)…还有362018-12-20 09:38:33101[main][][](etier.engine.EngineStartup)信息-PegaRULES初始化失败。服务器:未知

可能有三个原因或其他原因。。

1) JDK版本不正确-->我建议使用JDK 1.8

2) 数据库服务未运行-->我不确定您如何检查Linux 中的活动服务

3) 数据库JDBC jar文件未复制到tomcat的lib文件夹

4) 分配的JVM内存不足-->至少分配4 GB

请浏览安装指南。https://community.pega.com/system/files/pdfs/ProductSupport/Products/PegaRULESProcessCommander/documents/PRPC/V5/503/PRPC5-3_J2EE_Install_Guide_Tomcat.pdf

相关内容

  • 没有找到相关文章

最新更新