Changing to new (remote) postgres DB after bundled install

0

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?

gsteiner's picture
Joined: Jun 14 2013 - 10:57am
Last seen: 4 years 1 week ago

1 Answer:

0

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.

Thomas Zimmer's picture
Joined: Oct 2 2012 - 1:35am
Last seen: 20 hours 4 min ago
Feedback
randomness