RE: Re: Embedded Tomcat common classloader

2024-06-08 Thread Terence M. Bandoian
From the Oracle (Java 8) documentation: https://docs.oracle.com/javase/8/docs/technotes/tools/windows/classpath.html Class Path Wild Cards Class path entries can contain the base name wildcard character (*), which is considered equivalent to specifying a list of all of the files in

Re: Embedded Tomcat common classloader

2024-06-08 Thread Dave Breeze
hi first thank you for the insights. I did not realise that the wildcard was expanded by the shell. I thought this was handled by java itself. However in my instance the jvm is not being created by a shell but by a JNI wrapper. Originally this JNI wrapper included myDir/lib/*.jar in the classpath

Re: Embedded Tomcat common classloader

2024-06-07 Thread Christopher Schultz
Chuck, On 6/7/24 10:02, Chuck Caldarale wrote: On Jun 7, 2024, at 08:11, Christopher Schultz wrote: On 6/7/24 01:49, Mark Thomas wrote: On 06/06/2024 18:48, Dave Breeze wrote: Thanks Mark appreciate that the url was for 8.0 With regards to classpath that was my first attempt - unfortunat

Re: Embedded Tomcat common classloader

2024-06-07 Thread Chuck Caldarale
> On Jun 7, 2024, at 08:11, Christopher Schultz > wrote: > > On 6/7/24 01:49, Mark Thomas wrote: >> On 06/06/2024 18:48, Dave Breeze wrote: >>> Thanks Mark >>> appreciate that the url was for 8.0 >>> >>> With regards to classpath that was my first attempt - unfortunately it >>> would seem tha

Re: Embedded Tomcat common classloader

2024-06-07 Thread Christopher Schultz
Mark, On 6/7/24 01:49, Mark Thomas wrote: On 06/06/2024 18:48, Dave Breeze wrote: Thanks Mark appreciate that the url was for 8.0 With regards to classpath that was my first attempt - unfortunately it would seem that Tomcat does not support wildcards in the classpath - for example dirpath/lib/

Re: Embedded Tomcat common classloader

2024-06-06 Thread Mark Thomas
On 06/06/2024 18:48, Dave Breeze wrote: Thanks Mark appreciate that the url was for 8.0 With regards to classpath that was my first attempt - unfortunately it would seem that Tomcat does not support wildcards in the classpath - for example dirpath/lib/*.jar - at least in version 9. The require

Re: Embedded Tomcat common classloader

2024-06-06 Thread Dave Breeze
Thanks Mark appreciate that the url was for 8.0 With regards to classpath that was my first attempt - unfortunately it would seem that Tomcat does not support wildcards in the classpath - for example dirpath/lib/*.jar - at least in version 9. Dave Breeze Linkedin:https://uk.linkedin.com/in/dabre

Re: Embedded Tomcat common classloader

2024-06-06 Thread Mark Thomas
On 06/06/2024 17:52, Dave Breeze wrote: I have an issue with embedded Tomcat and classloaders. I have a java servlet application that runs in an embedded Tomcat(9.0.70) instance. https://tomcat.apache.org/tomcat-8.0-doc/class-loader-howto.html Those are the Tomcat 8.0.x docs. You are us