Everybody knows Documentum from EMC² but there is also a free tool, Alfresco, created by the father of Documentum,
which is also an excellent solution for keeping a community live and documented :)
As every other interesting tool, I tried to install it on my top application server and my top database !
This time, it wasn't too hard, even if it wasn't over-documented ...
Well it sounds obvious but you first have to download it.
Don't take the Tomcat version, but the WAR version. (it comes in a zip ~52Mb)
Make some changes to have it compatible with WebLogic classloader
As usual, this war comes with a variety of libs, and some of them may conflict with those embedded in WebLogic.
Then I recommend in this case to use the Filtering Class Loader mechanism.
To have it configured, you first have to turn you WAR in an EAR like :
Note : When I'm debugging some stuff while installing it, I prefer to use the exploded format, which is easier to update config files, adding extra libs and so on.
Configure it to use an Oracle database
I noticed that Alfresco is sensed to use a mySQL database.
To switch to an Oracle DB, you will have to modify some configuration files.
First one : repository.properties (alfresco.war\WEB-INF\classes\alfresco)
Look for the following section and change what's needed.
# Database configuration
Second one : hibernate-cfg.properties (alfresco.war\WEB-INF\classes\alfresco\domain)
It's quite easy : only one line to change to reflect the new Hibernate dialect.
# Hibernate configuration
To see whether it's really been taken into account, check the logs :
16:41:06,031 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.OracleDialect.
If everything went well, your DB schema should have been created. You may take a look using your favorite DB tool :
Windows library (optional)
So far, if you're working with Windows, it works, but there is still an error :
java.lang.UnsatisfiedLinkError: no Win32NetBIOS in java.library.path
As said, you have to add the the lib called "Win32NetBIOS.dll"
(located in the bin directory of your Alfresco distribution) in either the java.library.path or in the Windows DLL directory (Windows/system32).
Enjoy ! :)