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 <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. Thanks -Vincent > -----Original Message----- > From: Andrew Chapman [mailto:[EMAIL PROTECTED] > Sent: 10 September 2003 12:45 > To: [EMAIL PROTECTED] > 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 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 <web-module> 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 <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 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
