openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: slice with db2 error
Date Thu, 25 Apr 2013 13:52:03 GMT
Can you try to connect just to one of your databases(ie: don't use slice)
and see if you're able to connect? This should help us narrow in on where
the problem is. At this point I don't know if it is an issue with Slice, or
if it is a problem with your configuration.

Thanks,
Rick


On Thu, Apr 25, 2013 at 1:10 AM, zhourui <zhourui@zoneland.net> wrote:

> WARNING: Failed to connect to URL "jdbc:db2://127.0.0.1:50000/UFSC20S1"
> due
> to <openjpa-2.2.2-r422266:1468616 fatal unsupported error>
> org.apache.openjpa.util.UnsupportedException: The database product "HSQL
> Database Engine", version "2.2.8" is not officially supported.. Slice "s01"
> will be ignored as configuration is set as lenient.
> 四月 25, 2013 2:04:45 下午 null
> INFO: Using dictionary class "org.apache.openjpa.jdbc.sql.DB2Dictionary".
> 四月 25, 2013 2:04:45 下午 null
> WARNING: Failed to connect to URL "jdbc:db2://127.0.0.1:50000/UFSC20S2"
> due
> to <openjpa-2.2.2-r422266:1468616 fatal unsupported error>
> org.apache.openjpa.util.UnsupportedException: The database product "HSQL
> Database Engine", version "2.2.8" is not officially supported.. Slice "s02"
> will be ignored as configuration is set as lenient.
> 四月 25, 2013 2:04:45 下午 com.plasticmummy.ufsc20.service.NotesDatabaseService
> create
> SEVERE: create new domino object failure
>
> i use db2 v9.7 but seems can not recognized.
>
> with persistence.xml
>
> <properties>
>                         <property name="openjpa.BrokerFactory"
> value="slice" />
>                         <property name="openjpa.jdbc.DBDictionary"
> value="db2" />
>                         <property name="openjpa.ConnectionDriverName"
> value="com.ibm.db2.jcc.DB2Driver" />
>                         <property name="openjpa.slice.Names" value="s01,
> s02" />
>                         <property name="openjpa.slice.Master" value="s01"
> />
>                         <property name="openjpa.slice.Lenient"
> value="true" />
>                         <property name="openjpa.slice.s01.ConnectionURL"
> value="jdbc:db2://127.0.0.1:50000/UFSC20S1" />
>                         <property
> name="openjpa.slice.s01.ConnectionDriverName"
>                                 value="com.ibm.db2.jcc.DB2Driver" />
>                         <property
> name="openjpa.slice.s01.ConnectionUserName" value="db2admin" />
>                         <property
> name="openjpa.slice.s01.ConnectionPassword" value="password" />
>                         <property name="openjpa.slice.s02.ConnectionURL"
> value="jdbc:db2://127.0.0.1:50000/UFSC20S2" />
>                         <property
> name="openjpa.slice.s02.ConnectionDriverName"
>                                 value="com.ibm.db2.jcc.DB2Driver" />
>                         <property
> name="openjpa.slice.s02.ConnectionUserName" value="db2admin" />
>                         <property
> name="openjpa.slice.s02.ConnectionPassword" value="password" />
>                         <property name="openjpa.jdbc.SynchronizeMappings"
> value="buildSchema(ForeignKeys=true)" />
>                 </properties>
>
>
>
> --
> View this message in context:
> http://openjpa.208410.n2.nabble.com/slice-with-db2-error-tp7583764.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>



-- 
*Rick Curtis*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message