Re: isGraalAvailable error

2023-06-09 Thread Blake McBride
Blake McBride wrote: > Greetings, > > I am running a tomcat app as follows: > > Java 17 > Tomcat 9.0.65 > > This is a program that used to run under Java 8, but now I'm getting some > sort of error finding isGrallAvailable. The error looks as follows: >

isGraalAvailable error

2023-06-09 Thread Blake McBride
ciate any help. Thanks! Blake McBride

Re: Requirements to support HTTPS

2023-03-25 Thread Blake McBride
Perfect. Thanks, Mark! On Sat, Mar 25, 2023 at 2:37 PM Mark Thomas wrote: > > > On 25/03/2023 14:16, Blake McBride wrote: > > Greetings, > > > > I wanted to confirm my suspicions regarding packages needed in tomcat to > > support HTTPS.

Re: Requirements to support HTTPS

2023-03-25 Thread Blake McBride
stopher Schultz < ch...@christopherschultz.net> wrote: > Blake, > > On 3/25/23 10:16, Blake McBride wrote: > > I wanted to confirm my suspicions regarding packages needed in tomcat to > > support HTTPS. > > You don't need anything except the core Tomcat and a reasona

Requirements to support HTTPS

2023-03-25 Thread Blake McBride
Greetings, I wanted to confirm my suspicions regarding packages needed in tomcat to support HTTPS. The config I am using is:

Re: UnsatisfiedLinkError

2023-03-25 Thread Blake McBride
the HTTP NIO or HTTP NIO2 connector. > > Mark > > > On 25/03/2023 01:13, Blake McBride wrote: > > Greetings, > > > > I am getting an unsatisfied link error when I start up tomcat. Here are > > some of the specifics: > > > > System: Ubuntu

UnsatisfiedLinkError

2023-03-24 Thread Blake McBride
Greetings, I am getting an unsatisfied link error when I start up tomcat. Here are some of the specifics: System: Ubuntu 20.04 Tomcat: 9.0.73 APR: 1.7.2 OpenSSL: 3.1.0 Any help you can offer is greatly appreciated! Blake McBride Here is catalina.out: NOTE: Picked up JDK_JAVA_OPTIONS

Re: How can I stop scanning TLD's?

2022-04-13 Thread Blake McBride
really helpful. Thanks! Blake On Wed, Apr 13, 2022 at 1:59 AM Thomas Hoffmann (Speed4Trade GmbH) wrote: > > -Ursprüngliche Nachricht- > > Von: Blake McBride > > Gesendet: Dienstag, 12. April 2022 22:31 > > An: Tomcat Users List > > Betreff:

How can I stop scanning TLD's?

2022-04-12 Thread Blake McBride
s dumb html and javascript files that communicate via SOAP and REST. There is no JSP. Thanks for the help! Blake McBride

Re: Can't stop tomcat - connection refused

2022-02-16 Thread Blake McBride
ava-8-openjdk/security/java.security From: securerandom.source=file:/dev/random To: securerandom.source=file:/dev/urandom Thanks! Blake On Tue, Feb 15, 2022 at 7:18 PM Blake McBride wrote: > I have been using this config on a few VPS vendors for more than 10 years > without anythin

Re: Can't stop tomcat - connection refused

2022-02-15 Thread Blake McBride
I have been using this config on a few VPS vendors for more than 10 years without anything like this. I tried the exact same setup on AWS today and it worked right away. I feel pretty sure that the VPS vendor I am trying has some sort of problem. I am working with them to solve it. Thanks! Bla

Re: Can't stop tomcat - connection refused

2022-02-15 Thread Blake McBride
3:49 PM Blake McBride wrote: > Thanks, Neil, > > I started up tomcat and ran: curl http://localhost:8080 > > It returned the page. Great. > > I then ran: ./shutdown.sh > > It stopped just fine. I checked with ps. > > I then did ./startup.sh again. > > T

Re: Can't stop tomcat - connection refused

2022-02-15 Thread Blake McBride
Thanks, Neil, I started up tomcat and ran: curl http://localhost:8080 It returned the page. Great. I then ran: ./shutdown.sh It stopped just fine. I checked with ps. I then did ./startup.sh again. This time the curl command just hung and ./shutdown.sh gave me "Connection refused" error. c

Re: Can't stop tomcat - connection refused

2022-02-15 Thread Blake McBride
Thanks, Neil, Catalina.out shows a normal startup with no errors. It's the default config. I am not adding, changing, or deleting any files from the normal tomcat distro. Also, I am doing everything as root. I didn't try connecting locally mainly because I'm on a server. No GUI. The fact that

Can't stop tomcat - connection refused

2022-02-15 Thread Blake McBride
viders. I shouldn't be having such a problem. I have put in a ticket with the provider but I thought someone on this list might say "did you try X?" I appreciate any suggestions. Thanks! Blake McBride

Re: How do I allow CORS from any domain but only specific ports?

2022-01-06 Thread Blake McBride
Thanks for the input!! --blake On Thu, Jan 6, 2022 at 4:36 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Blake, > > On 1/6/22 17:08, Blake McBride wrote: > > On Thu, Jan 6, 2022 at 3:42 PM Christopher Schultz < > > ch...@christopherschu

