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

Changing to new (remote) postgres DB after bundled install


gsteiner

Recommended Posts

I have done a pg_dump on my bundled jasperserver DB and loaded my existing data into my new remote postgres DB.  I then changed the tomcat config.xml to point to the new remote database.  I deleted the jasperreports-server-5.1/apache-tomcat/conf/Catalina/localhost/jasperserver-pro.xml.  After restarting tomcat I just get a 404 not found on home.html and any other .html page I try to navigate to.  My catalina.out has no error messages in it.  Is it possible to change Postgres DBs after doing a bundled install? Any ideas what could be causing my 404 errors?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Why did you delete the "jasperserver-pro.xml" config? What is the config.xml?

Try to edit 

<js-install>/<tomcat>/webapps/jasperserver(-pro)/WEB-INF/js.jdbc.properties

As far as I remember these are the db-settings used by the webapp for connect, but there may be other locations to do that.

Cheers, Thomas

http://www.thomaszimmer.net

P.S.: You propably will have to reconfigure all db-connections you have defined in the js-repository for report execution etc.

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...