Closed andreysubbotin closed 4 years ago
QA: check that server
type dependincies now copied to tomcatDir/shared/lib
dir instead of tomcatDir/lib
dir by deploying to local tomcat.
For example, add logstash
dependency as server
dependency (see original issue):
configure(globalModule) {
dependencies {
server('net.logstash.logback:logstash-logback-encoder:6.3')
...
}
}
And then check if application actually works with logstash
by adding it to logback file:
...
<appender name="Logstash" class="net.logstash.logback.appender.LogstashTcpSocketAppender">
<destination>logstash:4560</destination>
<!-- encoder is required -->
<encoder class="net.logstash.logback.encoder.LogstashEncoder" />
</appender>
...
Environment
Description of the bug or enhancement
tomcatDir/lib
dir) instead of shared libs (tomcatDir/shared/lib
dir). Sometimes this configuration leads to errors when server libs depend from shared lib. A possible solution might be copying server type dependencies into shared libs.