Skip to main content



      Home
Home » Modeling » EMF » [CDO - H2] Invalid value for parameter url [90008-114]
[CDO - H2] Invalid value for parameter url [90008-114] [message #498653] Tue, 17 November 2009 16:43 Go to next message
Eclipse UserFriend
Hello all,
I already config a H2 database for CDO, but when i run it i get this
error :
[ERROR] org.h2.jdbc.JdbcSQLException: Invalid value for parameter url
[90008-114]
org.eclipse.net4j.db.DBException: org.h2.jdbc.JdbcSQLException:
Invalid value for parameter url [90008-114]
at
org.eclipse.net4j.internal.db.DataSourceConnectionProvider.g etConnection
(DataSourceConnectionProvider.java:46)
at org.eclipse.emf.cdo.server.internal.db.DBStore.getConnection
(DBStore.java:180)
at org.eclipse.emf.cdo.server.internal.db.DBStore.doActivate
(DBStore.java:230)
at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl e.java:
65)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
(LifecycleUtil.java:94)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
(LifecycleUtil.java:84)
at org.eclipse.emf.cdo.internal.server.Repository.doActivate
(Repository.java:581)
at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl e.java:
65)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
(LifecycleUtil.java:94)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
(LifecycleUtil.java:84)
at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository
(CDOServerUtil.java:73)
at
org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigure
(RepositoryConfigurator.java:83)
at
org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplicat ion.doStart
(CDOServerApplication.java:51)
at org.eclipse.net4j.util.om.OSGiApplication.start
(OSGiApplication.java:61)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run
(EclipseAppHandle.java:194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication
(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start
(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: org.h2.jdbc.JdbcSQLException: Invalid value for parameter
url [90008-114]
at org.h2.message.Message.getSQLException(Message.java:105)
at org.h2.message.Message.getSQLException(Message.java:116)
at org.h2.message.Message.getInvalidValueException(Message.java :172)
at org.h2.engine.ConnectionInfo.<init>(ConnectionInfo.java:66)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:89)
at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource .java:
178)
at org.h2.jdbcx.JdbcDataSource.getConnection(JdbcDataSource.jav a:153)
at
org.eclipse.net4j.internal.db.DataSourceConnectionProvider.g etConnection
(DataSourceConnectionProvider.java:42)
... 26 more

and here is my config :
<dbAdapter name="h2" />
<dataSource class="org.h2.jdbcx.JdbcDataSource" url="jdbc:h2:tcp://
localhost/test"
user="sa" password="" />
Re: [CDO - H2] Invalid value for parameter url [90008-114] [message #498711 is a reply to message #498653] Wed, 18 November 2009 05:03 Go to previous messageGo to next message
Eclipse UserFriend
Hi Rencana,
> Caused by: org.h2.jdbc.JdbcSQLException: Invalid value for parameter
> url [90008-114]
seems to me like a problem with H2 rather than CDO.
>
> and here is my config :
> <dbAdapter name="h2" />
> <dataSource class="org.h2.jdbcx.JdbcDataSource"
> url="jdbc:h2:tcp://
> localhost/test"
> user="sa" password="" />

I haven't tried TCP-based configuration yet, but according to the
documentation at:
http://www.h2database.com/html/features.html
I'd guess that you should specify an explicit path -
url="jdbc:h2:tcp://localhost/c:/test"
(or on Linux - make sure that the respective path is writable).

Not sure about that one, though. Maybe you should consult the H2 support
forums (http://groups.google.com/group/h2-database?pli=1)

Cheers,
Stefan
Re: [CDO - H2] Invalid value for parameter url [90008-114] [message #498750 is a reply to message #498653] Wed, 18 November 2009 09:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: frank.froehlich.all4time.de

Hi,

please use 'uRL' for the attribute name, not 'url' (yes, looks ugly, but it
works). There seem to be some deficiencies in the mapping of attribute names
to the approptiate setter methods of a data source.

Rgards

Frank

"Rencana Tarigan" <rencana_tarigan@yahoo.co.id> schrieb im Newsbeitrag
news:hdv5e9$cdk$1@build.eclipse.org...
> Hello all,
> I already config a H2 database for CDO, but when i run it i get this
> error :
> [ERROR] org.h2.jdbc.JdbcSQLException: Invalid value for parameter url
> [90008-114]
> org.eclipse.net4j.db.DBException: org.h2.jdbc.JdbcSQLException:
> Invalid value for parameter url [90008-114]
> at
> org.eclipse.net4j.internal.db.DataSourceConnectionProvider.g etConnection
> (DataSourceConnectionProvider.java:46)
> at org.eclipse.emf.cdo.server.internal.db.DBStore.getConnection
> (DBStore.java:180)
> at org.eclipse.emf.cdo.server.internal.db.DBStore.doActivate
> (DBStore.java:230)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl
> e.java:
> 65)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
> (LifecycleUtil.java:94)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
> (LifecycleUtil.java:84)
> at org.eclipse.emf.cdo.internal.server.Repository.doActivate
> (Repository.java:581)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl
> e.java:
> 65)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
> (LifecycleUtil.java:94)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
> (LifecycleUtil.java:84)
> at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository
> (CDOServerUtil.java:73)
> at
> org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigure
> (RepositoryConfigurator.java:83)
> at
> org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplicat ion.doStart
> (CDOServerApplication.java:51)
> at org.eclipse.net4j.util.om.OSGiApplication.start
> (OSGiApplication.java:61)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run
> (EclipseAppHandle.java:194)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .runApplication
> (EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .start
> (EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run
> (EclipseStarter.java:368)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run
> (EclipseStarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:
> 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
> Caused by: org.h2.jdbc.JdbcSQLException: Invalid value for parameter
> url [90008-114]
> at org.h2.message.Message.getSQLException(Message.java:105)
> at org.h2.message.Message.getSQLException(Message.java:116)
> at org.h2.message.Message.getInvalidValueException(Message.java
> :172)
> at org.h2.engine.ConnectionInfo.<init>(ConnectionInfo.java:66)
> at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:89)
> at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource
> .java:
> 178)
> at org.h2.jdbcx.JdbcDataSource.getConnection(JdbcDataSource.jav
> a:153)
> at
> org.eclipse.net4j.internal.db.DataSourceConnectionProvider.g etConnection
> (DataSourceConnectionProvider.java:42)
> ... 26 more
>
> and here is my config :
> <dbAdapter name="h2" />
> <dataSource class="org.h2.jdbcx.JdbcDataSource"
> url="jdbc:h2:tcp://
> localhost/test"
> user="sa" password="" />
Re: [CDO - H2] Invalid value for parameter url [90008-114] [message #498910 is a reply to message #498750] Thu, 19 November 2009 02:50 Go to previous messageGo to next message
Eclipse UserFriend
Whoops?!
Is there a bug for that? (If not, could you please open one)
'cause that should definitely not be that way!

Cheers
Stefan


Frank Froehlich schrieb:
> Hi,
>
> please use 'uRL' for the attribute name, not 'url' (yes, looks ugly, but it
> works). There seem to be some deficiencies in the mapping of attribute names
> to the approptiate setter methods of a data source.
>
> Rgards
>
> Frank
>
> "Rencana Tarigan" <rencana_tarigan@yahoo.co.id> schrieb im Newsbeitrag
> news:hdv5e9$cdk$1@build.eclipse.org...
>
>> Hello all,
>> I already config a H2 database for CDO, but when i run it i get this
>> error :
>> [ERROR] org.h2.jdbc.JdbcSQLException: Invalid value for parameter url
>> [90008-114]
>> org.eclipse.net4j.db.DBException: org.h2.jdbc.JdbcSQLException:
>> Invalid value for parameter url [90008-114]
>> at
>> org.eclipse.net4j.internal.db.DataSourceConnectionProvider.g etConnection
>> (DataSourceConnectionProvider.java:46)
>> at org.eclipse.emf.cdo.server.internal.db.DBStore.getConnection
>> (DBStore.java:180)
>> at org.eclipse.emf.cdo.server.internal.db.DBStore.doActivate
>> (DBStore.java:230)
>> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl
>> e.java:
>> 65)
>> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
>> (LifecycleUtil.java:94)
>> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
>> (LifecycleUtil.java:84)
>> at org.eclipse.emf.cdo.internal.server.Repository.doActivate
>> (Repository.java:581)
>> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl
>> e.java:
>> 65)
>> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
>> (LifecycleUtil.java:94)
>> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
>> (LifecycleUtil.java:84)
>> at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository
>> (CDOServerUtil.java:73)
>> at
>> org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigure
>> (RepositoryConfigurator.java:83)
>> at
>> org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplicat ion.doStart
>> (CDOServerApplication.java:51)
>> at org.eclipse.net4j.util.om.OSGiApplication.start
>> (OSGiApplication.java:61)
>> at org.eclipse.equinox.internal.app.EclipseAppHandle.run
>> (EclipseAppHandle.java:194)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
>> .runApplication
>> (EclipseAppLauncher.java:110)
>> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
>> .start
>> (EclipseAppLauncher.java:79)
>> at org.eclipse.core.runtime.adaptor.EclipseStarter.run
>> (EclipseStarter.java:368)
>> at org.eclipse.core.runtime.adaptor.EclipseStarter.run
>> (EclipseStarter.java:179)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:
>> 559)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>> Caused by: org.h2.jdbc.JdbcSQLException: Invalid value for parameter
>> url [90008-114]
>> at org.h2.message.Message.getSQLException(Message.java:105)
>> at org.h2.message.Message.getSQLException(Message.java:116)
>> at org.h2.message.Message.getInvalidValueException(Message.java
>> :172)
>> at org.h2.engine.ConnectionInfo.<init>(ConnectionInfo.java:66)
>> at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:89)
>> at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource
>> .java:
>> 178)
>> at org.h2.jdbcx.JdbcDataSource.getConnection(JdbcDataSource.jav
>> a:153)
>> at
>> org.eclipse.net4j.internal.db.DataSourceConnectionProvider.g etConnection
>> (DataSourceConnectionProvider.java:42)
>> ... 26 more
>>
>> and here is my config :
>> <dbAdapter name="h2" />
>> <dataSource class="org.h2.jdbcx.JdbcDataSource"
>> url="jdbc:h2:tcp://
>> localhost/test"
>> user="sa" password="" />
>>
>
>
>
Re: [CDO - H2] Invalid value for parameter url [90008-114] [message #498995 is a reply to message #498910] Thu, 19 November 2009 08:27 Go to previous message
Eclipse UserFriend
Hey guys,

There is a bugzilla for that, but it confused me and I was not sure
whether it's a Net4j DB problem or an H2 one. I'll look the bugzilla up
when I'm home...

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Stefan Winkler schrieb:
> Whoops?!
> Is there a bug for that? (If not, could you please open one)
> 'cause that should definitely not be that way!
>
> Cheers
> Stefan
>
>
> Frank Froehlich schrieb:
>
>> Hi,
>>
>> please use 'uRL' for the attribute name, not 'url' (yes, looks ugly, but it
>> works). There seem to be some deficiencies in the mapping of attribute names
>> to the approptiate setter methods of a data source.
>>
>> Rgards
>>
>> Frank
>>
>> "Rencana Tarigan" <rencana_tarigan@yahoo.co.id> schrieb im Newsbeitrag
>> news:hdv5e9$cdk$1@build.eclipse.org...
>>
>>
>>> Hello all,
>>> I already config a H2 database for CDO, but when i run it i get this
>>> error :
>>> [ERROR] org.h2.jdbc.JdbcSQLException: Invalid value for parameter url
>>> [90008-114]
>>> org.eclipse.net4j.db.DBException: org.h2.jdbc.JdbcSQLException:
>>> Invalid value for parameter url [90008-114]
>>> at
>>> org.eclipse.net4j.internal.db.DataSourceConnectionProvider.g etConnection
>>> (DataSourceConnectionProvider.java:46)
>>> at org.eclipse.emf.cdo.server.internal.db.DBStore.getConnection
>>> (DBStore.java:180)
>>> at org.eclipse.emf.cdo.server.internal.db.DBStore.doActivate
>>> (DBStore.java:230)
>>> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl
>>> e.java:
>>> 65)
>>> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
>>> (LifecycleUtil.java:94)
>>> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
>>> (LifecycleUtil.java:84)
>>> at org.eclipse.emf.cdo.internal.server.Repository.doActivate
>>> (Repository.java:581)
>>> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl
>>> e.java:
>>> 65)
>>> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
>>> (LifecycleUtil.java:94)
>>> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate
>>> (LifecycleUtil.java:84)
>>> at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository
>>> (CDOServerUtil.java:73)
>>> at
>>> org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigure
>>> (RepositoryConfigurator.java:83)
>>> at
>>> org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplicat ion.doStart
>>> (CDOServerApplication.java:51)
>>> at org.eclipse.net4j.util.om.OSGiApplication.start
>>> (OSGiApplication.java:61)
>>> at org.eclipse.equinox.internal.app.EclipseAppHandle.run
>>> (EclipseAppHandle.java:194)
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
>>> .runApplication
>>> (EclipseAppLauncher.java:110)
>>> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
>>> .start
>>> (EclipseAppLauncher.java:79)
>>> at org.eclipse.core.runtime.adaptor.EclipseStarter.run
>>> (EclipseStarter.java:368)
>>> at org.eclipse.core.runtime.adaptor.EclipseStarter.run
>>> (EclipseStarter.java:179)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:
>>> 559)
>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>> Caused by: org.h2.jdbc.JdbcSQLException: Invalid value for parameter
>>> url [90008-114]
>>> at org.h2.message.Message.getSQLException(Message.java:105)
>>> at org.h2.message.Message.getSQLException(Message.java:116)
>>> at org.h2.message.Message.getInvalidValueException(Message.java
>>> :172)
>>> at org.h2.engine.ConnectionInfo.<init>(ConnectionInfo.java:66)
>>> at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:89)
>>> at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource
>>> .java:
>>> 178)
>>> at org.h2.jdbcx.JdbcDataSource.getConnection(JdbcDataSource.jav
>>> a:153)
>>> at
>>> org.eclipse.net4j.internal.db.DataSourceConnectionProvider.g etConnection
>>> (DataSourceConnectionProvider.java:42)
>>> ... 26 more
>>>
>>> and here is my config :
>>> <dbAdapter name="h2" />
>>> <dataSource class="org.h2.jdbcx.JdbcDataSource"
>>> url="jdbc:h2:tcp://
>>> localhost/test"
>>> user="sa" password="" />
>>>
>>>
>>
>>
Previous Topic:Cross-document references & resource deletion
Next Topic:[CDO] Support for external proxies
Goto Forum:
  


Current Time: Sat Nov 08 00:03:00 EST 2025

Powered by FUDForum. Page generated in 0.03773 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top