Tamás,

On 11/10/20 15:42, Tamás Barta wrote:
This is the content of setenv.sh:

CLASSPATH=$CLASSPATH:$CATALINA_BASE/sentry/sentry-1.7.29.jar
CLASSPATH=$CLASSPATH:$CATALINA_BASE/sentry/slf4j-api-1.7.24.jar
CLASSPATH=$CLASSPATH:$CATALINA_BASE/sentry/jackson-core-2.8.10.jar

The web application without this sentry configuration works well for ages.
But if I add the above configuration, it won't.

Yes, it is a maven project, now I checked and I see that there are Tomcat
jar-s in it:

tomcat-annotations-api-8.5.23.jar  tomcat-embed-core-8.5.23.jar
  tomcat-embed-el-8.5.23.jar  tomcat-embed-websocket-8.5.23.jar
tomcat-jdbc-8.5.23.jar tomcat-juli-8.5.23.jar

Maybe the problem is that Spring Boot application contains embed Tomcat
jars? This is very interesting that this extra Sentry jar in classpath
cause this problem.

Wait... you are using Spring Boot and you are also using setenv.sh?

I'm very confused.

I wouldn't expect Sentry and its dependencies to cause a problem.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to