andrew_50 Posted April 26 Share Posted April 26 We're looking like we will be moving our database to a different host. Does that affect Reports Server? If so, how? Essentially, is there a simple tweak to accomplish this switch? Or am I looking at a re-install? Link to comment Share on other sites More sharing options...
shreekrishna.shankhwar Posted April 28 Share Posted April 28 (edited) On 4/26/2024 at 11:27 PM, andrew_50 said: We're looking like we will be moving our database to a different host. Does that affect Reports Server? If so, how? Essentially, is there a simple tweak to accomplish this switch? Or am I looking at a re-install? Its Simple you have to change in META-INF/context.xml change your connection details . <Resource name="jdbc/jasperserver" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="shreekrishna" password="passworddb" driverClassName="org.mariadb.jdbc.Driver" accessToUnderlyingConnectionAllowed = "true" validationQuery="SELECT 1" testOnBorrow="true" url="jdbc:mysql://localhost:3306/jasperserver8?useUnicode=true&characterEncoding=UTF-8&autoReconnectForPools=true&tinyInt1isBit=false&allowPublicKeyRetrieval=true" factory="com.jaspersoft.jasperserver.tomcat.jndi.JSCommonsBasicDataSourceFactory" /> change your connection details. Edited April 28 by shreekrishna.shankhwar wrong file name spelling mistake Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now