CMDBuild Forum

An easier way to deploy alfresco dms in cmd build?

Hi , i had been successfully build up my cmd build following the Installing CMDBuild using graphical interface in the technical manual page 11
Next ,i proceed to deploy the workflow (shark), somehow i think i succeed to made it as well

Now , try to deploy the alfresco DMS; 
However was stack a bit in this 

According to page 21 Installing Alfresco DMS, i need to made the change on alfrescoglobal.properties. 
i follow the example shown from page 21-page22

but however once i finished configure, i go to http://{SERVER}:{PORT}/alfresco, it fail to load up the alfresco webpage , the browser display "This webpage is not available"

Form my understanding , now i having 2 tomcat already , one for cmdbuild(port 8080), one for alfresco (port9080), for the part cmdbuild(port8080).it is working fine , but juz wonder if i had configure correctly for the alfresco part ?(port 9080)

Was think out one idea , is this possibly i clean uninstall all the relevant stuff (tomcat,postgresql,cmdbuild) and then re install alfresco 3.4 community using default setup wizard and just run the alfresco. Since install alfresco also come along with tomcat and postgresql, so can i just simply deploy the cmdbuild.war & shark.war under {alfresco}/tomcat/webapps, meaning to said i only install and run 1 tomcat(which is come along from the alfresco installation) & did all cmdbuild relevant config under {alfresco}/tomcat/webapps

Ps. my primary target is wanna succeed run CMDBuild and deploy 2 additional modules which are workflow and alfresco DMS

I don't recommend running Alfresco on a second instance of Tomcat. It's a memory hog. Additionally, I attempted to install CMDBuild on the Alfresco Integrated Installer included Tomcat instance and I ran into problems. Setup your own Tomcat and PSQL instances. 
 
I'm currently working on a video tutorial for CMDBuild + Workflow + Alfresco setup on CentOS 7 and Windows Server 2012 R2. I should be finished with it in about two weeks. I'll post it when it is ready.
 
These are not my guides, but they have valid information and may help you in the mean time. Remember to use Alfresco 3.4 and not 4.2.
 
See here: http://kickingtech.wordpress.com/2014/05/26/alfresco-community-edition-4-2-step-by-step-manual-installation/
 
And here: http://kickingtech.wordpress.com/2014/06/02/connecting-alfresco-dms-cmdbuild/
 
Like the above tutorial states, make sure you create a shared/lib and shared/classes (place properties file here) folder in the Tomcat root. Then edit the Tomcat\conf\catalina whatever file with " shared.loader=${catalina.home}/shared/classes,${catalina.home}/shared/lib/*.jar "
 
Additionally, this should be all that is in the properties file for Alfresco.
 
dir.root=C:\Documents
db.username=alfresco
db.password=alfresco
db.name=alfresco
db.host=localhost
db.port=5432
db.pool.max=40
db.driver=org.postgresql.Driver
db.url=jdbc:postgresql://localhost:5432/alfresco
ftp.enabled=true
ftp.port=21
ftp.ipv6.enabled=false
 
Make sure you increase the memory of Tomcat. It will crash with CMDBuild and Alfresco running (it simply won't start). 
 
If this install is on Windows, you have to add some DLLs to system32 for Alfresco to work. They're included somewhere in the Alfresco download.
 
Previously junjie wrote:

Hi , i had been successfully build up my cmd build following the Installing CMDBuild using graphical interface in the technical manual page 11
Next ,i proceed to deploy the workflow (shark), somehow i think i succeed to made it as well

Now , try to deploy the alfresco DMS; 
However was stack a bit in this 

According to page 21 Installing Alfresco DMS, i need to made the change on alfrescoglobal.properties. 
i follow the example shown from page 21-page22

but however once i finished configure, i go to http://{SERVER}:{PORT}/alfresco, it fail to load up the alfresco webpage , the browser display "This webpage is not available"

Form my understanding , now i having 2 tomcat already , one for cmdbuild(port 8080), one for alfresco (port9080), for the part cmdbuild(port8080).it is working fine , but juz wonder if i had configure correctly for the alfresco part ?(port 9080)

Was think out one idea , is this possibly i clean uninstall all the relevant stuff (tomcat,postgresql,cmdbuild) and then re install alfresco 3.4 community using default setup wizard and just run the alfresco. Since install alfresco also come along with tomcat and postgresql, so can i just simply deploy the cmdbuild.war & shark.war under {alfresco}/tomcat/webapps, meaning to said i only install and run 1 tomcat(which is come along from the alfresco installation) & did all cmdbuild relevant config under {alfresco}/tomcat/webapps

Ps. my primary target is wanna succeed run CMDBuild and deploy 2 additional modules which are workflow and alfresco DMS

 

1 Like