Re: [Dev] [ESB] Tenant ID -1 in wso2carbon.log
AFAIK -1 means invalid tenant. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sat, Sep 10, 2016 at 11:15 AM, Chamila De Alwis wrote: > Hi, > > In ESB 5.0.0 it seems that some of the classes log the tenant ID as -1 > while others log as -1234. I don't have any tenants created. What does this > -1 tenant ID stand for? > > TID: [-1234] [] [2016-09-10 00:30:04,385] INFO > {org.wso2.carbon.core.init.CarbonServerManager} > - Shutdown hook triggered {org.wso2.carbon.core.init. > CarbonServerManager} > TID: [-1234] [] [2016-09-10 00:30:04,386] INFO > {org.wso2.carbon.core.init.CarbonServerManager} > - Gracefully shutting down WSO2 Enterprise Service Bus... > {org.wso2.carbon.core.init.CarbonServerManager} > TID: [-1234] [] [2016-09-10 00:30:04,388] INFO > {org.wso2.carbon.core.ServerManagement} > - Starting to switch to maintenance mode... {org.wso2.carbon.core. > ServerManagement} > TID: [-1234] [] [2016-09-10 00:30:04,388] INFO > {org.apache.synapse.transport.passthru.PassThroughHttpListener} - > Stopping Pass-through HTTP Listener.. {org.apache.synapse.transport. > passthru.PassThroughHttpListener} > TID: [-1234] [] [2016-09-10 00:30:04,389] INFO > {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager} > - Shutting down IO Reactor bind for port 8280 > {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorM > anager} > *TID: [-1] [] [2016-09-10 00:30:04,391] INFO > {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager} > - HTTP-Listener I/O dispatcher Listener shutdown. > {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager}* > TID: [-1234] [] [2016-09-10 00:30:04,391] INFO > {org.apache.synapse.transport.passthru.PassThroughHttpSSLListener} - > Stopping Pass-through HTTPS Listener.. {org.apache.synapse.transport. > passthru.PassThroughHttpSSLListener} > TID: [-1234] [] [2016-09-10 00:30:04,392] INFO > {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager} > - Shutting down IO Reactor bind for port 8243 > {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorM > anager} > *TID: [-1] [] [2016-09-10 00:30:04,393] INFO > {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager} > - HTTPS-Listener I/O dispatcher Listener shutdown. > {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager}* > TID: [-1234] [] [2016-09-10 00:30:04,393] INFO > {org.wso2.carbon.core.ServerManagement} > - Stopped all transport listeners {org.wso2.carbon.core.ServerManagement} > TID: [-1234] [] [2016-09-10 00:30:04,393] INFO > {org.wso2.carbon.core.ServerManagement} > - Waiting for request service completion... {org.wso2.carbon.core. > ServerManagement} > TID: [-1234] [] [2016-09-10 00:30:04,406] INFO > {org.wso2.carbon.core.ServerManagement} > - All requests have been served. {org.wso2.carbon.core.ServerManagement} > TID: [-1234] [] [2016-09-10 00:30:04,407] INFO > {org.wso2.carbon.core.ServerManagement} > - Waiting for deployment completion... {org.wso2.carbon.core. > ServerManagement} > TID: [-1234] [] [2016-09-10 00:30:04,409] INFO > {org.wso2.carbon.core.ServerManagement} > - All deployment tasks have been completed. {org.wso2.carbon.core. > ServerManagement} > TID: [-1234] [] [2016-09-10 00:30:04,409] INFO > {org.wso2.carbon.core.ServerManagement} > - Waiting for server task completion... {org.wso2.carbon.core. > ServerManagement} > TID: [-1234] [] [2016-09-10 00:30:04,441] INFO {org.wso2.carbon.registry. > core.internal.RegistryCoreServiceComponent} - Writing logs > {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} > TID: [-1234] [] [2016-09-10 00:30:04,442] INFO > {org.wso2.carbon.core.ServerManagement} > - All server tasks have been completed. {org.wso2.carbon.core. > ServerManagement} > TID: [-1234] [] [2016-09-10 00:30:04,443] INFO > {org.wso2.carbon.core.init.CarbonServerManager} > - Shutting down WSO2 Enterprise Service Bus... {org.wso2.carbon.core.init. > CarbonServerManager} > TID: [-1234] [] [2016-09-10 00:30:04,443] INFO > {org.wso2.carbon.core.init.CarbonServerManager} > - Shutting down OSGi framework... {org.wso2.carbon.core.init. > CarbonServerManager} > TID: [-1234] [] [2016-09-10 00:30:04,554] INFO {org.wso2.carbon.event. > publisher.core.EventPublisherDeployer} - Event Publisher undeployed > successfully : MessageFlowStatisticsPublisher.xml {org.wso2.carbon.event. > publisher.core.EventPublisherDeployer} > TID: [-1234] [] [2016-09-10 00:30:04,557] INFO {org.wso2.carbon.event. > publisher.core.EventPublisherDeployer} - Event Publisher deployment held > back and in inactive state : MessageFlowStatisticsPublisher.xml, waiting > for Output Event Adapter dependency : wso2event {org.wso2.carbon.event. > publisher.core.EventPublisherDeployer} > TID: [-1234] [] [2016-09-10 00:30:04,557]
[Dev] [ESB] Tenant ID -1 in wso2carbon.log
Hi, In ESB 5.0.0 it seems that some of the classes log the tenant ID as -1 while others log as -1234. I don't have any tenants created. What does this -1 tenant ID stand for? TID: [-1234] [] [2016-09-10 00:30:04,385] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Shutdown hook triggered {org.wso2.carbon.core.init.CarbonServerManager} TID: [-1234] [] [2016-09-10 00:30:04,386] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Gracefully shutting down WSO2 Enterprise Service Bus... {org.wso2.carbon.core.init.CarbonServerManager} TID: [-1234] [] [2016-09-10 00:30:04,388] INFO {org.wso2.carbon.core.ServerManagement} - Starting to switch to maintenance mode... {org.wso2.carbon.core.ServerManagement} TID: [-1234] [] [2016-09-10 00:30:04,388] INFO {org.apache.synapse.transport.passthru.PassThroughHttpListener} - Stopping Pass-through HTTP Listener.. {org.apache.synapse.transport.passthru.PassThroughHttpListener} TID: [-1234] [] [2016-09-10 00:30:04,389] INFO {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager} - Shutting down IO Reactor bind for port 8280 {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager} *TID: [-1] [] [2016-09-10 00:30:04,391] INFO {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager} - HTTP-Listener I/O dispatcher Listener shutdown. {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager}* TID: [-1234] [] [2016-09-10 00:30:04,391] INFO {org.apache.synapse.transport.passthru.PassThroughHttpSSLListener} - Stopping Pass-through HTTPS Listener.. {org.apache.synapse.transport.passthru.PassThroughHttpSSLListener} TID: [-1234] [] [2016-09-10 00:30:04,392] INFO {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager} - Shutting down IO Reactor bind for port 8243 {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager} *TID: [-1] [] [2016-09-10 00:30:04,393] INFO {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager} - HTTPS-Listener I/O dispatcher Listener shutdown. {org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager}* TID: [-1234] [] [2016-09-10 00:30:04,393] INFO {org.wso2.carbon.core.ServerManagement} - Stopped all transport listeners {org.wso2.carbon.core.ServerManagement} TID: [-1234] [] [2016-09-10 00:30:04,393] INFO {org.wso2.carbon.core.ServerManagement} - Waiting for request service completion... {org.wso2.carbon.core.ServerManagement} TID: [-1234] [] [2016-09-10 00:30:04,406] INFO {org.wso2.carbon.core.ServerManagement} - All requests have been served. {org.wso2.carbon.core.ServerManagement} TID: [-1234] [] [2016-09-10 00:30:04,407] INFO {org.wso2.carbon.core.ServerManagement} - Waiting for deployment completion... {org.wso2.carbon.core.ServerManagement} TID: [-1234] [] [2016-09-10 00:30:04,409] INFO {org.wso2.carbon.core.ServerManagement} - All deployment tasks have been completed. {org.wso2.carbon.core.ServerManagement} TID: [-1234] [] [2016-09-10 00:30:04,409] INFO {org.wso2.carbon.core.ServerManagement} - Waiting for server task completion... {org.wso2.carbon.core.ServerManagement} TID: [-1234] [] [2016-09-10 00:30:04,441] INFO {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} - Writing logs {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} TID: [-1234] [] [2016-09-10 00:30:04,442] INFO {org.wso2.carbon.core.ServerManagement} - All server tasks have been completed. {org.wso2.carbon.core.ServerManagement} TID: [-1234] [] [2016-09-10 00:30:04,443] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Shutting down WSO2 Enterprise Service Bus... {org.wso2.carbon.core.init.CarbonServerManager} TID: [-1234] [] [2016-09-10 00:30:04,443] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Shutting down OSGi framework... {org.wso2.carbon.core.init.CarbonServerManager} TID: [-1234] [] [2016-09-10 00:30:04,554] INFO {org.wso2.carbon.event.publisher.core.EventPublisherDeployer} - Event Publisher undeployed successfully : MessageFlowStatisticsPublisher.xml {org.wso2.carbon.event.publisher.core.EventPublisherDeployer} TID: [-1234] [] [2016-09-10 00:30:04,557] INFO {org.wso2.carbon.event.publisher.core.EventPublisherDeployer} - Event Publisher deployment held back and in inactive state : MessageFlowStatisticsPublisher.xml, waiting for Output Event Adapter dependency : wso2event {org.wso2.carbon.event.publisher.core.EventPublisherDeployer} TID: [-1234] [] [2016-09-10 00:30:04,557] INFO {org.wso2.carbon.event.publisher.core.internal.CarbonEventPublisherService} - Event publisher : MessageFlowStatisticsPublisher is in inactive state because dependency could not be found : wso2event {org.wso2.carbon.event.publisher.core.internal.CarbonEventPublisherService} TID: [-1234] [] [2016-09-10 00:30:04,557] INFO {org.wso2.carbon.event.publisher.core.EventPublisherDeployer} - Event Publisher u