cancel
Showing results for 
Search instead for 
Did you mean: 

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

germangq
Champ on-the-rise
Champ on-the-rise

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 1

jpotts
World-Class Innovator
World-Class Innovator

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.