Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 97564 invoked from network); 1 Mar 2011 20:08:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Mar 2011 20:08:48 -0000 Received: (qmail 3085 invoked by uid 500); 1 Mar 2011 20:08:48 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 3059 invoked by uid 500); 1 Mar 2011 20:08:47 -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 3051 invoked by uid 99); 1 Mar 2011 20:08:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 20:08:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of michael.d.dick@gmail.com designates 209.85.213.174 as permitted sender) Received: from [209.85.213.174] (HELO mail-yx0-f174.google.com) (209.85.213.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 20:08:39 +0000 Received: by yxs7 with SMTP id 7so2498132yxs.33 for ; Tue, 01 Mar 2011 12:08:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=7Wjt/V+osP02dw+DKM08Vz6MzEeziB3Fu87SHRY4A/w=; b=rKjZch6CviAzq20ZqXhyQCQ3G9e8NUexxMGzoNJuO1KJ67znE+KSMFrx8918Xc+qfv 6x0n3YMZIqSL+XL41NPDqFMLej66ZvCeerJn9C+wrIAB09Xm4/8KOmIXXdDxI0VEKTih bA1ECWgsfcB93C7Yk4qC7us78Q/c2QKM53ul4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=Hm3TP8RCM7lM8X9dBQ7df7cD9rtQVFU7e02d6YLs1tShNGSxgUuo/VUr3M/RtWPJwq 3vfW5jRa/3yAp/eme4uXRhrXpzF5iXBLUWNiv+V5XH+QjGs4khrT9WW+fmbhBj1XONyZ hM/9eNL58c3LEodxcvvWIzYdAPY3xaMwZ//TU= Received: by 10.90.67.16 with SMTP id p16mr9715728aga.141.1299010098076; Tue, 01 Mar 2011 12:08:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.90.9.18 with HTTP; Tue, 1 Mar 2011 12:07:58 -0800 (PST) In-Reply-To: References: <1298997265535-6077834.post@n2.nabble.com> From: Michael Dick Date: Tue, 1 Mar 2011 14:07:58 -0600 Message-ID: Subject: Re: 2.1.0 from maven repository woes To: users@openjpa.apache.org Content-Type: multipart/alternative; boundary=0016362834f6749bcf049d715bb4 X-Virus-Checked: Checked by ClamAV on apache.org --0016362834f6749bcf049d715bb4 Content-Type: text/plain; charset=ISO-8859-1 I took another look and it looks like two different sequence classes are bound to the alias "native". The one you want is NativeJDBSeq, but setting that will run you into OPENJPA-1642. A workaround suggested in the JIRA issue is to use build time enhancement, and explicitly set the sequence to In any case, the real fix for this problem lies with OPENJPA-1642, hopefully the workaround will get you past the immediate problem though. -mike On Tue, Mar 1, 2011 at 11:32 AM, Michael Dick wrote: > Hi Krysztof, > > I'm not entirely sure how this ever worked for you. The TimeSequence class > does not accept Allocate as a configuration option. I went back and tried > with 2.0.1, 1.2.2, and 2.1.0 and got the error you posted. > > Could the openjpa.Schema property have changed when you upgraded? > > -mike > > > On Tue, Mar 1, 2011 at 11:13 AM, Rick Curtis wrote: > >> Krysztof - >> >> Are you using build time enhancement or are you using the dynamic >> enhancement agent? If you don't know the answer to this question, you are >> probably using the dynamic agent. If that is the case, I'd recommend >> trying >> to setup your build to use build time enhancement(Let me know if you want >> some links). If you're already doing build time enhancement, please set >> the >> property openjpa.DynamicEnhancementAgent=false. Also, set >> openjpa.RuntimeUnenhancedClasses=unsupported. >> >> I've found in my test environment that from time to time the Sun javaagent >> fails for no apparent reason. >> >> Thanks, >> Rick >> > > --0016362834f6749bcf049d715bb4--