cancel
Showing results for 
Search instead for 
Did you mean: 

Success installing and configuring Alfresco WAR

gman2
Champ in-the-making
Champ in-the-making
Has anyone had success installing and configuring the Alfresco WAR file in Tomcat 5.5.x on Windows? The install instructions contain things that I don't find in the expanded alfresco folder such as the extras folder with the db_setup.bat file. Maybe the Alfresco WAR file didn't expand properly in Tomcat? Any tips would be appreciated.
6 REPLIES 6

mikeh
Star Contributor
Star Contributor
The .war file distribution doesn't contain any extras like database scripts, start and stop batch files, etc. It's mainly used for upgrades.

Mike

gman2
Champ in-the-making
Champ in-the-making
Is it accurate to say that Alfresco is more than a web app, it is an integrated server solution, and you cannot simply deploy the WAR file and configure Alfresco and Tomcat, you need to run one of the bundles to actually have a functioning Alfresco.

tonytony
Champ in-the-making
Champ in-the-making
I've installed, on windows, the WAR file into a vanilla tomcat installation for years now. You don't need anything else. Unless I'm mistaken all the configuration files expand out of the zip file. I've done this at least three times in the last year, You don't (and shouldn't have to) use a pre packaged bundle, AFAIK these are provided for evaluation purposes only.

(PS: [strike]are you going to release a 3 labs stable of 3D final WAR file??[/strike]  nevermind, I found it)

mikeh
Star Contributor
Star Contributor
That's correct. Possibly the only "extra" you need is the simple script to create the database.
create database alfresco;
grant all on alfresco.* to 'alfresco'@'localhost' identified by 'alfresco' with grant option;
grant all on alfresco.* to 'alfresco'@'localhost.localdomain' identified by 'alfresco' with grant option;

Mike

tonytony
Champ in-the-making
Champ in-the-making
see the extras/databases/mysql directory

gman: you should have this directory. I just downloaded the stable zip war file and can confirm it is in there.

gman2
Champ in-the-making
Champ in-the-making
OK. I found the folder and was able to create the MySQL database. I'm still having trouble getting it to run. I will work on it some more.