Re: How do I allow CORS from any domain but only specific ports?

2022-01-06 Thread Blake McBride
On Thu, Jan 6, 2022 at 3:42 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Blake, > > On 1/6/22 16:17, Blake McBride wrote: > > I think, for now, I'll just use * when developing and turned off when in > > production. > > What's the poin

Re: How do I allow CORS from any domain but only specific ports?

2022-01-06 Thread Blake McBride
Thanks, Christopher. I think, for now, I'll just use * when developing and turned off when in production. I wonder if changing that method to protected might be a potential security hole. Thanks! Blake McBride On Thu, Jan 6, 2022 at 10:34 AM Christopher Schultz < ch...@christophersch

How do I allow CORS from any domain but only specific ports?

2022-01-06 Thread Blake McBride
, POST, HEAD, OPTIONS CorsFilter /* It allows me to allow CORS but only from http://localhost:63342. I'd like to change it to allow CORS from any IP but only ports 63342 and 8002. How can I specify that? I am using Tomcat 9.0.42 with JDK 8. Thanks for the help! Blake McBride

Re: NoClassDefFoundError on ServletContextAttributeListner

2021-02-27 Thread Blake McBride
Thanks, I will check it out. On Fri, Feb 26, 2021 at 10:26 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Blake, > > On 2/26/21 14:55, Blake McBride wrote: > > I have a web app that has been running fine for many years. I tried > > upgrading to Tom

NoClassDefFoundError on ServletContextAttributeListner

2021-02-26 Thread Blake McBride
(SecureClassLoader.java:142) [...] Without changing anything, this app works fine with Tomcat: 9.0.43 8.5.63 8.0.27 But I get the above error with Tomcat 10.0.2 only. Sure appreciate any help. Thanks! Blake McBride

Re: How to shutdown tomcat

2020-04-17 Thread Blake McBride
I suppose, never mind. I created a startup listener that just does a System.exit(0) on contextDestroyed which is what I want - exit. Thanks. Blake On Fri, Apr 17, 2020 at 8:53 AM Blake McBride wrote: > Greetings, > > I am running vanilla tomcat 9.0.34 on a 64 bit Linux box.

How to shutdown tomcat

2020-04-17 Thread Blake McBride
Greetings, I am running vanilla tomcat 9.0.34 on a 64 bit Linux box. Short of killall, I can't stop tomcat. I am trying bin/shutdown.sh. Sure appreciate some help. Thanks! Blake -- Here is catalina.log: Listening for transport dt_socket at address: 9000 17-Apr-2020 08:43:12.798 INFO [m

Re: Deploying app twice when change ROOT

2018-05-30 Thread Blake McBride
0, 2018 at 12:30 PM, Blake McBride wrote: > Your suggestion is better. Mine prevents other apps from that host from > deploying altogether. > > > On Wed, May 30, 2018 at 11:34 AM, Blake McBride > wrote: > >> I think I may have found something that works. I changes i

Re: Deploying app twice when change ROOT

2018-05-30 Thread Blake McBride
Your suggestion is better. Mine prevents other apps from that host from deploying altogether. On Wed, May 30, 2018 at 11:34 AM, Blake McBride wrote: > I think I may have found something that works. I changes it to: > >autoDeploy="false" dep

Re: Deploying app twice when change ROOT

2018-05-30 Thread Blake McBride
ed, May 30, 2018 at 11:29 AM, Mark Thomas wrote: > On 30/05/18 17:14, Blake McBride wrote: > > Hi, > > > > I am using tomcat 8.5.31 on a 64 bit Linux box running JDK 1.8.0_162. > > > > I have several TLD's pointing to the same tomcat instance. In > > conf

Deploying app twice when change ROOT

2018-05-30 Thread Blake McBride
of the app running. I know I can rename my app ROOT. That works. (I can access the app with my other TLD and no suffix). I don't want to do that because I have a number of sites running a number of instances all of the same app. Calling them all ROOT is confusing. Any help would sure be appr

Re: Tomcat keeps changing my web.xml listener-class

2017-10-15 Thread Blake McBride
Never mind. Found the problem. It wasn't tomcat, it was me. Thanks! Blake On Sun, Oct 15, 2017 at 3:19 PM, Blake McBride wrote: > Hi, > > I am running tomcat 8.5.16 with 64 bit Oracle Java 8.0.144 on a LinuxMint > box. My Java REST app worked fine until I renamed my p

Tomcat keeps changing my web.xml listener-class

2017-10-15 Thread Blake McBride
pp is not being distributed as a war file. I have it all extracted under the webapps directory. I can't figure out what is causing tomcat to remember the old package path. Sure appreciate any help. Thanks! Blake McBride

Tomcat reuses threads and connection instances

2011-01-26 Thread Blake McBride
configure tomcat to have it give me a new instance of the web service class each time? In terms of the repeated thread use and thread local storage I have, for the time being, started manually resetting the thread local storage. Is there a conventional solution to this problem? Thanks. Blake McBride