cancel
Showing results for 
Search instead for 
Did you mean: 

a question about build from source

liang
Champ in-the-making
Champ in-the-making
Hi,
After successfully build Alfresco from source, I didn't find alfresco-global.properties under tomcat/shared/classes. According to the 'Alfresco on Eclipse' guide, you will need to create a database named alfresco in mysql and a user named alfresco too.

Does that mean:
- the default database credentials are hardcoded some where in the source code?
- can I still use alfresco-global.properties to override the default credentials?
5 REPLIES 5

jpfi
Champ in-the-making
Champ in-the-making
Hi,
you need to create a alfresco-global.properties if you don't use an installer.
No, of course the DB parameters aren't hardcoded. Use alfresco-global.properties to use whatever db params (dbname, username, pw etc.) you like.
cheers, jan

liang
Champ in-the-making
Champ in-the-making
When deploying the WARs built from source, you don't have alfresco-global.properties, but the init process still populate the data into 'alfresco' database with user 'alfresco' credential. Do you know where those default values for the  alfresco-global.properties are defined?

liang
Champ in-the-making
Champ in-the-making
actually, I put a alfresco-global.properties specifying a new DB name in the class path, but alfresco still trying 'alfresco' database.

mrogers
Star Contributor
Star Contributor
Where in the class path did you put it?   It needs to go into shared/classes.

And did you configure the shared loader in tomcat?

liang
Champ in-the-making
Champ in-the-making
Thank you for your information! I found this: http://wiki.alfresco.com/wiki/Install_Tomcat6. It does the magic!