SSL configuration for Tomcat 9

2022-07-15 Thread Vince Stewart
re alias everything seems to be working but the certificate returned to the browser is not the domain-specific certified certificate but a certificate generated with the certificate keystore fingerprint. In a properly operating implementation, what certificate should be returned to the browser? I'm obviously doing something wrong. But what ? -- Vince Stewart

secureRandom... using [SHA1PRNG] ..took (up to) 20 minutes

2019-12-29 Thread Vince Stewart
I started recently using my my java app with embedded Tomcat / 8.0.28 on a debian VPS (DigitalOcean). Unfortunately, it can take up to 20 minutes to launch into action from the time you start execution. The issue relates to "Creation of SecureRandom instance ... using SHA1PRNG". Slowness has been

Re: Problems with Clustering / Session Replication

2013-09-18 Thread Vince Stewart
alternatively try an explicit address in the Receiver configuration instead of address="auto" try address="192.168.1.43" this should alter the log displayed at start-up and I would be very interested if you still had a problem. On Thu, Sep 19, 2013 at 10:35 AM, Vince

Re: Problems with Clustering / Session Replication

2013-09-18 Thread Vince Stewart
he new cluster log handler - all others are stock > # logging.properties > # beware of the wrapping > > 5cluster.org.apache.juli.**FileHandler.level = FINER > 5cluster.org.apache.juli.**FileHandler.directory = ${catalina.base}/logs > 5cluster.org.apache.juli.**FileHandler.prefix = cluster. > > # just the clustering logs - all others are stock logging.properties > org.apache.catalina.tribes.**MESSAGES.level = FINE > org.apache.catalina.tribes.**MESSAGES.handlers = > 5cluster.org.apache.juli.**FileHandler > > org.apache.catalina.tribes.**level = FINE > org.apache.catalina.tribes.**handlers = > 5cluster.org.apache.juli.**FileHandler > > org.apache.catalina.ha.level = FINE > org.apache.catalina.ha.**handlers = 5cluster.org.apache.juli.**FileHander > > org.apache.catalina.ha.deploy.**level = INFO > org.apache.catalina.ha.deploy.**handlers = > 5cluster.org.apache.juli.**FileHandler > > Set logging at the desired level. > > I think I've posted this to the mailing list before . . . > > /mde/ > > > --**--**- > To unsubscribe, e-mail: > users-unsubscribe@tomcat.**apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Vince Stewart

Re: buffer expand warning in Tomcat (apache-tomcat-8.0.0-RC1-embed)

2013-08-29 Thread Vince Stewart
just thought I'd let you know, that prediction was absolutely correct. On Thu, Aug 29, 2013 at 7:09 AM, Vince Stewart wrote: > Appreciate this a lot Mark. > > I'm pretty sure my previous code had a short sleep in each loop but > thankfully, in-coming data rarely ex

Re: buffer expand warning in Tomcat (apache-tomcat-8.0.0-RC1-embed)

2013-08-28 Thread Vince Stewart
. The concept is very appealing. Thanks for your contributions. On Wed, Aug 28, 2013 at 11:00 PM, Mark Thomas wrote: > On 28/08/2013 09:41, Mark Thomas wrote: > > On 27/08/2013 03:40, Vince Stewart wrote: > >> hi all, > >> thought I would add some progress on this topic. &

Re: buffer expand warning in Tomcat (apache-tomcat-8.0.0-RC1-embed)

2013-08-26 Thread Vince Stewart
hi all, thought I would add some progress on this topic. I have changed my method for reading from the HttpServletRequest object but the same warning message is thrown for every 8192 bytes read. I no longer regard my code to be suspect though am happy to be corrected. The application operates compl

buffer expand warning in Tomcat (apache-tomcat-8.0.0-RC1-embed)

2013-08-25 Thread Vince Stewart
eadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) -- Vince Stewart

Re: Share info across different sessions & servers

2013-07-05 Thread Vince Stewart
erDisappeared(Member member){ //TribesRemote.tribesRemote.memberGone(member); } } } On Thu, Jul 4, 2013 at 6:57 PM, Jose MarĂ­a Zaragoza wrote: > Thanks Vince. > I'll take a look , but , it doesn't look trivial , not at all > > Regards > > > 2013/7/

Re: Share info across different sessions & servers

2013-07-03 Thread Vince Stewart
Hi Jose, a couple of things, 1) I use embedded Tomcat to build my application and this has allowed me to maintain 2 single-line patches in tribes classes by adding tribes source code to my compilations. However those patches are only necessary with large messages that take more than 3 seconds to b

Re: Share info across different sessions & servers

2013-07-02 Thread Vince Stewart
guLFysc67naaSQvimIoLok9 > > eUfCK6Z5Bll4VeefK6YlA6E49sj01NZD1zuj0J/DGUiwBuFiNSZc1Z2NOZlue7Oo > > efpaRkjINouIfyk3RONa8/ZuNWf80ImX5vvJKEYK7ujc2LB7G8+ID95Toeej0eyg > > cZWHZo3N67nYgker4Kp4xn4VXBs4QfDzY/uOfsUyp8voNcCz6lBo38w8T3jvVJzV > > ci18cbWdRXQ3NrlaBkI8qJeEzMWAegM7C1IqJUspmlDHvsUIiamGA+ZF6nBNPr16 > > w3lx8X8xWjGM63OQaoYMbTc2ZXFCkP0zkXXEcx49zyGMSEDSk2NySw2HkAOh9iVx > > tr7YCDChtFg8mBQPY6CiiasEtn8j9JMK/XawdDI34LTsO1molB5OvJDGo558BqMm > > 3hK/JZGxPkEPapvOfWRM > > =tOMh > > -END PGP SIGNATURE- > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > -- Vince Stewart

Re: BackupManager start fails under heavy load

2013-06-28 Thread Vince Stewart
Hi Patrick, A similar problem has been reported before: http://tomcat.10.n6.nabble.com/org-apache-catalina-tribes-ChannelException-Operation-has-timed-out-3000-ms-Faulty-members-tcp-64-88-td4656393.html The important error message from your log output is: > Caused by: org.ap

Re: tomcat7 cluster not communicating

2013-03-08 Thread Vince Stewart
rks between all > hosts, tomcat is listening, but trying to connect to the listening > port fails. > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Vince Stewart

Re: unwanted tcp6 protocol in tribes listener socket;

2013-02-10 Thread Vince Stewart
it running. thanks again, On Mon, Feb 4, 2013 at 6:40 PM, Tim Watts wrote: > On Mon, 2013-02-04 at 17:51 +1300, Vince Stewart wrote: > > Hi Tim, > > thanks so much for your reply > > netstat -t -l yields that includes: > > Active Internet connections (only se

Re: unwanted tcp6 protocol in tribes listener socket;

2013-02-03 Thread Vince Stewart
a normal IPv6 connection and I should treat it accordingly. I'll give that ago tomorrow morning and keep CATALINA_OPTS in mind as well. Many thanks for your help. On Mon, Feb 4, 2013 at 4:06 PM, Tim Watts wrote: > On Mon, 2013-02-04 at 14:39 +1300, Vince Stewart wrote: > > Usi