Forums Alfresco

WAR-File

Subscribe to WAR-File 10 post(s), 4 voice(s)

 
Avatar strophi 1 post

Hi,

I want to install the php integration amp, but can’t find the war file.

Thanx in advance

strophi

 
Avatar john 5 post(s)

Hi all,

I’m also looking for the WAR file location Re: integration of the Records Management.amp.

I’m using SUSE Enterprise Linux server 10 as my OS.

Anyone please help!!!!!

 
Avatar beltran Administrator 371 post(s)

Hi,

The war file is uncompressed in the apache-tomcat/webapps/alfresco folder.

 
Avatar john 5 post(s)

Hi beltran,

Thanks for the info. But I looked with “show hidden files enabled” in file browser. Apart the folders, only one file is visible (index.jsp)

My apache-tomcat/webapps/alfresco folder contents:-

/opt/alfresco-2.1.0-7/apache-tomcat/webapps/alfresco/META-INF
/opt/alfresco-2.1.0-7/apache-tomcat/webapps/alfresco/WEB-INF
/opt/alfresco-2.1.0-7/apache-tomcat/webapps/alfresco/css
/opt/alfresco-2.1.0-7/apache-tomcat/webapps/alfresco/images
/opt/alfresco-2.1.0-7/apache-tomcat/webapps/alfresco/jsp
/opt/alfresco-2.1.0-7/apache-tomcat/webapps/alfresco/scripts
/opt/alfresco-2.1.0-7/apache-tomcat/webapps/alfresco/services
/opt/alfresco-2.1.0-7/apache-tomcat/webapps/alfresco/wsdl
/opt/alfresco-2.1.0-7/apache-tomcat/webapps/alfresco/index.jsp

john

 
Avatar beltran Administrator 371 post(s)

Hi John,

Maybe I do not understand well. The war file is only a zip compressed file. The Stack does not include the war file, this war file is uncompressed under alfresco/apache-tomcat/webapps/alfresco folder. Does this information answer your question? Why are you searching the war file?

 
Avatar john 5 post(s)

Hi beltran,

Sorry for the confusion.

I already installed alfresco and everything is working great. However I wanted to installed the Records Management amp. I’m using SUSE Linux Enterprise server 10. and Alfresco version: Community Network – v2.1.0 (482)

I followed the procedures on the Alfresco site which says, to used the command below.
java -jar alfresco-mmt-2.1.jar install <ampfilelocation> <warfilelocation> [options]

Most of the documentations I read talks about an alfresco.war file for the WARfileLocation ,that why I was looking for that file.

I understand what you said about the zip compressed file being uncompressed in the alfresco folder. My question is, how can I installed the Record Management amp . I am lost

Please help!!

John.

 
Avatar franjb68 2 post(s)

beltran, Alfresco can be extended with AMPs (Alfresco Module Packages).

I’m also stuck because can’t follow the Alfresco instructions to install a couple of AMPs I would like to try: the alfresco.war file isn’t there, and the same happens with the apply_amps.sh file.

Regards,
Francisco

 
Avatar beltran Administrator 371 post(s)

Hi Francisco,

I installed the Record Management module on BitNami Alfresco Stack on Ubuntu. I followed these steps:

1. Stop the application. If you are running the stack in Linux or OS X you should stop with ”./ctlscript.sh stop” but on Windows you can stop through the shotcuts. It is recommendable to create a copy of your Alfresco Stack directory if you have sensible data in your application.

2. Go to the <installation_directory>/apache-tomcat/webapps/alfresco and create a zip file (alfresco.war) with all files. It is important that the war file (or the zip file) has the contain of the alfresco folder: WEB-INF, META-INF, index.jsp, etc.

cd ~/alfresco-2.1.0-7/apache-tomcat/webapps/alfresco
zip -r alfresco.war *
mv alfresco.war ~/alfresco-2.1.0-7/apache-tomcat/webapps/

3. Remove the <installation_directory>/apache-tomcat/webapps/alfresco folder.


rm -rf ~/alfresco-2.1.0-7/apache-tomcat/webapps/alfresco

4. Download the alfresco-mmt-2.1.jar and the alfresco records management from sourceforge. Copy these files into <installation_directory>/apache-tomcat/webapps/.

5. Go to the <installation_directory>/apache-tomcat/webapps/ and install the AMP file:


cd ~/alfresco-2.1.0-7/apache-tomcat/webapps
~/alfresco-2.1.0-7/java/bin/java -jar alfresco-mmt-2.1.0.jar install alfresco-recordsmanagement-2.1.0.amp alfresco.war

6. Check your installation:


<installation_directory>/java/bin/java -jar alfresco-mmt-2.1.0.jar list alfresco.war

You should see a similar result:

Module ‘org.alfresco.module.RecordsManagement’ installed in ‘alfresco.war’
- Title: Records Management
- Version: 1.3
- Install Date: Tue Jul 29 20:37:12 CEST 2008
- Desription: Alfresco Record Management Extension

7. You can restart the application and you can see these lines into the apache-tomcat/logs/catalina.out log file:

20:44:36,080 INFO [repo.module.ModuleServiceImpl] Found 1 module(s).
20:44:36,400 INFO [repo.module.ModuleServiceImpl] Installing module ‘org.alfresco.module.RecordsManagement’ version 1.3.

I hope it helps you!

 
Avatar john 5 post(s)

Hi beltran,

Thanks for the info. I did what you said and everything works perfectly. I will be testing other amp in coming days, will keep you posted on my progress.

Thanks again

John.

 
Avatar beltran Administrator 371 post(s)

Hi John,

I’m glad to hear this! I will try to help you.

Forums Alfresco