cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying Alfresco 2.0 in JBoss 4.2.0GA

agroiss
Champ in-the-making
Champ in-the-making
Hi,
im trying to deploy Alfresco 2.0 in JBoss 4.2.0 GA and im getting the following exception (with JBoss 4.05 all works fine). 

15:48:25,609 ERROR [BaseModelMBean] Exception invoking method addChild
org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.log
ging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
        at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:382)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4232)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)

ps:
Because Jboss 4.2.0GA using the new JSF 1.2, i added the following to the web.xml in the alfresco war-file.

<context-param>
<param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
<param-value>true</param-value>
</context-param>

Any help would be appreciated.
1 REPLY 1

agroiss
Champ in-the-making
Champ in-the-making
Ok,
i found the solution:

The following instructions has to be in the first position:
(I placed it anywhere)

<context-param>
<param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
<param-value>true</param-value>
</context-param>