[Adding dev@wso2.org] Regards, Mariangela
*Mariangela Hills* Senior Technical Writer - WSO2, Inc. http://wso2.com Committer and PMC member - Apache Stratos email:mariang...@wso2.com | mobile: +94 773 500185 On Tue, Oct 13, 2015 at 12:21 PM, Gayan Gunarathne <gay...@wso2.com> wrote: > > Hi, > > On Tue, Oct 13, 2015 at 12:03 PM, Mariangela Hills <mariang...@wso2.com> > wrote: > >> Hi Pubudu & Akila, >> >> Pubudu, based on our offline discussion I signed out and signed in again, >> and now it shows the application policy that mysteriously disappeared :) >> Other users too might get confused in a scenario like this, because >> normally when there is a session timeout the user is directed to the login >> page. I wonder how I wasn't directed to the login page in this instance. >> > > In that case we need to handle session timeout. > > @Dakshika, is it possible to redirect the page into the login page in the > case of the session timeout? > > >> Thanks, for the help Pubudu and Akila! >> >> Regards, >> Mariangela >> >> >> *Mariangela Hills* >> Senior Technical Writer - WSO2, Inc. http://wso2.com >> Committer and PMC member - Apache Stratos >> email:mariang...@wso2.com | mobile: +94 773 500185 >> >> On Tue, Oct 13, 2015 at 12:02 PM, Akila Ravihansa Perera < >> raviha...@wso2.com> wrote: >> >>> [Looping Dakshika] >>> >>> But shouldn't the console app renew the authentication cookie on session >>> timeout? >>> >>> On Tue, Oct 13, 2015 at 11:57 AM, Pubudu Gunatilaka <pubu...@wso2.com> >>> wrote: >>> >>>> This is due to the session timeout. >>>> >>>> On Tue, Oct 13, 2015 at 11:55 AM, Akila Ravihansa Perera < >>>> raviha...@wso2.com> wrote: >>>> >>>>> Hi Mari, >>>>> >>>>> Can you try the same via curl command and check the response you get? >>>>> >>>>> Thanks. >>>>> >>>>> On Tue, Oct 13, 2015 at 11:48 AM, Mariangela Hills < >>>>> mariang...@wso2.com> wrote: >>>>> >>>>>> Hi Team, >>>>>> >>>>>> Initially, I successfully added an application policy [1] via the >>>>>> PPaaS Console. After sometime it disappeared from the application >>>>>> policies >>>>>> main page, so I assumed that I accidentally deleted it and tried adding >>>>>> it >>>>>> again, but I keep getting an error (The endpoint requires >>>>>> authentication). Note that no message appears in the logs that I >>>>>> deleted the application policy, which makes me wonder whether I actually >>>>>> deleted it, and no message gets printed in the logs stating that there in >>>>>> an issue with the application policy that I am trying to add. >>>>>> >>>>>> Can someone please let me know how I can resolve this issue that I am >>>>>> facing. >>>>>> >>>>>> >>>>>> [1] >>>>>> https://github.com/wso2/private-paas-cartridges/blob/master/wso2am/1.9.0/samples/application-policies/mock/application-policy-1.json >>>>>> >>>>>> [2] >>>>>> >>>>>> [2015-10-12 16:34:29,239] INFO >>>>>> {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl} >>>>>> - Adding cartridge: [cartridge-type] wso2am-190-gw-worker >>>>>> [2015-10-12 16:34:29,272] INFO >>>>>> {org.apache.stratos.cloud.controller.messaging.publisher.TopologyEventPublisher} >>>>>> - Publishing service created event: [service-name] wso2am-190-gw-worker >>>>>> [2015-10-12 16:34:29,289] INFO >>>>>> {org.apache.stratos.messaging.message.processor.topology.ServiceCreatedMessageProcessor} >>>>>> - Service created: [service] wso2am-190-gw-worker >>>>>> [2015-10-12 16:34:29,292] INFO >>>>>> {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl} >>>>>> - Successfully added cartridge: [cartridge-type] wso2am-190-gw-worker >>>>>> [2015-10-12 16:35:15,820] INFO >>>>>> {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl} >>>>>> - Adding cartridge: [cartridge-type] wso2am-190-km >>>>>> [2015-10-12 16:35:15,842] INFO >>>>>> {org.apache.stratos.cloud.controller.messaging.publisher.TopologyEventPublisher} >>>>>> - Publishing service created event: [service-name] wso2am-190-km >>>>>> [2015-10-12 16:35:15,857] INFO >>>>>> {org.apache.stratos.messaging.message.processor.topology.ServiceCreatedMessageProcessor} >>>>>> - Service created: [service] wso2am-190-km >>>>>> [2015-10-12 16:35:15,858] INFO >>>>>> {org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl} >>>>>> - Successfully added cartridge: [cartridge-type] wso2am-190-km >>>>>> [2015-10-12 16:43:36,193] INFO >>>>>> {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} - >>>>>> Adding cartridge group: [group-name] keymanager-gw-manager-gw-worker >>>>>> [2015-10-12 16:43:36,342] INFO >>>>>> {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} - >>>>>> Cartridge group successfully added: [group-name] >>>>>> keymanager-gw-manager-gw-worker >>>>>> [2015-10-13 09:24:48,588] INFO >>>>>> {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} - >>>>>> Adding cartridge group: [group-name] test_group >>>>>> [2015-10-13 09:24:48,648] INFO >>>>>> {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} - >>>>>> Cartridge group successfully added: [group-name] test_group >>>>>> [2015-10-13 10:32:49,058] INFO >>>>>> {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} - >>>>>> Adding application policy: [application-policy-id] application-policy-1 >>>>>> [2015-10-13 10:32:49,072] INFO >>>>>> {org.apache.stratos.autoscaler.pojo.policy.PolicyManager} - Adding >>>>>> application policy : [application-policy-id] application-policy-1 >>>>>> [2015-10-13 10:32:49,215] INFO >>>>>> {org.apache.stratos.autoscaler.pojo.policy.PolicyManager} - Application >>>>>> policy is added successfully: [application-policy-id] >>>>>> application-policy-1 >>>>>> >>>>>> >>>>>> Regards, >>>>>> Mariangela >>>>>> >>>>>> >>>>>> *Mariangela Hills* >>>>>> Senior Technical Writer - WSO2, Inc. http://wso2.com >>>>>> Committer and PMC member - Apache Stratos >>>>>> email:mariang...@wso2.com | mobile: +94 773 500185 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Akila Ravihansa Perera >>>>> WSO2 Inc.; http://wso2.com/ >>>>> >>>>> Blog: http://ravihansa3000.blogspot.com >>>>> >>>> >>>> >>>> >>>> -- >>>> *Pubudu Gunatilaka* >>>> Committer and PMC Member - Apache Stratos >>>> Software Engineer >>>> WSO2, Inc.: http://wso2.com >>>> mobile : +94774079049 <%2B94772207163> >>>> >>>> >>> >>> >>> -- >>> Akila Ravihansa Perera >>> WSO2 Inc.; http://wso2.com/ >>> >>> Blog: http://ravihansa3000.blogspot.com >>> >> >> > > > -- > > Gayan Gunarathne > Technical Lead, WSO2 Inc. (http://wso2.com) > Committer & PMC Member, Apache Stratos > email : gay...@wso2.com | mobile : +94 775030545 <%2B94%20766819985> > > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev