|-----[2020-03-12 22:04:20,958][ERROR][][][][Thread-][o.j.a.c.management-operation][]
JBAS013412: Timeout after [%d] seconds waiting for service container stability. Operation will roll back. Step that first updated the service container was %s at address %s
Application failed to start with classpath: [file:/C:/Program%20Files/Java/jdk1.8.0_65/jre/lib/charsets.jar, file:/C:/Program%20Files/Java/jdk1.8.0_65/jre/lib/deploy.jar, file:/C:/Program%20Files/Java/jdk1.8.0_65/jre/lib/ext/access-bridge-64.jar, file:/C:/Program%20Files/Java/jdk1.8.0_65/jre/lib/ext/cldrdata.jar, file:/C:/Program%20Files/Java/jdk1.8.0_65/jre/lib/ext/dnsns.jar, file:/C:/Program%20Files/Java/jdk1.8.0_65/jre/lib/ext/jaccess.jar, file:/C:/Program%20Files/Java/jdk1.8.0_65/jre/lib/ext/jfxrt.jar, file:/C:/Program%20Files/Java/jdk1.8
环境信息,jboss eap 7.1, spring boot 1.5.7.RELEASE,引入logback, logback中配置动态参数 ${app.config.path}/config.properties", 启动工程, 报错如上。经过多方调查,发现问题在logback配置,logback.xml片段代码如下:
<property name="app.config.path" value="config" />
<property file="${app.config.path}/test.properties" />
启动工程时,指定了动态参数 a p p . c o n f i g . p a t h 的 位 置 为 指 定 的 路 径 ( / o p t / a p p / c o n f i g ) 下 , 但 是 启 动 s p r i n g b o o t 过 程 中 , 执 行 到 l o g b a c k 时 , l o g b a c k 将 a p p . c o n f i g . p a t h 的 动 态 参 数 改 为 了 c o n f i g , 导 致 s p r i n g b o o t 启 动 失 败 , 但 是