How to connect postresql database in allinone projects
I have configured 'allinone' projects in my system but i don't have alfresco community installed in my system.I believe the project will get connect to tomcat runner internally and by default it will be connected to H2 database.but if i want to connect to other databases such as postresql,mysql etc, where i can define the connection properties. As i am aware of that if we install alfresco community, by default we can configure database in alfresco-global.properties file, but i want to create the project independently for development purpose, ie. no need to install alfresco, so where will i configure the database connections ? if i need the alfresco-global file to be added where i have to place the file?
Please guide me to understand on that. Thanks in Advance
Re: How to connect postresql database in allinone projects
I updated the alfresco-global.properties file with postgres db connection properties, but still getting error and while compiling it shows db connected to H2 database.
if i am correct,normally the file located in tomcat/shared/classes folder, which will overrides the properties given in project and execute it, but in my case alfresco community is not running, so where i can define the database connection properties?Any suggestion would be appreciated.