RE: NoClassDef error

2024-07-22 Thread Mcalexander, Jon J.
Thank you Mark!

From: Mark Thomas 
Sent: Monday, July 22, 2024 9:59 AM
To: users@tomcat.apache.org
Subject: Re: NoClassDef error

On 22/07/2024 15: 31, Mcalexander, Jon J. wrote: > Hello, > I have an 
application team that is receiving the following exception after upgrading to 
Tomcat 9. 0. 90. > > Exception java. lang. NoClassDefFoundError: 
org/apache/tomcat/dbcp/pool2/BasePooledObjectFactory


On 22/07/2024 15:31, Mcalexander, Jon J. wrote:

> Hello,

> I have an application team that is receiving the following exception after 
> upgrading to Tomcat 9.0.90.

>

> Exception java.lang.NoClassDefFoundError: 
> org/apache/tomcat/dbcp/pool2/BasePooledObjectFactory

>

> If they revert back to 9.0.89 it once again works. Was there a change to this 
> component between 89 and 90?



.Unused code was removed. That was one of the classes that was removed.



Applications should not be using Tomcat's internal fork of Commons Pool.

They should add the Commons Pool JAR to WEB-INF/lib and use it directly.



Mark



>

> Thank you,

>

> Dream * Excel * Explore * Inspire

> Jon McAlexander

> Senior Infrastructure Engineer

> Asst. Vice President

> He/His

>

> Middleware Product Engineering

> Enterprise CIO | EAS | Middleware | Infrastructure Solutions

>

> 8080 Cobblestone Rd | Urbandale, IA 50322

> MAC: F4469-010

> Tel 515-988-2508 | Cell 515-988-2508

>

> jonmcalexan...@wellsfargo.com<mailto:jonmcalexan...@wellsfargo.com<mailto:jonmcalexan...@wellsfargo.com%3cmailto:jonmcalexan...@wellsfargo.com>>

> This message may contain confidential and/or privileged information. If you 
> are not the addressee or authorized to receive this for the addressee, you 
> must not use, copy, disclose, or take any action based on this message or any 
> information herein. If you have received this message in error, please advise 
> the sender immediately by reply e-mail and delete this message. Thank you for 
> your cooperation.

>

>



-

To unsubscribe, e-mail: 
users-unsubscr...@tomcat.apache.org<mailto:users-unsubscr...@tomcat.apache.org>

For additional commands, e-mail: 
users-h...@tomcat.apache.org<mailto:users-h...@tomcat.apache.org>




NoClassDef error

2024-07-22 Thread Mcalexander, Jon J.
Hello,
I have an application team that is receiving the following exception after 
upgrading to Tomcat 9.0.90.

Exception java.lang.NoClassDefFoundError: 
org/apache/tomcat/dbcp/pool2/BasePooledObjectFactory

If they revert back to 9.0.89 it once again works. Was there a change to this 
component between 89 and 90?

Thank you,

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.



Re: [ANN] New committer: Dimitris Soumis

2024-07-05 Thread Mcalexander, Jon J.
Congratulations!!!

From: Jonathan S. Fisher 
Sent: Friday, July 5, 2024 6:00:30 PM
To: Tomcat Users List 
Cc: Tomcat Developers List 
Subject: Re: [ANN] New committer: Dimitris Soumis

Many new committers lately, congrats to everyone! On Fri, Jul 5, 2024 at 2: 25 
PM Mark Thomas  wrote: > > On behalf of the Tomcat 
committers I am delighted to announce that > Dimitris Soumis (dsoumis) has been


Many new committers lately, congrats to everyone!

On Fri, Jul 5, 2024 at 2:25 PM Mark Thomas  wrote:
>
> On behalf of the Tomcat committers I am delighted to announce that
> Dimitris Soumis (dsoumis) has been voted in as a new Tomcat committer.
>
> Please join me in congratulating Dimitris.
>
> Kind regards,
>
> Mark
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>


--
Jonathan | exabr...@gmail.com
Pessimists, see a jar as half empty. Optimists, in contrast, see it as
half full.
Engineers, of course, understand the glass is twice as big as it needs to be.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




RE: [ANN] New committer: Chuck Caldarale

2024-07-03 Thread Mcalexander, Jon J.
Congratulations Chuck!

From: Mark Thomas 
Sent: Wednesday, July 3, 2024 7:25 AM
To: Tomcat Developers List ; Tomcat Users List 

Subject: [ANN] New committer: Chuck Caldarale
Importance: High

On behalf of the Tomcat committers I am delighted to announce that Chuck 
Caldarale (n828cl) has been voted in as a new Tomcat committer. Please join me 
in congratulating Chuck. Kind regards, Mark 
-


On behalf of the Tomcat committers I am delighted to announce that

Chuck Caldarale (n828cl) has been voted in as a new Tomcat committer.



Please join me in congratulating Chuck.



Kind regards,



Mark



-

To unsubscribe, e-mail: 
users-unsubscr...@tomcat.apache.org

For additional commands, e-mail: 
users-h...@tomcat.apache.org




RE: Changes between Tomcat 9.0.86 and 9.0.88?

2024-06-17 Thread Mcalexander, Jon J.
Thanks Thomas. I completely agree with what you are stating. However, it may 
provide some additional time to said development team to rework code.

Thanks,

From: Thomas Meyer 
Sent: Saturday, June 15, 2024 3:38 AM
To: Tomcat Users List 
Subject: RE: Changes between Tomcat 9.0.86 and 9.0.88?

Hi, But be aware that's a generally bad idea to rely on implementation details 
of the underlying servlet container in application code. Also java has native 
base64 since when? Java 8?! Just use that one. Mfg Thomas Am 15. Juni 2024 00: 
41: 28


Hi,



But be aware that's a generally bad idea to rely on implementation details of 
the underlying servlet container in application code.



Also java has native base64 since when? Java 8?! Just use that one.



Mfg

Thomas



Am 15. Juni 2024 00:41:28 MESZ schrieb "Mcalexander, Jon J." 
mailto:jonmcalexan...@wellsfargo.com.INVALID>>:

>Hi Rémy,

>

>So, is this something that will be done? If so, I can let the app team know 
>that even though they should recode their app, that the removed method may get 
>returned in a future release.

>

>Thanks,

>

>From: Rémy Maucherat mailto:r...@apache.org>>

>Sent: Friday, June 14, 2024 4:28 PM

>To: Tomcat Users List mailto:users@tomcat.apache.org>>

>Subject: Re: Changes between Tomcat 9.0.86 and 9.0.88?

>

>On Thu, Jun 13, 2024 at 11: 30 PM Christopher Schultz christopherschultz. net> wrote: > > Jon, > > On 6/13/24 14: 27, Mcalexander, 
>Jon J. wrote: > > Thanks Chuck! Here is the full stack-trace > > > >

>

>

>On Thu, Jun 13, 2024 at 11:30 PM Christopher Schultz

>

>mailto:ch...@christopherschultz.net<mailto:ch...@christopherschultz.net%3cmailto:ch...@christopherschultz.net>>>
> wrote:

>

>>

>

>> Jon,

>

>>

>

>> On 6/13/24 14:27, Mcalexander, Jon J. wrote:

>

>> > Thanks Chuck! Here is the full stack-trace

>

>> >

>

>> > Jun 11, 2024 3:21:28 PM org.apache.catalina.startup.HostConfig 
>> > deployDirectory

>

>> > SEVERE: Error deploying web application directory 
>> > [/prod/app/bankr/ist_bankr_4.0_a/webapps/digitalbranchservices]

>

>> > java.lang.IllegalStateException: Error starting child

>

>>  > [blabity blah blah blah]

>

>>  >

>

