Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
InstallationJBoss
This guide assumes you are knowledgeable enough with JBoss and MySQL to install them both and create a empty database schema.
mkdir -p /opt/alfrescoJb310My
unzip -d /opt/alfrescoJb310My /home/madon/alfresco_soft/jboss-4.2.3.GA.zip
mkdir -p /opt/alfrescoJb310My/tmpalfresco
tar -C /opt/alfrescoJb310My/tmpalfresco -xzvf /home/madon/alfresco_soft/alfresco-enterprise-war-3.1.tar.gz
mkdir /opt/alfrescoJb310My/jboss-4.2.3.GA/server/default/conf/alfresco
mv /opt/alfrescoJb310My/tmpalfresco/extensions/extension /opt/alfrescoJb310My/jboss-4.2.3.GA/server/default/conf/alfresco
mv /opt/alfrescoJb310My/tmpalfresco/alfresco.war /opt/alfrescoJb310My/jboss-4.2.3.GA/server/default/deploy
mv /opt/alfrescoJb310My/tmpalfresco/share.war /opt/alfrescoJb310My/jboss-4.2.3.GA/server/default/deploy
For more information about the alfresco configuration files location, you can look at Location of Extension Configuration Files
This assumes you use a mysql database. Similar steps for other databases.
<local-tx-datasource>
<jndi-name>alfresco-datasource</jndi-name>
<connection-url>jdbc:mysql://localhost:3306/alfresco</connection-url>
<driver-class>org.gjt.mm.mysql.Driver</driver-class>
<user-name>alfresco</user-name>
<password>alfresco</password>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
<metadata>
<type-mapping>mySQL</type-mapping>
</metadata>
</local-tx-datasource>
<root>
<priority value='INFO' />
<appender-ref ref='CONSOLE'/>
<appender-ref ref='FILE'/>
</root>
<category name='org.jboss.logging.Log4jService$URLWatchTimerTask'>
<priority value='INFO'/>
</category>
<category name='org.jboss.system.server.Server'>
<priority value='INFO'/>
</category>
<category name='org.jboss'>
<priority value='WARN'/>
</category>
<category name='net'>
<priority value='WARN'/>
</category>
<category name='org.alfresco'>
<priority value='WARN'/>
</category>
<category name='org.alfresco.repo.policy'>
<priority value='WARN'/>
</category>
<category name='org.springframework'>
<priority value='WARN'/>
</category>
<category name='org.hibernate'>
<priority value='WARN'/>
</category>
<category name='org.hibernate.cache.ReadWriteCache'>
<priority value='ERROR'/>
</category>
<category name='org.hibernate.cache.EhCacheProvider'>
<priority value='ERROR'/>
</category>
<category name='org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog'>
<priority value='ERROR'/>
</category>
<category name='org.apache.myfaces'>
<priority value='ERROR'/>
</category>
<category name='org.jbpm.jpdl.xml.JpdlXmlReader'>
<priority value='ERROR'/>
</category>
and change the line:
hibernate.bytecode.provider=javassist
to:
hibernate.bytecode.provider=cglib
Note that on JBoss5 and above, the value can be found in \jboss\server\default\deployers\ejb3.deployer\META-INF\jpa-deployers-jboss-beans.xml
<entry>
<key>hibernate.bytecode.provider</key>
<value>cglib</value>
</entry>
-Xms128m -Xmx512m -XX:MaxPermSize=128m
-Dcom.sun.management.jmxremote -Dalfresco.home=.
-Djavax.xml.soap.MessageFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl
<bean name='WarClassLoaderDeployer' class='org.jboss.web.tomcat.service.deployers.WarClassLoaderDeployer'>
<property name='relativeOrder'>-1</property>
<property name='filteredPackages'>javax.activation,javax.servlet,javax.servlet.jsp,javax.servlet.jsp.jstl,javax.servlet.jsp.jstl.core,javax.servlet.jsp.jstl.fmt,javax.servlet.jsp.jstl.sql,javax.servlet.jsp.jstl.tlv,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.messaging,javax.xml.namespace,javax.xml.parsers,javax.xml.rpc,javax.xml.rpc.encoding,javax.xml.rpc.handler,javax.xml.rpc.handler.soap,javax.xml.rpc.holders,javax.xml.rpc.server,javax.xml.rpc.soap,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.apache.commons.logging,org.apache.commons.logging.impl,org.apache.xerces,org.apache.xerces.dom,org.apache.xerces.dom.events,org.apache.xerces.dom3,org.apache.xerces.dom3.as,org.apache.xerces.impl,org.apache.xerces.impl.dtd,org.apache.xerces.impl.dtd.models,org.apache.xerces.impl.dv,org.apache.xerces.impl.dv.dtd,org.apache.xerces.impl.dv.util,org.apache.xerces.impl.dv.xs,org.apache.xerces.impl.io,org.apache.xerces.impl.msg,org.apache.xerces.impl.validation,org.apache.xerces.impl.xpath,org.apache.xerces.impl.xpath.regex,org.apache.xerces.impl.xs,org.apache.xerces.impl.xs.identity,org.apache.xerces.impl.xs.models,org.apache.xerces.impl.xs.opti,org.apache.xerces.impl.xs.traversers,org.apache.xerces.impl.xs.util,org.apache.xerces.jaxp,org.apache.xerces.jaxp.datatype,org.apache.xerces.jaxp.validation,org.apache.xerces.parsers,org.apache.xerces.util,org.apache.xerces.xinclude,org.apache.xerces.xni,org.apache.xerces.xni.grammars,org.apache.xerces.xni.parser,org.apache.xerces.xpointer,org.apache.xerces.xs,org.apache.xerces.xs.datatypes,org.apache.xml,org.apache.xml.resolver,org.apache.xml.resolver.apps,org.apache.xml.resolver.etc,org.apache.xml.resolver.etc.catalog.dtd,org.apache.xml.resolver.etc.catalog.rng,org.apache.xml.resolver.etc.catalog.xsd,org.apache.xml.resolver.etc.xcatalog.dtd,org.apache.xml.resolver.helpers,org.apache.xml.resolver.readers,org.apache.xml.resolver.tools,org.apache.xml.security,org.apache.xml.security.algorithms,org.apache.xml.security.algorithms.implementations,org.apache.xml.security.c14n,org.apache.xml.security.c14n.helper,org.apache.xml.security.c14n.implementations,org.apache.xml.security.encryption,org.apache.xml.security.exceptions,org.apache.xml.security.keys,org.apache.xml.security.keys.content,org.apache.xml.security.keys.content.keyvalues,org.apache.xml.security.keys.content.x509,org.apache.xml.security.keys.keyresolver,org.apache.xml.security.keys.keyresolver.implementations,org.apache.xml.security.keys.storage,org.apache.xml.security.keys.storage.implementations,org.apache.xml.security.resource,org.apache.xml.security.resource.schema,org.apache.xml.security.signature,org.apache.xml.security.transforms,org.apache.xml.security.transforms.implementations,org.apache.xml.security.transforms.params,org.apache.xml.security.utils,org.apache.xml.security.utils.resolver,org.apache.xml.security.utils.resolver.implementations,org.apache.xml.serialize,org.apache.xmlcommons,org.xml,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers,org.w3c.css,org.w3c.css.sac,org.w3c.css.sac.helpers,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.smil,org.w3c.dom.stylesheets,org.w3c.dom.svg,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath</property>
</bean>
run.sh -b 0.0.0.0
[STDOUT] 16:59:43,814 ERROR [shared_impl.config.MyfacesConfig] Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations.
Back to Server Installation
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.