jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: cactus ant integration with OC4J / Orion
Date Thu, 11 Sep 2003 15:51:02 GMT
Hi Andrew,

I'm no orion expert. I'm trying to set it up so that it uses automatic
deployment (as described in
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 <web-site
path="./default-web-site.xml" /> entry in server.xml because the port is
defined in the <web-site host="[ALL]" port="@cactus.port@"[...] element.

By apparently, the <web-site> element *requires* a <default-web-app>
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.


> -----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 <cactus> task with an ear file on
oc4j or
> Orion 1x? As far as I can tell the configurations for oc4j and orion
> 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
> turn decalres a <web-module> with the path set to
> "../ejb-component-cactus,war". But as the cactus task only generates
> 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
> it
> should add an <application> element to server.xml to point to the
> generated
> ear - e.g.
>       <application name="ejb-component-cactus"
> path="../ejb-component-cactus.ear" auto-start="true" />
> and a <web-app> element in default-web-site.xml such as:
>       <web-app application="ejb-component-cactus"
> 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
> 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

View raw message