f_chas01 Posted July 14, 2011 Share Posted July 14, 2011 Hello,I have intalled JasperReports Server from the WAR file. I am using an oracle DB and a tomcat server. Everything is working perfectly except for the js-import and js-export tools.Any attempt to run one of the tools results in a tonne of errors. The reason seems to be a oracle jdbs driver which can not be found. The point is, that the jdbc driver is deployed. ojdbc14.jar is in the classpath and OracleDriver class can be found. I checked it using thejava oracle.jdbc.OracleDriver which results inException in thread "main" java.lang.NoSuchMethodError: mainDoes anybody know what it might be?Here are the error messages I get when I try to start js-export. Code: Post Edited by f_chas01 at 07/14/2011 14:03 Link to comment Share on other sites More sharing options...
tkavanagh Posted July 18, 2011 Share Posted July 18, 2011 Sorry for the trouble running the js-import/js-export commands. It is definitely confusing that the Application Server is fully configured but the js-import/export scripts are missing a reference to the appropriate JDBC driver. There is a section in the Install Guide on import-export configuration that says where the JDBC driver must additionally be copied. Section 14.4 "Deploying a JDBC Driver". The point is that the App Server and import-export configuration set of files are not identical and necessarily live in two locations. For import-export, the JDBC driver must be copied to this location: <js-install>/buildomatic/conf_source/iePro/libFor the next release, I am planning to push two improvements. One is I will make sure the driver is copied for import-export on the deploy-webapp buildomatic install step. Second, it looks like we should be able to get import-export into the JS UI so that import-export can be run from the UI which will make it easier to manage many import-export tasks. 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