[jboss-user] [JBoss Seam] - Re: Documentation on how to set up Seam together with Trinid

lschaffer do-not-reply at jboss.com
Sun Mar 4 16:12:07 EST 2007


Hello,
I have tried to integrate trinidad with seam 1.2 following the instructions found in http://wiki.apache.org/myfaces/TrinidadSeamAjax4JsfFaceletDetail
First at all I have created a small seam project with seam gen, that is worked.
Then I have replaced web.xml, faces-config.xml downloaded and copied the jars into lib etc...

But I have got this exception (using jboss 4.0.5)

21:56:31,421 INFO  [FacesConfigurator] Reading config jar:file:/C:/jboss45/server/default/./tmp/depl
oy/tmp16804msservice3.ear-contents/msservice3-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-c
onfig.xml
21:56:31,421 INFO  [FacesConfigurator] Reading config jar:file:/C:/jboss45/server/default/./tmp/depl
oy/tmp16804msservice3.ear-contents/msservice3-exp.war/WEB-INF/lib/trinidad-impl-1.0.1-incubating-SNA
PSHOT.jar!/META-INF/faces-config.xml
21:56:32,718 INFO  [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
21:56:33,015 ERROR [StartupServletContextListener] Error initializing ServletContext
java.lang.IllegalArgumentException: Class org.jboss.seam.jsf.SeamApplicationFactory is no javax.face
s.application.ApplicationFactory
        at javax.faces.FactoryFinder.newFactoryInstance(FactoryFinder.java:132)
        at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:107)
        at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:4
39)
        at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:141)
        at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextLi
stener.java:69)
        at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServlet
ContextListener.java:52)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024936#4024936

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024936



More information about the jboss-user mailing list