Jump to content
We've recently updated our Privacy Statement, available here ×

What is needed for Reports Server (CE) if the database moves to a different host?


andrew_50

Recommended Posts

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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&amp;characterEncoding=UTF-8&amp;autoReconnectForPools=true&amp;tinyInt1isBit=false&amp;allowPublicKeyRetrieval=true"
        factory="com.jaspersoft.jasperserver.tomcat.jndi.JSCommonsBasicDataSourceFactory"
         />

change your connection details. 

Edited by shreekrishna.shankhwar
wrong file name spelling mistake
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...