You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Vishanth Balasubramaniam <vi...@wso2.com> on 2015/01/21 08:11:03 UTC

Error when deploying a group in sample

Hi devs,

When I try to deploy a group in a sample application. I am getting this
following error.

TID: [0] [STRATOS] [2015-01-21 07:04:56,969] ERROR
{org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
The requested resource is not found. Please check the resource path, etc

TID: [0] [STRATOS] [2015-01-21 07:04:56,970] ERROR
{org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
Unexpected error occured while REST api, authorization process

org.apache.cxf.interceptor.security.AccessDeniedException: Method is not
available: Unauthorized

What is the fix?

Thanks,
Vishanth
-- 
*Vishanth Balasubramaniam*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94771737718*
about me: *http://about.me/vishanth <http://about.me/vishanth>*

Re: Error when deploying a group in sample

Posted by Vishanth Balasubramaniam <vi...@wso2.com>.
My latest pull was not successful. Thanks Chamila.

On Wed, Jan 21, 2015 at 1:03 PM, Chamila De Alwis <ch...@wso2.com> wrote:

> Hi Vishanth,
>
> I checked the openstack deploy.sh in the complex-app. The resource URLs
> seem to be in order. Are you using the latest?
>
>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
> On Wed, Jan 21, 2015 at 12:57 PM, Lahiru Sandaruwan <la...@wso2.com>
> wrote:
>
>>
>>
>> On Wed, Jan 21, 2015 at 12:50 PM, Vishanth Balasubramaniam <
>> vishanthb@wso2.com> wrote:
>>
>>> Hi Chamila,
>>>
>>> It is the 'complex-app' sample?
>>>
>> What IaaS?
>>
>>>
>>> On Wed, Jan 21, 2015 at 12:47 PM, Lahiru Sandaruwan <la...@wso2.com>
>>> wrote:
>>>
>>>> Yes.. Looks like sample is not updated.
>>>>
>>>> On Wed, Jan 21, 2015 at 12:44 PM, Chamila De Alwis <ch...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Vishanth,
>>>>>
>>>>> There might a typo in the resource URL. What is the sample you're
>>>>> trying?
>>>>>
>>>>>
>>>>> Regards,
>>>>> Chamila de Alwis
>>>>> Software Engineer | WSO2 | +94772207163
>>>>> Blog: code.chamiladealwis.com
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Jan 21, 2015 at 12:41 PM, Vishanth Balasubramaniam <
>>>>> vishanthb@wso2.com> wrote:
>>>>>
>>>>>> Hi devs,
>>>>>>
>>>>>> When I try to deploy a group in a sample application. I am getting
>>>>>> this following error.
>>>>>>
>>>>>> TID: [0] [STRATOS] [2015-01-21 07:04:56,969] ERROR
>>>>>> {org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
>>>>>> The requested resource is not found. Please check the resource path, etc
>>>>>>
>>>>>> TID: [0] [STRATOS] [2015-01-21 07:04:56,970] ERROR
>>>>>> {org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
>>>>>> Unexpected error occured while REST api, authorization process
>>>>>>
>>>>>> org.apache.cxf.interceptor.security.AccessDeniedException: Method is
>>>>>> not available: Unauthorized
>>>>>>
>>>>>> What is the fix?
>>>>>>
>>>>>> Thanks,
>>>>>> Vishanth
>>>>>> --
>>>>>> *Vishanth Balasubramaniam*
>>>>>> Software Engineer
>>>>>> WSO2 Inc.; http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> mobile: *+94771737718*
>>>>>> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Lahiru Sandaruwan
>>>> Committer and PMC member, Apache Stratos,
>>>> Senior Software Engineer,
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>
>>>>
>>>
>>>
>>> --
>>> *Vishanth Balasubramaniam*
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94771737718*
>>> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Committer and PMC member, Apache Stratos,
>> Senior Software Engineer,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>


-- 
*Vishanth Balasubramaniam*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94771737718*
about me: *http://about.me/vishanth <http://about.me/vishanth>*

Re: Error when deploying a group in sample

Posted by Chamila De Alwis <ch...@wso2.com>.
Hi Vishanth,

I checked the openstack deploy.sh in the complex-app. The resource URLs
seem to be in order. Are you using the latest?


Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Wed, Jan 21, 2015 at 12:57 PM, Lahiru Sandaruwan <la...@wso2.com>
wrote:

>
>
> On Wed, Jan 21, 2015 at 12:50 PM, Vishanth Balasubramaniam <
> vishanthb@wso2.com> wrote:
>
>> Hi Chamila,
>>
>> It is the 'complex-app' sample?
>>
> What IaaS?
>
>>
>> On Wed, Jan 21, 2015 at 12:47 PM, Lahiru Sandaruwan <la...@wso2.com>
>> wrote:
>>
>>> Yes.. Looks like sample is not updated.
>>>
>>> On Wed, Jan 21, 2015 at 12:44 PM, Chamila De Alwis <ch...@wso2.com>
>>> wrote:
>>>
>>>> Hi Vishanth,
>>>>
>>>> There might a typo in the resource URL. What is the sample you're
>>>> trying?
>>>>
>>>>
>>>> Regards,
>>>> Chamila de Alwis
>>>> Software Engineer | WSO2 | +94772207163
>>>> Blog: code.chamiladealwis.com
>>>>
>>>>
>>>>
>>>> On Wed, Jan 21, 2015 at 12:41 PM, Vishanth Balasubramaniam <
>>>> vishanthb@wso2.com> wrote:
>>>>
>>>>> Hi devs,
>>>>>
>>>>> When I try to deploy a group in a sample application. I am getting
>>>>> this following error.
>>>>>
>>>>> TID: [0] [STRATOS] [2015-01-21 07:04:56,969] ERROR
>>>>> {org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
>>>>> The requested resource is not found. Please check the resource path, etc
>>>>>
>>>>> TID: [0] [STRATOS] [2015-01-21 07:04:56,970] ERROR
>>>>> {org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
>>>>> Unexpected error occured while REST api, authorization process
>>>>>
>>>>> org.apache.cxf.interceptor.security.AccessDeniedException: Method is
>>>>> not available: Unauthorized
>>>>>
>>>>> What is the fix?
>>>>>
>>>>> Thanks,
>>>>> Vishanth
>>>>> --
>>>>> *Vishanth Balasubramaniam*
>>>>> Software Engineer
>>>>> WSO2 Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> mobile: *+94771737718*
>>>>> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Committer and PMC member, Apache Stratos,
>>> Senior Software Engineer,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> *Vishanth Balasubramaniam*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94771737718*
>> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>

Re: Error when deploying a group in sample

Posted by Lahiru Sandaruwan <la...@wso2.com>.
On Wed, Jan 21, 2015 at 12:50 PM, Vishanth Balasubramaniam <
vishanthb@wso2.com> wrote:

> Hi Chamila,
>
> It is the 'complex-app' sample?
>
What IaaS?

>
> On Wed, Jan 21, 2015 at 12:47 PM, Lahiru Sandaruwan <la...@wso2.com>
> wrote:
>
>> Yes.. Looks like sample is not updated.
>>
>> On Wed, Jan 21, 2015 at 12:44 PM, Chamila De Alwis <ch...@wso2.com>
>> wrote:
>>
>>> Hi Vishanth,
>>>
>>> There might a typo in the resource URL. What is the sample you're trying?
>>>
>>>
>>> Regards,
>>> Chamila de Alwis
>>> Software Engineer | WSO2 | +94772207163
>>> Blog: code.chamiladealwis.com
>>>
>>>
>>>
>>> On Wed, Jan 21, 2015 at 12:41 PM, Vishanth Balasubramaniam <
>>> vishanthb@wso2.com> wrote:
>>>
>>>> Hi devs,
>>>>
>>>> When I try to deploy a group in a sample application. I am getting this
>>>> following error.
>>>>
>>>> TID: [0] [STRATOS] [2015-01-21 07:04:56,969] ERROR
>>>> {org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
>>>> The requested resource is not found. Please check the resource path, etc
>>>>
>>>> TID: [0] [STRATOS] [2015-01-21 07:04:56,970] ERROR
>>>> {org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
>>>> Unexpected error occured while REST api, authorization process
>>>>
>>>> org.apache.cxf.interceptor.security.AccessDeniedException: Method is
>>>> not available: Unauthorized
>>>>
>>>> What is the fix?
>>>>
>>>> Thanks,
>>>> Vishanth
>>>> --
>>>> *Vishanth Balasubramaniam*
>>>> Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> mobile: *+94771737718*
>>>> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>>>>
>>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Committer and PMC member, Apache Stratos,
>> Senior Software Engineer,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> *Vishanth Balasubramaniam*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94771737718*
> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>
>


-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: Error when deploying a group in sample

Posted by Manula Chathurika Thantriwatte <ma...@wso2.com>.
Hi Vishanth,

Please check the endpoint in the script. I think it's incorrect in the
script.

Thanks !

On Wed, Jan 21, 2015 at 12:50 PM, Vishanth Balasubramaniam <
vishanthb@wso2.com> wrote:

> Hi Chamila,
>
> It is the 'complex-app' sample.
>
> On Wed, Jan 21, 2015 at 12:47 PM, Lahiru Sandaruwan <la...@wso2.com>
> wrote:
>
>> Yes.. Looks like sample is not updated.
>>
>> On Wed, Jan 21, 2015 at 12:44 PM, Chamila De Alwis <ch...@wso2.com>
>> wrote:
>>
>>> Hi Vishanth,
>>>
>>> There might a typo in the resource URL. What is the sample you're trying?
>>>
>>>
>>> Regards,
>>> Chamila de Alwis
>>> Software Engineer | WSO2 | +94772207163
>>> Blog: code.chamiladealwis.com
>>>
>>>
>>>
>>> On Wed, Jan 21, 2015 at 12:41 PM, Vishanth Balasubramaniam <
>>> vishanthb@wso2.com> wrote:
>>>
>>>> Hi devs,
>>>>
>>>> When I try to deploy a group in a sample application. I am getting this
>>>> following error.
>>>>
>>>> TID: [0] [STRATOS] [2015-01-21 07:04:56,969] ERROR
>>>> {org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
>>>> The requested resource is not found. Please check the resource path, etc
>>>>
>>>> TID: [0] [STRATOS] [2015-01-21 07:04:56,970] ERROR
>>>> {org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
>>>> Unexpected error occured while REST api, authorization process
>>>>
>>>> org.apache.cxf.interceptor.security.AccessDeniedException: Method is
>>>> not available: Unauthorized
>>>>
>>>> What is the fix?
>>>>
>>>> Thanks,
>>>> Vishanth
>>>> --
>>>> *Vishanth Balasubramaniam*
>>>> Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> mobile: *+94771737718*
>>>> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>>>>
>>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Committer and PMC member, Apache Stratos,
>> Senior Software Engineer,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> *Vishanth Balasubramaniam*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94771737718*
> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>
>


-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : manulac@wso2.com / manula@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/

Re: Error when deploying a group in sample

Posted by Vishanth Balasubramaniam <vi...@wso2.com>.
Hi Chamila,

It is the 'complex-app' sample.

On Wed, Jan 21, 2015 at 12:47 PM, Lahiru Sandaruwan <la...@wso2.com>
wrote:

> Yes.. Looks like sample is not updated.
>
> On Wed, Jan 21, 2015 at 12:44 PM, Chamila De Alwis <ch...@wso2.com>
> wrote:
>
>> Hi Vishanth,
>>
>> There might a typo in the resource URL. What is the sample you're trying?
>>
>>
>> Regards,
>> Chamila de Alwis
>> Software Engineer | WSO2 | +94772207163
>> Blog: code.chamiladealwis.com
>>
>>
>>
>> On Wed, Jan 21, 2015 at 12:41 PM, Vishanth Balasubramaniam <
>> vishanthb@wso2.com> wrote:
>>
>>> Hi devs,
>>>
>>> When I try to deploy a group in a sample application. I am getting this
>>> following error.
>>>
>>> TID: [0] [STRATOS] [2015-01-21 07:04:56,969] ERROR
>>> {org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
>>> The requested resource is not found. Please check the resource path, etc
>>>
>>> TID: [0] [STRATOS] [2015-01-21 07:04:56,970] ERROR
>>> {org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
>>> Unexpected error occured while REST api, authorization process
>>>
>>> org.apache.cxf.interceptor.security.AccessDeniedException: Method is
>>> not available: Unauthorized
>>>
>>> What is the fix?
>>>
>>> Thanks,
>>> Vishanth
>>> --
>>> *Vishanth Balasubramaniam*
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94771737718*
>>> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>>>
>>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
*Vishanth Balasubramaniam*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94771737718*
about me: *http://about.me/vishanth <http://about.me/vishanth>*

Re: Error when deploying a group in sample

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Yes.. Looks like sample is not updated.

On Wed, Jan 21, 2015 at 12:44 PM, Chamila De Alwis <ch...@wso2.com>
wrote:

> Hi Vishanth,
>
> There might a typo in the resource URL. What is the sample you're trying?
>
>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
> On Wed, Jan 21, 2015 at 12:41 PM, Vishanth Balasubramaniam <
> vishanthb@wso2.com> wrote:
>
>> Hi devs,
>>
>> When I try to deploy a group in a sample application. I am getting this
>> following error.
>>
>> TID: [0] [STRATOS] [2015-01-21 07:04:56,969] ERROR
>> {org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
>> The requested resource is not found. Please check the resource path, etc
>>
>> TID: [0] [STRATOS] [2015-01-21 07:04:56,970] ERROR
>> {org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
>> Unexpected error occured while REST api, authorization process
>>
>> org.apache.cxf.interceptor.security.AccessDeniedException: Method is not
>> available: Unauthorized
>>
>> What is the fix?
>>
>> Thanks,
>> Vishanth
>> --
>> *Vishanth Balasubramaniam*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94771737718*
>> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>>
>>
>


-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: Error when deploying a group in sample

Posted by Chamila De Alwis <ch...@wso2.com>.
Hi Vishanth,

There might a typo in the resource URL. What is the sample you're trying?


Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Wed, Jan 21, 2015 at 12:41 PM, Vishanth Balasubramaniam <
vishanthb@wso2.com> wrote:

> Hi devs,
>
> When I try to deploy a group in a sample application. I am getting this
> following error.
>
> TID: [0] [STRATOS] [2015-01-21 07:04:56,969] ERROR
> {org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
> The requested resource is not found. Please check the resource path, etc
>
> TID: [0] [STRATOS] [2015-01-21 07:04:56,970] ERROR
> {org.apache.stratos.rest.endpoint.handlers.StratosAuthorizingHandler} -
> Unexpected error occured while REST api, authorization process
>
> org.apache.cxf.interceptor.security.AccessDeniedException: Method is not
> available: Unauthorized
>
> What is the fix?
>
> Thanks,
> Vishanth
> --
> *Vishanth Balasubramaniam*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94771737718*
> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>
>