gkuehnberger Posted January 3, 2010 Share Posted January 3, 2010 It seems the export/import scripts, their settings or the mysql jars are broken in: jasperserver-ce-3.7.0-RC-linux-installer.binHowto reproduce:- install jasperserver-ce-3.7.0-RC-linux-installer.bin in complete standalone (tomcat & mysql) mode eg. on debian- webinterface and webservices worked fine so far- however export import did not worke like:cd <js-install>cd scripts./js-export.sh --everything --output-dir /tmp/370results in:12:21:40,678 ERROR JDBCExceptionReporter:101 - Cannot create PoolableConnectionFactory (Access denied for user 'jasperdb'@'localhost' (using password: YES))12:21:40,681 WARN SettingsFactory:133 - Could not obtain connection to query metadataorg.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'jasperdb'@'localhost' (using password: YES)) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:82)- testing the DB conection see below, worked fine though:cd <js-install>cd mysql/bin./mysql -ujasperdb -ppassword -P3306 -h127.0.0.1Please advice on cause and fix or let me know wether I should file a bugreport.Thanks, regards Georg Link to comment Share on other sites More sharing options...
tkavanagh Posted January 4, 2010 Share Posted January 4, 2010 Thanks for the feedback on this issue. Yes, please file a bug on this - and I will take a look at it. Link to comment Share on other sites More sharing options...
gkuehnberger Posted January 4, 2010 Author Share Posted January 4, 2010 Thanks for the feedback;I'll file a bug within the next days.regards georg Link to comment Share on other sites More sharing options...
jdevine Posted January 4, 2010 Share Posted January 4, 2010 If you change your msql test to hit localhost instead of the localhost IP, does it still work? ./mysql -ujasperdb -ppassword -P3306 -hlocalhostJust curious because if you log into mysql and then 'use mysql' and do a 'select * from user', it should show you all the hosts that are allowed to access the database (you can modify this table as needed). I would expect there to be an entry for host=% and user=jasperdb (which would allow jasperdb to connect from any host), but this does sound like an issue that I ran into a while back, so I thought I'd throw this out there. Link to comment Share on other sites More sharing options...
gkuehnberger Posted January 17, 2010 Author Share Posted January 17, 2010 Chaps,as discussed, I filed a bug under: http://jasperforge.org/projects/jasperserver/tracker/view.php?id=4535 I assume, that the config of the import/export tool in the CE-Version somewhere points to localhost, as mysqlconnect to localhost fails for user jasperdb. thanks upfront, regards georg 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