I am using JReport 9.1 on Windows 7 and when I try to run my report, I get this error:
Report Engine : Query execution error. Details: Error in connecting to
jdbc:oracle:thin:@xxx.xxx.xx.xxx:1521:db_name, Could not initialize
class oracle.jdbc.driver.DMSFactory Ensure that the table names,
column names and connection are valid and that the JDBC driver can be
loaded from the class path.
The Oracle Databse is 11.2.0.3. I have the ojdbc6dms_g.jar file in my CLASSPATH. I have JRE6 and JDK1.6 installed. What is going on here?
You can use
ojdbc6.jarinstead ofojdbc6dms_g.jar. And the JDBC driver class isoracle.jdbc.driver.OracleDriver. It looks like either your Oracle DMS has a problem or the CLASSPATH has an issue.