|
Re: NewbieSays: Arg! Can't 'ping' my MYSQL server? WTF? [message #730938 is a reply to message #730705] |
Thu, 29 September 2011 14:48 |
|
Did you use the manage drivers button to add the MySQL driver to the
designer? The driver should be in this directory:
eclipse\plugins\org.eclipse.birt.report.data.oda.jdbc_version\drivers
Jason
On 9/28/2011 7:11 PM, John Fields wrote:
> Quickly: I am a developer so I know my way around a linux box. First
> time BIRT/Eclipse/Java user though, and I cannot seem to get connected
> to a mySQL database with a stock BIRT. I am expecting this is a common
> problem that is SO common as to not be documented anywhere.
>
> I installed BIRT from the tar:
> eclipse-reporting-indigo-SR1-linux-gtk-x86_64.tar.gz
> openSUSE v11.4, replaced the JVM with "real" Sun/Oracle, installed DTP
> and edited the eclipse.ini and the "About" screen in Eclipse shows the
> correct JVM is called.
> Updated via the internal "check for updates".
>
> When trying to create the database connection I get "ping failed".
> I assure you this box CAN ping the mysql server on a different box.
>
> I even tried dropping the DNS name: jdbc:mysql://192.168.55.65:3306/
> (no joy).
>
> The full detail of the error is:
> java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:627)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> at
> org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.createConnection(JDBCConnection.java:212)
>
> at
> org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105)
>
> at
> org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
>
> at
> org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:73)
>
> at
> org.eclipse.datatools.enablement.internal.mysql.connection.JDBCMySQLConnectionFactory.createConnection(JDBCMySQLConnectionFactory.java:28)
>
> at
> org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
>
> at
> org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
>
> at
> org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
>
> at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
>
> So no Tomcat, or production webserver. Just a single instance of stock
> BIRT on a workstation with a mysql server box on the same lan.
>
> Help!? I am out of ideas to try...
|
|
|
|
Powered by
FUDForum. Page generated in 0.04331 seconds