Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
InstallationBack to Server Installation
Pre-requisites:
Installation Steps:
Increase â€XX:MaxPermSize=256M (increase Maximum heap size accordingly)
Click 'Add Another Row'
Enter â€Doc4j.jmx.security.proxy.off=true
Click 'Add Another Row'
Enter â€XX:CompileCommand=exclude,org/apache/lucene/index/IndexReader$1,doBody
Click 'Add Another Row'
Enter â€XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger,mergeIndexes
Click 'Add Another Row'
Enter â€XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger,mergeDeletions
db.driver= oracle.jdbc.OracleDriver
db.name=alfresco
db.url= jdbc:oracle:thin:@localhost:1521:alfresco
db.username=alfresco
db.password=alfresco
hibernate.dialect= org.hibernate.dialect.Oracle9Dialect
Install the prerequisites for Alfresco.
Install oracle application server. If your server uses DHCP and not a fixed IP address you *will* need to add support for an MS loopback netwrok connection. This is covered in the OAS installation guide. In the urls to follow I wil assume this was required and a loopback connection was created on 10.10.10.10 and the default port of 8888 was used in the install.
Install your database of choice and configure an appropriate user for the Alfresco repository and make sure there is a database/tablespace/schema for this user to use.
Start OAS. This can be done by going to the directpry 'OAS_INSTALL'/opmn/bin and then run 'opmnctl startall'. 'opmnctl status' can be used to monitor start up. THis will start OC4J and supporting services.
To successfully deploy Alfresco requires that the Cryptix library included with Alfresco be loaded as a shared library (or there are class loading issues). You probably want to load the JDBC jar for your database as shared library.
Loading a jar as a shared library
This process can be repeated. The UI can also be used to removed shared libraries.
The Cryptix jar can be found in the alfresco.war.
The amount of memory allocated to the OC4J instance and for PermGenSpace may not be sufficient.
To alter the OC4J server start up option for these properties
You will have to stop and start the OC4J instance for the changes to take effect. (On the 'Home' Tab for the OC4J instance). Note if you are using opmn these options are in 'OAS_HOME'\opmn\conf\opmn.xml.
Navigate to the OC4J container. Make sure it has the required shared libraries.
Select the applications tab.
Hit deploy to start the deployment wizard.
This is suffiecient to deploy with the default settings.
To add a location for an extensions directory:
At the moment, I am not clear where this path is inserted into the class path. The location is certianly used and should be fine for entries in the extension folder, license etc.
Select OK
At this point you could save the deployment plan - or just deploy.
Hit Deploy. This will take some time. Some progress information is reported.
The alfresco.log file is located in 'OAS_HOME'/j2ee/home the deployed application is in 'OAS_HOME'/j2ee/home/applications/Alfresco
Wait for a notification like 'Application Deployer for Alfresco COMPLETES. Operation time: xxxxxx msecs'
Once deployment is complete you can access the web client using http://10.10.10.10:8888/alfresco
FTP, WebDav will also be available.
On my deployment with DHCP and loopback, CIFS access was not as straight forward as //Name/Alfresco but this is likely to be related to deploying on 10.10.10.10 and has not been investigated further. I did manage to map a network drive from previous settings, so CIFS is alive and working. The Loopback connection may have some issues with CIFS trying to connect.
The application can be undeployed from the OC4J Applications tab.
Deployment in the same fashon as 1.4.x gives an RMI error.
A work around for this isue will appear here when complete.
Here is some extra info found whilst browsing forums:
'I've further tested this here and have successfully installed Alfresco 201 on OAS. I found the workaround in the Spring Forums, you'll need to start OAS with the JVM parameter':
-Doc4j.jmx.security.proxy.off=true
'I used 'Add Another Row' in the deployment steps and provided the absolute path for the extension folder.
You might find now that you have your 1.4 running if you take the extension out of the WAR file and use Add Another Row - it should work.'