cancel
Showing results for 
Search instead for 
Did you mean: 

Integrate Web App with Alfresco for Doc Mgmt...

oops_007
Champ in-the-making
Champ in-the-making
Hello,
I am new to Alfresco…
I am looking for Integration of our New J2ee Web application with Alfresco. We need Alfresco to do the Document Management Module.
We are wanting to integrate Alfresco as a Document Management System in our Java Web Application. The Application should be able to Upload files/Documents to the Alfresco Repository. We need to Search for the Documents on different parameters, Download the document depending on the permissions that the user has, Should be able to edit and manage different versions of the document.
I am not sure what Alfresco product to go with. Can we use the Alfresco Community Version for this?
I am not finding what steps to go for the setup.
I have existing Tomcat 6 and Mysql 5.5 installed on my Linux Fedora 16.
I downloaded the alfresco-community-4.0.d-installer-linux-x64.bin.. But am not able to install… getting following Error.. ./alfresco-community-4.0.d-installer-linux-x64.bin: cannot execute binary file

Also tried to copy/deploy the alfresco.war and share.war in my existing tomcat.. That to is not working…

Can any one suggest what needs to be installed and in what Order and what is required for such Document Management Integration requirement.? I am looking for Community Version(Open source) and not Commercial Version..

Looking forward for some inputs/suggestions…
Thanks,
Ravi..
1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
If you are running the installer on the command-line make sure the current user has execute permissions on that file. Also, if you are installing on the command-line and do not have the ability to display a GUI, make sure you run with the –mode text option.

You should be able to install using a WAR-only approach if you cannot get the installer to work or if you'd just prefer that anyway. This page on docs.alfresco.com sounds like it is for Enterprise-only but it will work with Community.

The high-level steps for a manual installation are:
1. Create a shared class loader and update Tomcat config
2. Edit $TOMCAT_HOME/shared/classes/alfresco-global.properties to match your requirements
3. Make sure your database driver is in $TOMCAT_HOME/lib
4. Make sure serializer.jar and xalan.jar are in $TOMCAT_HOME/endorsed
5. Make sure dependencies such as pdf2swf, convert (ImageMagick), and OpenOffice are installed and configured in alfresco-global.properties

Once you get that set up and your repository is running, I'd recommend that you use the OpenCMIS Java API from your web application to execute CRUD operations against the repository.

Jeff