Re: embedded tomcat and context.xml

2020-12-04 Thread Christopher Schultz
Rob, On 12/3/20 17:46, Rob Sargent wrote: Again, much appreciated feedback.  (I never think what I'm doing is all that special) At this point, the fact that you are using embedded Tomcat is really just a detail that doesn't affect the greater question of how to manage your complex database p

Re: embedded tomcat and context.xml

2020-12-03 Thread Rob Sargent
Again, much appreciated feedback.  (I never think what I'm doing is all that special) Though two concurrent users would really be "wildly successful", each of those users will fire up hundreds (thousands if we get permission/capacity) of EC2 instances and start pounding the db, so I think con

Re: embedded tomcat and context.xml

2020-12-03 Thread Christopher Schultz
Rob, On 12/3/20 11:03, Rob Sargent wrote: Thanks for you time. Your response goes a long way to explaining why there is so little specific information on embedding tomcat. Only programmers are interested in using embedded Tomcat, so having "Tomcat Embedded For Dummies" isn't terribly useful. (I

Re: embedded tomcat and context.xml

2020-12-03 Thread Rob Sargent
Chris, Thanks for you time. Your response goes a long way to explaining why there is so little specific information on embedding tomcat. Really, just as I said. I had convinced myself from several items encountered on the web that an embedded tomcat instance would not read the standard conf/*.x

Re: embedded tomcat and context.xml

2020-12-03 Thread Christopher Schultz
Rob, On 12/2/20 13:31, Rob Sargent wrote: I'm old and easily confused: does an embedded tomcat server read (any) context.xml file?  I find conflicting answers /out there./ Using tomcat 9.0.40    embeddedTomcat =new Tomcat();    embeddedTomcat.setPort(tomcatPort);    embeddedTomcat.enableNa

Re: embedded tomcat and context.xml

2020-12-02 Thread Rob Sargent
typo: should read "none of which are named in the web.xml" (not "which are NOT" as below) On 12/2/20 11:31 AM, Rob Sargent wrote: I'm old and easily confused: does an embedded tomcat server read (any) context.xml file?  I find conflicting answers /out there./ Using tomcat 9.0.40    embeddedT

embedded tomcat and context.xml

2020-12-02 Thread Rob Sargent
I'm old and easily confused: does an embedded tomcat server read (any) context.xml file?  I find conflicting answers /out there./ Using tomcat 9.0.40 embeddedTomcat =new Tomcat(); embeddedTomcat.setPort(tomcatPort); embeddedTomcat.enableNaming(); embeddedTomcat.getConnector();// an