Native libraries not found?

2022-02-23 Thread Claude Brisson
before the upgrade, is not anymore available? How can I diagnose the problem further? Thanks, -- Claude Brisson

Re: Native libraries not found?

2022-02-23 Thread Claude Brisson
. To have it working, I did: # systemctl edit tomcat9     [Service] Environment="CATALINA_OPTS=-Djava.library.path=/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu:/usr/lib64:/lib64:/lib:/usr/lib" # systemctl daemon-reload # systemctl restart tomcat9 Claude Brisson On 23/02/202

Running webapp not listed in the manager

2007-10-09 Thread Claude Brisson
Hi, I'm using tomcat 6.0.10. I deployed a webapp on a first virtual host using : and the manager on another virtual host using :

Silencing broken pipe I/O exceptions

2018-03-22 Thread Claude Brisson
Hi all. I have set up a server-side events mechanism using tomcat (and https://github.com/byjg/jquery-sse), and everything is working smoothly. But each time the server tries to send some data on an SSE channel which has just been closed on the client side, even though this exception is catc

Re: Silencing broken pipe I/O exceptions

2018-04-21 Thread Claude Brisson
o log something on [info] ? Claude On 22/03/2018 15:51, Claude Brisson wrote: Hi all. I have set up a server-side events mechanism using tomcat (and https://github.com/byjg/jquery-sse), and everything is working smoothly. But each time the server tries to send some data on an SSE channel whic

Running sudo from a servlet

2019-05-21 Thread Claude Brisson
Hi all. I use tomcat 8.5.39 and java oracle 1.8.0_191 on linux (ubuntu 19.04). Tomcat was installed by apt-get and runs as a service. If I open a shell as the tomcat8 user, I can launch a Java program which successfully executes a sudo command in a sub-process. But from a Java servlet, the

Re: Running sudo from a servlet

2019-05-21 Thread Claude Brisson
21/05/2019 19:52, Claude Brisson wrote: Hi all. I use tomcat 8.5.39 and java oracle 1.8.0_191 on linux (ubuntu 19.04). Tomcat was installed by apt-get and runs as a service. If I open a shell as the tomcat8 user, I can launch a Java program which successfully executes a sudo command in a s

Re: Running sudo from a servlet

2019-05-23 Thread Claude Brisson
You are right about your security concerns. I feel obliged to state that my use-case is perfectly valid and secure, the tomcat instance runs in a VPN and the sudoers file is properly configured to only allow access to a single user and a single command. Anyhow it's the kind of area where you b