Hi Raghu

Can I also get a copy of your web.xml file that you used when deploying the
application.

Thanks
Anil

On 6/20/07, Anil Chukkapalli <[EMAIL PROTECTED]> wrote:

Hi Raghu

 It was a Axis1 application that I ported over to axis2. It was previously
deployed as an Axis application.I am trying to deploy the application
ideally as a war file ideally and if not possible deploy it as an aar file.
[i accidentally wrote that it is an Axis1 application but it was an Axis1
and currently is an Axis 2 application]

Thanks
Anil


On 6/20/07, Anil Chukkapalli <[EMAIL PROTECTED]> wrote:
>
> Hi Raghu
>
>  Can you tell me the exploded approach that you used as that seems a
> good alternative to all this. The application was previously deployed as war
> file and it is an Axis1 application. I dont have a conf directory with
> axis2.xml as a part of it. What could be the contents of axis2.xml . Do
> we need a wsdl file for our service to be present along with
> services.xml.
>
> Thanks
> Anil
>
> On 6/20/07, Raghu Upadhyayula <[EMAIL PROTECTED]> wrote:
> >
> >  Hi Anil,
> >
> >
> >
> >             I'm not sure what's happening in your case, but I've tried
> > both approaches, the aar file & also the exploded approach.
> >
> >
> >
> >             Here's my deployment structure.
> >
> >
> >
> > tomcat/webapps
> >
> >     webservices
> >
> >         WEB-INF
> >
> >             web.xml
> >
> >         classes
> >
> >             com
> >
> >                 abccorp
> >
> >                     xyz
> >
> >         conf
> >
> >             axis2.xml
> >
> >         lib
> >
> >             all required jars
> >
> >         modules
> >
> >             addressing-1.2.mar
> >
> >             soapmonitor-1.2.mar
> >
> >         services
> >
> >             MyService
> >
> >                 META-INF
> >
> >                     MyService.wsdl
> >
> >                     services.xml
> >
> >
> >
> >
> >
> > Thanks
> >
> > Raghu
> >
> >
> >  ------------------------------
> >
> > *From:* Anil Chukkapalli [mailto:[EMAIL PROTECTED]
> > *Sent:* Tuesday, June 19, 2007 4:33 PM
> > *To:* axis-user@ws.apache.org
> > *Subject:* Re: [axis2] Deployment of an axis2 and struts appplication
> >
> >
> >
> > Raghu
> >
> >  Yes I did, is there any other place the services.xml file sis
> > supposed to be present.
> >
> > Thanks
> > Anil
> >
> > On 6/19/07, *Raghu Upadhyayula* < [EMAIL PROTECTED]> wrote:
> >
> > Anil,
> >
> >
> >
> >             Did you try putting your services.xml file in an aar file
> > and put the aar file under WEB-INF/services folder?
> >
> >
> >
> > Thanks
> >
> > Raghu
> >
> >
> >  ------------------------------
> >
> > *From:* Anil Chukkapalli [mailto: [EMAIL PROTECTED]
> > *Sent:* Tuesday, June 19, 2007 4:17 PM
> >
> >
> > *To:* axis-user@ws.apache.org
> > *Subject:* Re: [axis2] Deployment of an axis2 and struts appplication
> >
> >
> >
> > Hi
> >
> >  I am trying to deploy an axis2 application and i received and
> > exception stating that services.xml is not found, below is my
> > deployment hierarchy
> >
> > Appname
> >
> >   - css
> >
> >   - images
> >
> >   - jsp
> >
> >   - lib
> >
> >   - WEB-INF
> >
> >       - services
> >
> >           - ServiceName
> >
> >               - META-INF
> >
> >                   - services.xml
> >
> >               - com (class files containing compiled source)
> >
> >                  - abccorp
> >
> >                      - xyz
> >
> > - script
> >
> >
> >  I am trying to place services.xml in most of the place hoping that
> > Axis2 can pick it up but it still fails to do so. Is there any other
> > deployment mechanism for my application
> >
> >
> > org.apache.axis2.deployment.DeploymentException: services.xml not
> > found for service 'C:\Program Files\Apache Software Foundation\Tomcat
> > 5.5\webapps\axis2\WEB-INF\services\rwb.aar'; nested exception is:
> > org.apache.axis2.deployment.DeploymentException: services.xml not
> > found for service 'C:\Program Files\Apache Software Foundation\Tomcat
> > 5.5\webapps\axis2\WEB-INF\services\rwb.aar' at]
> >
> > Thanks
> > Anil
> >
> > On 6/19/07, *Anil Chukkapalli* <[EMAIL PROTECTED]> wrote:
> >
> > Hi Raghu
> >
> >  Still unable to delpoy the service, i tried both methods of
> > deployment and all it says is that it is a faulty service. I need to show a
> > working prototype before testing this application.
> >
> > Thank you
> >
> >
> > Anil
> >
> > On 6/15/07, *Raghu Upadhyayula* < [EMAIL PROTECTED]> wrote:
> >
> > Hi Anil,
> >
> >
> >
> > Your services.xml is in wrong location according to what I read from 
http://ws.apache.org/axis2/1_2/quickstartguide.html#services
> >
> >
> >
> >
> > In the samples mentioned at the above mentioned link, the example of a
> > StockQuoteService looks like shown below.
> >
> >
> >
> > This is structure should be under WEB-INF/services
> >
> >
> >
> > - StockQuoteService
> >
> >    - META-INF
> >
> >      - services.xml
> >
> >    - lib
> >
> >    - samples
> >
> >      - quickstart
> >
> >        - service
> >
> >          - pojo
> >
> >            - StockQuoteService.class
> >
> >
> >
> > So in your case, your application structure should look like this.
> >
> >
> >
> > Appname
> >
> >   - css
> >
> >   - images
> >
> >   - jsp
> >
> >   - lib
> >
> >   - WEB-INF
> >
> >       - services
> >
> >           - ServiceName
> >
> >               - META-INF
> >
> >                   - services.xml
> >
> >               - com (class files containing compiled source)
> >
> >                  - abccorp
> >
> >                      - xyz
> >
> > - script
> >
> >
> >
> > *OR*
> >
> >
> >
> > Appname
> >
> >   - css
> >
> >   - images
> >
> >   - jsp
> >
> >   - lib
> >
> > - WEB-INF
> >
> >     - classes
> >
> >           - com (class files containing compiled source)
> >
> >               - abccorp
> >
> >                   - xyz
> >
> >       - services
> >
> >           - ServiceName
> >
> >               - META-INF
> >
> >                   - services.xml
> >
> > - script
> >
> >
> >
> > Thanks
> >
> > Raghu
> >
> >
> >  ------------------------------
> >
> > *From:* Anil Chukkapalli [mailto: [EMAIL PROTECTED]
> > *Sent:* Friday, June 15, 2007 12:12 PM
> > *To:* axis-user@ws.apache.org
> > *Subject:* Re: [axis2] Deployment of an axis2 and struts appplication
> >
> >
> >
> > Hi Raghu
> >
> >  Appname
> >
> >           CSS
> >
> >           IMAGES
> >
> >          JSP
> >
> >          LIB
> >
> >          WEB-INF
> >
> >                services.xml
> >
> >          META-INF
> >
> >          SCRIPT
> >
> >          com (class files containing compiled source)
> >
> >                abccorp
> >
> >                     xyz....
> >
> >
> > Thanks
> > Anil
> >
> > On 6/15/07, *Raghu Upadhyayula* < [EMAIL PROTECTED]> wrote:
> >
> > Hi Anil,
> >
> >
> >
> >             Can you tell how your application structure looks like …
> > something like this …
> >
> >
> >
> >             Appname
> >
> > WEB-INF
> >
> >         classes
> >
> >
> >
> >
> >
> > Thanks
> >
> > Raghu
> >
> >
> >  ------------------------------
> >
> > *From:* Anil Chukkapalli [mailto: [EMAIL PROTECTED]
> > *Sent:* Friday, June 15, 2007 10:49 AM
> > *To:* axis-user@ws.apache.org
> > *Subject:* [axis2] Deployment of an axis2 and struts appplication
> >
> >
> >
> > Hi
> >
> >  I have a struts application which also exposes Axis 2 web services.
> > The application was deployed using .wsdd file in Axis and i ported it over
> > to Axis2 and packaged the application using an aar file instead of a war
> > file. When i try to deploy it using the deploy utility in Axis2 admin it
> > says the deployed service is faulty. I created the META-INF folder with
> > services.xml and it also has other folders that are used by the struts
> > application. Is there any way i can use the wsdd file in Axis 2 or is there
> > way aar or any other deployment mechanism can handle such a deployment in
> > Tomcat 4.5
> >
> > Thank you
> > Anil
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>

Reply via email to