Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to setup JNDI resource in tomcat with IntelliJ IDEA

I'm new to IntelliJ IDEA and I'm trying to set up JNDI resource in Tomcat but I'm using intelliJ IDEA. I have done this with Eclipse many times, but as you know there is a separate folder Servers in the project structure that allows you to open the server.xml and set up the JNDI resource. I've looked through the options of Tomcat in IDEA but couldn't find anything. Could you please help me?

like image 996
user3240544 Avatar asked Dec 06 '14 15:12

user3240544


1 Answers

You can just edit server.xml file in TOMCAT_HOME/conf/ directory, where TOMCAT_HOME is the directory of the Tomcat installation you have configured in Run/Debug configuration.

You can open and edit that file in IntelliJ using File/Open or just edit it outside of the IDE using vim for instance.

like image 64
Bohuslav Burghardt Avatar answered Sep 28 '22 07:09

Bohuslav Burghardt