Re: Jersey on Tomcat 10.1

2024-09-11 Thread Jürgen Weber
[INFO]\- org.javassist:javassist:jar:3.30.2-GA:compile Am Mi., 11. Sept. 2024 um 19:34 Uhr schrieb Jürgen Weber : > > It works with rs-api 4.0.0 > > Thanks for your help! > > jakarta.ws.rs-api > 4.0.0 > > Am Di., 10. Sept. 2024 um 20:27 Uhr schrieb Thomas Meyer

Re: Jersey on Tomcat 10.1

2024-09-11 Thread Jürgen Weber
; > But I assume that Jersey 3.1.x does implement jax-rs 3.1, so maybe that's the > reason it cannot find this class. > > Mfg > Thomas > > > Am 10. September 2024 20:07:07 MESZ schrieb "Jürgen Weber" > : > >Hi, > > > >I am looking for a worki

Re: Jersey on Tomcat 10.1

2024-09-10 Thread Jürgen Weber
I had found about jersey-client, too, but it did not help. The exceptions happen in static blocks, so no good information in the stacktrace. Am Di., 10. Sept. 2024 um 20:16 Uhr schrieb Sebastian Trost : > > Jürgen, > > On 10.09.2024 20:07, Jürgen Weber wrote: > > java.lang.Clas

Websockets: get Reference to @ServerEndpoint in a Servlet ?

2022-06-30 Thread Jürgen Weber
Hi, use case: HTML clients connect to @ServerEndpoint, some Servlet.GET should send a message to connected HTML clients. I found no other way to have the Servlet have a reference to the ServerEndpoint than a hack with a static field, as in the Tomcat sample. https://github.com/apache/tomcat/blob

Re: only for remote access

2020-11-12 Thread Jürgen Weber
de if Servlet Path == local && remote IP in local network And I'll try to mod_rewrite /remote to /local if in local network. Juergen Am Do., 12. Nov. 2020 um 14:43 Uhr schrieb Christopher Schultz : > > Jürgen, > > On 11/12/20 06:30, Jürgen Weber wrote: > > I'd

only for remote access

2020-11-12 Thread Jürgen Weber
Hi, I'd like to have web app security if accessed from outside the local network. if (!local) check Is this possible? with RemoteHostValve ? Thx, Juergen - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For a

Re: How to encrypt db password in tomcat context.xml

2020-06-28 Thread Jürgen Weber
e password there. So one could have samething like db.pass=3des: in catalina.properties Greetings, Juergen Am So., 28. Juni 2020 um 21:19 Uhr schrieb Olaf Kock : > > > On 28.06.20 19:50, Jürgen Weber wrote: > >>>> I would like to know how to encrypt and decrypt the database

Re: How to encrypt db password in tomcat context.xml

2020-06-28 Thread Jürgen Weber
> https://cwiki.apache.org/confluence/display/TOMCAT/Password Well, I know a chief open source app server that has the password to decrypt all passwords buried in its open source, and I know auditors who are good if root cannot read passwords at first sight. The reasoning behind that is that runni

Re: jsvc - non root - log as root

2020-06-27 Thread Jürgen Weber
jsvc has a umask option, so the log files can be made readable for the user. It is just a question of estetics, root-owned files in user directories are smelly. Juergen Am Sa., 27. Juni 2020 um 11:38 Uhr schrieb Michael Osipov : > > Am 2020-06-26 um 09:21 schrieb Jürgen Weber:

jsvc - non root - log as root

2020-06-26 Thread Jürgen Weber
Hi, when you run tomcat with jsvc and have jsvc drop privileges to a different user, stdout and stderr log files are still created with root as owner. Can you make jsvc create them as the -user ? weberjn@beo:~/apache-tomcat-9.0.36/logs$ ll total 20 -rw--- 1 weberjn weberjn 4630 Jun 26 08:28 c