On Mon, Aug 23, 2021 at 8:29 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:
> Piyush,
>
> On 8/22/21 03:54, Piyush Sharma wrote:
> > On Fri, Aug 20, 2021 at 10:40 PM Christopher Schultz <
> > ch...@christopherschultz.net> wrote:
> >
> >> Piyush,
> >>
> >> On 8/20/21 06:36, Piyush Sh
Mark,
On 8/23/21 04:05, Mark Thomas wrote:
On 23/08/2021 08:10, Thomas Hoffmann (Speed4Trade GmbH) wrote:
Is there anything, the application can prevent this?
Yes. Call Thread.setContextClassLoader(ClassLoader) before calling the
code that creates those threads, passing the common class l
Piyush,
On 8/22/21 03:54, Piyush Sharma wrote:
On Fri, Aug 20, 2021 at 10:40 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:
Piyush,
On 8/20/21 06:36, Piyush Sharma wrote:
Hello,
I am using Apache Tomcat 9.0.46 version on docker container.
There is a problem, where the base
On Sun, 22 Aug 2021 at 08:55, Piyush Sharma wrote:
>
> On Fri, Aug 20, 2021 at 10:40 PM Christopher Schultz <
> ch...@christopherschultz.net> wrote:
>
> > Piyush,
> >
> > On 8/20/21 06:36, Piyush Sharma wrote:
> > >>
> > >> Hello,
> > >>
> > >> I am using Apache Tomcat 9.0.46 version on docker con
> Is there anything, the application can prevent this?
Yes. Call Thread.setContextClassLoader(ClassLoader) before calling the code
that creates those threads, passing the common class loader.
Afterwards, reset the TCCL back to the web application class loader.
> Should Tomcat maybe skip the wa
On 23/08/2021 08:10, Thomas Hoffmann (Speed4Trade GmbH) wrote:
Is there anything, the application can prevent this?
Yes. Call Thread.setContextClassLoader(ClassLoader) before calling the
code that creates those threads, passing the common class loader.
Afterwards, reset the TCCL back to th
Hello,
we have an internal application which also supports printing.
For this reason, we use the following code snippet:
DocFlavor flavor = DocFlavor.SERVICE_FORMATTED.PRINTABLE;
PrintRequestAttributeSet patts = new HashPrintRequestAttributeSet();
PrintServiceLookup.lookupPrintServices(flavor, pa