Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Martin Grigorov
On Wed, Nov 11, 2020 at 3:16 PM Tamás Barta wrote: > Hi, > > > Why do you use 1.7.29 ? > > Because our company has a Sentry server supports this version of clients. > > > Do you specify this class name in logging.properties ? Is > this class in 1.7.29 ? > > Yes and yes. If I add sentry jars to cl

Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Tamás Barta
Hi, > Why do you use 1.7.29 ? Because our company has a Sentry server supports this version of clients. > Do you specify this class name in logging.properties ? Is this class in 1.7.29 ? Yes and yes. If I add sentry jars to classpath, sentry works well. Exceptions are sent to the server and vis

Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Martin Grigorov
Hi, On Wed, Nov 11, 2020 at 11:20 AM Tamás Barta wrote: > Hi, > > The ways you wrote is not usable, because they cause the following problem: > > Handler error > java.lang.ClassNotFoundException: io.sentry.jul.SentryHandler > at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Tamás Barta
Hi, The ways you wrote is not usable, because they cause the following problem: Handler error java.lang.ClassNotFoundException: io.sentry.jul.SentryHandler at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Martin Grigorov
Hi, On Wed, Nov 11, 2020 at 10:36 AM Tamás Barta wrote: > Hi, > > Now it is a Spring Boot web application project without embedded tomcat. > There is no library in war with javax.servlet api classes. There error is > the same: > > 11-Nov-2020 09:34:06.719 SEVERE [localhost-startStop-1] > org.apa

Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Tamás Barta
Hi, Now it is a Spring Boot web application project without embedded tomcat. There is no library in war with javax.servlet api classes. There error is the same: 11-Nov-2020 09:34:06.719 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild:

Re: Tomcat - Sentry configuration problem

2020-11-10 Thread Christopher Schultz
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 wit

Re: Tomcat - Sentry configuration problem

2020-11-10 Thread Tamás Barta
Hi, 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 f

Re: Tomcat - Sentry configuration problem

2020-11-10 Thread Christopher Schultz
Tamás, On 11/10/20 13:18, Tamás Barta wrote: Hi, I tried to configure Sentry with Tomcat but I failed. I would like to use the Java Logging appender. I guess I have to add sentry jars to bootstrap jars, so I created setenv.sh with this content: jackson-core-2.8.10.jar sentry-1.7.29.jar slf4j-a

Tomcat - Sentry configuration problem

2020-11-10 Thread Tamás Barta
Hi, I tried to configure Sentry with Tomcat but I failed. I would like to use the Java Logging appender. I guess I have to add sentry jars to bootstrap jars, so I created setenv.sh with this content: jackson-core-2.8.10.jar sentry-1.7.29.jar slf4j-api-1.7.24.jar Of course I set logging.propertie