All Products
Search
Document Center

Enterprise Distributed Application Service:What are the default startup command parameters during application deployment?

Last Updated:Jan 03, 2024

When you deploy an application, Enterprise Distributed Application Service (EDAS) adds startup command parameters by default to optimize application performance and ensure that the middleware and application management features can be used on the application.

Parameter

Value

Description

Category

alicloud.deployment.mode

EDAS_MANAGED

Allows EDAS to automatically replace the endpoint of the middleware component with the endpoint that is 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 corresponds to the value of the tenant.id parameter.

Microservices

address.server.domain

addr-sh-internal.edas.aliyun.com

The address of the middleware server. Only one value is provided for each region. You can use this address to query the actual IP address of the middleware server.

Microservices

address.server.port

8080

The port number of the middleware server. You can access the middleware server by using the port number.

Microservices

configserver.client.port

8000

The port number of the ConfigServer. After you specify this parameter, ConfigServer Client connects to this port.

Microservices

dpath.id.group

default

A parameter that is required for end-to-end canary release.

Microservices

dpath.id

44990d8b-4e65-41af-b11a-733253847d2d

A parameter that is 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 includes a free edition of Application Real-Time Monitoring Service (ARMS) and provides microservice capabilities, such as graceful disconnection of services and removal of outliers.

Microservices

project.name

The actual value.

The application ID.

Application management

ahas.project.name

The actual value.

The application name. The Application High Availability Service (AHAS) component obtains the application name from this parameter.

Application management

tenant.id

The actual value.

The tenant ID. Each tenant ID corresponds to a 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. By default, this port is disabled to enhance security.

Middleware

JM.LOG.RETAIN.COUNT

7

A parameter for com.taobao.middleware.logger.Logger. A maximum of seven log files can be stored.

  • Logs

  • Middleware

JM.LOG.FILE.SIZE

300 MB

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 actual value.

The address that is bound to tomcat.monitor.http.bingding.hostTomcat monitor. The parameter is set to the address of the on-premises host.

  • Logs

  • Middleware

jdk.tls.ephemeralDHKeySize

2048

Extends the length of the Diffie-Hellman Ephemeral (DHE) key to 2,048 bits in the context of Transport Layer Security (TLS) to enhance security.

Tomcat

java.security.egd

file:/dev/./urandom

The seed that is generated when a Java secure random number is configured. 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 equal signs (=).

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 forward slashes (/).

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 resides.

Tomcat

catalina.home

/home/admin/taobao-tomcat-production-7.0.59.3

The directory where Tomcat resides.

Tomcat

--server.context-path

/

The context path of Tomcat for a Spring Boot application.

Tomcat

--server.port

8080

The listening 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. Default value: 400.

Tomcat

java.util.logging.config.file

/home/admin/taobao-tomcat-production-7.0.59.3/conf/logging.properties

The configuration file of the Java built-in logging component.

Logs

java.util.logging.manager

org.apache.juli.ClassLoaderLogManager

The manager of the Java built-in logging component.

Logs

java.io.tmpdir

/home/admin/taobao-tomcat-production-7.0.59.3/temp

The directory where temporary Java files are stored.

General

catalina.vendor

alibaba

Indicates that Ali-Tomcat is developed by Alibaba.

Other