Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-379

Getting "Tenant does not exist" error when accessing MT cartridge instances, subscribed as a tenant

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0 M6
    • 4.0.0 Alpha
    • None
    • None

    Description

      TID: [0] [LB] [2014-01-21 11:47:58,376] ERROR

      {org.apache.axis2.transport.base.threads.NativeWorkerPool}

      - Uncaught exception
      java.lang.RuntimeException: Cannot create tenant ConfigurationContext for tenant bar.org
      at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:137)
      at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantAxisConfiguration(TenantAxisUtils.java:104)
      at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getAxisService(TenantAxisUtils.java:195)
      at org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor.process(PassThroughNHttpGetProcessor.java:292)
      at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:155)
      at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
      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)
      Caused by: java.lang.Exception: Tenant bar.org does not exist
      at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:281)
      at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:135)
      ... 8 more

      Attachments

        1. 0001-Fixing-STRATOS-379.patch
          5 kB
          Melan Jayasinghage

        Activity

          People

            isuruh Isuru
            melan.nimesh Melan Jayasinghage
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: