Could you give a read here and if still in doubt feel free to ask:

http://ws.apache.org/axis2/1_0/installationguide.html

The relevant section, if I understand you correctly, is here:

"Since Axis2 supports hot deployment one can drop the service jar
directly through the file system to the above mentioned services
directory.It will also cause the service to be automatically installed
without the container being restarted."

So the war can be pre-installed and you install your services while
the container is running.

HTH,
Robert
http://www.braziloutsource.com/

On 7/12/06, Rathore, Amit Singh (STSD) <[EMAIL PROTECTED]> wrote:
Hi Robert,
But in this approach I would have to deploy whole axis as a webapp under
myWebApp everytime I deploy myWebApp. I think it would be better to have
axis pre-installed and should be a pre-requisite for myWebApp.

Do you think there is any other approach to do it? And if not, why did
apache not include this option in deployment structure of Axis2.

Thanks for notifying about latest nightly build's.

--
Amit

|-----Original Message-----
|From: robert lazarski [mailto:[EMAIL PROTECTED]
|Sent: Wednesday, July 12, 2006 6:40 PM
|To: [email protected]
|Subject: Re: [Axis2] Advanced Installation Adding Axis2 To
|Your Own Webapp. Is it possible?
|
|That's true about the WEB-INF/lib part.
|
|Hot deployment could still work. Just copy your .aar into
|WEB-INF/services and the running server will deploy it. The
|only thing mandatory I believe is the structure as shown. You
|aar doesn't need to be there on startup.
|
|HTH,
|Robert
|http://www.braziloutsource.com/
|
|On 7/12/06, Rathore, Amit Singh (STSD) <[EMAIL PROTECTED]> wrote:
|> Hi Robert,
|> I am using ant. I already have my build.xml file as per
|Axis1.x and I
|> am using the approach mentioned in the hyper-link.
|>
|> Your approach for Axis2 looks good to me but in that case I
|will have
|> to copy all the jar files also present under following
|directory when
|> I expand axis.war file.
|>         --Web-Inf
|>                 --lib
|>
|> Also, in this case I don't think so hot-deployment will work.
|>
|> --
|> Amit Singh Rathore
|>
|> |-----Original Message-----
|> |From: robert lazarski [mailto:[EMAIL PROTECTED]
|> |Sent: Wednesday, July 12, 2006 6:15 PM
|> |To: [email protected]
|> |Subject: Re: [Axis2] Advanced Installation Adding Axis2 To Your Own
|> |Webapp. Is it possible?
|> |
|> |I thought this was documented but I can't seem to find it. Are you
|> |deploying via maven, ant or something else?
|> |
|> |Bottom line: You need this structure in your WAR:
|> |
|> |myWebApp.war
|> ||
|> |- -  axis2-web
|> |                   -- WEB-INF
|> |                                   |
|> |                                   --  conf
|> |                                   --  services
|> |                                   --  modules
|> |
|> |Just expand the standard war, take the dirs above, and
|place them in
|> |your WAR.
|> |
|> |BTW, if you're starting from scratch, I recommend the nightlies:
|> |
|> |http://people.apache.org/dist/axis2/nightly/
|> |
|> |HTH,
|> |Robert
|> |http://www.braziloutsource.com/
|> |
|> |On 7/12/06, Rathore, Amit Singh (STSD) <[EMAIL PROTECTED]> wrote:
|> |> Hi Everybody,
|> |> Can I use a similar approach mentioned at
|> |>
|>
||http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddin
|> |g
|> |> Ax isToYourOwnWebapp for deploying my web services with
|Axis2 along
|> |> with my webapp deployment.
|> |>
|> |> I am not able to find any pointers for the same approach in
|> |Axis2 and
|> |> I am not whether any pointer is available or not.
|> |>
|> |> Your help would be helpful. Thanks in advance.
|> |>
|> |> --
|> |> Amit Singh Rathore
|> |>
|> |>
|-------------------------------------------------------------------
|> |> -- 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]
|> |
|> |
|>
|> ---------------------------------------------------------------------
|> 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]
|
|

---------------------------------------------------------------------
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]

Reply via email to