cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy JAR files in Alfresco

carnarvon
Champ in-the-making
Champ in-the-making
Hello! Can somebody explain me, how I can deploy jar files in Alfresco server? I will be greatfull to respond. 
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
The normal way to deploy code to alfresco is via an "AMP" file.   Which is a simply a zip file with some structure containg classes and config.    The AMP files are processed by the MMT tool to be merged into the alfresco.war file.   

However if you simply want to deploy a JAR then simply stick it onto tomcat's shared lib path.    If you are using the alfresco installer then it will already be configured, if not then you need to configure the catalina.properties.     

carnarvon
Champ in-the-making
Champ in-the-making
Using JAR files more easy for me. So, can you explain, how I can upload jar files to the directory tomcat/webapps/alfresco/WEB-INF/lib, which mentioned in Alfresco help: http://docs.alfresco.com/4.2/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fdev-extensi...
????

mrogers
Star Contributor
Star Contributor
Stick it on the shared lib path.

The only way anything should get into the exploded war file is by exploding the war.   Don't change libraries or config there since it will simply get over-written the next time the war file explodes.