Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 9842 invoked from network); 15 Sep 2009 14:50:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Sep 2009 14:50:19 -0000 Received: (qmail 45290 invoked by uid 500); 15 Sep 2009 14:50:19 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 45237 invoked by uid 500); 15 Sep 2009 14:50:19 -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 45227 invoked by uid 99); 15 Sep 2009 14:50:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 14:50:18 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.216.191] (HELO mail-px0-f191.google.com) (209.85.216.191) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 14:50:08 +0000 Received: by pxi29 with SMTP id 29so3477677pxi.3 for ; Tue, 15 Sep 2009 07:49:46 -0700 (PDT) Received: by 10.115.134.5 with SMTP id l5mr4698851wan.70.1253026186480; Tue, 15 Sep 2009 07:49:46 -0700 (PDT) Received: from brevsnb004 ([118.97.33.171]) by mx.google.com with ESMTPS id 20sm4241655pzk.5.2009.09.15.07.49.42 (version=SSLv3 cipher=RC4-MD5); Tue, 15 Sep 2009 07:49:44 -0700 (PDT) Reply-To: From: "C N Davies" To: Subject: Enhancer on tomcat Date: Tue, 15 Sep 2009 22:49:28 +0800 Organization: C N Davies Pty Ltd Message-ID: <005101ca3613$bd8cf2d0$38a6d870$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0052_01CA3656.CBB032D0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Aco2E7moMPK8U/kMRw6nwoEka8luvA== Content-Language: en-au X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_0052_01CA3656.CBB032D0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I'm trying to configure the runtime enhancer on Tomcat 1.6, but it always fails. I added to my JAVA_OPTS environment variable -javaagent:/temp/openjpa-1.2.1.jar When my application runs I receive warnings like below, which if I am reading it correctly is telling me that the java agent is not working. 1446 trmPU WARN [http-8080-1] openjpa.Enhance - The field asset in type com. trm.core.DataLoadLine is configured to be lazily loaded, but lazy loading is not available for classes that use fieldaccess when not running the OpenJPA enhance r or when dynamic class redefinition is not available. 1446 trmPU WARN [http-8080-1] openjpa.Enhance - The field dataload in type c om.trm.core.DataLoadLine is configured to be lazily loaded, but lazy loading is not available for classes that use fieldaccess when not running the OpenJPA enha ncer or when dynamic class redefinition is not available. Selected item is 00000123BCB71181 5279 trmPU WARN [http-8080-1] openjpa.Enhance - The field asset in type com. trm.core.DataLoadLine is configured to be lazily loaded, but lazy loading is not available for classes that use fieldaccess when not running the OpenJPA enhance r or when dynamic class redefinition is not available. 5280 trmPU WARN [http-8080-1] openjpa.Enhance - The field dataload in type c om.trm.core.DataLoadLine is configured to be lazily loaded, but lazy loading is not available for classes that use fieldaccess when not running the OpenJPA enha ncer or when dynamic class redefinition is not available. Is my understanding correct? Thanks Chris ------=_NextPart_000_0052_01CA3656.CBB032D0--