Return-Path: X-Original-To: apmail-openjpa-users-archive@minotaur.apache.org Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4563110B1D for ; Thu, 25 Apr 2013 13:52:32 +0000 (UTC) Received: (qmail 83169 invoked by uid 500); 25 Apr 2013 13:52:32 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 83025 invoked by uid 500); 25 Apr 2013 13:52:31 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 83002 invoked by uid 99); 25 Apr 2013 13:52:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Apr 2013 13:52:30 +0000 X-ASF-Spam-Status: No, hits=3.1 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of curtisr7@gmail.com designates 209.85.219.51 as permitted sender) Received: from [209.85.219.51] (HELO mail-oa0-f51.google.com) (209.85.219.51) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Apr 2013 13:52:24 +0000 Received: by mail-oa0-f51.google.com with SMTP id k14so2825230oag.38 for ; Thu, 25 Apr 2013 06:52:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=WON2KsZfqPaw0h9Syz5honPAWUPtCXwGvIW69vFuRA4=; b=wkAzULWofFpA8xVD/yO38A+4BE9gOMYMuRLCG1aaAnowstQjdeTJ5iU+PLoltHcrKO kLSY6TzSyWDBIJOZ9b4aRILTSOTRbPkKlX1zVXSnu5uyDYU3Xbld+8yeI8dO6LMASbg2 JiYHH70r81wlzByX1kRPhNd1Lhg+qNfdSOJ+a6FjPCcQq+mkEjRuTV35sa/Br0RH48RR mHVK391OYCB1rDIC+HjwLRX+IS7yo4tMSQPwoDBCyMkJGXQmT4CW4Rt1xbNanCocGjuU 8fuzJU0EiJyBuyhxhRgfetlnvwdGPR8lkHu+BA89wfgaXn7QjctGFllf9qN9ulZ7cnQg TVlg== MIME-Version: 1.0 X-Received: by 10.60.93.7 with SMTP id cq7mr20990273oeb.40.1366897924038; Thu, 25 Apr 2013 06:52:04 -0700 (PDT) Received: by 10.60.23.36 with HTTP; Thu, 25 Apr 2013 06:52:03 -0700 (PDT) In-Reply-To: <1366870239024-7583764.post@n2.nabble.com> References: <1366870239024-7583764.post@n2.nabble.com> Date: Thu, 25 Apr 2013 08:52:03 -0500 Message-ID: Subject: Re: slice with db2 error From: Rick Curtis To: users Content-Type: multipart/alternative; boundary=047d7b33d55234e9bf04db2fb9b1 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b33d55234e9bf04db2fb9b1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 wrote: > WARNING: Failed to connect to URL "jdbc:db2://127.0.0.1:50000/UFSC20S1" > due > to > org.apache.openjpa.util.UnsupportedException: The database product "HSQL > Database Engine", version "2.2.8" is not officially supported.. Slice "s0= 1" > will be ignored as configuration is set as lenient. > =E5=9B=9B=E6=9C=88 25, 2013 2:04:45 =E4=B8=8B=E5=8D=88 null > INFO: Using dictionary class "org.apache.openjpa.jdbc.sql.DB2Dictionary". > =E5=9B=9B=E6=9C=88 25, 2013 2:04:45 =E4=B8=8B=E5=8D=88 null > WARNING: Failed to connect to URL "jdbc:db2://127.0.0.1:50000/UFSC20S2" > due > to > org.apache.openjpa.util.UnsupportedException: The database product "HSQL > Database Engine", version "2.2.8" is not officially supported.. Slice "s0= 2" > will be ignored as configuration is set as lenient. > =E5=9B=9B=E6=9C=88 25, 2013 2:04:45 =E4=B8=8B=E5=8D=88 com.plasticmummy.u= fsc20.service.NotesDatabaseService > create > SEVERE: create new domino object failure > > i use db2 v9.7 but seems can not recognized. > > with persistence.xml > > > value=3D"slice" /> > value=3D"db2" /> > value=3D"com.ibm.db2.jcc.DB2Driver" /> > s02" /> > /> > value=3D"true" /> > value=3D"jdbc:db2://127.0.0.1:50000/UFSC20S1" /> > name=3D"openjpa.slice.s01.ConnectionDriverName" > value=3D"com.ibm.db2.jcc.DB2Driver" /> > name=3D"openjpa.slice.s01.ConnectionUserName" value=3D"db2admin" /> > name=3D"openjpa.slice.s01.ConnectionPassword" value=3D"password" /> > value=3D"jdbc:db2://127.0.0.1:50000/UFSC20S2" /> > name=3D"openjpa.slice.s02.ConnectionDriverName" > value=3D"com.ibm.db2.jcc.DB2Driver" /> > name=3D"openjpa.slice.s02.ConnectionUserName" value=3D"db2admin" /> > name=3D"openjpa.slice.s02.ConnectionPassword" value=3D"password" /> > value=3D"buildSchema(ForeignKeys=3Dtrue)" /> > > > > > -- > 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. > --=20 *Rick Curtis* --047d7b33d55234e9bf04db2fb9b1--