Deploying Labs3b on JBoss4.2.1GA Linux and Oracle 10g

Showing results for 
Search instead for 
Did you mean: 

Deploying Labs3b on JBoss4.2.1GA Linux and Oracle 10g

0 0 964

Obsolete Pages{{Obsolete}}

The official documentation is at:

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/
 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/

  • modify the file /jboss4.2.1GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/domain/

  • Edit the JBoss bin/run.bat or file and add to the JAVA_OPTS line: -XX:MaxPermSize=128m -server
  • Execute -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/ -s SERVER_IP

Thanks to Maurizio Niro for the precious help and friendship.

Back to Server Installation