Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 9965 invoked from network); 11 Sep 2003 15:51:33 -0000 Received: from unknown (HELO smtp.noos.fr) (212.198.2.122) by daedalus.apache.org with SMTP; 11 Sep 2003 15:51:33 -0000 Received: (qmail 11937 invoked by uid 0); 11 Sep 2003 15:51:32 -0000 Received: from unknown (HELO vma) ([::ffff:212.198.6.189]) (envelope-sender ) by ::ffff:212.198.2.122 (qmail-ldap-1.03) with SMTP for ; 11 Sep 2003 15:51:32 -0000 From: "Vincent Massol" To: "'Cactus Users List'" Cc: Subject: RE: cactus ant integration with OC4J / Orion Date: Thu, 11 Sep 2003 17:51:02 +0200 Message-ID: <04a701c3787c$80dcaed0$2502a8c0@vma> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Andrew, I'm no orion expert. I'm trying to set it up so that it uses automatic deployment (as described in http://www.orionserver.com/docs/application-deployment.html#autoDeploy). That seems the simplest to me as it means we don't need to define whether we are deploying a war file or an ear file in the config files. However, I need your help as I cannot find the right config. Basically my issue is that I still want to tell Orion on what port the web container should listen to. Thus, I think I need a entry in server.xml because the port is defined in the element *requires* a entry. But then I don't want to add one as I don't know what it will be as I don't know what file will be deployed. Any idea? I guess I should ask on on the orion mailing list/forum but I thought I'd run this by you first. Thanks -Vincent > -----Original Message----- > From: Andrew Chapman [mailto:Andrew.Chapman@ons.gsi.gov.uk] > Sent: 10 September 2003 12:45 > To: cactus-user@jakarta.apache.org > Subject: cactus ant integration with OC4J / Orion > > Hi, > > Has anybody succesfully used the task with an ear file on oc4j or > Orion 1x? As far as I can tell the configurations for oc4j and orion 1x > should be the same. Everything seems to work OK but the resulting > configuration doesn't look right to me... > > The server.xml file points to the (global) application.xml file which in > turn decalres a with the path set to > "../ejb-component-cactus,war". But as the cactus task only generates the > ear which contains the war this setup can surely never work. > > As the task doesn't use the admin utility to deploy the ear, then surely > it > should add an element to server.xml to point to the > generated > ear - e.g. > > path="../ejb-component-cactus.ear" auto-start="true" /> > > and a element in default-web-site.xml such as: > > name="ejb-component-cactus" root="/ejb-component-cactus"/> > > I thought perhaps it was a bug but then I had a look at > http://issues.apache.org/bugzilla/show_bug.cgi?id=22794 and saw Vincent's > comment at the bottom saying he'd tested it with an ear and it worked > fine. > Am I missing something? > > Andy > > > > > For the latest data on the economy and society > consult National Statistics at http://www.statistics.gov.uk > > ********************************************************************** > Please Note: Incoming and outgoing email messages > are routinely monitored for compliance with our policy > on the use of electronic communications > ********************************************************************** > Legal Disclaimer : Any views expressed by > the sender of this message are not necessarily > those of the Office for National Statistics > ********************************************************************** > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: cactus-user-help@jakarta.apache.org