cancel
Showing results for 
Search instead for 
Did you mean: 
resplin
Elite Collaborator
Elite Collaborator

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



InstallationJBoss Oracle
This guide assumes you are knowledgeable enough with JBoss, Java and Oracle




 #cd /jboss4.2.1GA/server/default/deploy
#mkdir alfresco.war

  • Extract alfresco.war and share.war from the alfresco archive (untar or unzip, dependig on the format you chose to download) and    copy to jboss4.2.1GA/server/default/deploy/alfresco.war/
  • Move to this direcory and extract the contents of alfresco.war:
 #jar xvf alfresco.war 

  • remove the alfresco.war file
  • copy the ojdbc14.jar on /jboss4.2.1GA/server/default/lib/  
  • copy the commons-el.jar on /jboss4.2.1GA/server/default/lib/
 NOTE: this library seems that isn't shipped with the labs3b edition. We've found it in the enterprise edition, but we don't know if it's the right way to do...

  • modify the file /jboss4.2.1GA/server/default/deploy/ejb3.deployer/META-INF/persistence.properties
 change the hibernate.bytecode.provider=javassist to hibernate.bytecode.provider=cglib

  • modify the file /jboss4.2.1GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/repository.properties:
 db.driver=oracle.jdbc.OracleDriver
db.name=alfresco
db.url=jdbc:oracle:thin:@oracle_db_server.my.domain:1521:db_sid
db.username=alfresco
db.password=alfresco

  • modify the file /jboss4.2.1GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/domain/hibernate-cfg.properties
 hibernate.dialect=org.hibernate.dialect.Oracle9Dialect

  • Edit the JBoss bin/run.bat or run.sh file and add to the JAVA_OPTS line: -XX:MaxPermSize=128m -server
  • Execute #run.sh -b SERVER_IP /jboss4.2.1GA/bin/
  • After the server has started, browse to URL http://SERVER_IP:8080/alfresco
  • Login as admin/adminelp
  • To shut down the server: /jboss4.2.1GA/bin/shutdown.sh -s SERVER_IP

Thanks to Maurizio Niro for the precious help and friendship.
---

Back to Server Installation