We've been debugging this without the reporting feature installed. It still
fails with the same error. We found that the issue is
with AbstractCarbonUIAuthenticator#onSuccessAdminLogin. There, it
calls MultitenantUtils#getTenantDomain(userName) with a username like
PRIMARY/tenantUserName. This returns super tenant domain. We are further
investigating the issue.


On Thu, Jul 11, 2013 at 11:11 AM, Sagara Gunathunga <[email protected]> wrote:

>
>
>
> On Thu, Jul 11, 2013 at 11:01 AM, Supun Malinga <[email protected]> wrote:
>
>>
>>
>>
>> On Thu, Jul 11, 2013 at 10:59 AM, Sameera Jayasoma <[email protected]>wrote:
>>
>>> Lets get rid of the registry report feature, if thats not required for
>>> AS.
>>>
>> +1
>>
>
> +1  We should get rid of what ever the unwanted components.
>
> Thanks !
>
>>
>> thanks,
>>
>>>
>>> Thanks,
>>> Sameera.
>>>
>>>
>>> On Thu, Jul 11, 2013 at 10:48 AM, Afkham Azeez <[email protected]> wrote:
>>>
>>>> We don't need that in AS. If the report generator component is not
>>>> there, that link should not be shown. This is how the service-mgt page
>>>> behaves. If certain OSGi modules are not there, it refrains from showing
>>>> those links.
>>>>
>>>>
>>>> On Thu, Jul 11, 2013 at 10:44 AM, Supun Malinga <[email protected]>wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> When you do a search in registry it will provide links to the reports
>>>>> generated upon that search. If we don't have reporting features, those 
>>>>> link
>>>>> will be faulty.. That's why we included the reporting features..
>>>>> If there is a better solution for this we can go with that.. :)
>>>>>
>>>>> thanks,
>>>>>
>>>>>
>>>>> On Thu, Jul 11, 2013 at 10:34 AM, Amila Maha Arachchi <[email protected]
>>>>> > wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, Jul 11, 2013 at 12:29 AM, Supun Malinga <[email protected]>wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Jul 11, 2013 at 12:11 AM, Sagara Gunathunga <[email protected]
>>>>>>> > wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Jul 11, 2013 at 12:06 AM, Sameera Jayasoma <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Looks like Pulasthi has found the root cause of this issue. We are
>>>>>>>>> waiting for a patch.
>>>>>>>>>
>>>>>>>>>  Btw, why does AS contains reporting features?
>>>>>>>>>
>>>>>>>>
>>>>>>>> AFAIK there is no direct usage.
>>>>>>>>
>>>>>>>
>>>>>>> yep,
>>>>>>>
>>>>>>> We included these for the registry report generation..
>>>>>>>
>>>>>>
>>>>>> Why do you need registry report generation in AS? IMHO, All other
>>>>>> products except G-REG should run with the minimal registry profile.
>>>>>>
>>>>>>>
>>>>>>> thanks,
>>>>>>>
>>>>>>>>
>>>>>>>> Thanks !
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Sameera.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wed, Jul 10, 2013 at 11:59 AM, Afkham Azeez <[email protected]>wrote:
>>>>>>>>>
>>>>>>>>>> *Caused by: java.lang.NullPointerException*
>>>>>>>>>> * at
>>>>>>>>>> org.wso2.carbon.server.admin.service.ServerAdmin.getServerData(ServerAdmin.java:108)
>>>>>>>>>> *
>>>>>>>>>>  ... 56 more
>>>>>>>>>> [2013-07-10 11:55:41,864] ERROR
>>>>>>>>>> {org.wso2.carbon.server.admin.ui.ServerAdminClient} -  Cannot get 
>>>>>>>>>> server
>>>>>>>>>> data. Backend service may be unavailable
>>>>>>>>>> org.apache.axis2.AxisFault: Exception occurred while trying to
>>>>>>>>>> invoke service method getServerData
>>>>>>>>>> at
>>>>>>>>>> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>>>>>>>>>>  at
>>>>>>>>>> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:367)
>>>>>>>>>> at
>>>>>>>>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)
>>>>>>>>>>  at
>>>>>>>>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
>>>>>>>>>> at
>>>>>>>>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>>>>>>>>>>  at
>>>>>>>>>> org.wso2.carbon.server.admin.stub.ServerAdminStub.getServerData(ServerAdminStub.java:1621)
>>>>>>>>>> at
>>>>>>>>>> org.wso2.carbon.server.admin.ui.ServerAdminClient.getServerData(ServerAdminClient.java:131)
>>>>>>>>>>  at
>>>>>>>>>> org.apache.jsp.server_002dadmin.system_005fstatus_005fajaxprocessor_jsp._jspService(org.apache.jsp.server_002dadmin.system_005fstatus_005fajaxprocessor_jsp:127)
>>>>>>>>>>  at
>>>>>>>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
>>>>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>>>>>>>  at
>>>>>>>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
>>>>>>>>>> at
>>>>>>>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
>>>>>>>>>>  at
>>>>>>>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
>>>>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>>>>>>>  at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>>>>>>>>>> at
>>>>>>>>>> org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
>>>>>>>>>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>>>>>>> at
>>>>>>>>>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
>>>>>>>>>>  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.invoke(CompositeValve.java:172)
>>>>>>>>>>  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:680)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> [2013-07-10 11:52:47,428] ERROR
>>>>>>>>>> {org.wso2.carbon.context.internal.CarbonContextDataHolder} -  Trying 
>>>>>>>>>> to set
>>>>>>>>>> the domain from foo.com to carbon.super
>>>>>>>>>> java.lang.IllegalStateException: Trying to set the domain from
>>>>>>>>>> foo.com to carbon.super
>>>>>>>>>> at
>>>>>>>>>> org.wso2.carbon.context.internal.CarbonContextDataHolder.setTenantDomain(CarbonContextDataHolder.java:1601)
>>>>>>>>>>  at
>>>>>>>>>> org.wso2.carbon.context.PrivilegedCarbonContext.setTenantDomain(PrivilegedCarbonContext.java:242)
>>>>>>>>>> at
>>>>>>>>>> org.wso2.carbon.context.PrivilegedCarbonContext.setTenantDomain(PrivilegedCarbonContext.java:231)
>>>>>>>>>>  at
>>>>>>>>>> org.wso2.carbon.reporting.core.utils.CommonUtil.addJrxmlConfigs(CommonUtil.java:225)
>>>>>>>>>> at
>>>>>>>>>> org.wso2.carbon.reporting.core.internal.ReportingAxis2ConfigurationContextObserver.createdConfigurationContext(ReportingAxis2ConfigurationContextObserver.java:41)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Afkham Azeez*
>>>>>>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>>>>>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>>>>>>>> * <http://www.apache.org/>**
>>>>>>>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>>>>>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>>>>>>> twitter: 
>>>>>>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>>>>>>> *
>>>>>>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>>>>>>> *
>>>>>>>>>> *
>>>>>>>>>> *Lean . Enterprise . Middleware*
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Dev mailing list
>>>>>>>>>> [email protected]
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Sameera Jayasoma,
>>>>>>>>> Architect,
>>>>>>>>>
>>>>>>>>> WSO2, Inc. (http://wso2.com)
>>>>>>>>> email: [email protected]
>>>>>>>>> blog: http://sameera.adahas.org
>>>>>>>>> twitter: https://twitter.com/sameerajayasoma
>>>>>>>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Lean . Enterprise . Middleware
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Sagara Gunathunga
>>>>>>>>
>>>>>>>> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
>>>>>>>> V.P Apache Web Services;    http://ws.apache.org/
>>>>>>>> Linkedin; http://www.linkedin.com/in/ssagara
>>>>>>>> Blog ;  http://ssagara.blogspot.com
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Dev mailing list
>>>>>>>> [email protected]
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Supun Malinga,
>>>>>>>
>>>>>>> Senior Software Engineer,
>>>>>>> WSO2 Inc.
>>>>>>> http://wso2.com
>>>>>>> http://wso2.org
>>>>>>> email - [email protected] <[email protected]>
>>>>>>> mobile - 071 56 91 321
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> [email protected]
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Amila Maharachchi*
>>>>>> Senior Technical Lead
>>>>>> WSO2, Inc.; http://wso2.com
>>>>>>
>>>>>> Blog: http://maharachchi.blogspot.com
>>>>>> Mobile: +94719371446
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Supun Malinga,
>>>>>
>>>>> Senior Software Engineer,
>>>>> WSO2 Inc.
>>>>> http://wso2.com
>>>>> http://wso2.org
>>>>> email - [email protected] <[email protected]>
>>>>> mobile - 071 56 91 321
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Afkham Azeez*
>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>> * <http://www.apache.org/>**
>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>> twitter: 
>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>> *
>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>> *
>>>> *
>>>> *Lean . Enterprise . Middleware*
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Sameera Jayasoma,
>>> Architect,
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: [email protected]
>>> blog: http://sameera.adahas.org
>>> twitter: https://twitter.com/sameerajayasoma
>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>>
>>> Lean . Enterprise . Middleware
>>>
>>
>>
>>
>> --
>> Supun Malinga,
>>
>> Senior Software Engineer,
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>> email - [email protected] <[email protected]>
>> mobile - 071 56 91 321
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sagara Gunathunga
>
> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services;    http://ws.apache.org/
> Linkedin; http://www.linkedin.com/in/ssagara
> Blog ;  http://ssagara.blogspot.com
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Gajasinghe*
Software Engineer;
Development Technologies Team, WSO2 Inc.; http://wso2.com


 ,
*email: **kasung AT spamfree wso2.com


** cell: **+94 (77) 678-0813*
*linked-in: *http://lk.linkedin.com/in/gajasinghe


*
*
*blog: **http://kasunbg.org* <http://kasunbg.org>


*
twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>


*
*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to