Open timtasse opened 9 years ago
Hi!
Thanks for your suggestions. I've included all of them, except 4. Including JNDI config in META-INF/context.xml means that this configuration is for the Django application only - which is working without JNDI anyway. I only see advantages in using JNDI on Django with a server wide configuration, so that several applications can share a database connection.
hi,
the advantage of using JNDI-config in the war is the better portability between application servers and using the connection pooling from the appserver. pooling over appserver can then monitored with JMX or psi-probe or whatever. an additional parameter for including the context.xml would be nice, not all want such a feature but the possibility would be nice.
hi,
i play a little bit with the new buildwar command and found some errors in the generated web.xml.
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">
thx