Thanks Alberto,
My knowage.log file was empty till i stopped Knowage again. And this is what I got.
[pool-29-thread-1] 14 Feb 2022 12:07:47,812 ERROR it.eng.spagobi.commons.utilities.SpagoBIUtilities.readJndiResource:308 - javax.naming.NameNotFoundException: Name [java:comp/env/resource_path] is not bound in this Context. Unable to find [java:comp].
[pool-29-thread-1] 14 Feb 2022 12:07:47,812 ERROR it.eng.spagobi.commons.utilities.SpagoBIUtilities.readJndiResource:308 - javax.naming.NameNotFoundException: Name [java:comp/env/resource_path] is not bound in this Context. Unable to find [java:comp].
I think the server.xml file is configured correctly but since I am not so sure, this is it. I edited out my HMAC string value and my mysql password is password. Thank you once again.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.startup.VersionLoggerListener"/>
<Listener SSLEngine="on" className="org.apache.catalina.core.AprLifecycleListener"/>
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener"/>
<GlobalNamingResources>
<Resource auth="Container" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" name="UserDatabase" pathname="conf/tomcat-users.xml" type="org.apache.catalina.UserDatabase"/>
<Environment name="resource_path" type="java.lang.String" value="C:\Users\Documents\Knowage-Server-CE\resources"/>
<Environment name="service_url" type="java.lang.String" value="http://localhost:8080/knowage"/>
<Environment name="sso_class" type="java.lang.String" value="it.eng.spagobi.services.common.JWTSsoService"/>
<Environment description="HMAC key" name="hmacKey" type="java.lang.String" value="*****"/>
<Environment description="File for security encryption location" name="password_encryption_secret" type="java.lang.String" value="C:\Users\Documents\Knowage-Server-CE/conf/passwordEncryptionSecret"/>
<Resource auth="Container" factory="de.myfoo.commonj.work.FooWorkManagerFactory" maxThreads="5" name="wm/SpagoWorkManager" type="commonj.work.WorkManager"/>
<Resource auth="Container" driverClassName="com.mysql.cj.jdbc.Driver" factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" logAbandoned="true" maxIdle="15" maxTotal="20" maxWait="-1" minEvictableIdleTimeMillis="60000" minIdle="10" name="jdbc/knowage" password="password" removeAbandoned="true" removeAbandonedTimeout="3600" testOnReturn="true" testWhileIdle="true" timeBetweenEvictionRunsMillis="10000" type="javax.sql.DataSource" url="jdbc:mysql://localhost:3307/knowage_ce" username="Ife"/>
<Resource auth="Container" driverClassName="com.mysql.cj.jdbc.Driver" factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" logAbandoned="true" maxIdle="15" maxTotal="20" maxWait="-1" minEvictableIdleTimeMillis="60000" minIdle="10" name="jdbc/ds_cache" password="password" removeAbandoned="true" removeAbandonedTimeout="3600" testOnReturn="true" testWhileIdle="true" timeBetweenEvictionRunsMillis="10000" type="javax.sql.DataSource" url="jdbc:mysql://localhost:3307/ds_cache" username="Ife"/>
</GlobalNamingResources>
<Service name="Catalina">
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" secretRequired="false"/>
<Engine defaultHost="localhost" name="Catalina" startStopThreads="0">
<Realm className="org.apache.catalina.realm.LockOutRealm">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/>
</Realm>
<Host appBase="webapps" autoDeploy="true" name="localhost" startStopThreads="0" unpackWARs="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" pattern="%h %l %u %t "%r" %s %b" prefix="localhost_access_log" suffix=".txt"/>
</Host>
</Engine>
</Service>
</Server>