You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Glenn Davidson <gb...@yahoo.com> on 2004/10/27 20:37:58 UTC
Any known problems using J2EE with JSF/Tiles?
I have an application that is using a large J2EE middle tier with a JSF/Tiles GUI. When I began to add the J2EE parts I began getting the following error when starting JBoss. Does anyone have any ideas?
Glenn
12:51:25,390 ERROR [Engine] StandardContext[/ProgramAdministrator]Exception send
ing context initialized event to listener instance of class net.sourceforge.myfa
ces.webapp.StartupServletContextListener
java.lang.NoSuchMethodError: javax.faces.FactoryFinder.getFactoryNames()Ljava/ut
il/Set;
at net.sourceforge.myfaces.config.FacesConfigFactoryBase.performMetaInfF
actoryConfig(FacesConfigFactoryBase.java:199)
at net.sourceforge.myfaces.config.FacesConfigFactoryBase.parseFacesConfi
gFiles(FacesConfigFactoryBase.java:110)
at net.sourceforge.myfaces.config.FacesConfigFactoryBase.getFacesConfig(
FacesConfigFactoryBase.java:88)
at net.sourceforge.myfaces.webapp.StartupServletContextListener.initFace
s(StartupServletContextListener.java:78)
at net.sourceforge.myfaces.webapp.StartupServletContextListener.contextI
nitialized(StartupServletContextListener.java:60)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3805)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
321)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1 ...........
---------------------------------
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
Re: Any known problems using J2EE with JSF/Tiles?
Posted by Mark Lowe <me...@gmail.com>.
Some guy getting guru meditaton the other day found he had a sun jsf
jar kicking around..
Sean.
I'm not sure but I was thinking about this problem dispatching with sun's jsf.
I dont know if this would be anti portlets. But in TilesHandler rather than
externalContext.dispatch(tilesId);
could try
facesContext.getViewRoot().setViewId(tilesId);
I haven't got the set up to try it anymore, but i saw how deep you've
been trying to get this working, and so you might have an immediate
way of testing.
Mark
On Wed, 27 Oct 2004 15:11:28 -0400, Sean Schofield
<se...@gmail.com> wrote:
> Glenn,
>
> There are some issues with Tiles (and dynamic server-side includes in
> general) but this does not seem like your problem (judging by the
> stack trace.)
>
> I'm really new to Faces myself so I can't help much beyond suggesting
> that Tiles is not the cause of your problem in this case.
>
> HTH,
> sean
>
> On Wed, 27 Oct 2004 11:37:58 -0700 (PDT), Glenn Davidson
>
>
> <gb...@yahoo.com> wrote:
> >
> >
> >
> >
> >
> > I have an application that is using a large J2EE middle tier with a
> > JSF/Tiles GUI. When I began to add the J2EE parts I began getting the
> > following error when starting JBoss. Does anyone have any ideas?
> >
> > Glenn
> >
> >
> >
> > 12:51:25,390 ERROR [Engine] StandardContext[/ProgramAdministrator]Exception
> > send
> > ing context initialized event to listener instance of class
> > net.sourceforge.myfa
> > ces.webapp.StartupServletContextListener
> > java.lang.NoSuchMethodError:
> > javax.faces.FactoryFinder.getFactoryNames()Ljava/ut
> > il/Set;
> > at
> > net.sourceforge.myfaces.config.FacesConfigFactoryBase.performMetaInfF
> > actoryConfig(FacesConfigFactoryBase.java:199)
> > at
> > net.sourceforge.myfaces.config.FacesConfigFactoryBase.parseFacesConfi
> > gFiles(FacesConfigFactoryBase.java:110)
> > at
> > net.sourceforge.myfaces.config.FacesConfigFactoryBase.getFacesConfig(
> > FacesConfigFactoryBase.java:88)
> > at
> > net.sourceforge.myfaces.webapp.StartupServletContextListener.initFace
> > s(StartupServletContextListener.java:78)
> > at
> > net.sourceforge.myfaces.webapp.StartupServletContextListener.contextI
> > nitialized(StartupServletContextListener.java:60)
> > at
> > org.apache.catalina.core.StandardContext.listenerStart(StandardContex
> > t.java:3805)
> > at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> > 321)
> > at
> > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> > .java:823)
> > at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
> > 7)
> > at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
> >
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > java:39)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > sorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:324)
> > at
> > org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
> > 503)
> > at
> > org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> > ...........
> >
> > ________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Address AutoComplete - You start. We finish.
> >
> >
>
Re: Any known problems using J2EE with JSF/Tiles?
Posted by Sean Schofield <se...@gmail.com>.
Glenn,
There are some issues with Tiles (and dynamic server-side includes in
general) but this does not seem like your problem (judging by the
stack trace.)
I'm really new to Faces myself so I can't help much beyond suggesting
that Tiles is not the cause of your problem in this case.
HTH,
sean
On Wed, 27 Oct 2004 11:37:58 -0700 (PDT), Glenn Davidson
<gb...@yahoo.com> wrote:
>
>
>
>
>
> I have an application that is using a large J2EE middle tier with a
> JSF/Tiles GUI. When I began to add the J2EE parts I began getting the
> following error when starting JBoss. Does anyone have any ideas?
>
> Glenn
>
>
>
> 12:51:25,390 ERROR [Engine] StandardContext[/ProgramAdministrator]Exception
> send
> ing context initialized event to listener instance of class
> net.sourceforge.myfa
> ces.webapp.StartupServletContextListener
> java.lang.NoSuchMethodError:
> javax.faces.FactoryFinder.getFactoryNames()Ljava/ut
> il/Set;
> at
> net.sourceforge.myfaces.config.FacesConfigFactoryBase.performMetaInfF
> actoryConfig(FacesConfigFactoryBase.java:199)
> at
> net.sourceforge.myfaces.config.FacesConfigFactoryBase.parseFacesConfi
> gFiles(FacesConfigFactoryBase.java:110)
> at
> net.sourceforge.myfaces.config.FacesConfigFactoryBase.getFacesConfig(
> FacesConfigFactoryBase.java:88)
> at
> net.sourceforge.myfaces.webapp.StartupServletContextListener.initFace
> s(StartupServletContextListener.java:78)
> at
> net.sourceforge.myfaces.webapp.StartupServletContextListener.contextI
> nitialized(StartupServletContextListener.java:60)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContex
> t.java:3805)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 321)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:823)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
> 7)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
> 503)
> at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> ...........
>
> ________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
>
>