Welcome to the Kapow forum. Here you can get help, use your skills to help others and enjoy hanging out in the company of other Kapow Robot Developers.

Installing management Console Tomcat with MySQL



Posts : 7
Points : 153
Join date : 2018-08-27
Location : Europe,Earth

Installing management Console Tomcat with MySQL

Post by miq on Mon Aug 27, 2018 2:01 pm

Hello I am having problems with installation configuration. I do not know which documents and lines to alternate in ManagementConsole.war. I think that the administrator guide is not doing very well on educating me how to install. 
I have installed XAMPP from where I run the MySQL and Tomcat from. 
I have put the managementconsole.xml in catalina localhost folder
The original managementconsole.war is deployed in tomcat webapps folder

Which files in .war should I alter and which lines?

I am getting an error message in managementconsole webpage:  Application failed to start "Spring subsystem failed to load".

XAMPP log:

INFO: Deploying configuration descriptor C:\xampp\tomcat\conf\Catalina\localhost\ManagementConsole.xml
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
0    [localhost-startStop-1] ERROR com.kapowtech.scheduler.server.spring.ProductionDataSourceFactory  - Could not connect to JNDI data source: 'jdbc/kapow/platform'
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'admin'@'localhost' (using password: YES))

So I think that the password and username are wrong, but what they are by default. 

Please help..

    Current date/time is Wed Jan 16, 2019 10:19 pm