>> > Caused by: java.lang.NoSuchMethodError: 
>> > org.apache.tomcat.util.codec.binary.Base64.decodeBase64([B)[B

>

>> > at 
>> > com.wellsfargo.jsk.core.components.AESKeySource.(AESKeySource.java:43)

>

>> > at 
>> > com.wellsfargo.jsk.core.components.AESResourceKeySource.init(AESResourceKeySource.java:36)

>

>> > at 
>> > com.wellsfargo.jsk.core.components.AESResourceKeySource.(AESResourceKeySource.java:21)

>

>> > at 
>> > com.wellsfargo.jsk.core.utils.DecrypterUtil.getValue(DecrypterUtil.java:68)

>

>> > at 
>> > com.wellsfargo.jsk.core.utils.DecrypterUtil.getValue(DecrypterUtil.java:62)

>

>> > at 
>> > com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration.dataSource(BaseRepositoryConfiguration.java:172)

>

>> > at 
>> > com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration$$EnhancerBySpringCGLIB$$6621bc2f.CGLIB$dataSource$0()

>

>> > at 
>> > com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration$$EnhancerBySpringCGLIB$$6621bc2f$$FastClassBySpringCGLIB$$964773e5.invoke()

>

>> > at 
>> > org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)

>

>> > at 
>> > org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)

>

>> > at 
>> > com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration$$EnhancerBySpringCGLIB$$6621bc2f.dataSource()

>

>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
>> > Method)

>

>> > at 
>> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

>

>> > at 
>> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

>

>> > at java.lang.reflect.Method.invoke(Method.java:498)

>

>> > at 
>> > org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstanti

RE: Changes between Tomcat 9.0.86 and 9.0.88?

2024-06-14 Thread Mcalexander, Jon J.
Hi Rémy,

So, is this something that will be done? If so, I can let the app team know 
that even though they should recode their app, that the removed method may get 
returned in a future release.

Thanks,

From: Rémy Maucherat 
Sent: Friday, June 14, 2024 4:28 PM
To: Tomcat Users List 
Subject: Re: Changes between Tomcat 9.0.86 and 9.0.88?

On Thu, Jun 13, 2024 at 11: 30 PM Christopher Schultz  wrote: > > Jon, > > On 6/13/24 14: 27, Mcalexander, 
Jon J. wrote: > > Thanks Chuck! Here is the full stack-trace > > > >


On Thu, Jun 13, 2024 at 11:30 PM Christopher Schultz

mailto:ch...@christopherschultz.net>> wrote:

>

> Jon,

>

> On 6/13/24 14:27, Mcalexander, Jon J. wrote:

> > Thanks Chuck! Here is the full stack-trace

> >

> > Jun 11, 2024 3:21:28 PM org.apache.catalina.startup.HostConfig 
> > deployDirectory

> > SEVERE: Error deploying web application directory 
> > [/prod/app/bankr/ist_bankr_4.0_a/webapps/digitalbranchservices]

> > java.lang.IllegalStateException: Error starting child

>  > [blabity blah blah blah]

>  >

> > Caused by: java.lang.NoSuchMethodError: 
> > org.apache.tomcat.util.codec.binary.Base64.decodeBase64([B)[B

> > at 
> > com.wellsfargo.jsk.core.components.AESKeySource.(AESKeySource.java:43)

> > at 
> > com.wellsfargo.jsk.core.components.AESResourceKeySource.init(AESResourceKeySource.java:36)

> > at 
> > com.wellsfargo.jsk.core.components.AESResourceKeySource.(AESResourceKeySource.java:21)

> > at 
> > com.wellsfargo.jsk.core.utils.DecrypterUtil.getValue(DecrypterUtil.java:68)

> > at 
> > com.wellsfargo.jsk.core.utils.DecrypterUtil.getValue(DecrypterUtil.java:62)

> > at 
> > com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration.dataSource(BaseRepositoryConfiguration.java:172)

> > at 
> > com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration$$EnhancerBySpringCGLIB$$6621bc2f.CGLIB$dataSource$0()

> > at 
> > com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration$$EnhancerBySpringCGLIB$$6621bc2f$$FastClassBySpringCGLIB$$964773e5.invoke()

> > at 
> > org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)

> > at 
> > org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)

> > at 
> > com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration$$EnhancerBySpringCGLIB$$6621bc2f.dataSource()

> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> > Method)

> > at 
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

> > at 
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

> > at java.lang.reflect.Method.invoke(Method.java:498)

> > at 
> > org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)

> > ... 146 more

>

> Here is the commit that removed that code:

>

> https://urldefense.com/v3/__https://github.com/apache/tomcat/commit/1a2f722e405ec17c5dab5fac43ae2fe63eb8fbce__;!!F9svGWnIaVPGSwU!rbtegXXK_wEiS3lbaUFrswVnku9t0kbNiERW7x30S-gAnbIHfXHvBLQxIITqaBrQVgFq1QCKO3LgekygGL-S$<https://urldefense.com/v3/__https:/github.com/apache/tomcat/commit/1a2f722e405ec17c5dab5fac43ae2fe63eb8fbce__;!!F9svGWnIaVPGSwU!rbtegXXK_wEiS3lbaUFrswVnku9t0kbNiERW7x30S-gAnbIHfXHvBLQxIITqaBrQVgFq1QCKO3LgekygGL-S$>

>

> Honestly, you should not be using those internal Tomcat APIs because

> (surprise!) they can change at any time. I would recommend consuming

> commons-codec directly as a dependency and you won't get surprises like

> this in the future.

>

> As a quick workaraound, you might be able to grab tomcat-util.jar from

> 9.0.86 and use that with your 9.0.88 install. It could melt your whole

> data center though, so be careful.

>

> That's a really impressive stack trace, I have to admit. I'm surprised

> you didn't get a StackOverflowError while it was being generated.



This removal should probably not have happened IMO, the whole class

was marked deprecated right after that commit. It looks like an old

commit (from two years before) that Mark had lying around, that got

pushed right before the rebase.

We should consider adding the methods back in 9.0 (and maybe 10.1).



Rémy



> -chris

>

RE: Changes between Tomcat 9.0.86 and 9.0.88?

2024-06-14 Thread Mcalexander, Jon J.
Thanks Chris!

So, was this removal not noted in the Release Notes? (I’m not seeing it.)

Thanks,

From: Christopher Schultz 
Sent: Thursday, June 13, 2024 4:30 PM
To: users@tomcat.apache.org
Subject: Re: Changes between Tomcat 9.0.86 and 9.0.88?

Jon, On 6/13/24 14: 27, Mcalexander, Jon J. wrote: > Thanks Chuck! Here is the 
full stack-trace > > Jun 11, 2024 3: 21: 28 PM org. apache. catalina. startup. 
HostConfig deployDirectory > SEVERE: Error deploying web application directory


Jon,



On 6/13/24 14:27, Mcalexander, Jon J. wrote:

> Thanks Chuck! Here is the full stack-trace

>

> Jun 11, 2024 3:21:28 PM org.apache.catalina.startup.HostConfig deployDirectory

> SEVERE: Error deploying web application directory 
> [/prod/app/bankr/ist_bankr_4.0_a/webapps/digitalbranchservices]

> java.lang.IllegalStateException: Error starting child

 > [blabity blah blah blah]

 >

> Caused by: java.lang.NoSuchMethodError: 
> org.apache.tomcat.util.codec.binary.Base64.decodeBase64([B)[B

> at 
> com.wellsfargo.jsk.core.components.AESKeySource.(AESKeySource.java:43)

> at 
> com.wellsfargo.jsk.core.components.AESResourceKeySource.init(AESResourceKeySource.java:36)

> at 
> com.wellsfargo.jsk.core.components.AESResourceKeySource.(AESResourceKeySource.java:21)

> at 
> com.wellsfargo.jsk.core.utils.DecrypterUtil.getValue(DecrypterUtil.java:68)

> at 
> com.wellsfargo.jsk.core.utils.DecrypterUtil.getValue(DecrypterUtil.java:62)

> at 
> com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration.dataSource(BaseRepositoryConfiguration.java:172)

> at 
> com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration$$EnhancerBySpringCGLIB$$6621bc2f.CGLIB$dataSource$0()

> at 
> com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration$$EnhancerBySpringCGLIB$$6621bc2f$$FastClassBySpringCGLIB$$964773e5.invoke()

> at 
> org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)

> at 
> org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)

> at 
> com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration$$EnhancerBySpringCGLIB$$6621bc2f.dataSource()

> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

> at java.lang.reflect.Method.invoke(Method.java:498)

> at 
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)

> ... 146 more



Here is the commit that removed that code:



https://urldefense.com/v3/__https://github.com/apache/tomcat/commit/1a2f722e405ec17c5dab5fac43ae2fe63eb8fbce__;!!F9svGWnIaVPGSwU!op8ZX-cha_RpwTi7rHCl6ujPEi72qsbKDhlYQmzJEZCA1bNfH2TDHv9ZdMcYpN7gOMD2Liw-1xI1D32VIu_5LieTzj--HELh$<https://urldefense.com/v3/__https:/github.com/apache/tomcat/commit/1a2f722e405ec17c5dab5fac43ae2fe63eb8fbce__;!!F9svGWnIaVPGSwU!op8ZX-cha_RpwTi7rHCl6ujPEi72qsbKDhlYQmzJEZCA1bNfH2TDHv9ZdMcYpN7gOMD2Liw-1xI1D32VIu_5LieTzj--HELh$>



Honestly, you should not be using those internal Tomcat APIs because

(surprise!) they can change at any time. I would recommend consuming

commons-codec directly as a dependency and you won't get surprises like

this in the future.



As a quick workaraound, you might be able to grab tomcat-util.jar from

9.0.86 and use that with your 9.0.88 install. It could melt your whole

data center though, so be careful.



That's a really impressive stack trace, I have to admit. I'm surprised

you didn't get a StackOverflowError while it was being generated.



-chris



> From: Chuck Caldarale mailto:n82...@gmail.com>>

> Sent: Thursday, June 13, 2024 1:13 PM

> To: Tomcat Users List 
> mailto:users@tomcat.apache.org>>

> Subject: Re: Changes between Tomcat 9.0.86 and 9.0.88?

>

>> On Jun 13, 2024, at 12: 45, Mcalexander, Jon J. > com. INVALID> wrote: > > I have an application team that started having 
>> problems with their application when they were updgraded from 9. 0. 86 to 9. 
>> 0. 88

>

>

>

>

>> On Jun 13, 2024, at 12:45, Mcalexander, Jon J. 
>> mailto:jonmcalexan...@wellsfargo.com.INVALID<mailto:jonmcalexan...@wellsfargo.com.INVALID%3cmailto:jonmcalexan...@wellsfargo.com.INVALID>>>
>>  wrote:

>

Changes between Tomcat 9.0.86 and 9.0.88?

2024-06-13 Thread Mcalexander, Jon J.
Hello group.

I have an application team that started having problems with their application 
when they were updgraded from 9.0.86 to 9.0.88 version of Tomcat. The base 
cause of their stack-trace is:

java.lang.NoSuchMethodError: 
org.apache.tomcat.util.codec.binary.Base64.decodeBase64

Was there a changes to the api since 9.0.86? I know that according to this 
link, base64 is deprecated?

https://tomcat.apache.org/tomcat-9.0-doc/api/org/apache/tomcat/util/codec/binary/Base64.html

Any information would be appreciated.

Thanks,

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.



RE: Changes between Tomcat 9.0.86 and 9.0.88?

