Establish a connection with sql from AIO proyect, ¿where is <TOMCAT_HOME>/lib directory?

cancel
Showing results for 
Search instead for 
Did you mean: 
Partner

Establish a connection with sql from AIO proyect, ¿where is <TOMCAT_HOME>/lib directory?

Hi 

I want to establish a comnnection with a sql database,but I don't know where is the <TOMCAT_HOME>/lib directory in my AIO proyect 

I'm using the alfresco-allinone-archetype version 3.1.0

1 Reply
Professional

Re: Establish a connection with sql from AIO proyect, ¿where is <TOMCAT_HOME>/lib directory?

I assume you are looking for the lib directory because you want to put your database driver in it.

Instead, why not add the database driver to your dependencies in your pom.xml file. You can mark it with a scope of provided so it doesn't package the driver into your AMP.

Later, when you are ready to deploy, put the driver JAR in the lib directory of whatever Tomcat you are deploying to.