Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 81838 invoked from network); 24 Feb 2009 18:16:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Feb 2009 18:16:18 -0000 Received: (qmail 88683 invoked by uid 500); 24 Feb 2009 18:16:17 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 88651 invoked by uid 500); 24 Feb 2009 18:16:17 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 88640 invoked by uid 99); 24 Feb 2009 18:16:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 10:16:17 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.200.145.38] (HELO omta0111.mta.everyone.net) (216.200.145.38) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 18:16:09 +0000 Received: from sj1-dm04.mta.everyone.net (sj1-slb03-gw2 [172.16.1.96]) by omta0111.mta.everyone.net (Postfix) with ESMTP id B1BC774ED42 for ; Tue, 24 Feb 2009 10:30:55 -0800 (PST) X-Eon-Dm: sj1-dm04 Received: by sj1-dm04.mta.everyone.net (EON-AUTHRELAY2 - 426dd405) id sj1-dm04.499cb652.262722 for ; Tue, 24 Feb 2009 10:15:46 -0800 X-Eon-Sig: AQLYMZZJpDlSVUa+SgIAAAAB,c4eee39a0f6bf1b3dc738c9f3454e29f Message-ID: <49A43964.5010303@wispertel.net> Date: Tue, 24 Feb 2009 11:16:04 -0700 From: Randy Watler User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Jetspeed Developers List Subject: JPA_BRANCH status Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jetspeed on JPA is struggling to its feet. I have not tested beyond bringing up the default page, but getting this far cleanly is reason enough to give you all an update! - First, there is now a JPA branch for j2-admin. This was required because of minor, but required, API changes to J2 itself. Nothing serious, but I opted to create a branch rather than sharing a patch file. - I have not modified all the maven plugins to support the JPA configuration. This was more than I wanted to bite off at the moment and it is unclear whether we'll support two configurations, (OJB and JPA), going forward. Instead, I have added all the necessary configurations, but left them supporting OJB mode by default. Here is the list of changes one needs to manually complete to switch a deployed OBJ version to use JPA: webapps/jetspeed/META-INF/context.xml: uncomment the JPA NonXA datasource resource and JTA transactions tags. webapps/jetspeed/WEB-INF/web.xml: uncomment the jetspeed-xa datasource reference tags. webapps/jetspeed/WEB-INF/spring-filter.properties: comment out the 'default,obj' default property. uncomment the 'default,jpa' default property. Start the portal normally, and you should be in the brave new JPA world! - I have yet to include a required JAR file for real XA support. Will be doing that in the next few days. In the interim, only the "fake" non-xa configuration is active. For those that are curious, the non-xa configuration is perfectly safe for our typical configuration of single database on a single server. A real XA datasource is needed to include multiple databases as part of a portal transaction that includes external database operations. Please let me know if you are interested in helping me test the JPA configuration. I could use some help in areas outside the default demo setup on tomcat/mysql, specifically LDAP, other containers, and other databases. Randy --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org