WSO2 Carbon
  1. WSO2 Carbon
  2. CARBON-13107

Issue when the Tomcat session is persisted

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Normal Normal
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      - Install Multi-tenancy features in a Carbon Server
      - Log into the server
      - Restart the server
      - Access the index.jsp again, and it will allow you to access it without asking for credentials
      - Now try to create a new tenant

      Following error will be thrown.

      osgi> [2012-05-14 18:10:45,402] ERROR {org.wso2.carbon.tenant.mgt.services.TenantMgtAdminService} - Security Alert! User registry is null. A user is trying create a tenant without an authenticate
      [2012-05-14 18:10:45,415] ERROR {org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil} - Failed to add tenant config. tenant-domain: thilinamb.com, tenant-admin: thilina.
      org.apache.axis2.AxisFault: Invalid data.
              at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
              at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
              at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
              at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
              at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
              at org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceStub.addTenant(TenantMgtAdminServiceStub.java:1646)
              at org.wso2.carbon.tenant.mgt.ui.clients.TenantServiceClient.addTenant(TenantServiceClient.java:90)
              at org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil.addTenantConfigBean(TenantMgtUtil.java:59)
              at org.apache.jsp.tenant_002dmgt.submit_005ftenant_005fajaxprocessor_jsp._jspService(submit_005ftenant_005fajaxprocessor_jsp.java:113)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:161)
              at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
              at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
              at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
              at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:45)
              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.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
              at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:140)
              at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
              at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:50)
              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:999)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1620)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at java.lang.Thread.run(Thread.java:662)

        Activity

        Hide
        Amila Suriarachchi
        added a comment -
        Currently we shift the products with MT features and can not log in after restarting.
        Show
        Amila Suriarachchi
        added a comment - Currently we shift the products with MT features and can not log in after restarting.

          People

          • Assignee:
            Dimuthu Leelarathne
            Reporter:
            Thilina Buddhika
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: