axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swanson, Brion" <>
Subject RE: question deploying Axis under my own Webapp
Date Wed, 11 Dec 2002 14:05:25 GMT
Yeah, I think it may have to do with how WAR files are handled within the
J2EE servlet container more than Axis itself, but I guess I was led to
believe Axis needed to 'contain' my webapp or be contained by my webapp
according to the installation instructions.  To me this seemed to involve
the placement of the WAR files and their contents with regard to Axis.  I'm
checking into Tomcat documentation to see if I missed something.

Thanks for your help!


-----Original Message-----
From: Benjamin Tomasini []
Sent: Tuesday, December 10, 2002 10:27 PM
Subject: RE: question deploying Axis under my own Webapp

I don't know about the advanced installation.  

There is no webapp heirarchy that I know of in the J2EE spec (I would be
curious if there is).

I think you are running into issues that are related more to the J2EE
spec for webapps than Axis itself.

Some more comments:

On Tue, 2002-12-10 at 12:42, Swanson, Brion wrote:
> Hi Ben,
> My service is invoked using an HTML form located at:
> http://localhost:8080/myapp/requestForm.html
> within that form I can specify my SOAP router (used to be
> http://host:8080/soap/servlet/rpcrouter) which is currently:
> http://host:8080/axis/services/MyService

What about http://host:8080/myapp/services/MyService ?

> What confuses me when running my webapp and Axis side-by-side is that Axis
> throws many exceptions if I don't copy the myapp/WEB-INF/classes structure
> over into the axis/WEB-INF/classes directory and place any shared
> at least in the $APPSERVER_HOME/shared/lib directory if not in the
> axis/WEB-INF/lib directory. I understand this is part of the 'normal'
> installation, but then what is the "Advanced Installation: adding Axis to
> your own Webapp" section of the installation instructions talking about?
> To me, this seems like I'm practically installing my webapp into Axis when
> I'd really prefer Axis to run at least beside my webapp if not underneath
> it.

Running them them together wouldn't be a bad idea.  The J2EE spec if
flexible enough to make this practical.

If you really have a need to run Axis as its own webapp, you will need
to copy your classes over.

Good luck!

Ben Tomasini

> Opening the top URL above works.
> Thanks,
> Brion
> -----Original Message-----
> From: Benjamin Tomasini []
> Sent: Tuesday, December 10, 2002 6:24 PM
> To:
> Subject: Re: question deploying Axis under my own Webapp
> I apologize,
> It seems you have already done what I mentioned.  If you open up that
> URL (the one you are posting to) in a web browser, to you get a
> response.
> Ben
> On Tue, 2002-12-10 at 11:39, Swanson, Brion wrote:
> > I've scoured the Axis website for documentation elaborating on how to
> modify
> > the URL used when invoking AdminClient.
> > 
> > It appears that Axis is intended to either contain my webapps or be
> > contained by my webapps.  I have little problem understanding what is
> > necessary for Axis to contain my webapp, but I'm unclear about how the
> > AdminClient command line must change when all the Axis libs are
> > within my WAR and the Axis Servlet declarations and mappings have been
> added
> > to my web.xml.
> > 
> > The command line to deploy my webapp within Axis is:
> > 
> > java org.apache.axis.client.AdminClient -l
> > http://localhost:8080/axis/services/MyService mydeploy.wsdd
> > 
> > but for deploying my webapp when it contains Axis I am instructed to
> > the Axis AdminClient against [my] own webapp" which suggests I should
> change
> > the -l URL, but to what?  If I'm using Catalina as my container and my
> > webapp is deployed under $CATALINA_HOME/myapp, does the URL change to:
> > http://localhost:8080/myapp/services/MyService?
> > 
> > Thank you for helping clarify this for me,
> > Brion
> > ----------------------------------------
> > Brion Swanson 
> > West Group 
> > x3659 
> > ---------------------------------------- 

View raw message