Re: Replacement / alternatives of Tomcat-juli.jar and Tomcat-juli-adapters.jar in Tomcat 9

2021-02-25 Thread Ravi Kumar
Hi Luis, Thank you for your suggestion and valuable information. Appreciate the assistance. Regards, Ravi On Wed, Feb 24, 2021 at 10:06 PM Luis Rodríguez Fernández wrote: > Hello Ravi, > > Here [1] upi can find an example of tomcat 9 + log4j2. > > Hope it helps, > > Luis > > [1]

Re: Run servlets on Nashorn written in server-side JavaScript

2021-02-25 Thread leo
Rony, On 25 Feb 2021, at 2:47, Rony G. Flatscher (Apache) wrote: P.S.: Have tested my implementation with Nashorn on Java 8 and it works out of the box! Still, you would need to test the implementation thoroughly yourself (stability, performance, resources) and would be asked to come back

Re: Feature request for SSL Valve

2021-02-25 Thread Alex
Christopher. Thank you for your answer. On 25.02.21 21:10, Christopher Schultz wrote: Alex, On 2/24/21 22:05, Alex wrote: Hi. I try to setup HAProxy to send some TLS Information's to tomcat. As described in the documentation of SSL Valve are several parameters available and most of them

Re: Feature request for SSL Valve

2021-02-25 Thread Christopher Schultz
Alex, On 2/24/21 22:05, Alex wrote: Hi. I try to setup HAProxy to send some TLS Information's to tomcat. As described in the documentation of SSL Valve are several parameters available and most of them are also available in HAProxy.

Re: Correct manager.xml for Tomcat 8 manager GUI

2021-02-25 Thread Luis Rodríguez Fernández
Hello Patrick, Check if you have also the webapps/manager/META-INF/context.xml By default that RemoteAddrValve [1] configuration only allows connections from the same host. Cheers, Luis [1] https://tomcat.apache.org/tomcat-8.0-doc/api/org/apache/catalina/valves/RemoteAddrValve.html El mié, 24

Re: JNDI ldaps Problem with SSO

2021-02-25 Thread Luis Rodríguez Fernández
Hello Susan, org.apache.catalina.realm.JNDIRealm used the container log so org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = ALL should give you some more details. By default these logs go to the localhost.-MM-DD.log, if you want to print them in the console you can always

Re: JNDI ldaps Problem with SSO

2021-02-25 Thread Brian Wolfe
Seems there might be some debug you can turn on. I haven't tried it myself. But Look at this for reference. https://ldapwiki.com/wiki/Tomcat%20And%20LDAP On Thu, Feb 25, 2021 at 11:18 AM wrote: > Dear Brian > > Thank you for your reply > > We can see the successful handshake with the LDAP

RE: JNDI ldaps Problem with SSO

2021-02-25 Thread Susan.Wood
Dear Brian Thank you for your reply We can see the successful handshake with the LDAP Server. We think, after that, some more data goes back and forth and then the connection is closed. We can't see, what is exactly happening - its TLSv1.3 When using ldap with port 3268 - its all good. So

Re: JNDI ldaps Problem with SSO

2021-02-25 Thread Brian Wolfe
if you define the truststore on the command line it will ignore the cacerts file. Also looks like you're trying to connect to AD over the catalog port. I would suggest using the LDAPS port 636. The GC port is used to search things within the forest that may not be in the domain. small change but

RE: JNDI ldaps Problem with SSO

2021-02-25 Thread Susan.Wood
Hi Bill Thank you for your fast reply We are using RHEL7 The JAVA is using it's default cacerts which includes all ROOT CA's of the LDAP Server. We also added another Trusstore in the JAVA OPTS of the Tomcat JVM, which also includes the whole chain of the LDAP Server Cert: tomcat 21503

Re: JNDI ldaps Problem with SSO

2021-02-25 Thread Bill Stewart
On Thu, Feb 25, 2021 at 2:31 AM wrote: We are having a problem with our Single sign On config. > When using ldap - all works well. > > When switiching to ldaps , the User loses to connection all together > (Server not reachable) > > server.xml > > Good: >

JNDI ldaps Problem with SSO

2021-02-25 Thread Susan.Wood
Hi all apache-tomcat-8.0.36 java version "1.8.0_281" Java(TM) SE Runtime Environment (build 1.8.0_281-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode) We are having a problem with our Single sign On config. When using ldap - all works well. When switiching to ldaps , the

Re: Tomcat Manager

2021-02-25 Thread Mark Thomas
On 24/02/2021 20:18, Robert Hicks wrote: > Is there a way (my google-fu is failing) to use the command line version of > the manager but not have the front end UI available at all? Remove the HTMLManager servlet entries from WEB-INF/web.xml You may also wish to remove the Status servlet and the