itgroup Posted August 18, 2016 Share Posted August 18, 2016 I changed the password for db username = postgresIt appears that JasperReports had the old password in some config(s) file and now it doesn't work.What do I need to do here? I'm guessing I need to find the relevant config files and update them? If so, which ones? If not, what do I do? Link to comment Share on other sites More sharing options...
reportdev Posted August 18, 2016 Share Posted August 18, 2016 We had the same problem with the WAR installation.The WAR installation explodes with multiple config files and its not an easy thing to find the relevant files which needs to be modified. We had to start from scratch and explode the WAR with the required password and then it worked. Link to comment Share on other sites More sharing options...
itgroup Posted August 18, 2016 Author Share Posted August 18, 2016 Lol. user = postgresoriginal password = postgres Link to comment Share on other sites More sharing options...
Solution marianol Posted August 22, 2016 Solution Share Posted August 22, 2016 You need to change the JNDI connection to the repo, that is defined in <TOMCAT>/webapps/jasperserver-pro/META-INF/context.xmlThere look for the JNDI connection called jdbc/jasperserver and change the password to the new one <Resource name="jdbc/jasperserver" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="postgres" password="postgres" driverClassName="org.postgresql.Driver" accessToUnderlyingConnectionAllowed = "true" validationQuery="SELECT 1" testOnBorrow="true" url="jdbc:postgresql://localhost:5432/jasperserver" factory="com.jaspersoft.jasperserver.tomcat.jndi.JSBasicDataSourceFactory" /> Link to comment Share on other sites More sharing options...
itgroup Posted August 22, 2016 Author Share Posted August 22, 2016 Lol.user = postgresoriginal password = postgresBut anyone else facing this problem should look at marianol's answer. 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