During deployment of an application, Enterprise Distributed Application Service (EDAS) adds default startup command parameters to optimize the performance of the application and ensure that the application can use middleware and application management related features.

Parameter Value Description Category
alicloud.deployment.mode EDAS_MANAGED This parameter allows EDAS to automatically replace the endpoint of the middleware component with the endpoint provided by EDAS and to add authentication information. Microservices
spas.identity /home/admin/.spas_key/default The file that stores the authentication information of the middleware. The value maps to the value of the tenant.id parameter. Microservices
address.server.domain addr-sh-internal.edas.aliyun.com The address of the middleware's Address Server. Only one value of this parameter is provided for each region. You can use this address to query the real address of the middleware's server. Microservices
address.server.port 8080 The port number of the middleware's Address Server. You can use this address to query the real address of the middleware's server. Microservices
configserver.client.port 8000 The port number of Config Server. After this parameter is configured, Config Server Client connects to this port of Config Server. Microservices
dpath.id.group default A parameter required for end-to-end canary release. Microservices
dpath.id 44990d8b-4e65-41af-b11a-733253847d2d A parameter required for end-to-end canary release. Microservices
-javaagent /home/admin/.opt/ArmsAgent/arms-bootstrap-1.7.0-SNAPSHOT.jar When a Java application starts, a Java Agent is mounted to the Java application by default. The Java Agent provides Application Real-Time Monitoring Service (ARMS) Free Edition and microservice capabilities such as graceful disconnection of services and removal of outlier instances. Microservices
project.name The ID of the application. Application management
ahas.project.name The name of the application. The Application High Availability Service (AHAS) component obtains the application name from this parameter. Application management
tenant.id The ID of the tenant. A tenant ID maps namespace. This parameter is used for authentication and data isolation. Application management
pandora.accept.foreign.ip FALSE Specifies whether the control port of Pandora can be called by external IP addresses. This port is disabled by default for security reasons. Middleware
JM.LOG.RETAIN.COUNT 7 A parameter for com.taobao.middleware.logger.Logger. A maximum of seven log files are stored.
  • Logs
  • Middleware
JM.LOG.FILE.SIZE 300MB A parameter for com.taobao.middleware.logger.Logger. The maximum size of each log file is 300 MB.
  • Logs
  • Middleware
tomcat.monitor.http.binding.host The address bound to tomcat.monitor.http.bingding.hostTomcat monitor. The value is usually set to the address of the local host.
  • Logs
  • Middleware
jdk.tls.ephemeralDHKeySize 2048 Extends the length of the Ephemeral Diffie-Hellman (DHE) key in the context of Transport Layer Security (TLS) to 2048 bits for security enhancement. Tomcat
java.security.egd file:/dev/./urandom The seed generated when a Java random number is configured. Specifically, the letter "u" in urandom indicates unlocked, and urandom indicates a non-blocking random number generator. This parameter is used to accelerate the startup of Tomcat. Tomcat
org.apache.tomcat.util.http.ServerCookie.ALLOW_EQUALS_IN_VALUE TRUE Enables the value of the Cookie parameter to contain an equal sign (=). Tomcat
org.apache.tomcat.util.http.ServerCookie.ALLOW_HTTP_SEPARATORS_IN_V0 TRUE Enables the value of the Cookie parameter to contain HTTP delimiters, such as a forward slash (/). Tomcat
catalina.logs /home/admin/taobao-tomcat-production-7.0.59.3/logs The directory where Tomcat logs are stored. Tomcat
catalina.base /home/admin/taobao-tomcat-production-7.0.59.3 The directory where Tomcat is located. Tomcat
catalina.home /home/admin/taobao-tomcat-production-7.0.59.3 The directory where Tomcat is located. Tomcat
--server.context-path / The context path of Tomcat for a Spring Boot application. Tomcat
--server.port 8080 The listener port of Tomcat for a Spring Boot application. Tomcat
server.tomcat.uri-encoding ISO-8859-1 The URI encoding format of Tomcat for a Spring Boot application. Tomcat
--server.tomcat.max-threads 400 The maximum number of threads in the thread pool for a Spring Boot application. The value is 400 by default. Tomcat
java.util.logging.config.file /home/admin/taobao-tomcat-production-7.0.59.3/conf/logging.properties The configuration file of Java built-in logging component. Logs
java.util.logging.manager org.apache.juli.ClassLoaderLogManager The manager of Java built-in logging component. Logs
java.io.tmpdir /home/admin/taobao-tomcat-production-7.0.59.3/temp The address for storing temporary Java files. General
catalina.vendor alibaba Specifies that this Ali-Tomcat is developed by Alibaba. Other