Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Tomcat: adding/deleting/editing JNDI resources

Tags:

java

tomcat

jndi

Is there a facility in Tomcat (version 6) to add/delete/edit JNDI resources? If it's possible, how would I update a JDBC data source (as an example)? Note that I'm looking for a possibility to update a JNDI resource without redeploying an application. Apparently Glassfish let's you do this, unfortunately using another application server is currently not an option for me.

like image 252
paprika Avatar asked Aug 28 '26 00:08

paprika


1 Answers

Tomcat does not let you bind new elements to the JNDI tree after boot. You should be able to change their properties using the admin console.

like image 138
David Rabinowitz Avatar answered Aug 30 '26 13:08

David Rabinowitz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!