Question
Segue Technologies Inc
US
Last activity: 19 Apr 2019 15:06 EDT
Question Regarding Deploying Pega 8.2 Application on Tomcat
We are trying to setup Pega 8.2 on Tomcat Application Server. Deployed Pega 8 Platform Application Archives on Tomcat but unable to bring up PRServelet URL and the other URL . Keep receiving a 404 error. According to the logs we are getting some Parse Fatal error on a specific line and column but doesn't specify which xml file its receiving the error from. Can someone please advise? I've attached the logs. Thanks.
***Edited by Moderator Marissa to update platform capability tags****
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
Thanks for your time Jeremy to have a quick call to troubleshoot this long running issue and able to fix the issue with the below information,
- Java 12 has been used in the system which is not supported by Pega 8.2, so far Java 8 is supported and we are under testing phase with Java 11 as per the support guide. -> So installed Java 8 after uninstalling Java 12 in the system.
- mssql-jdbc-7.2.1.jre11.jar file has been used which is not the right jar file to use for Java 8 version and sqljdbc42-6.0.8112.jar file is being downloaded from maven repository to use in tomcat/lib folder.
- Set the below roles and users in tomcat-users.xml file from installation guide.
- Set the heap related configurations as per the installation guide.
- Deleted PegaTemp folder content and restarted the server by configuring the Java 8 environment variables.
With the above changes we are able to bring up the instance and able to login to the system.
Pegasystems Inc.
IN
I believe basic problem here is space between directory name-
You have Java and tomcat installed under program files which has space in between directory name.
Suggest to install Java and tomcat in other folder and then point java home, etc to start PRPC rightly.
15-Apr-2019 08:11:19.248 1050 [main] com.pega.pegarules.internal.bootstrap.PRMiniLoader. PRMiniLoader - unable to load classes from the database: Cannot load JDBC driver class 'com.microsoft.sqlserver.jdbc.SQLServerDriver'
15-Apr-2019 08:11:19.264 SEVERE [main] com.pega.pegarules.internal.bootstrap.PRMiniLoader. Unable to access code through filesystem
java.nio.file.NoSuchFileException: C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%209.0\webapps\prweb\WEB-INF\lib\boot\prbootphase2.jar
Pegasystems Inc.
IN
This is the tomcat home in your installation:
C:\Program Files\Apache Software Foundation\Tomcat 9.0
This is the tomcat home in your installation:
C:\Program Files\Apache Software Foundation\Tomcat 9.0
Instead of this, make tomcat folder as C:\Tomcat_9.0
Pegasystems Inc.
US
Hi Jeremy,
Basically the below error is seen when the XML is not well formed in server.xml or similar files which are accessed during server startup,
15-Apr-2019 08:11:14.842 SEVERE [main] org.apache.tomcat.util.digester.Digester.fatalError Parse fatal error at line [46] column [2] org.xml.sax.SAXParseException; lineNumber: 46; columnNumber: 2; The markup in the document following the root element must be well-formed. at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204) at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:178) at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400) at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
In your scenario you will update the data source information in the server.xml file, so i suspect the issue is due to this file which has the xml content that is not being formed properly.
My suggestion would be to cross check the xml tags in this file around 46th line to check whether all the added xml tags has the respective end tags in it. If you are not sure please share the Server.xml file in a notepad.
Regards,
Mahesh M
Segue Technologies Inc
US
Mahesh,
Thanks for the response. Took me a while but I took ARVINDMALAV advise which threw me several new errors and caused the tomcat web server to not start up so I had to initially restart the whole process from and top and get back to the original issue.
So I looked into the server xml file and I noticed at line 46 it looked at if the tags were incorrect, it displayed: </GlobalNamingResources>, which I ended up modifying to <GlobalNamingResource> but that didnt work as after stopping the apache server i was unable to restart, it was throwing me an error so reverted the variable back to the original </GlobalNamingResources>
Not sure what is the issue here but I have pastedthe Server.Xml file below. Please advise. Thank you.
--------------- Begin XML File-----------
Mahesh,
Thanks for the response. Took me a while but I took ARVINDMALAV advise which threw me several new errors and caused the tomcat web server to not start up so I had to initially restart the whole process from and top and get back to the original issue.
So I looked into the server xml file and I noticed at line 46 it looked at if the tags were incorrect, it displayed: </GlobalNamingResources>, which I ended up modifying to <GlobalNamingResource> but that didnt work as after stopping the apache server i was unable to restart, it was throwing me an error so reverted the variable back to the original </GlobalNamingResources>
Not sure what is the issue here but I have pastedthe Server.Xml file below. Please advise. Thank you.
--------------- Begin XML File-----------
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.startup.VersionLoggerListener" />
<!-- Security listener. Documentation at /docs/config/listeners.html
<Listener className="org.apache.catalina.security.SecurityListener" />
-->
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" Note: A "Service" is not itself a "Container",
so you may not define subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="Catalina">
<!--The connectors can use a shared executor, you can define one or more named thread pools-->
<!--
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>
-->
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
-->
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
<!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443
This connector uses the NIO implementation. The default
SSLImplementation will depend on the presence of the APR/native
library and the useOpenSSL attribute of the
AprLifecycleListener.
Either JSSE or OpenSSL style configuration may be used regardless of
the SSLImplementation selected. JSSE style configuration is used below.
-->
<!--
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true">
<SSLHostConfig>
<Certificate certificateKeystoreFile="conf/localhost-rsa.jks"
type="RSA" />
</SSLHostConfig>
</Connector>
-->
<!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443 with HTTP/2
This connector uses the APR/native implementation which always uses
OpenSSL for TLS.
Either JSSE or OpenSSL style configuration may be used. OpenSSL style
configuration is used below.
-->
<!--
<Connector port="8443" protocol="org.apache.coyote.http11.Http11AprProtocol"
maxThreads="150" SSLEnabled="true" >
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
<SSLHostConfig>
<Certificate certificateKeyFile="conf/localhost-rsa-key.pem"
certificateFile="conf/localhost-rsa-cert.pem"
certificateChainFile="conf/localhost-rsa-chain.pem"
type="RSA" />
</SSLHostConfig>
</Connector>
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host).
Documentation at /docs/config/engine.html -->
<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
-->
<Engine name="Catalina" defaultHost="localhost">
<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->
<!-- Use the LockOutRealm to prevent attempts to guess user passwords
via a brute-force attack -->
<Realm className="org.apache.catalina.realm.LockOutRealm">
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
</Engine>
</Service>
</Server>
Segue Technologies Inc
US
Mahesh,
Thanks for the response. Took me a while but I took ARVINDMALAV advise which threw me several new errors and caused the tomcat web server to start up so I had to initially restart the whole process from and top and get back to the original issue.
So I looked into the server xml file and I noticed at line 46 it looked at if the tags were incorrect, it displayed: </GlobalNamingResources>, which I ended up modifying to <GlobalNamingResource> but that didnt work as after stopping the apache server i was unable to restart, it was throwing me an error so reverted the variable back to the original </GlobalNamingResources>
Not sure what is the issue here but I have pastedthe Server.Xml file below. Please advise. Thank you.
--------------- Begin XML File-----------
Mahesh,
Thanks for the response. Took me a while but I took ARVINDMALAV advise which threw me several new errors and caused the tomcat web server to start up so I had to initially restart the whole process from and top and get back to the original issue.
So I looked into the server xml file and I noticed at line 46 it looked at if the tags were incorrect, it displayed: </GlobalNamingResources>, which I ended up modifying to <GlobalNamingResource> but that didnt work as after stopping the apache server i was unable to restart, it was throwing me an error so reverted the variable back to the original </GlobalNamingResources>
Not sure what is the issue here but I have pastedthe Server.Xml file below. Please advise. Thank you.
--------------- Begin XML File-----------
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.startup.VersionLoggerListener" />
<!-- Security listener. Documentation at /docs/config/listeners.html
<Listener className="org.apache.catalina.security.SecurityListener" />
-->
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" Note: A "Service" is not itself a "Container",
so you may not define subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="Catalina">
<!--The connectors can use a shared executor, you can define one or more named thread pools-->
<!--
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>
-->
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
-->
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
<!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443
This connector uses the NIO implementation. The default
SSLImplementation will depend on the presence of the APR/native
library and the useOpenSSL attribute of the
AprLifecycleListener.
Either JSSE or OpenSSL style configuration may be used regardless of
the SSLImplementation selected. JSSE style configuration is used below.
-->
<!--
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true">
<SSLHostConfig>
<Certificate certificateKeystoreFile="conf/localhost-rsa.jks"
type="RSA" />
</SSLHostConfig>
</Connector>
-->
<!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443 with HTTP/2
This connector uses the APR/native implementation which always uses
OpenSSL for TLS.
Either JSSE or OpenSSL style configuration may be used. OpenSSL style
configuration is used below.
-->
<!--
<Connector port="8443" protocol="org.apache.coyote.http11.Http11AprProtocol"
maxThreads="150" SSLEnabled="true" >
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
<SSLHostConfig>
<Certificate certificateKeyFile="conf/localhost-rsa-key.pem"
certificateFile="conf/localhost-rsa-cert.pem"
certificateChainFile="conf/localhost-rsa-chain.pem"
type="RSA" />
</SSLHostConfig>
</Connector>
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host).
Documentation at /docs/config/engine.html -->
<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
-->
<Engine name="Catalina" defaultHost="localhost">
<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->
<!-- Use the LockOutRealm to prevent attempts to guess user passwords
via a brute-force attack -->
<Realm className="org.apache.catalina.realm.LockOutRealm">
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
</Engine>
</Service>
</Server>
Pegasystems Inc.
IN
Can you please share new log file?
Segue Technologies Inc
US
See attached for latest log file.
Pegasystems Inc.
IN
Can you please share tomcat-users.xml from C:/Tomcat_9.0/conf
Segue Technologies Inc
US
ARVINDMALAV,
I found the issue and it was within the tomcat-users.xml file. I had configured the roles and users outside the file body rather than within. Restarted the web server, and the issue is gone. However, I'm now coming across a database connection issue. I pasted the new logs below. Thanks for your help.
*/
6-Apr-2019 09:46:43.950 INFO [Thread-5] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
16-Apr-2019 09:46:43.983 INFO [Thread-5] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
16-Apr-2019 09:46:44.008 INFO [Thread-5] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
16-Apr-2019 09:46:44.086 INFO [Thread-5] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
16-Apr-2019 09:46:44.086 INFO [Thread-5] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]
16-Apr-2019 09:46:44.101 INFO [Thread-5] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]
ARVINDMALAV,
I found the issue and it was within the tomcat-users.xml file. I had configured the roles and users outside the file body rather than within. Restarted the web server, and the issue is gone. However, I'm now coming across a database connection issue. I pasted the new logs below. Thanks for your help.
*/
6-Apr-2019 09:46:43.950 INFO [Thread-5] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
16-Apr-2019 09:46:43.983 INFO [Thread-5] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
16-Apr-2019 09:46:44.008 INFO [Thread-5] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
16-Apr-2019 09:46:44.086 INFO [Thread-5] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
16-Apr-2019 09:46:44.086 INFO [Thread-5] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]
16-Apr-2019 09:46:44.101 INFO [Thread-5] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]
16-Apr-2019 09:46:44.101 INFO [Thread-5] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]
2019-04-16 09:46:45 Commons Daemon procrun stderr initialized
16-Apr-2019 09:46:46.789 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.17
16-Apr-2019 09:46:46.789 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 13 2019 15:55:27 UTC
16-Apr-2019 09:46:46.789 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: Proprietary information hidden
16-Apr-2019 09:46:46.789 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows Server 2016
16-Apr-2019 09:46:46.789 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
16-Apr-2019 09:46:46.789 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
16-Apr-2019 09:46:46.789 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Java\jdk-12
16-Apr-2019 09:46:46.789 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 12+33
16-Apr-2019 09:46:46.789 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
16-Apr-2019 09:46:46.789 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Tomcat_9.0
16-Apr-2019 09:46:46.789 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Tomcat_9.0
16-Apr-2019 09:46:46.789 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Tomcat_9.0
16-Apr-2019 09:46:46.789 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Tomcat_9.0
16-Apr-2019 09:46:46.805 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Tomcat_9.0\temp
16-Apr-2019 09:46:46.805 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
16-Apr-2019 09:46:46.805 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Tomcat_9.0\conf\logging.properties
16-Apr-2019 09:46:46.805 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms4096m
16-Apr-2019 09:46:46.805 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
16-Apr-2019 09:46:46.805 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
16-Apr-2019 09:46:46.805 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
16-Apr-2019 09:46:46.805 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
16-Apr-2019 09:46:46.805 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: abort
16-Apr-2019 09:46:46.805 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m
16-Apr-2019 09:46:46.805 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m
16-Apr-2019 09:46:46.805 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Tomcat_9.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Java\jdk-12;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;.]
16-Apr-2019 09:46:47.180 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
16-Apr-2019 09:46:47.320 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
16-Apr-2019 09:46:47.336 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1,520] milliseconds
16-Apr-2019 09:46:47.461 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
16-Apr-2019 09:46:47.461 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.17]
16-Apr-2019 09:46:47.476 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Tomcat_9.0\webapps\docs]
16-Apr-2019 09:46:49.070 SEVERE [main] org.apache.catalina.core.NamingContextListener.addEnvironment naming.invalidEnvEntryType
16-Apr-2019 09:46:49.070 SEVERE [main] org.apache.catalina.core.NamingContextListener.addEnvironment naming.invalidEnvEntryType
16-Apr-2019 09:46:49.117 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
16-Apr-2019 09:46:49.227 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Tomcat_9.0\webapps\docs] has finished in [1,751] ms
16-Apr-2019 09:46:49.227 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Tomcat_9.0\webapps\examples]
16-Apr-2019 09:46:50.211 SEVERE [main] org.apache.catalina.core.NamingContextListener.addEnvironment naming.invalidEnvEntryType
16-Apr-2019 09:46:50.211 SEVERE [main] org.apache.catalina.core.NamingContextListener.addEnvironment naming.invalidEnvEntryType
16-Apr-2019 09:46:50.445 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
16-Apr-2019 09:46:50.555 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Tomcat_9.0\webapps\examples] has finished in [1,328] ms
16-Apr-2019 09:46:50.555 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Tomcat_9.0\webapps\host-manager]
16-Apr-2019 09:46:51.680 SEVERE [main] org.apache.catalina.core.NamingContextListener.addEnvironment naming.invalidEnvEntryType
16-Apr-2019 09:46:51.695 SEVERE [main] org.apache.catalina.core.NamingContextListener.addEnvironment naming.invalidEnvEntryType
16-Apr-2019 09:46:51.711 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
16-Apr-2019 09:46:51.758 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Tomcat_9.0\webapps\host-manager] has finished in [1,203] ms
16-Apr-2019 09:46:51.758 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Tomcat_9.0\webapps\manager]
16-Apr-2019 09:46:52.617 SEVERE [main] org.apache.catalina.core.NamingContextListener.addEnvironment naming.invalidEnvEntryType
16-Apr-2019 09:46:52.617 SEVERE [main] org.apache.catalina.core.NamingContextListener.addEnvironment naming.invalidEnvEntryType
16-Apr-2019 09:46:52.633 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
16-Apr-2019 09:46:52.633 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Tomcat_9.0\webapps\manager] has finished in [875] ms
16-Apr-2019 09:46:52.648 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Tomcat_9.0\webapps\prweb]
16-Apr-2019 09:46:53.289 INFO [main] org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = PRFileStore Ignoring unknown property: value of "Database-based File Access" for "description" property
16-Apr-2019 09:46:53.305 INFO [main] org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = AdminPegaRULES Ignoring unknown property: value of "PegaRULES Admin datasource" for "description" property
16-Apr-2019 09:46:53.305 SEVERE [main] org.apache.catalina.core.NamingContextListener.addEnvironment naming.invalidEnvEntryType
16-Apr-2019 09:46:53.305 SEVERE [main] org.apache.catalina.core.NamingContextListener.addEnvironment naming.invalidEnvEntryType
16-Apr-2019 09:46:53.320 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
16-Apr-2019 09:46:53.430 1050 [main] com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource. Loading bootstrap properties from /prbootstrap.properties
16-Apr-2019 09:46:53.430 INFO [main] com.pega.pegarules.internal.bootstrap.SettingReaderJNDI. Could not find java:comp/env/prbootstrap/ in the local JNDI context, skipping prconfig setting lookup
16-Apr-2019 09:46:53.430 INFO [main] com.pega.pegarules.internal.bootstrap.SettingReaderJNDI. Could not find prbootstrap in the local JNDI context, skipping prconfig setting lookup
16-Apr-2019 09:46:53.430 INFO [main] com.pega.pegarules.internal.bootstrap.SettingReaderJNDI. Could not find java:comp/env/prconfig/ in the local JNDI context, skipping prconfig setting lookup
16-Apr-2019 09:46:53.430 INFO [main] com.pega.pegarules.internal.bootstrap.SettingReaderJNDI. Could not find prconfig in the local JNDI context, skipping prconfig setting lookup
16-Apr-2019 09:46:53.430 1050 [main] com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource. Bootstrap datatables schema: null
16-Apr-2019 09:46:54.398 SEVERE [main] com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource. Unable to connect to database. Will only use properties from file.
com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'pr_data_admin'.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:256)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1621)
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:592)
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:522)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7194)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2930)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:248)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:223)
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:444)
at org.apache.tomcat.dbcp.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:122)
at org.apache.tomcat.dbcp.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:122)
at com.pega.pegarules.internal.bootstrap.SettingReaderDB.getAllClassificationSettingsDB(SettingReaderDB.java:87)
at com.pega.pegarules.internal.bootstrap.SettingReaderDB.getSettingsDB(SettingReaderDB.java:154)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootstrapPropertiesFromDB(PRBootstrapDataSource.java:663)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootstrapPropertiesFromDB(PRBootstrapDataSource.java:643)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootstrapProperties(PRBootstrapDataSource.java:620)
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootstrapProperties(PRBootstrapDataSource.java:614)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.<clinit>(PRBootstrap.java:121)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.checkForStartup(AppServerBridgeToPega.java:117)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:223)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextInitialized(WebAppLifeCycleListenerBoot.java:92)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4682)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1868)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
16-Apr-2019 09:46:54.398 1050 [main] com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource. Archive version [0 ]
16-Apr-2019 09:46:54.398 1050 [main] com.pega.pegarules.internal.bootstrap.PRBootstrap. Engine schema defined in allclasses: null
16-Apr-2019 09:46:54.398 INFO [main] com.pega.pegarules.internal.bootstrap.SettingReaderJNDI. Could not find java:comp/env/prconfig/ in the local JNDI context, skipping prconfig setting lookup
16-Apr-2019 09:46:54.398 INFO [main] com.pega.pegarules.internal.bootstrap.SettingReaderJNDI. Could not find prconfig in the local JNDI context, skipping prconfig setting lookup
16-Apr-2019 09:46:54.398 1050 [main] com.pega.pegarules.internal.bootstrap.PRBootstrap. Engine classes schema: null
16-Apr-2019 09:46:54.398 1050 [main] com.pega.pegarules.internal.bootstrap.PRBootstrap. Assembled classes schema: null
16-Apr-2019 09:46:54.398 1050 [main] com.pega.pegarules.internal.bootstrap.PRBootstrap. prbootstrap.properties merged with prbootstrap entries in Data-Admin-System-Settings
16-Apr-2019 09:46:54.414 1050 [main] com.pega.pegarules.internal.bootstrap.PRBootstrap. PRBootstrap.calculateEngineCodeVersionFromDB() - unable to calculate codeset version from database: Invalid object name 'pr_engineclasses'.
16-Apr-2019 09:46:54.414 1050 [main] com.pega.pegarules.internal.bootstrap.PRMiniLoader. Will load phase 2 bootstrap from Pega-EngineCode:
16-Apr-2019 09:46:54.414 1050 [main] com.pega.pegarules.internal.bootstrap.PRMiniLoader. PRMiniLoader - unable to load classes from the database: Invalid object name 'pr_engineclasses'.
16-Apr-2019 09:46:54.414 SEVERE [main] com.pega.pegarules.internal.bootstrap.PRMiniLoader. Unable to access code through filesystem
java.nio.file.NoSuchFileException: C:\Tomcat_9.0\webapps\prweb\WEB-INF\lib\boot\prbootphase2.jar
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53)
at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38)
at java.base/sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:198)
at java.base/java.nio.file.Files.readAttributes(Files.java:1840)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1160)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:719)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:239)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:169)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:346)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:317)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:256)
at com.pega.pegarules.internal.bootstrap.PRMiniLoader.<init>(PRMiniLoader.java:302)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.createMiniLoader(PRBootstrap.java:726)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.checkForStartup(PRBootstrap.java:669)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:419)
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:92)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4682)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1868)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
16-Apr-2019 09:46:54.445 1050 [main] com.pega.pegarules.internal.bootstrap.PRBootstrap.
============ PegaRULES Bootstrap Configuration ============
Date: Tue Apr 16 09:46:54 EDT 2019
Java Version: Oracle Corporation 12
Configuration: file:/C:/Tomcat_9.0/webapps/prweb/WEB-INF/classes/prbootstrap.properties
Pega-EngineCode:
Database: Microsoft SQL Server 13.00.1601
Driver: Microsoft JDBC Driver 7.2 for SQL Server Proprietary information hidden
(!) Unable to use given database configuration
(!) Unable to locate classes on filesystem
=============== End Bootstrap Configuration ===============
16-Apr-2019 09:46:54.445 SEVERE [main] com.pega.pegarules.internal.bootstrap.PRBootstrap. Error initializing PRAppLoader
java.lang.ClassNotFoundException: com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl
at com.pega.pegarules.internal.bootstrap.PRMiniLoader.loadClass(PRMiniLoader.java:388)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.loadPhase2BootstrapClass(PRBootstrap.java:731)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.checkForStartup(PRBootstrap.java:673)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:419)
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:92)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4682)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1868)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
16-Apr-2019 09:46:54.445 SEVERE [main] com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega. Problem during method invocation (contextInitialized)
java.lang.RuntimeException: PRAppLoader was not properly initialized, unable to load class com.pega.pegarules.web.servlet.WebAppLifeCycleListener
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf(PRBootstrap.java:219)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstrap.java:335)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getMethod(PRBootstrap.java:315)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:420)
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:92)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4682)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1868)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
16-Apr-2019 09:46:54.461 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
16-Apr-2019 09:46:54.461 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [/prweb] startup failed due to previous errors
16-Apr-2019 09:46:54.461 1050 [main] com.pega.pegarules.internal.bootstrap.PRBootstrap. prbootstrap.properties merged with prbootstrap entries in Data-Admin-System-Settings
16-Apr-2019 09:46:54.477 1050 [main] com.pega.pegarules.internal.bootstrap.PRBootstrap. PRBootstrap.calculateEngineCodeVersionFromDB() - unable to calculate codeset version from database: Invalid object name 'pr_engineclasses'.
16-Apr-2019 09:46:54.477 1050 [main] com.pega.pegarules.internal.bootstrap.PRMiniLoader. Will load phase 2 bootstrap from Pega-EngineCode:
16-Apr-2019 09:46:54.477 1050 [main] com.pega.pegarules.internal.bootstrap.PRMiniLoader. PRMiniLoader - unable to load classes from the database: Invalid object name 'pr_engineclasses'.
16-Apr-2019 09:46:54.477 SEVERE [main] com.pega.pegarules.internal.bootstrap.PRMiniLoader. Unable to access code through filesystem
java.nio.file.NoSuchFileException: C:\Tomcat_9.0\webapps\prweb\WEB-INF\lib\boot\prbootphase2.jar
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53)
at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38)
at java.base/sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:198)
at java.base/java.nio.file.Files.readAttributes(Files.java:1840)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1160)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:719)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:239)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:169)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:346)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:317)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:256)
at com.pega.pegarules.internal.bootstrap.PRMiniLoader.<init>(PRMiniLoader.java:302)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.createMiniLoader(PRBootstrap.java:726)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.checkForStartup(PRBootstrap.java:669)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:419)
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.contextDestroyed(WebAppLifeCycleListenerBoot.java:75)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4729)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5388)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:187)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1868)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
16-Apr-2019 09:46:54.477 1050 [main] com.pega.pegarules.internal.bootstrap.PRBootstrap.
============ PegaRULES Bootstrap Configuration ============
Date: Tue Apr 16 09:46:54 EDT 2019
Java Version: Oracle Corporation 12
Configuration: file:/C:/Tomcat_9.0/webapps/prweb/WEB-INF/classes/prbootstrap.properties
Pega-EngineCode:
Database: Microsoft SQL Server 13.00.1601
Driver: Microsoft JDBC Driver 7.2 for SQL Server Proprietary information hidden
(!) Unable to use given database configuration
(!) Unable to locate classes on filesystem
=============== End Bootstrap Configuration ===============
16-Apr-2019 09:46:54.477 SEVERE [main] com.pega.pegarules.internal.bootstrap.PRBootstrap. Error initializing PRAppLoader
java.lang.ClassNotFoundException: com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl
at com.pega.pegarules.internal.bootstrap.PRMiniLoader.loadClass(PRMiniLoader.java:388)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.loadPhase2BootstrapClass(PRBootstrap.java:731)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.checkForStartup(PRBootstrap.java:673)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:419)
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.contextDestroyed(WebAppLifeCycleListenerBoot.java:75)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4729)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5388)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:187)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1868)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
16-Apr-2019 09:46:54.477 SEVERE [main] com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega. Problem during method invocation (contextDestroyed)
java.lang.RuntimeException: PRAppLoader was not properly initialized, unable to load class com.pega.pegarules.web.servlet.WebAppLifeCycleListener
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf(PRBootstrap.java:219)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstrap.java:335)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getMethod(PRBootstrap.java:315)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:420)
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.contextDestroyed(WebAppLifeCycleListenerBoot.java:75)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4729)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5388)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:187)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1868)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
16-Apr-2019 09:46:54.508 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Tomcat_9.0\webapps\prweb] has finished in [1,860] ms
16-Apr-2019 09:46:54.508 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Tomcat_9.0\webapps\ROOT]
16-Apr-2019 09:46:55.102 SEVERE [main] org.apache.catalina.core.NamingContextListener.addEnvironment naming.invalidEnvEntryType
16-Apr-2019 09:46:55.102 SEVERE [main] org.apache.catalina.core.NamingContextListener.addEnvironment naming.invalidEnvEntryType
16-Apr-2019 09:46:55.102 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
16-Apr-2019 09:46:55.117 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Tomcat_9.0\webapps\ROOT] has finished in [609] ms
16-Apr-2019 09:46:55.117 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
16-Apr-2019 09:46:55.133 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
16-Apr-2019 09:46:55.133 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [7,799] milliseconds
Pegasystems Inc.
IN
Can you please share context.xml
Segue Technologies Inc
US
Please see context xml file pasted below. Thanks.
Note: I intentionally left the password variable blank. In my actual xml file it is there. I just removed it for this post.
-----------------------------------Begin--------------------------------------------
Please see context xml file pasted below. Thanks.
Note: I intentionally left the password variable blank. In my actual xml file it is there. I just removed it for this post.
-----------------------------------Begin--------------------------------------------
-
Gaurav Sharma Ivan Loma Treceno vinodkumar kalagata
Pegasystems Inc.
IN
Thing here is, Database is not getting connected.
-
Mohammad Ravoof
Segue Technologies Inc
US
Whats the reason for that? I followed the Install guide and thought I configured it properly. Not sure what is causing the database to not connect, during the testing of the database connection in the IUA, step 2, it successfully connected.
Pegasystems Inc.
IN
Issue here is this binding which is wrong:
In value for PegaRULES, you have given DB name and not pegaRULES schema name which is 'pega' in your case. can you please put value as pega and not PegaDB which is DB name in ur install
<Environment name="prconfig/database/databases/PegaRULES/defaultSchema"
Issue here is this binding which is wrong:
In value for PegaRULES, you have given DB name and not pegaRULES schema name which is 'pega' in your case. can you please put value as pega and not PegaDB which is DB name in ur install
<Environment name="prconfig/database/databases/PegaRULES/defaultSchema"
value="PegaDB" type="java.lang.string"
Segue Technologies Inc
US
So within our Pega database server I created two schemas, which I assumed is what the guide was implying me to do, which I named PegaDB and PegaDATA, and put those values within the two default environment definitions.
Anyway, I changed the value of the PegaRULES from PegaDB to pega but still receiving the same error.
Pegasystems Inc.
IN
You missed to close double quote in below:
url="jdbc:sqlserver://pegadb.seguetech.com:1433;
use following and restart tomcat to see if its successful now:
You missed to close double quote in below:
url="jdbc:sqlserver://pegadb.seguetech.com:1433;
use following and restart tomcat to see if its successful now:
url="jdbc:sqlserver://pegadb.seguetech.com:1433";
Keep other values in context.xml as it was earlier apart from above URL .
Segue Technologies Inc
US
Thats how the Install guide instructs to do it. See attached.
Thats how the Install guide instructs to do it. See attached.
<Resource name="jdbc/PegaRULES" auth="Container" type="javax.sql.DataSource" driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver" url="jdbc:sqlserver://[host]:[port]; databaseName=[dbName]; selectMethod=cursor; sendStringParametersAsUnicode=false" username="Base user name" password="password" />
Pegasystems Inc.
IN
This is wrong, can you please let me know PRPC version you are trying to install?
Can you please correct in your setup and try?
-
Ashwani Mishra
Pegasystems Inc.
IN
Ignore version details, its 8.2
Segue Technologies Inc
US
Not sure about the PRPC, But I am trying to build a Pega Platform 8.2 version using MS SQL Server 2016 server and Tomcat as the webserver. I've attached the install guide Pega directed me to.
But I'll give that a try and see what happens. Will post results upon trying.
Segue Technologies Inc
US
After modifying the context xml file for the url definition to have a closing quotation mark, it continued throwing the same error: */
Unable to connect to database. Will only use properties from file.
com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'pr_data_admin'
This is how it looked with the adjustment:
<Resource name="jdbc/PegaRULES"
After modifying the context xml file for the url definition to have a closing quotation mark, it continued throwing the same error: */
Unable to connect to database. Will only use properties from file.
com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'pr_data_admin'
This is how it looked with the adjustment:
<Resource name="jdbc/PegaRULES"
auth="Container"
type="javax.sql.DataSource"
driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
url="jdbc:sqlserver://pegadb.seguetech.com:1433";
databaseName=PegaDB;
selectMethod=cursor;
sendStringParameterAsUnicode=false"
username="pega"
password=""
/>
Pegasystems Inc.
US
@JeremyR4 - firstly i would suggest you to share the log or any files in the .txt/respective files instead of paste the content in the comment which is very hard to read through the comments for the user and takes lot of time to understand the current status of the issue.
As so much discussion happened between you and Malav in this post dint get chance to look into the whole discussion, but as per my understanding that you were not able to connect to the data base with the above data source configuration in the context.xml which is shared in your last comment. If that is the current status then i noticed some strange syntax related errors in the above configuration.
url="jdbc:sqlserver://pegadb.seguetech.com:1433";
databaseName=PegaDB;
selectMethod=cursor;
Observation: As per my understanding you shouldn't have the semicolon in the above 3 lines of code if you check the syntax of the <Resource> tag in the tomcat specification. Can you please remove the semicolons in the above 3 lines of code and start the server to test the behavior?
@JeremyR4 - firstly i would suggest you to share the log or any files in the .txt/respective files instead of paste the content in the comment which is very hard to read through the comments for the user and takes lot of time to understand the current status of the issue.
As so much discussion happened between you and Malav in this post dint get chance to look into the whole discussion, but as per my understanding that you were not able to connect to the data base with the above data source configuration in the context.xml which is shared in your last comment. If that is the current status then i noticed some strange syntax related errors in the above configuration.
url="jdbc:sqlserver://pegadb.seguetech.com:1433";
databaseName=PegaDB;
selectMethod=cursor;
Observation: As per my understanding you shouldn't have the semicolon in the above 3 lines of code if you check the syntax of the <Resource> tag in the tomcat specification. Can you please remove the semicolons in the above 3 lines of code and start the server to test the behavior?
If above suggestion doesn't help you to resolve this issue, then i might need the server.xml, startup log file to analyze further. Please share the files in the .txt or respective file format rather than pasting it into the comment going forward in the community.
Hope this might help you.
Segue Technologies Inc
US
Mahesh,
I changed the syntax but continued getting the error. First i tried removing the semicolons and adding quotations to all the values of the variables, i.e. databaseName="PegaDB", selectMethod="cursor" etc., but got the same error. When I tried only removing the semicolon and leaving it as:
Pegasystems Inc.
US
Hi Jeremy,
Thanks for sharing the requested information. After looking into your context.xml content noticed multiple issues with it and corrected them, please use the content of the attached file in your context.xml file and follow below instructions:
- Replace the content of your context.xml file with my attachment content.
- Replace BASEUSERNAME -> Base user name, BASEUSERPWD -> Base User password, PEGARULESSCHEMA -> Pega RULES schema name, PEGADATASCHEMA -> Pega DATA schema name.
- Make sure you created temp folder in C:\Tomcat_9.0(Always prefer the folder name without special characters).
- Make sure you added the sqlserver related jdbc driver jar file into your tomcat/lib folder.
- Start the server and test the behavior. If still you face the issue please share the log file.
Segue Technologies Inc
US
Mahesh,
I replaced the contents of the provided context xml file with the context xml file located within tomcat directory. I replaced the BASEUSERNAME with my own baseusername which was the same one I had been using along with the same BASEUSERPWD i had been using. Same applies to the PEGARULES/DATA SCHEMA variables, I changed them to the default schema I have set up for the user "pega" within our database server which in my case is "dbo", Because i am using single schema configuration, the install guide stated that with single schema the data schema is the same as the rules schema.
I verified the jdbc driver is present, and all environment variables have been configured properly. I started the server and it observed the same error again. Please see log file attached.
-
Mohammad Ravoof siddharth karamchandani
Pegasystems Inc.
US
Please change the type="java.lang.string" to type="java.lang.String" in the below statements,
<Environment name="prconfig/database/databases/PegaRULES/defaultSchema" value="dbo" type="java.lang.string" /> <Environment name="prconfig/database/databases/PegaDATA/defaultSchema" value="dbo" type="java.lang.string" />
Segue Technologies Inc
US
Mahesh,
I made the appropriate changes and it gave me a similar error but not quite the same. See attached log.
After I saw the error, I made a change to the environment value variable just for testing purposes.
Changed from "value=dbo" to "value="PegaDATA" which is a schema I have created in the database server, and also assigned the schema as the default schema for user "pega". After doing that and restarting tomcat, I received a completely different error, which you can see in the logs as well.
Pegasystems Inc.
US
Jeremy,
Its still confusing for me to understand the names that has been used during installation process, can you please confirm the below queries.
- Base user that you had used during installation?
- Name of the database?
- Name of RULES schema created?
- Name of DATA schema created?
If you are not clear about these names, please share the screen shots of your Pega rules and data schemas from the SQLDeveloper tool.
Segue Technologies Inc
US
Mahesh,
I was able to get past the error, I used "PegaDB" as the value for the environment value for PegaRULES and PegaDB, see below.
<Environment name="prconfig/database/databases/PegaRULES/defaultSchema" value="PEGARULESSCHEMA" type="java.lang.string" />
To answer your question:
Base User: Pega
Name of Database name: PegaDB
I initially created a schema called PegaDATA but obviously that is not what it wanted since it accepted PegaDB as the RULES and DATA schema.
Anyways, upon fixing that error, I am getting a new error, unable to load a specific class. See logs. Thanks!
Pegasystems Inc.
US
Based on the below support article about the error the AssemblerInfoImpl class seems to be missing in pr_engineclasses table.
17-Apr-2019 14:04:19.674 SEVERE [main] com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl. Cannot load AssemblerInfoImpl class java.lang.ClassNotFoundException: com.pega.pegarules.generation.internal.AssemblerInfoImpl at com.pega.pegarules.internal.bootstrap.phase2.PRBaseLoader.findClass(PRBaseLoader.java:308)
In your scenario its a fresh installation and not sure behind the reason for missing this class in pr_engineclasses table, If you have the stable copy of the pr_engineclasses table content in your other environment then probably you can import that into it.
Pegasystems Inc.
US
To cross check you can use below query in the db,
select * from pr_engineclasses where pzclass like '%AssemblerInfoImpl%';
Segue Technologies Inc
US
Mahesh,
I ran the query you suggested and the database was came back with any empty outcome. Not sure why it would be missing as well. We don't have another instance of pega, so don't have the option to import. Any other possible alternatives for importing the class?
-
Phil Shannon Aditya Boggarapu
Pegasystems Inc.
US
Jeremy,
Analysis:
- Checked the existence of AssemblerInfoImpl class in pr_engineclasses in Pega 8.2.0 instance with the below query and noticed that the class record exists in 08-02-01 codeset version,
select * from RULES.pr_engineclasses where pzclass like '%AssemblerInfoImpl%';
-
From the log file we can see that we are connecting to the db fine and determining the codeset version as 08-02-02.
17-Apr-2019 14:04:15.940 1050 [main] com.pega.pegarules.internal.bootstrap.PRBootstrap. Using latest detected engine version:(EngineCodeSetVersion= 08-02-02).
Could you please provide me the below information:
- Share test result screenshot of query -> SELECT count(PZCODESETVERSION), pzcodeset, PZCODESETVERSION FROM RULES.PR_ENGINECLASSES GROUP BY pzcodesetversion, pzcodeset;
- May i know the exact version that you tried to install? If possible also share the name of your media file that has been downloaded.
Segue Technologies Inc
US
Mahesh,
I ended up rebuilding the whole application server from the start and I configured everything correctly to the point no errors are displaying in the tomcat log file. But when i try to point to localhost:8080, it just sits and I get no response. Just keeps "waiting for localhost". Any idea why this might be happening? I've attached the logfile. Thanks.
Pegasystems Inc.
US
Did you make sure to copy the sqljdbc related jar file into your tomcat lib directory? i can see the below error in your log,
Caused by: java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
-
Daniel Mercurio
Segue Technologies Inc
US
Mahesh,
Yes, if you continue down the log file, you'll notice the errors are no longer present. I had installed tomcat prior to moving the files which is why the errors are displaying in the beginning. But once i configured everything, the log shows no errors. Thanks.
BNYMellon Technology
IN
Hi all
I am facing similar issue for my Upgrade to 7.4 for which I will create a separate post. But question here.
1. In my current Pega, 7.1.5 we have the DB details in prweb.xml, but here I see it configured in context.xml. What determines this? To be in prweb or context xml files?
2. Why do we need User Name and Password used during install? Our DB doesnt provide those, we were given the username and passwords for our Data and Rules schema. Do we definetly need Admin User name and Password?
Pegasystems Inc.
US
@Arvind please find the answers below for your queries:
1. In my current Pega, 7.1.5 we have the DB details in prweb.xml, but here I see it configured in context.xml. What determines this? To be in prweb or context xml files? -> Data source information will be stored in multiple places like context.xml, web.xml, prweb.xml, etc. I think prweb.xml file is the place where the cloud instances will have this information which is the replica of web.xml file. So it depends on where your platform has been installed.
2. Why do we need User Name and Password used during install? Our DB doesnt provide those, we were given the username and passwords for our Data and Rules schema. Do we definetly need Admin User name and Password? -> During the installation you should use the Deploy user(who has access to both rules and data schemas as you can only configure one user information along with the rules and data schema names.) and in the data source configuration you should use the admin/Base user who has access to both the schemas.
@Arvind please find the answers below for your queries:
1. In my current Pega, 7.1.5 we have the DB details in prweb.xml, but here I see it configured in context.xml. What determines this? To be in prweb or context xml files? -> Data source information will be stored in multiple places like context.xml, web.xml, prweb.xml, etc. I think prweb.xml file is the place where the cloud instances will have this information which is the replica of web.xml file. So it depends on where your platform has been installed.
2. Why do we need User Name and Password used during install? Our DB doesnt provide those, we were given the username and passwords for our Data and Rules schema. Do we definetly need Admin User name and Password? -> During the installation you should use the Deploy user(who has access to both rules and data schemas as you can only configure one user information along with the rules and data schema names.) and in the data source configuration you should use the admin/Base user who has access to both the schemas.
Hope that answers your query.
BNYMellon Technology
IN
Thanks Mahesh. For 2, my organization wont give an Id with access to both the schemas. I have Rule Schema id with password and Data schema id with password. I can configure both these ids under Rule and Data Schema, correct and it should work? I have created another post with my issues, expecting help to resolve.
Pegasystems Inc.
US
I don't see any reason behind sharing the base user credentials who has access to both the schemas when they are able to share you the individual schema credentials. Not sure what you are going to provide for username and password fields in the data source configuration in your context.xml. Let's say you provided the rules schema user details then how it is going to access the data schema and viceversa?
-
Caio Araujo
BNYMellon Technology
IN
I have requested one with access to both the schemas, lets see. But to your question if grants are provided to data schema for Rules schema, it should be able to access. That was my idea. And I think the Upgrade applied those grants.
Pegasystems Inc.
US
If you are sure that the rule schema operator has the access rights of the base user as specified in the install guide, then you can use that user.
Pegasystems Inc.
IN
Can you please share server.xml from this new env?
Segue Technologies Inc
US
Malav,
I've attached the server.xml file. Thanks.
-
Charitha Rokkam
Segue Technologies Inc
US
Malav,
Also another thing to note, Tomcat works fine until we deploy prweb. Once its deployed, the CPU usage spikes at 100% regardless. Just tested and without prweb its normal and consistent at 5% usage but once prweb is deployed, Tomcat spikes at max CPU usage. Any idea why this could be happening? Thanks.
Accepted Solution
Pegasystems Inc.
US
Thanks for your time Jeremy to have a quick call to troubleshoot this long running issue and able to fix the issue with the below information,
- Java 12 has been used in the system which is not supported by Pega 8.2, so far Java 8 is supported and we are under testing phase with Java 11 as per the support guide. -> So installed Java 8 after uninstalling Java 12 in the system.
- mssql-jdbc-7.2.1.jre11.jar file has been used which is not the right jar file to use for Java 8 version and sqljdbc42-6.0.8112.jar file is being downloaded from maven repository to use in tomcat/lib folder.
- Set the below roles and users in tomcat-users.xml file from installation guide.
- Set the heap related configurations as per the installation guide.
- Deleted PegaTemp folder content and restarted the server by configuring the Java 8 environment variables.
With the above changes we are able to bring up the instance and able to login to the system.