Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can register tenant domains using the Management Console of WSO2 products.

Info

When multitenancy is enabled and a tenant becomes inactive for a long period of time, the tenant is unloaded from the server's memory. By default, the time period is 30 minutes. After that, the tenant has to log in again before sending requests to the server.

You change the default time period allowed for tenant inactiveness by adding -Dtenant.idle.time=<time_in_minutes> java property to the product's startup script ( ./wso2server.sh file for Linux and wso2server.bat  for Windows) as shown below:

 

Code Block
JAVA_OPTS \
    -Dtenant.idle.time=30 \

This section covers the following topics:

...