#1 2018-02-03 09:01:21

nogi
Member
Registered: 2018-02-03
Posts: 10

hibernate.dialect: (Class Not Found) error

Could anyone shed some light on what I have done incorrectly here?

ReportServer encountered an error while validating its environment. Please check the server log files for additional information.






  _____                       _    _____                          
 |  __ \                     | |  / ____|                         
 | |__) |___ _ __   ___  _ __| |_| (___   ___ _ ____   _____ _ __ 
 |  _  // _ \ '_ \ / _ \| '__| __|\___ \ / _ \ '__\ \ / / _ \ '__|
 | | \ \  __/ |_) | (_) | |  | |_ ____) |  __/ |   \ V /  __/ |   
 |_|  \_\___| .__/ \___/|_|   \__|_____/ \___|_|    \_/ \___|_|   
            | |                                                   
            |_|                                                   

Version: RS3.0.3-6002 2017-12-09-12-26-19
Code Version: 2017-12-08-10-49-15
Java Version: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.161-b12 (1.8)
VM Args: -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true -Xmx4g -XX:+UseConcMarkSweepGC -Dfile.encoding=UTF8 -Drs.configdir=/opt/reportserver -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed -Dcatalina.base=/var/lib/tomcat7 -Dcatalina.home=/usr/share/tomcat7 -Djava.io.tmpdir=/tmp/tomcat7-tomcat7-tmp
rs.configdir: /opt/reportserver (OK)

### DB Config ###
hibernate.dialect:  (Class Not Found)
hibernate.connection.driver_class:  (Class Not Found)
hibernate.connection.url: 
hibernate.connection.username: 
hibernate.connection.password: 
hibernate.default_schema: 

Connection Test: Failed (null)

Offline

#2 2018-02-03 10:36:02

eduardo
Administrator
Registered: 2016-11-01
Posts: 522

Re: hibernate.dialect: (Class Not Found) error

Hi nogi,

I see that you are using an external configuration directory: rs.configdir: /opt/reportserver

You have to configure the persistence.properties file. It is now empty:
### DB Config ###
hibernate.dialect:  (Class Not Found)
hibernate.connection.driver_class:  (Class Not Found)
hibernate.connection.url:
hibernate.connection.username:
hibernate.connection.password:
hibernate.default_schema:

You have to put your jdbc url configuration there and restart tomcat.

Regards,
Eduardo

Offline

#3 2018-02-03 10:36:42

nogi
Member
Registered: 2018-02-03
Posts: 10

Re: hibernate.dialect: (Class Not Found) error

Aaah great thank you.

Offline

Board footer

Powered by FluxBB