2024-06-13 Thread Mcalexander, Jon J.
(AbstractAutowireCapableBeanFactory.java:582)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at 
org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
at 
org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:911)
at 
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:788)
... 131 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to 
instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw 
exception; nested exception is java.lang.NoSuchMethodError: 
org.apache.tomcat.util.codec.binary.Base64.decodeBase64([B)[B
at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
at 
org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:648)
... 145 more
Caused by: java.lang.NoSuchMethodError: 
org.apache.tomcat.util.codec.binary.Base64.decodeBase64([B)[B
at 
com.wellsfargo.jsk.core.components.AESKeySource.(AESKeySource.java:43)
at 
com.wellsfargo.jsk.core.components.AESResourceKeySource.init(AESResourceKeySource.java:36)
at 
com.wellsfargo.jsk.core.components.AESResourceKeySource.(AESResourceKeySource.java:21)
at 
com.wellsfargo.jsk.core.utils.DecrypterUtil.getValue(DecrypterUtil.java:68)
at 
com.wellsfargo.jsk.core.utils.DecrypterUtil.getValue(DecrypterUtil.java:62)
at 
com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration.dataSource(BaseRepositoryConfiguration.java:172)
at 
com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration$$EnhancerBySpringCGLIB$$6621bc2f.CGLIB$dataSource$0()
at 
com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration$$EnhancerBySpringCGLIB$$6621bc2f$$FastClassBySpringCGLIB$$964773e5.invoke()
at 
org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
at 
org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
at 
com.wellsfargo.branch.digitalbranchservices.configuration.BaseRepositoryConfiguration$$EnhancerBySpringCGLIB$$6621bc2f.dataSource()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
... 146 more

From: Chuck Caldarale 
Sent: Thursday, June 13, 2024 1:13 PM
To: Tomcat Users List 
Subject: Re: Changes between Tomcat 9.0.86 and 9.0.88?

> On Jun 13, 2024, at 12: 45, Mcalexander, Jon J.  com. INVALID> wrote: > > I have an application team that started having 
> problems with their application when they were updgraded from 9. 0. 86 to 9. 
> 0. 88




> On Jun 13, 2024, at 12:45, Mcalexander, Jon J. 
> mailto:jonmcalexan...@wellsfargo.com.INVALID>>
>  wrote:

>

> I have an application team that started having problems with their 
> application when they were updgraded from 9.0.86 to 9.0.88 version of Tomcat. 
> The base cause of their stack-trace is:

>

> java.lang.NoSuchMethodError: 
> org.apache.tomcat.util.codec.binary.Base64.decodeBase64

>

> Was there a changes to the api since 9.0.86? I know that according to this 
> link, base64 is deprecated?

>

> https://urldefense.com/v3/__https://tomcat.apache.org

RE: Question on the ErrorReportValve

2024-04-17 Thread Mcalexander, Jon J.
Thank you. The documentation makes it somewhat confusing because it starts out 
that a Valve can exist in Engine, Host, and Context Containers, and then in the 
subsequent valve list is the ErrorReportValve, but it doesn’t make it clear as 
to where it can go. If we put one in the Engine container, does it then also 
cover the Host containers since mailto:jonmcalexan...@wellsfargo.com>
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

From: Konstantin Kolinko 
Sent: Wednesday, April 17, 2024 10:44 AM
To: Tomcat Users List 
Subject: Re: Question on the ErrorReportValve

пн, 15 апр. 2024 г. в 19: 37, Mcalexander, Jon J. : > > Hi all! > Quick question on the ErrorReportValve and 
location within the server. xml file. I know that typically this would be inside


пн, 15 апр. 2024 г. в 19:37, Mcalexander, Jon J.

mailto:jonmcalexan...@wellsfargo.com.invalid>>:

>

> Hi all!

> Quick question on the ErrorReportValve and location within the server.xml 
> file. I know that typically this would be inside the  
> element, but if you have Multiple  elements, do you add the valve to 
> each Host section, or can it be placed at the Engine or even Server level?



Unlikely.



A Valve is expected to be in a certain place on the request processing pipeline.



Note that a Host has an attribute named errorReportValveClass. If you

do not specify a Valve explicitly, a default one will be created.



Best regards,

Konstantin Kolinko



-

To unsubscribe, e-mail: 
users-unsubscr...@tomcat.apache.org<mailto:users-unsubscr...@tomcat.apache.org>

For additional commands, e-mail: 
users-h...@tomcat.apache.org<mailto:users-h...@tomcat.apache.org>




RE: Question on the ErrorReportValve

2024-04-15 Thread Mcalexander, Jon J.
Thanks Chris.

Yes, it’s probably academic, but I was mainly looking for opinions from the 
true “experts” out there. 

When I get free time to do so, I’ll play around with it.

Thanks,

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com<mailto:jonmcalexan...@wellsfargo.com>
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

From: Christopher Schultz 
Sent: Monday, April 15, 2024 12:26 PM
To: Tomcat Users List ; Mcalexander, Jon J. 

Subject: Re: Question on the ErrorReportValve

Jon, On 4/15/24 12: 36, Mcalexander, Jon J. wrote: > Quick question on the 
ErrorReportValve and location within the server. xml file. I know that 
typically this would be inside the  element, but if you have 
Multiple


Jon,



On 4/15/24 12:36, Mcalexander, Jon J. wrote:

> Quick question on the ErrorReportValve and location within the server.xml 
> file. I know that typically this would be inside the  
> element, but if you have Multiple  elements, do you add the valve to 
> each Host section, or can it be placed at the Engine or even Server level?



The configuration reference doesn't specify, but the Javadoc says it

"should be" used in  but "should work in ".



I would think you'd want to separately configure them for each ,

anyway.



Is this an academic question? It seems like a very easy think to just

try out and see what happens. :)



-chris



-

To unsubscribe, e-mail: 
users-unsubscr...@tomcat.apache.org<mailto:users-unsubscr...@tomcat.apache.org>

For additional commands, e-mail: 
users-h...@tomcat.apache.org<mailto:users-h...@tomcat.apache.org>




Question on the ErrorReportValve

2024-04-15 Thread Mcalexander, Jon J.
Hi all!
Quick question on the ErrorReportValve and location within the server.xml file. 
I know that typically this would be inside the  element, but if 
you have Multiple  elements, do you add the valve to each Host section, 
or can it be placed at the Engine or even Server level?

Thank you,

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.



RE: Retrieve server.built, server.number

2024-04-10 Thread Mcalexander, Jon J.
True that Mark, but unfortunately Management typically has a different thought 
process on that. ☹

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

From: Mark Thomas 
Sent: Wednesday, April 10, 2024 3:13 PM
To: users@tomcat.apache.org
Subject: Re: Retrieve server.built, server.number

On 10/04/2024 21: 15, Christopher Schultz wrote: > All, > > On 4/10/24 4: 00 
AM, Mark Thomas wrote: >> On 09/04/2024 17: 17, prat 007 wrote: >>> Hi All, >>> 
>>> I would like to know is there a way to find






On 10/04/2024 21:15, Christopher Schultz wrote:

> All,

>

> On 4/10/24 4:00 AM, Mark Thomas wrote:

>> On 09/04/2024 17:17, prat 007 wrote:

>>> Hi All,

>>>

>>> I would like to know is there a way to find tomcat's server.built and

>>> server.number remotely using tool loke curl or from browser?

>>

>> In a default installation, no.

>>

>> You'd have to write a servlet that reported that information and then

>> request that page.

>

> ... and it might represent an information leakage vulnerability in your

> application. Be Careful.



Shall we start the flame war now on whether exposing the current version

  you are running represents a valid vulnerability or if hiding it is

just security by obscurity? Or do you want to save it for Bratislava?



:)



More seriously, your time is likely to be better spent (in my view)

keeping your Tomcat installations up to date with the latest releases

than it is ensuring that you hide the version number.



Mark



-

To unsubscribe, e-mail: 
users-unsubscr...@tomcat.apache.org

For additional commands, e-mail: 
users-h...@tomcat.apache.org




RE: Looking for examples...

2023-12-06 Thread Mcalexander, Jon J.
I was hoping to find some use cases with examples.

Thank you!

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

> -Original Message-
> From: Christopher Schultz 
> Sent: Wednesday, December 6, 2023 9:20 AM
> To: users@tomcat.apache.org
> Subject: Re: Looking for examples...
> 
> Jon,
> 
> On 12/5/23 19:02, Mcalexander, Jon J. wrote:
> > I am trying to find decent examples for Property Replacements in
> > Catalina.properties. I have an instance that is giving me the
> > following Warning and it bugs me:
> >
> > Dec 05, 2023 5:48:51 PM org.apache.tomcat.util.digester.Digester
> > replaceSystemProperties
> > WARNING: System property [common.loader] failed to update and
> remains
> > ["${catalina.base}/lib","${catalina.base}/lib/*.jar","${catalina.home}
> > /lib","${catalina.home}/lib/*.jar"]
> 
> Is anything specifically not working, or are you just trying to get this 
> warning
> to go away?
> 
> > I've looked at the docs, and all I'm really finding is the following:
> 
> So... which property source are you actually using? Or are you using the
> default?
> 
> -chris
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org



Looking for examples...

2023-12-05 Thread Mcalexander, Jon J.
Good evening,

I am trying to find decent examples for Proerty Replacements in 
Catalina.properties. I have an instance that is giving me the following Warning 
and it bugs me:

Dec 05, 2023 5:48:51 PM org.apache.tomcat.util.digester.Digester 
replaceSystemProperties
WARNING: System property [common.loader] failed to update and remains 
["${catalina.base}/lib","${catalina.base}/lib/*.jar","${catalina.home}/lib","${catalina.home}/lib/*.jar"]


I've looked at the docs, and all I'm really finding is the following:

Property replacements
Property
Description
org.apache.tomcat.util.digester. PROPERTY_SOURCE

Set this to a comma separated list of fully qualified name of classes that 
implement org.apache.tomcat.util.IntrospectionUtils.PropertySource. Required to 
have a public constructor with no arguments.

Use this to add a property source, that will be invoked when 
${parameter:-default-value} denoted parameters (with optional default values) 
are found in the XML files that Tomcat parses.

Property replacement from the specified property source on the JVM system 
properties can also be done using the REPLACE_SYSTEM_PROPERTIES system property.

org.apache.tomcat.util.digester.ServiceBindingPropertySource can be used to 
replace parameters from any Kubernetes service bindings that follows the 
servicebinding.io spec

org.apache.tomcat.util.digester.EnvironmentPropertySource can be used to 
replace parameters from the process' environment variables, e.g. injected 
ConfigMaps or Secret objects in container based systems like OpenShift or 
Kubernetes.

org.apache.tomcat.util.digester.SystemPropertySource does replacement with 
system properties. It is always enabled, but can also be specified as part of 
the property value.
org.apache.tomcat.util.digester. REPLACE_SYSTEM_PROPERTIES

Set this boolean system property to true to cause property replacement from the 
digester property source on the JVM system properties.

Any good examples of how to use it properly would be great.

Thank you for your time.

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.



RE: Tomcat Build Issue

2023-12-05 Thread Mcalexander, Jon J.
Now that is a definite possibility

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

> -Original Message-
> From: Noelette Stout 
> Sent: Tuesday, December 5, 2023 10:36 AM
> To: Tomcat Users List 
> Subject: Re: Tomcat Build Issue
> 
> I see this kind of thing in my tomcat logs when the security team runs their
> Nessus scanner against everything.
> 
> On Tue, Dec 5, 2023 at 2:45 AM Burle, Saicharan
>  wrote:
> 
> > Hi All,
> >
> > I am trying to build a tomcat instance in a net new server and getting
> > the below error while starting. Although instance has come up but I am
> > unable to debug the below error. Can someone please assist in this regard?
> >
> > [https-jsse-nio-11511-exec-4]
> > org.apache.coyote.http11.Http11Processor.service Error parsing HTTP
> > request header
> > Note: further occurrences of HTTP request parsing errors will be
> > logged at DEBUG level.
> > java.lang.IllegalArgumentException: Invalid character found in
> > method name
> >
> [000x020x010x01`+0x020x010x030x040x08cn=Admin0x800x1c0x7d1a9b5edae
> 2b4de4ff533738b...].
> > HTTP method names must be tokens
> > at
> >
> org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11Input
> Buffer.java:407)
> > at
> >
> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:263
> )
> > at
> >
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.ja
> va:63)
> > at
> >
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractPr
> otocol.java:928)
> > at org.apache.tomcat.util.net
> > .NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1794)
> > at org.apache.tomcat.util.net
> > .SocketProcessorBase.run(SocketProcessorBase.java:52)
> > at
> >
> org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolE
> xecutor.java:1191)
> > at
> >
> org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPool
> Executor.java:659)
> > at
> >
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThr
> ead.java:61)
> > at java.lang.Thread.run(Thread.java:750)
> >
> >
> > Apache Tomcat Version : 9.0.82
> > JDK: jdk1.8.0_391/ jdk-11.0.21(Same issue with this version as well)
> >
> > Regards,
> > Saicharan Burle
> > Lead Infrastructure Engineer
> > Chief Technology Office | Foundational Hosting Platform | Middleware
> > Product Engineering G=ETI DPS Middleware Prod Eng
> >
> > Block B1A Divyasree Orion | Hyderabad - 500081 | India MAC O2806-010 |
> > Cell +91 9966964321
> >
> > MPE Service Desk:
> > https://urldefense.com/v3/__https://devops-servicedesk.wellsfargo.net/
> >
> servicedesk/customer/portal/14/group/385?groupId=385__;!!F9svGWnIaVP
> GS
> > wU!vjsFtRAPNxJFFWH4Z4x5gfKqlwgErDYwGG3YJC0CzHyyHpk-
> KHtdaWjFVzlppQYoL4C
> > h5T7AMVUZCviGAJWAXB4sMA$
> > Enterprise Middleware Services:
> > https://wim-
> wiki.wellsfargo.com/pages/viewpage.action?spaceKey=MPE
> > le=Middleware+Product+Engineering+Team+Home
> > Normal Working hours: 4:00 AM to 1:00 PM EST Upcoming PTO:
> > Be Green, Leave it on Screen!!!
> > [
> > https://urldefense.com/v3/__http://f.connect.wellsfargoemail.com/i/38/
> > 2082566297/EML-224071_4726581_6304406_logo-stagecoach-
> eml_511x80.png__
> >
> ;!!F9svGWnIaVPGSwU!vjsFtRAPNxJFFWH4Z4x5gfKqlwgErDYwGG3YJC0CzHyy
> Hpk-KHt
> > daWjFVzlppQYoL4Ch5T7AMVUZCviGAJUVQ99VhQ$
> > ]
> >
> >
> 
> --
> Noelette Stout
> ITS Enterprise Applications - Senior Application Administrator Idaho State
> University
> E-mail: stounoel "at" isu "dot" edu
> Desk: 208-282-2554

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: How to custom java program to decrypt keystore password in Tomcat 10.1.15

2023-10-27 Thread Mcalexander, Jon J.
You could look at how TC Server does this. Their tcserver.jar has an 
encoder/decoder in it and the class is loaded as a digester in the 
Catalina.properties. It relies on having a prefix on the encoded value that 
would subsequently be decoded and the property value replaced with the decoded 
value. The passwords have to be encoded prior to adding them to your 
configuration files. It's fairly easy to do.

You might be able to come up with something similar on your own.

Thanks,

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

> -Original Message-
> From: Mark Thomas 
> Sent: Friday, October 27, 2023 3:45 AM
> To: users@tomcat.apache.org
> Subject: Re: How to custom java program to decrypt keystore password in
> Tomcat 10.1.15
> 
> On 26/10/2023 11:05, yanyizhong wrote:
> >
> >
> > Hi Tomcat team,
> > Version: Tomcat 10.1.15
> >
> >
> > I am trying to upgrade Tomcat from version 9.0.56 into 10.1.15, and found
> that there is no setKeystorePass(String) method in tomcat 10.1.15.
> >
> >
> > As we want to use the custom keystore encryption password in server.xml
> like this:
> >
> >
> >  chiphhers="TLS_ECDHE_RSA_WITH_AES_123_GCM_SHA256"
> >keystoreFile="E:\tes.jks"
> >keystorePass="xsdfdfdsfdfxdf(encryption password)"
> >keystoreType"JKS" />
> 
> And this "encrypted" password is "decrypted" how?
> https://urldefense.com/v3/__https://cwiki.apache.org/confluence/display/
> TOMCAT/Password__;!!F9svGWnIaVPGSwU!sJRkxJv4qdFjO7jusA2u0eRFDEx
> Wji3SkfxRWuu9WY0xWKUWAu8p7qwvQkIU9PHtKGKlG4BOPViaYubUO15UL
> g$
> (Hint: this is a waste of time from a security perspective.)
> 
> If you can find a way to make this work then you are welcome to use it but I
> am sure as I can be that if source code changes are required in Tomcat to
> make this work they won't be happening.
> 
> I suspect the way to do this (if you really must) would be via a custom
> PropertySource. If you look at the existing implementations then you should
> have enough hints to put together an implementation that looks for "enc:"
> and "decrypts" what it finds.
> 
> Note that org.apache.tomcat.util.digester.PROPERTY_SOURCE multiple
> values, separated by commas.
> 
> Mark
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Question about releases available for download

2023-10-19 Thread Mcalexander, Jon J.
Ding Ding Ding. Chris wins! Yes, that was the word.

Thanks,

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

> -Original Message-
> From: Christopher Schultz 
> Sent: Wednesday, October 18, 2023 9:42 PM
> To: users@tomcat.apache.org
> Subject: Re: Question about releases available for download
> 
> Jon,
> 
> On 10/18/23 15:39, Mcalexander, Jon J. wrote:
> > Thanks Mark. I'm sorry if I stated it incorrectly. I meant the issue
> > with JDBC being broken, etc. the stuff that prompted the immediate new
> > releases.
> I think the word you were looking for was "regression", not "recursion" ;)
> 
> -chris
> 
> >> -Original Message-
> >> From: Mark Thomas 
> >> Sent: Wednesday, October 18, 2023 2:04 PM
> >> To: users@tomcat.apache.org
> >> Subject: Re: Question about releases available for download
> >>
> >> On 18/10/2023 18:29, Mcalexander, Jon J. wrote:
> >>> Hi Mark, et-al,
> >>>
> >>> With the recursion error with these releases in mind, should 8.5.94,
> >>> 9.0.81,
> >> and 10.1.15 be available for download via the archives? Should they
> >> not be removed and a not placed in the location that they have been
> >> removed due to introduced issues?
> >>
> >> Recursion error?
> >>
> >> Regardless, all ASF releases will always be available from the ASF 
> >> archives.
> >> That is ASF policv and I don't see it changing.
> >>
> >> Yes, old releases have bugs and/or security issues. Yes, some of
> >> those bugs / security issues are quite nasty. That is why we always
> >> recommend using the latest release of a current supported major version.
> >>
> >> Maven Central has a similar policy. Once a release is published to
> >> Maven Central it is pretty much impossible to get it removed.
> >>
> >> Mark
> >>
> >>>
> >>> Just asking,
> >>>
> >>> Thanks.
> >>>
> >>> Dream * Excel * Explore * Inspire
> >>> Jon McAlexander
> >>> Senior Infrastructure Engineer
> >>> Asst. Vice President
> >>> He/His
> >>>
> >>> Middleware Product Engineering
> >>> Enterprise CIO | EAS | Middleware | Infrastructure Solutions
> >>>
> >>> 8080 Cobblestone Rd | Urbandale, IA 50322
> >>> MAC: F4469-010
> >>> Tel 515-988-2508 | Cell 515-988-2508
> >>>
> >>>
> >>
> jonmcalexan...@wellsfargo.com<mailto:jonmcalexan...@wellsfargo.com>
> >>> This message may contain confidential and/or privileged information.
> >>> If you
> >> are not the addressee or authorized to receive this for the
> >> addressee, you must not use, copy, disclose, or take any action based
> >> on this message or any information herein. If you have received this
> >> message in error, please advise the sender immediately by reply
> >> e-mail and delete this message. Thank you for your cooperation.
> >>>
> >>>
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Question about releases available for download

2023-10-18 Thread Mcalexander, Jon J.
Thanks Mark. I'm sorry if I stated it incorrectly. I meant the issue with JDBC 
being broken, etc. the stuff that prompted the immediate new releases.

Thank you!

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

> -Original Message-
> From: Mark Thomas 
> Sent: Wednesday, October 18, 2023 2:04 PM
> To: users@tomcat.apache.org
> Subject: Re: Question about releases available for download
> 
> On 18/10/2023 18:29, Mcalexander, Jon J. wrote:
> > Hi Mark, et-al,
> >
> > With the recursion error with these releases in mind, should 8.5.94, 9.0.81,
> and 10.1.15 be available for download via the archives? Should they not be
> removed and a not placed in the location that they have been removed due
> to introduced issues?
> 
> Recursion error?
> 
> Regardless, all ASF releases will always be available from the ASF archives.
> That is ASF policv and I don't see it changing.
> 
> Yes, old releases have bugs and/or security issues. Yes, some of those bugs /
> security issues are quite nasty. That is why we always recommend using the
> latest release of a current supported major version.
> 
> Maven Central has a similar policy. Once a release is published to Maven
> Central it is pretty much impossible to get it removed.
> 
> Mark
> 
> >
> > Just asking,
> >
> > Thanks.
> >
> > Dream * Excel * Explore * Inspire
> > Jon McAlexander
> > Senior Infrastructure Engineer
> > Asst. Vice President
> > He/His
> >
> > Middleware Product Engineering
> > Enterprise CIO | EAS | Middleware | Infrastructure Solutions
> >
> > 8080 Cobblestone Rd | Urbandale, IA 50322
> > MAC: F4469-010
> > Tel 515-988-2508 | Cell 515-988-2508
> >
> >
> jonmcalexan...@wellsfargo.com<mailto:jonmcalexan...@wellsfargo.com>
> > This message may contain confidential and/or privileged information. If you
> are not the addressee or authorized to receive this for the addressee, you
> must not use, copy, disclose, or take any action based on this message or any
> information herein. If you have received this message in error, please advise
> the sender immediately by reply e-mail and delete this message. Thank you
> for your cooperation.
> >
> >
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org



Question about releases available for download

2023-10-18 Thread Mcalexander, Jon J.
Hi Mark, et-al,

With the recursion error with these releases in mind, should 8.5.94, 9.0.81, 
and 10.1.15 be available for download via the archives? Should they not be 
removed and a not placed in the location that they have been removed due to 
introduced issues?

Just asking,

Thanks.

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.



RE: error valve

2023-10-16 Thread Mcalexander, Jon J.
Thank you Mark.


Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer 
Asst. Vice President 
He/His 
 
Middleware, Automation, and Packaging Services  
Wells Fargo Bank, N. A.|MAC/Mail Station: F4469-010 
Tel 515-988-2508 | Cell 515-988-2508 
Email: jonmcalexan...@wellsfargo.com

This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation

> -Original Message-
> From: Mark Thomas 
> Sent: Monday, October 16, 2023 5:21 PM
> To: users@tomcat.apache.org
> Subject: Re: error valve
> 
> On 16/10/2023 23:04, Mcalexander, Jon J. wrote:
> > Good afternoon all!
> >
> > I have a question around the error valve. It mentions that if you want you
> can supply custom error pages that need to be relative to $CATALINA_BASE.
> My question is, just where should this go? Do you typically create an errors
> directory under $CATALINA_BASE and put those there?
> 
> You can do that. There is no fixed location for these. It is whatever makes
> most sense for you.
> 
> > Same with the  element you can add to the web.xml. Can this
> be set in the web.xml that is in the conf folder and does the location of the
> error.jsp or whatever page, have to relative to $CATALINA_BASE?
> 
> No. These are per web application so must be relative to the root of the web
> application. i.e. they need to be in your WAR / exploded directory.
> They could also be Servlets if the appropriate mapping is also present.
> 
> You probably don't want to put these in $CATALINA_BASE/conf/web.xml.
> 
> Mark
> 
> 
> >
> > This is the one thing I have struggled with this afternoon, is nothing tells
> you just WHERE to put the error.jsp or whatever custom file.
> >
> > Thank you!!! I appreciate everyone who helps!
> >
> > Dream * Excel * Explore * Inspire
> > Jon McAlexander
> > Senior Infrastructure Engineer
> > Asst. Vice President
> > He/His
> >
> > Middleware Product Engineering
> > Enterprise CIO | EAS | Middleware | Infrastructure Solutions
> >
> > 8080 Cobblestone Rd | Urbandale, IA 50322
> > MAC: F4469-010
> > Tel 515-988-2508 | Cell 515-988-2508
> >
> >
> jonmcalexan...@wellsfargo.com<mailto:jonmcalexan...@wellsfargo.com>
> > This message may contain confidential and/or privileged information. If you
> are not the addressee or authorized to receive this for the addressee, you
> must not use, copy, disclose, or take any action based on this message or any
> information herein. If you have received this message in error, please advise
> the sender immediately by reply e-mail and delete this message. Thank you
> for your cooperation.
> >
> >
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org



error valve

2023-10-16 Thread Mcalexander, Jon J.
Good afternoon all!

I have a question around the error valve. It mentions that if you want you can 
supply custom error pages that need to be relative to $CATALINA_BASE. My 
question is, just where should this go? Do you typically create an errors 
directory under $CATALINA_BASE and put those there?

Same with the  element you can add to the web.xml. Can this be set 
in the web.xml that is in the conf folder and does the location of the 
error.jsp or whatever page, have to relative to $CATALINA_BASE?

This is the one thing I have struggled with this afternoon, is nothing tells 
you just WHERE to put the error.jsp or whatever custom file.

Thank you!!! I appreciate everyone who helps!

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.



RE: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-12 Thread Mcalexander, Jon J.


Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

> -Original Message-
> From: Christopher Schultz 
> Sent: Thursday, October 12, 2023 8:31 AM
> To: users@tomcat.apache.org
> Subject: Re: Sharing catalina home among tomcat machines in a load
> balanced environment gives problems with log files
> 
> Jon,
> 
> On 10/10/23 14:26, Mcalexander, Jon J. wrote:
> > Could you have separate work folders but have the appbase be the in
> > the shared folder space?
> You could do this with some symlinking, but I wouldn't recommend it. If you
> start to do things like dynamic deployment, etc. you will find that both
> servers will be affected and that may not be what you want.
> 
> Automation is very flexible and disk space is cheap. Do yourself a favor and
> just separate things so you don't have unforeseen problems.
> 
> -chris
> 
> >> -Original Message-
> >> From: Christopher Schultz 
> >> Sent: Tuesday, October 10, 2023 5:59 AM
> >> To: users@tomcat.apache.org
> >> Subject: Re: Sharing catalina home among tomcat machines in a load
> >> balanced environment gives problems with log files
> >>
> >> Mark,
> >>
> >> On 10/10/23 06:38, Mark Thomas wrote:
> >>> Running multiple instances of Tomcat from the same CATALINA_BASE is
> >>> totally unsupported. This isn't one of those "We don't technically
> >>> support that but you should be OK situations". This is one of the
> >>> rare "You do that and it *will* break and you will be on your own
> >>> when it does." situations.
> >>
> >> +1
> >>
> >> Both the logs/ and the work/ directories will overwrite each other,
> >> probably to the point of not only corruption (e.g. log files) but
> >> also instability -- because of the work/ directory. Files will appear
> >> and disappear surprisingly to one or the other running Tomcat and you
> WILL have errors, etc.
> >>
> >>> On 10/10/2023 06:51, Giuseppe Sacco wrote:
> >>   >>
> >>>> I did not use different CATALINA_BASE and CATALINA_HOME since this
> >>>> would have required to deploy all applications on two different
> >>>> tomcats
> >>
> >> In this case, *you have two different Tomcats*, so it is appropriate
> >> to use different CATALINA_BASE paths.
> >>
> >>>> and my
> >>>> pipeline only allows to deploy to one tomcat putting an XML file in
> >>>> $CATALINA_BASE/conf/Catalina/localhost directory.
> >>
> >> Maybe you can use a symlink from both directories?
> >>
> >> -chris
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread Mcalexander, Jon J.
Could you have separate work folders but have the appbase be the in the shared 
folder space?

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

> -Original Message-
> From: Christopher Schultz 
> Sent: Tuesday, October 10, 2023 5:59 AM
> To: users@tomcat.apache.org
> Subject: Re: Sharing catalina home among tomcat machines in a load
> balanced environment gives problems with log files
> 
> Mark,
> 
> On 10/10/23 06:38, Mark Thomas wrote:
> > Running multiple instances of Tomcat from the same CATALINA_BASE is
> > totally unsupported. This isn't one of those "We don't technically
> > support that but you should be OK situations". This is one of the rare
> > "You do that and it *will* break and you will be on your own when it
> > does." situations.
> 
> +1
> 
> Both the logs/ and the work/ directories will overwrite each other, probably
> to the point of not only corruption (e.g. log files) but also instability --
> because of the work/ directory. Files will appear and disappear surprisingly 
> to
> one or the other running Tomcat and you WILL have errors, etc.
> 
> > On 10/10/2023 06:51, Giuseppe Sacco wrote:
>  >>
> >> I did not use different CATALINA_BASE and CATALINA_HOME since this
> >> would have required to deploy all applications on two different
> >> tomcats
> 
> In this case, *you have two different Tomcats*, so it is appropriate to use
> different CATALINA_BASE paths.
> 
> >> and my
> >> pipeline only allows to deploy to one tomcat putting an XML file in
> >> $CATALINA_BASE/conf/Catalina/localhost directory.
> 
> Maybe you can use a symlink from both directories?
> 
> -chris
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Strange catalina.out not created issue

2023-10-02 Thread Mcalexander, Jon J.
Thanks Chris,

All I can do is recommend that to the team. It has to be something with how 
stuff is being started via suexec instead of doing direct su and then running 
the script. At leas that is what I think. Perhaps we can get them do some 
redirects of std-out and std-err to a log file when they run the scripts, so we 
can see what is happening.

Thanks again.

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

> -Original Message-
> From: Christopher Schultz 
> Sent: Monday, October 2, 2023 5:13 PM
> To: users@tomcat.apache.org
> Subject: Re: Strange catalina.out not created issue
> 
> Jon,
> 
> On 10/2/23 13:16, Mcalexander, Jon J. wrote:
> > A little more info on this. The server rebooted last night and the
> > auto-startup started the instance correctly, but the Catalina.out file
> > was not created. It only appears to work properly if you log onto the
> > server and su to the owner user, then run the stop and start scripts.
> What does the suexec thing ultimately end up calling to launch Tomcat?
> Does it call catalina.sh? What is the effective user-id at the time the 
> script is
> invoked?
> 
> Have you tried adding lots of debug logging to your script?
> 
> -chris
> 
> >> -Original Message-
> >> From: Mcalexander, Jon J. 
> >> Sent: Monday, October 2, 2023 12:06 PM
> >> To: users@tomcat.apache.org
> >> Subject: Strange catalina.out not created issue
> >>
> >> Hi all,
> >> It's me again with another issue that is probably obvious to y'all,
> >> but I'm not seeing it.
> >> We have Tomcat Instances on various services that if Tomcat is
> >> started from the Command Line as the user that owns the Instance,
> >> everything starts up properly and the catalina.out log file gets
> >> created. However, if the restart is performed by a workflow that
> >> calls the same scripts but via suexec, everything starts up properly
> >> EXCEPT the catalina.out log file does NOT get created. Has anyone ran
> >> into this before? Currently the instance is running on Tomcat 9.0.80.
> >>
> >> I don't have any log output to give you because ONLY the gc.log is
> >> getting created when this happens.
> >>
> >> Thanks,
> >>
> >> Dream * Excel * Explore * Inspire
> >> Jon McAlexander
> >> Senior Infrastructure Engineer
> >> Asst. Vice President
> >> He/His
> >>
> >> Middleware Product Engineering
> >> Enterprise CIO | EAS | Middleware | Infrastructure Solutions
> >>
> >> 8080 Cobblestone Rd | Urbandale, IA 50322
> >> MAC: F4469-010
> >> Tel 515-988-2508 | Cell 515-988-2508
> >>
> >>
> jonmcalexan...@wellsfargo.com<mailto:jonmcalexan...@wellsfargo.com>
> >> This message may contain confidential and/or privileged information.
> >> If you are not the addressee or authorized to receive this for the
> >> addressee, you must not use, copy, disclose, or take any action based
> >> on this message or any information herein. If you have received this
> >> message in error, please advise the sender immediately by reply
> >> e-mail and delete this message. Thank you for your cooperation.
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Strange catalina.out not created issue

2023-10-02 Thread Mcalexander, Jon J.
A little more info on this. The server rebooted last night and the auto-startup 
started the instance correctly, but the Catalina.out file was not created. It 
only appears to work properly if you log onto the server and su to the owner 
user, then run the stop and start scripts.

Thanks,

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

> -Original Message-
> From: Mcalexander, Jon J. 
> Sent: Monday, October 2, 2023 12:06 PM
> To: users@tomcat.apache.org
> Subject: Strange catalina.out not created issue
> 
> Hi all,
> It's me again with another issue that is probably obvious to y'all, but I'm 
> not
> seeing it.
> We have Tomcat Instances on various services that if Tomcat is started from
> the Command Line as the user that owns the Instance, everything starts up
> properly and the catalina.out log file gets created. However, if the restart 
> is
> performed by a workflow that calls the same scripts but via suexec,
> everything starts up properly EXCEPT the catalina.out log file does NOT get
> created. Has anyone ran into this before? Currently the instance is running
> on Tomcat 9.0.80.
> 
> I don't have any log output to give you because ONLY the gc.log is getting
> created when this happens.
> 
> Thanks,
> 
> Dream * Excel * Explore * Inspire
> Jon McAlexander
> Senior Infrastructure Engineer
> Asst. Vice President
> He/His
> 
> Middleware Product Engineering
> Enterprise CIO | EAS | Middleware | Infrastructure Solutions
> 
> 8080 Cobblestone Rd | Urbandale, IA 50322
> MAC: F4469-010
> Tel 515-988-2508 | Cell 515-988-2508
> 
> jonmcalexan...@wellsfargo.com<mailto:jonmcalexan...@wellsfargo.com>
> This message may contain confidential and/or privileged information. If you
> are not the addressee or authorized to receive this for the addressee, you
> must not use, copy, disclose, or take any action based on this message or any
> information herein. If you have received this message in error, please advise
> the sender immediately by reply e-mail and delete this message. Thank you
> for your cooperation.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Strange catalina.out not created issue

2023-10-02 Thread Mcalexander, Jon J.
Hi all,
It's me again with another issue that is probably obvious to y'all, but I'm not 
seeing it.
We have Tomcat Instances on various services that if Tomcat is started from the 
Command Line as the user that owns the Instance, everything starts up properly 
and the catalina.out log file gets created. However, if the restart is 
performed by a workflow that calls the same scripts but via suexec, everything 
starts up properly EXCEPT the catalina.out log file does NOT get created. Has 
anyone ran into this before? Currently the instance is running on Tomcat 9.0.80.

I don't have any log output to give you because ONLY the gc.log is getting 
created when this happens.

Thanks,

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.



RE: SSLHostConfig question

2023-09-27 Thread Mcalexander, Jon J.
Thank you Chris!

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

> -Original Message-
> From: Christopher Schultz 
> Sent: Tuesday, September 26, 2023 5:49 PM
> To: users@tomcat.apache.org
> Subject: Re: SSLHostConfig question
> 
> Jonm
> 
> On 9/26/23 15:07, Mcalexander, Jon J. wrote:
> > Thank you, but which format of the line is correct?
> >
> > certificateKeystoreType="pkcs12"
> >
> > or
> >
> > certificateKeystore="path to pfx file" type="pkcs12"
> 
> https://urldefense.com/v3/__https://tomcat.apache.org/tomcat-9.0-
> doc/config/http.html*SSL_Support_-
> _Certificate__;Iw!!F9svGWnIaVPGSwU!qCp4SoLLBDygK5Nnm9Rt0079tFHSD
> 5l0E1FK_qlMaNuRe1gzbj65XM4I-eFo2lfYoP_1XSx20Ph_opEI-
> ChtAbTAYVqev6Nm$
> 
> Here are the relevant attributes:
> 
> certificateKeystoreFile : path to your file certificateKeystoreType : type of
> keystore file type : type of /key/ (choose RSA, EC, or DSA - but don't choose
> DSA)
> 
> -chris
> 
> >> -Original Message-
> >> From: Mark Thomas 
> >> Sent: Tuesday, September 26, 2023 11:54 AM
> >> To: users@tomcat.apache.org
> >> Subject: Re: SSLHostConfig question
> >>
> >> On 26/09/2023 16:50, Christopher Schultz wrote:
> >>> Jon,
> >>>
> >>> On 9/26/23 11:32, Mcalexander, Jon J. wrote:
> >>>> I have a question around the SSLHostConfig SSL Connector in Tomcat.
> >>>> In the   section, if the SSL Certificate is in a
> >>>> Windows PFS Keystore, is it appropriate to add
> >>>>
> >>>> certificateKeystoreType="PFX"
> >>>>
> >>>> or
> >>>>
> >>>> certificateKeystore="path to pfx file" type="PFX"
> >>>>
> >>>> I'm finding reference to certificateKeystoreType, but not in
> >>>> regards to PKCS12/PFX types.
> >>>
> >>> I don't think Tomcat supports "PFX" files per-se, but the intertubes
> >>> say that PFX is PKCS12, which IS supported. So try using "PKCS12"
> >>> which I think is the default.
> >>
> >> Default for all keystore types is JKS.
> >>
> >> As Chris says, "pkcs12" should work.
> >>
> >> Mark
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: SSLHostConfig question

2023-09-26 Thread Mcalexander, Jon J.
Thank you, but which format of the line is correct? 

certificateKeystoreType="pkcs12"

or

certificateKeystore="path to pfx file" type="pkcs12"

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

> -Original Message-
> From: Mark Thomas 
> Sent: Tuesday, September 26, 2023 11:54 AM
> To: users@tomcat.apache.org
> Subject: Re: SSLHostConfig question
> 
> On 26/09/2023 16:50, Christopher Schultz wrote:
> > Jon,
> >
> > On 9/26/23 11:32, Mcalexander, Jon J. wrote:
> >> I have a question around the SSLHostConfig SSL Connector in Tomcat.
> >> In the   section, if the SSL Certificate is in a
> >> Windows PFS Keystore, is it appropriate to add
> >>
> >> certificateKeystoreType="PFX"
> >>
> >> or
> >>
> >> certificateKeystore="path to pfx file" type="PFX"
> >>
> >> I'm finding reference to certificateKeystoreType, but not in regards
> >> to PKCS12/PFX types.
> >
> > I don't think Tomcat supports "PFX" files per-se, but the intertubes
> > say that PFX is PKCS12, which IS supported. So try using "PKCS12"
> > which I think is the default.
> 
> Default for all keystore types is JKS.
> 
> As Chris says, "pkcs12" should work.
> 
> Mark
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org



SSLHostConfig question

2023-09-26 Thread Mcalexander, Jon J.
Good morning Gentle People,

I have a question around the SSLHostConfig SSL Connector in Tomcat. In the 
  section, if the SSL Certificate is in a Windows PFS 
Keystore, is it appropriate to add

certificateKeystoreType="PFX"

or

certificateKeystore="path to pfx file" type="PFX"

I'm finding reference to certificateKeystoreType, but not in regards to 
PKCS12/PFX types.

Thanks,

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.



RE: Enhancement request?

2023-09-08 Thread Mcalexander, Jon J.
It would be something that combines all 4 of your items below. I would be 
looking for something that can just give health status of Tomcat and the apps 
being hosted by that instance. This wouldn't/shouldn't have any "Admin" rights 
to do anything other than provide info. HTML is fine, but I think from an 
automation and dashboard reporting standpoint the json/xml stream/soap 
response/whatever would be best.

Now, in my possibly short sited view of the world, if wishes were fishes type 
of thing, to ME it would be awesome if this was automagically available via 
startup without having to do anything special in the server.xml to make that 
app available only to localhost on such and such port. Know what I mean? An 
instant statement of health localhost URL. 

Thanks,

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

> -Original Message-
> From: Christopher Schultz 
> Sent: Friday, September 8, 2023 3:46 PM
> To: users@tomcat.apache.org
> Subject: Re: Enhancement request?
> 
> Jon,
> 
> On 9/8/23 14:21, Mcalexander, Jon J. wrote:
> > In seeing the latest messages about the manager application, something
> that I and my team would LOVE to have is just a Status app that provides all
> the items status wise that the Manager app does, without any of the
> "Application Management" like restarting an app, etc. I know all the pieces
> are out there in Catalina.jar, but I don't have the developer knowledge to put
> it together in a separate servlet that just calls the items needed from
> Catalina.
> >
> > Is this something that any of the guru's have thought about putting
> together? I'm thinking it would be best to just be a web service, no gui, that
> you can call and get the json or xml output with the data so it can be
> incorporated into a dashboard.
> 
> Are you looking for...
> 
> 1. Something with more limited capabilities (for less-trusted admins, or to
> reduce the possibilities for hacking)
> 
> 2. Something with fewer distractions
> 
> 3. Something with a JSON/XML interface instead of HTML
> 
> 4. Something which has fewer lines of code
> 
> ?
> 
> Or some combination of the above, or something else?
> 
> -chris
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org



Enhancement request?

2023-09-08 Thread Mcalexander, Jon J.
In seeing the latest messages about the manager application, something that I 
and my team would LOVE to have is just a Status app that provides all the items 
status wise that the Manager app does, without any of the "Application 
Management" like restarting an app, etc. I know all the pieces are out there in 
Catalina.jar, but I don't have the developer knowledge to put it together in a 
separate servlet that just calls the items needed from Catalina.

Is this something that any of the guru's have thought about putting together? 
I'm thinking it would be best to just be a web service, no gui, that you can 
call and get the json or xml output with the data so it can be incorporated 
into a dashboard.

Thanks,

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.



RE: Tomcat Native

2023-08-25 Thread Mcalexander, Jon J.
Thank you!

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

> -Original Message-
> From: Mark Thomas 
> Sent: Thursday, August 24, 2023 5:01 PM
> To: users@tomcat.apache.org
> Subject: Re: Tomcat Native
> 
> On 24/08/2023 13:07, Mcalexander, Jon J. wrote:
> > Getting a 404 error when trying to download the binaries for 2.0.5
> >
> > https://urldefense.com/v3/__https://dlcdn.apache.org/tomcat/tomcat-
> connectors/native/2.0.5/binaries/tomcat-native-2.0.5-openssl-3.0.9-ocsp-
> win32-
> bin.zip__;!!F9svGWnIaVPGSwU!v2J9En8N43arWrgkRM2JryQVOMbA8p1r7n
> GLBKxNt1Tmp1P0JLZPZcm90bFeOkExjTaKTp-ekZH0Z-v0d7hGIg$
> >
> > Is this a known issue?
> 
> It is now.
> 
> The OpenSSL version numbers hadn't been updated. Should be fixed now.
> 
> Mark
> 
> 
> >
> > Dream * Excel * Explore * Inspire
> > Jon McAlexander
> > Senior Infrastructure Engineer
> > Asst. Vice President
> > He/His
> >
> > Middleware Product Engineering
> > Enterprise CIO | EAS | Middleware | Infrastructure Solutions
> >
> > 8080 Cobblestone Rd | Urbandale, IA 50322
> > MAC: F4469-010
> > Tel 515-988-2508 | Cell 515-988-2508
> >
> >
> jonmcalexan...@wellsfargo.com<mailto:jonmcalexan...@wellsfargo.com>
> > This message may contain confidential and/or privileged information. If you
> are not the addressee or authorized to receive this for the addressee, you
> must not use, copy, disclose, or take any action based on this message or any
> information herein. If you have received this message in error, please advise
> the sender immediately by reply e-mail and delete this message. Thank you
> for your cooperation.
> >
> >
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat Native

2023-08-24 Thread Mcalexander, Jon J.
Getting a 404 error when trying to download the binaries for 2.0.5

https://dlcdn.apache.org/tomcat/tomcat-connectors/native/2.0.5/binaries/tomcat-native-2.0.5-openssl-3.0.9-ocsp-win32-bin.zip

Is this a known issue?

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.