Still a small issue came up. Service is deployed
as org.wso2.carbon.sts.xml. But couldn't find it where it is taken from to
deploy to tenants. I want to replace the local one. Is there a way to do
that.

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729


On Mon, Nov 25, 2013 at 9:26 PM, Danushka Fernando <[email protected]>wrote:

> Hi
> Managed to fix with help of Nandika. By adding stratos.deployment feature
> it solved.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
>
> On Fri, Nov 22, 2013 at 9:30 PM, Danushka Fernando <[email protected]>wrote:
>
>> Hi all
>>
>> I have tested this with IS 4.5.1 and its working. But not AF with STS
>> feature. And in AF its failing in Axis2 level.
>>
>> I debugged the Axis2Engine and gathered following details.
>>
>> This call hits AxisEngine.recieve() and it will go through handlers. But
>> in first set of handlers headers doesn't get processed. So after invoking
>> handlers for first time it will call checkMustUnderstand().
>>
>> There in the working scenario no header blocks will be there so it will
>> skip the while loop and will call that receive method once more where the
>> headers actually get processed. But in AF it will go in to the while loop
>> and it fails because headers are not processed yet.
>>
>> Any idea whats going wrong here?
>>
>> However since DevS guys needs this and there is a working client code I
>> will have a separate IS for now. But we needs to figure out whats going
>> wrong here.
>>
>>
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>>
>> On Fri, Nov 22, 2013 at 3:08 PM, Johann Nallathamby <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> Please find latest IS 4.5.1 pack at [1].
>>>
>>> [1]
>>> https://svn.wso2.org/repos/wso2/scratch/IS-4.5.1/22-11-13/wso2is-4.5.1.zip
>>>
>>>
>>> On Thu, Nov 21, 2013 at 9:00 PM, Prabath Siriwardena 
>>> <[email protected]>wrote:
>>>
>>>> The pack you are testing is bit old. Johann will provide an IS 4.5.1
>>>> pack tonight or tomorrow.. Tenant login should be okay there - as its being
>>>> tested for ESB already... So - please test your scenario there...
>>>>
>>>> Thanks & regards,
>>>> -Prabath
>>>>
>>>>
>>>> On Thu, Nov 21, 2013 at 8:42 PM, Danushka Fernando 
>>>> <[email protected]>wrote:
>>>>
>>>>> Hi
>>>>> This functionality is working with is 4.5.0. But IS 4.5.0 components
>>>>> don't have carbon context re-factoring. So I cant test that features in
>>>>> Appfactory. And when I could not log in to IS 4.5.1 as a tenant so I cant
>>>>> test this with IS 4.5.1 also.
>>>>>
>>>>> The differences between IS 4.5.0 are sts versions are different and
>>>>> rampart version also different.
>>>>>
>>>>> Trying to find out what is the root cause for this problem.
>>>>>
>>>>> One quick solution is to go for seperate IS (4.5.0) in AF setup. If we
>>>>> go with that option we need to re do all saml configurations as well and
>>>>> its better to remove all IS features from AF. WDYT?
>>>>>
>>>>>
>>>>> Thanks & Regards
>>>>> Danushka Fernando
>>>>> Software Engineer
>>>>> WSO2 inc. http://wso2.com/
>>>>> Mobile : +94716332729
>>>>>
>>>>>
>>>>> On Thu, Nov 21, 2013 at 11:51 AM, Danushka Fernando <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Looping in
>>>>>>
>>>>>> Thanks & Regards
>>>>>> Danushka Fernando
>>>>>> Software Engineer
>>>>>> WSO2 inc. http://wso2.com/
>>>>>> Mobile : +94716332729
>>>>>>
>>>>>>
>>>>>> On Thu, Nov 21, 2013 at 11:32 AM, Danushka Fernando <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>> I am trying to invoke the sts service in a tenant. When I do that I
>>>>>>> could see the following exception in the server side.
>>>>>>>
>>>>>>> How ever I debugged the Axis2Engine and RampartReciver. There I
>>>>>>> found that error is about rampart is not engaged in server side. I 
>>>>>>> attached
>>>>>>> a screenshot here which shows that rampart is engaged in tenant.
>>>>>>>
>>>>>>> So any idea whats going wrong here?
>>>>>>>
>>>>>>>
>>>>>>> [2013-11-21 11:20:53,484] DEBUG {org.apache.axis2.engine.AxisEngine}
>>>>>>> -  MustUnderstand header not processed or registered as understood{
>>>>>>> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
>>>>>>> [2013-11-21 11:20:53,510] ERROR {org.apache.axis2.engine.AxisEngine}
>>>>>>> -  Must Understand check failed for header
>>>>>>> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd:
>>>>>>>  Security
>>>>>>> org.apache.axis2.AxisFault: Must Understand check failed for header
>>>>>>> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd:
>>>>>>>  Security
>>>>>>>  at
>>>>>>> org.apache.axis2.engine.AxisEngine.checkMustUnderstand(AxisEngine.java:104)
>>>>>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:170)
>>>>>>>  at
>>>>>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
>>>>>>> at
>>>>>>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
>>>>>>>  at
>>>>>>> org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
>>>>>>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>>>> at
>>>>>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>>>>>>  at
>>>>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>>>>>>> at
>>>>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>>>>>>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>>>> at
>>>>>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>>>>>>>  at
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>>>>>> at
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>>>>  at
>>>>>>> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
>>>>>>> at
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>>>>>  at
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>>>> at
>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>>>>>>  at
>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>>>>>> at
>>>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>>>>>>  at
>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>>>>>> at
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>>>>>>>  at
>>>>>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
>>>>>>> at
>>>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
>>>>>>>  at
>>>>>>> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:62)
>>>>>>> at
>>>>>>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
>>>>>>>  at
>>>>>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
>>>>>>> at
>>>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
>>>>>>>  at
>>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
>>>>>>> at
>>>>>>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
>>>>>>>  at
>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>>>>> at
>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>>>>>>>  at
>>>>>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>>>>>>> at
>>>>>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>>>>>>>  at
>>>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
>>>>>>> at
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>>>>>>>  at
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>>>>>>> at java.lang.Thread.run(Thread.java:662)
>>>>>>>
>>>>>>>
>>>>>>> Thanks & Regards
>>>>>>> Danushka Fernando
>>>>>>> Software Engineer
>>>>>>> WSO2 inc. http://wso2.com/
>>>>>>> Mobile : +94716332729
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Thanks & Regards,
>>>> Prabath
>>>>
>>>> Mobile : +94 71 809 6732
>>>>
>>>> http://blog.facilelogin.com
>>>> http://RampartFAQ.com
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks & Regards,
>>>
>>> *Johann Dilantha Nallathamby*
>>> Senior Software Engineer
>>> Integration Technologies Team
>>>  WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - *+94777776950*
>>> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>>>
>>
>>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to