You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Sri Harsha Yenuganti <sh...@gmail.com> on 2010/03/16 18:23:08 UTC

Axis2 deployment problem on Weblogic 10.

Hi,

I have created a service and copied corresponding class files into the
services directory. When I install everything in exploded format I am able
to access the axis home page and my service. When I make the same thing a
ear/war file following http://ws.apache.org/axis2/1_2/app_server.html , I am
not able to access either the axis home page or the service. I am getting
"Resource not found" error ! I am not able to understand why it is not
working when I made a war/ear which is working in exploded directory format
!!

Can anyone help me ?


-- 
Sri Harsha Yenuganti
shyenuganti@gmail.com

"  IF YOU ARE NOT BRAVE ENOUGH TO FACE A FAILURE YOU ARE UNFIT TO
SUCCEED.AIM HIGH BUT BE PREPARED FOR THE WORST. "

Re: Axis2 deployment problem on Weblogic 10.

Posted by shyenuganti <sh...@gmail.com>.
Hi,

The "version" service in axis2.war works if it is packed into an aar inside
the services folder. If the "version" service is exploded, and then the
whole thing is re-packed into a war file (The war file has the service in
exploded format), the version service is also not working !! If we want to
pack everything into a war and install it on a app server, should the
services inside the services folder be in aar-packed ? 

If the service  is aar packed , axis2.war is working !
If the service is exploded and axis2 is also exploded and installed, the
service is working !!
But if the service is exploded and axis2 is packed into war .. the service
is not working !

Can anyone help me to install axis2.war with the service in exploded format? 

Please let me know if I am wrong some where. 

Thanks, 
Sri Harsha Yenuganti.



shyenuganti wrote:
> 
> Yes  axis2.war works in unexploded mode ! 
> 
> 
> Amila Suriarachchi wrote:
>> 
>> On Tue, Mar 16, 2010 at 10:53 PM, Sri Harsha Yenuganti <
>> shyenuganti@gmail.com> wrote:
>> 
>>> Hi,
>>>
>>> I have created a service and copied corresponding class files into the
>>> services directory. When I install everything in exploded format I am
>>> able
>>> to access the axis home page and my service. When I make the same thing
>>> a
>>> ear/war file following http://ws.apache.org/axis2/1_2/app_server.html ,
>>> I
>>> am not able to access either the axis home page or the service. I am
>>> getting
>>> "Resource not found" error ! I am not able to understand why it is not
>>> working when I made a war/ear which is working in exploded directory
>>> format
>>> !!
>>>
>>> Can anyone help me ?
>>>
>> 
>> does the axis2.war file distribution works un exploded mode?
>> 
>> thanks,
>> Amila.
>> 
>>>
>>>
>>> --
>>> Sri Harsha Yenuganti
>>> shyenuganti@gmail.com
>>>
>>> "  IF YOU ARE NOT BRAVE ENOUGH TO FACE A FAILURE YOU ARE UNFIT TO
>>> SUCCEED.AIM HIGH BUT BE PREPARED FOR THE WORST. "
>>>
>>>
>>>
>> 
>> 
>> -- 
>> Amila Suriarachchi
>> WSO2 Inc.
>> blog: http://amilachinthaka.blogspot.com/
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Axis2-deployment-problem-on-Weblogic-10.-tp27921714p28007848.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Re: Axis2 deployment problem on Weblogic 10.

Posted by Amila Suriarachchi <am...@gmail.com>.
On Thu, Mar 18, 2010 at 10:59 PM, shyenuganti <sh...@gmail.com> wrote:

>
> Yes  axis2.war works in unexploded mode !
>

this contains the version.aar service. if it works then the problem should
be with your aar file or packaging.

try to do this,
Get a standard distribution,

deploy your service in the repository/services

go to webapp folder and run ant.

this creates a war file in dist folder with your services. try to deploy
that.

thanks,
Amila.


>
>
> Amila Suriarachchi wrote:
> >
> > On Tue, Mar 16, 2010 at 10:53 PM, Sri Harsha Yenuganti <
> > shyenuganti@gmail.com> wrote:
> >
> >> Hi,
> >>
> >> I have created a service and copied corresponding class files into the
> >> services directory. When I install everything in exploded format I am
> >> able
> >> to access the axis home page and my service. When I make the same thing
> a
> >> ear/war file following http://ws.apache.org/axis2/1_2/app_server.html ,
> I
> >> am not able to access either the axis home page or the service. I am
> >> getting
> >> "Resource not found" error ! I am not able to understand why it is not
> >> working when I made a war/ear which is working in exploded directory
> >> format
> >> !!
> >>
> >> Can anyone help me ?
> >>
> >
> > does the axis2.war file distribution works un exploded mode?
> >
> > thanks,
> > Amila.
> >
> >>
> >>
> >> --
> >> Sri Harsha Yenuganti
> >> shyenuganti@gmail.com
> >>
> >> "  IF YOU ARE NOT BRAVE ENOUGH TO FACE A FAILURE YOU ARE UNFIT TO
> >> SUCCEED.AIM HIGH BUT BE PREPARED FOR THE WORST. "
> >>
> >>
> >>
> >
> >
> > --
> > Amila Suriarachchi
> > WSO2 Inc.
> > blog: http://amilachinthaka.blogspot.com/
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Axis2-deployment-problem-on-Weblogic-10.-tp27921714p27948844.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Re: Axis2 deployment problem on Weblogic 10.

Posted by shyenuganti <sh...@gmail.com>.
Yes  axis2.war works in unexploded mode ! 


Amila Suriarachchi wrote:
> 
> On Tue, Mar 16, 2010 at 10:53 PM, Sri Harsha Yenuganti <
> shyenuganti@gmail.com> wrote:
> 
>> Hi,
>>
>> I have created a service and copied corresponding class files into the
>> services directory. When I install everything in exploded format I am
>> able
>> to access the axis home page and my service. When I make the same thing a
>> ear/war file following http://ws.apache.org/axis2/1_2/app_server.html , I
>> am not able to access either the axis home page or the service. I am
>> getting
>> "Resource not found" error ! I am not able to understand why it is not
>> working when I made a war/ear which is working in exploded directory
>> format
>> !!
>>
>> Can anyone help me ?
>>
> 
> does the axis2.war file distribution works un exploded mode?
> 
> thanks,
> Amila.
> 
>>
>>
>> --
>> Sri Harsha Yenuganti
>> shyenuganti@gmail.com
>>
>> "  IF YOU ARE NOT BRAVE ENOUGH TO FACE A FAILURE YOU ARE UNFIT TO
>> SUCCEED.AIM HIGH BUT BE PREPARED FOR THE WORST. "
>>
>>
>>
> 
> 
> -- 
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
> 
> 

-- 
View this message in context: http://old.nabble.com/Axis2-deployment-problem-on-Weblogic-10.-tp27921714p27948844.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Re: Axis2 deployment problem on Weblogic 10.

Posted by Amila Suriarachchi <am...@gmail.com>.
On Tue, Mar 16, 2010 at 10:53 PM, Sri Harsha Yenuganti <
shyenuganti@gmail.com> wrote:

> Hi,
>
> I have created a service and copied corresponding class files into the
> services directory. When I install everything in exploded format I am able
> to access the axis home page and my service. When I make the same thing a
> ear/war file following http://ws.apache.org/axis2/1_2/app_server.html , I
> am not able to access either the axis home page or the service. I am getting
> "Resource not found" error ! I am not able to understand why it is not
> working when I made a war/ear which is working in exploded directory format
> !!
>
> Can anyone help me ?
>

does the axis2.war file distribution works un exploded mode?

thanks,
Amila.

>
>
> --
> Sri Harsha Yenuganti
> shyenuganti@gmail.com
>
> "  IF YOU ARE NOT BRAVE ENOUGH TO FACE A FAILURE YOU ARE UNFIT TO
> SUCCEED.AIM HIGH BUT BE PREPARED FOR THE WORST. "
>
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/