Home » Archived » BIRT » "The selected driver cannot parse the given url" error...
"The selected driver cannot parse the given url" error... [message #114738] |
Tue, 24 January 2006 15:36  |
Eclipse User |
|
|
|
Hello,
I just downloaded and installed Birt 2.0 and I'm having trouble setting
up my JDBC datasource. I go into create New Data Source, select JDBC
Data Source, and enter all of my information. I added our db2java.zip
driver to the org.eclipse.birt.report.data.oda.jdbc_2.0.0\drivers
directory, and I see two new Driver Class options, and no matter what I
put in the URL field I get this error:
The selected driver cannot parse the given url
Any ideas?
Thanks!
Trent
|
|
| |
Re: "The selected driver cannot parse the given url" error... [message #115853 is a reply to message #114844] |
Wed, 25 January 2006 10:10   |
Eclipse User |
|
|
|
Hey Jason,
Yes, I did go through that process and I added our db2java.zip to the
JAR Files listing. This caused two new drivers to show up on the
drivers tab:
COM.ibm.db2.jdbc.app.DB2Driver ( v8.1)
and
COM.ibm.db2.jdbc.net.DB2Driver ( v8.1)
....so I think adding our driver worked. I then went back to creating my
Data Source and no matter which driver I choose and what URL I put into
the URL box, I get the stated error. I've tried the following entries
for URL, and nothing worked:
jdbc:db2://ip.address:9999/databasename
jdbc:db2://hostname:9999/databasename
jdbc:db2:databasename
jdbc:db2:databasename;port=9999
I even tried this (which I know is wrong) just to see if I can get past
the parsing error, and it still errored out.
jdbc:db2://localhost/databasename
Any other ideas? :)
Thanks for your help,
Trent
Jason Weathersby wrote:
> Trent,
>
> Did you use the Manage Drivers button on the Datasource Wizard?
> Take a look at the MySql example. It shows how to add that driver.
> http://www.eclipse.org/birt/examples/reports/mysql/
>
> Jason Weathersby
> BIRT PMC
>
> "Trent Ohannessian" <tohann@gmail.com> wrote in message
> news:dr6346$arl$1@utils.eclipse.org...
>
>>Hello,
>>
>>I just downloaded and installed Birt 2.0 and I'm having trouble setting up
>>my JDBC datasource. I go into create New Data Source, select JDBC Data
>>Source, and enter all of my information. I added our db2java.zip driver
>>to the org.eclipse.birt.report.data.oda.jdbc_2.0.0\drivers directory, and
>>I see two new Driver Class options, and no matter what I put in the URL
>>field I get this error:
>>
>>The selected driver cannot parse the given url
>>
>>Any ideas?
>>
>>Thanks!
>>Trent
>
>
>
|
|
|
Re: "The selected driver cannot parse the given url" error... [message #116798 is a reply to message #115853] |
Wed, 25 January 2006 15:52   |
Eclipse User |
|
|
|
Trent,
A couple of questions:
(1) Did you see the error message "the selected driver cannot parse the
given url" when you do "Test Connection" in the new Data Source wizard?
(2) If yes, ignore the error and proceed to create a data set based on that
jdbc data source. Does it work? If not what errors do you see?
(3) How can I obtain a copy of the db2 driver you are testing with?
thanks,
--
Gary Xue
Actuate Corporation - Product Development
BIRT Committer
"Trent Ohannessian" <tohann@gmail.com> wrote in message
news:dr84dh$phd$1@utils.eclipse.org...
> Hey Jason,
>
> Yes, I did go through that process and I added our db2java.zip to the
> JAR Files listing. This caused two new drivers to show up on the
> drivers tab:
>
> COM.ibm.db2.jdbc.app.DB2Driver ( v8.1)
> and
> COM.ibm.db2.jdbc.net.DB2Driver ( v8.1)
>
> ...so I think adding our driver worked. I then went back to creating my
> Data Source and no matter which driver I choose and what URL I put into
> the URL box, I get the stated error. I've tried the following entries
> for URL, and nothing worked:
>
> jdbc:db2://ip.address:9999/databasename
> jdbc:db2://hostname:9999/databasename
> jdbc:db2:databasename
> jdbc:db2:databasename;port=9999
>
> I even tried this (which I know is wrong) just to see if I can get past
> the parsing error, and it still errored out.
>
> jdbc:db2://localhost/databasename
>
> Any other ideas? :)
>
> Thanks for your help,
> Trent
>
> Jason Weathersby wrote:
> > Trent,
> >
> > Did you use the Manage Drivers button on the Datasource Wizard?
> > Take a look at the MySql example. It shows how to add that driver.
> > http://www.eclipse.org/birt/examples/reports/mysql/
> >
> > Jason Weathersby
> > BIRT PMC
> >
> > "Trent Ohannessian" <tohann@gmail.com> wrote in message
> > news:dr6346$arl$1@utils.eclipse.org...
> >
> >>Hello,
> >>
> >>I just downloaded and installed Birt 2.0 and I'm having trouble setting
up
> >>my JDBC datasource. I go into create New Data Source, select JDBC Data
> >>Source, and enter all of my information. I added our db2java.zip driver
> >>to the org.eclipse.birt.report.data.oda.jdbc_2.0.0\drivers directory,
and
> >>I see two new Driver Class options, and no matter what I put in the URL
> >>field I get this error:
> >>
> >>The selected driver cannot parse the given url
> >>
> >>Any ideas?
> >>
> >>Thanks!
> >>Trent
> >
> >
> >
|
|
| | | |
Goto Forum:
Current Time: Mon Jun 16 11:51:03 EDT 2025
Powered by FUDForum. Page generated in 0.04824 seconds
|