Hi Nirmal, For [2], did u replace carbon.xml, cloud-services-desc.xml and user-mgt.xml that Reka provided ? Thereafter you need to log with a newly created tenant.
On Thu, Mar 21, 2013 at 4:50 AM, Nirmal Fernando <nir...@wso2.com> wrote: > Hi, > > 1. When super admin tries to list the cartridges: [1] > 2. When a tenant tries to login, it failed. But back-end log has [2] > > [1] > > TID: [0] [scc] [2013-03-20 19:04:30,074] INFO > {org.wso2.carbon.adc.mgt.service.ApplicationManagementService} - Returning > tenant ID : -1234 > {org.wso2.carbon.adc.mgt.service.ApplicationManagementService} > TID: [0] [scc] [2013-03-20 19:04:30,094] ERROR > {org.wso2.carbon.cartridge.mgt.ui.CartridgeAdminClient} - Cannot list > cartridges. {org.wso2.carbon.cartridge.mgt.ui.CartridgeAdminClient} > org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: > Unexpected subelement {http://dto.mgt.adc.carbon.wso2.org/xsd}dbUserName > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) > at > org.wso2.carbon.adc.mgt.stub.ApplicationManagementServiceStub.fromOM(ApplicationManagementServiceStub.java:5048) > at > org.wso2.carbon.adc.mgt.stub.ApplicationManagementServiceStub.listAvailableCartridges(ApplicationManagementServiceStub.java:3624) > at > org.wso2.carbon.cartridge.mgt.ui.CartridgeAdminClient.getCartridgesList(CartridgeAdminClient.java:61) > at > org.apache.jsp.cartridge_002dmgt.list_jsp._jspService(org.apache.jsp.cartridge_002dmgt.list_jsp:121) > 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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) > at > org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605) > at > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544) > at > org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37) > at > org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369) > at > org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1015) > at > org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:700) > at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:87) > at > org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88) > at > org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82) > at > org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465) > at > org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140) > at > org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117) > at > org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171) > at > org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75) > at > org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80) > at > org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:536) > at > org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:286) > 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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) > at > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) > at > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) > at > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) > at > org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30) > at > org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362) > at > org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198) > at > org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185) > at > org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419) > at > org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370) > at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52) > at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101) > 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:177) > at > org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:161) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) > at > org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57) > 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) > Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException: > Unexpected subelement {http://dto.mgt.adc.carbon.wso2.org/xsd}dbUserName > at > org.wso2.carbon.adc.mgt.dto.xsd.Cartridge$Factory.parse(Cartridge.java:1468) > at > org.wso2.carbon.adc.mgt.service.ListAvailableCartridgesResponse$Factory.parse(ListAvailableCartridgesResponse.java:489) > at > org.wso2.carbon.adc.mgt.stub.ApplicationManagementServiceStub.fromOM(ApplicationManagementServiceStub.java:5035) > ... 99 more > Caused by: org.apache.axis2.databinding.ADBException: Unexpected > subelement {http://dto.mgt.adc.carbon.wso2.org/xsd}dbUserName > at > org.wso2.carbon.adc.mgt.dto.xsd.Cartridge$Factory.parse(Cartridge.java:1462) > ... 101 more > > > [2] > > TID: [0] [scc] [2013-03-20 19:05:38,046] INFO > {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - ' > ad...@test.com [1]' logged in at [2013-03-20 19:05:38,046-0400] > {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} > TID: [0] [scc] [2013-03-20 19:05:38,049] WARN > {org.wso2.carbon.activation.module.ActivationHandler} - Failed attempt to > access WSO2 Stratos Controller by tenant 1 > {org.wso2.carbon.activation.module.ActivationHandler} > > > > -- > > Thanks & regards, > Nirmal > > Software Engineer- Platform Technologies Team, WSO2 Inc. > Mobile: +94715779733 > Blog: http://nirmalfdo.blogspot.com/ > > <http://nirmalfdo.blogspot.com/> > -- Regards, * * *Sajith Kariyawasam* *Senior Software Engineer; WSO2, Inc.; http://wso2.com*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev