Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 27090 invoked from network); 22 Apr 2010 15:56:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Apr 2010 15:56:41 -0000 Received: (qmail 9499 invoked by uid 500); 22 Apr 2010 15:56:41 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 9475 invoked by uid 500); 22 Apr 2010 15:56:41 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 9467 invoked by uid 99); 22 Apr 2010 15:56:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 15:56:41 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of marco.gattei@gmail.com designates 72.14.220.159 as permitted sender) Received: from [72.14.220.159] (HELO fg-out-1718.google.com) (72.14.220.159) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 15:56:32 +0000 Received: by fg-out-1718.google.com with SMTP id 16so368547fgg.10 for ; Thu, 22 Apr 2010 08:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=jvFJQ6ceb4DZUqUbRsUE2TnpYVg+UT+p+UduodpRdrQ=; b=eVia2B502Gdh7hIvlL9CA9zmyw9/1XCv6diTtqBSN4bKs/XivD+x3PmdcKsLoP9UQ7 XTr5dg87BWxlJzW+mwFbY7DIeS0swy5S60IsS4a14akH6ltPcztU80Kp+dMo2CG+Hfng 6XvWUb1smKaPYqvq4Gr/Sd9PddjV0y35MHBXE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=p4KxRVD1IcGpoQ1ZGxBmHXnbOe/XjakWbvnLT6LpY/4r0TdLzTcXbwnlSkTPsveqJ1 kpRMJ+w4ghUFpTcTbatY4gFrcUyavL55ePwMRui3URLEQ+1+Lxy2etSbBvRT/PLOlqRa tTgM7mjY0WJ6wlFqr0BZR2AwiSkVpqkCnxs94= Received: by 10.223.17.150 with SMTP id s22mr294040faa.14.1271951538282; Thu, 22 Apr 2010 08:52:18 -0700 (PDT) Received: from [192.168.0.3] (88-149-183-254.static.ngi.it [88.149.183.254]) by mx.google.com with ESMTPS id p17sm97068fka.16.2010.04.22.08.52.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 22 Apr 2010 08:52:17 -0700 (PDT) Message-ID: <4BD0706E.6070208@gmail.com> Date: Thu, 22 Apr 2010 17:51:10 +0200 From: Marco Gattei User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: user@cayenne.apache.org Subject: Re: Cayenne withing MDB in Jboss References: <4BD027FA.5080306@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I've managed to get the wohole story go in Jboss 4.2.3 and Jboss 4.0.5. Cayenne seems to work fine. In your case, Cayenne was runnng from web-tier or was in ejub tier ? Marco Michael Gentry ha scritto: > I've ran Cayenne (along with Tapestry 5) in JBoss (4.2.3) successfully > before. I don't know about your MDB scenario, but Cayenne certainly > can work in JBoss. > > mrg > > > On Thu, Apr 22, 2010 at 6:42 AM, Marco Gattei wrote: > >> Hi everyone. >> >> I've written a java standalone program which uses Cayenne to connect to a >> DB and perform >> some operations: reading from table, calculating , inserting result into >> another table. >> Now need arise to start this program not from cli, but from remote. >> >> I was thing about packing the app inside a ejb module and writing a simple >> MDB. >> As soon the mdb receives the command START , it executes the program which >> uses Cayenne to do the job. >> >> I was wondering if Cayenne could have som problem running inside JBoss, >> which would be the >> selected EJB container. >> >> Has anyboby tried something similar ? >> >> Thank in advance >> >> >> Marco >> >> > >