cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Community War 2.1.0 + JDK 1.5.0_11 + JBoss 4.2.1GA

lsarrat
Champ in-the-making
Champ in-the-making
Hello,

I'm currently trying to run alfresco on a CentOs 5.0 OS.
I use :

Sun JDK 1.5.10_11
JBoss 4.2.1 GA
Alfresco Community War 2.1.0

When I start JBoss, I get the following error :

2007-09-20 19:48:48,823 WARN  [org.jboss.web.jsf.integration.config.JBossJSFConfigureListener] MyFaces JSF implementation found!  This version of JBoss AS ships with the java.net implementation of JSF.  There are known issues when mixing JSF implementations.  This warning does not apply to MyFaces component libraries such as Tomahawk.  However, myfaces-impl.jar and myfaces-api.jar should not be used without disabling the built-in JSF implementation.  See the JBoss wiki for more details.
2007-09-20 19:48:50,790 FATAL [javax.enterprise.resource.webcontainer.jsf] null MessageFactory
java.lang.InstantiationException: org.alfresco.web.app.AlfrescoNavigationHandler
        at java.lang.Class.newInstance0(Class.java:335)
        at java.lang.Class.newInstance(Class.java:303)
        at com.sun.faces.util.Util.createInstance(Util.java:471)
        at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:562)
        at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:487)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
        at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
        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)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
        at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
        at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)


I've modified the web.xml the way it should be following the installation doc…

Any Hint ?

Rgds,

Laurent
1 REPLY 1

kevinr
Star Contributor
Star Contributor
Looks like jboss hasn't picked up the init parameter in the web.xml - assuming you have specified it correctly (i'm sure you've checked Smiley Wink ) i've no idea why it wouldn't work. Might be worth checking the JBoss forums to see if there's some other reason why it would not be disabling the JSF1.2 libraries…

Thanks,

Kevin