CommunityOverCode Asia 2024 is calling for Presentations!

2024-03-29 Thread Huxing Zhang
Hi All, Community over Code Asia 2024 will be held in person this year in Hangzhou, China [1]. The CFP will end on April 21st, 2024 11:59 PM (Beijing time - UTC +8). For details could be found on the website [1]. Note that for the topics that can't be presented in person, a pre-recorded video

Re: [EXT]Re: how to define database resource in just context.xml or server.xml

2024-03-29 Thread Christopher Schultz
Rick, On 3/29/24 14:33, Rick Noel wrote: Our application is really a suite of 5applications. And the server.xml I am talking about is on our dev machine, where we want to run all 5 apps on the one web server. The context.xml has global enviroiment variables (like mail server related vars)

RE: FW: [EXT]Re: how to define database resource in just context.xml or server.xml

2024-03-29 Thread Rick Noel
Yeah I like the idea of using the Resourcelink in the context.xml and then keep the defining of that datasource in the server.xml Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Christopher Schultz Sent: Friday, March 29, 2024 2:23 PM To:

RE: [EXT]Re: how to define database resource in just context.xml or server.xml

2024-03-29 Thread Rick Noel
Chris, Our application is really a suite of 5applications. And the server.xml I am talking about is on our dev machine, where we want to run all 5 apps on the one web server. The context.xml has global enviroiment variables (like mail server related vars) that all the dev applications use.

Re: FW: [EXT]Re: how to define database resource in just context.xml or server.xml

2024-03-29 Thread Christopher Schultz
Rick, On 3/29/24 14:05, Rick Noel wrote: Chris, I found I could use a ResourceLink element and put it in my context.xml file. The name in that ResourceLink is the name of resource that I have fully defined in my server.xml. Sot the context.xml points to the fully define resource which is in

Re: [EXT]Re: how to define database resource in just context.xml or server.xml

2024-03-29 Thread Christopher Schultz
Rick, On 3/29/24 11:56, Rick Noel wrote: If have the resource defined in CATALINA_BASE/conf/context.xml And CATALINA_BASE/conf/server.xml You really shouldn't have anything custom in CATALINA_BASE/conf/context.xml. That will affect every application deployed on the server. Perhaps you only

FW: [EXT]Re: how to define database resource in just context.xml or server.xml

2024-03-29 Thread Rick Noel
Chris, I found I could use a ResourceLink element and put it in my context.xml file. The name in that ResourceLink is the name of resource that I have fully defined in my server.xml. Sot the context.xml points to the fully define resource which is in my server.xml So snippet from my

RE: [EXT]Re: how to define database resource in just context.xml or server.xml

2024-03-29 Thread Rick Noel
If have the resource defined in CATALINA_BASE/conf/context.xml And CATALINA_BASE/conf/server.xml Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Christopher Schultz Sent: Friday, March 29, 2024 11:47 AM To: users@tomcat.apache.org Subject:

Re: how to define database resource in just context.xml or server.xml

2024-03-29 Thread Christopher Schultz
Rick, On 3/29/24 09:48, Rick Noel wrote: Can someone tell me why I need to have my database source defined in both my context.xml and server.xml? I thought we are suppose to define it in only one location? It's definitely not a requirement to specify it in both places. I can only log into my

how to define database resource in just context.xml or server.xml

2024-03-29 Thread Rick Noel
Hello, Can someone tell me why I need to have my database source defined in both my context.xml and server.xml? I thought we are suppose to define it in only one location? I can only log into my app if I have it defined in both my context.xml and server.xml Below is my database resource