You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Martin Marinschek <ma...@gmail.com> on 2006/11/13 17:54:07 UTC

Re: ClassCastException AjaxDecodePhaseListener ?

Class loading problem? Have you tried shuffling around your libs?

regards,

Martin

On 11/13/06, Michael Heinen <mh...@recommind.com> wrote:
>
>
>
>
> Hi all,
>
>
>
> I just tried to install a jsf application on another machine and got this
> exception on start:
>
>
>
> java.lang.ClassCastException:
> org.apache.myfaces.custom.ajax.api.AjaxDecodePhaseListener
>
>  at
> com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:711)
>
>  at
> com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:398)
>
>  at
> com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
>
>  at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3692)
>
>  at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4127)
>
>  at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
>
>  at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>
>  at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
>
>  at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>
>  at
> org.apache.catalina.core.StandardService.start(StandardService.java:450)
>
>  at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
>
>  at
> org.apache.catalina.startup.Catalina.start(Catalina.java:536)
>
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>
>  at java.lang.reflect.Method.invoke(Unknown Source)
>
>  at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
>
>  at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>
>
>
> Environment:
>
> Tomcat 5.5.12
>
> Jdk 1.5.0.6
>
> MyFaces core 1.1.3
>
> Tomahawk 1.1.3
>
>
>
> The app runs fine on other machines.
>
>
>
> Has anybody an idea how to solve this ?
>
>
>
> Michael


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Re: ClassCastException AjaxDecodePhaseListener ?

Posted by Grant Smith <wo...@gmail.com>.
You have some com.sun.faces.* stuff in the exception which leads me to
believe you've got some old Sun JSF stuff clashing...

On 11/13/06, Michael Heinen <mh...@recommind.com> wrote:
>
> strange, it starts under Tomcat 5.5.17
>
>
> -----Original Message-----
> From: Martin Marinschek [mailto:martin.marinschek@gmail.com]
> Sent: Montag, 13. November 2006 17:54
> To: MyFaces Discussion
> Subject: Re: ClassCastException AjaxDecodePhaseListener ?
>
> Class loading problem? Have you tried shuffling around your libs?
>
> regards,
>
> Martin
>
> On 11/13/06, Michael Heinen <mh...@recommind.com> wrote:
> >
> >
> >
> >
> > Hi all,
> >
> >
> >
> > I just tried to install a jsf application on another machine and got
> this
> > exception on start:
> >
> >
> >
> > java.lang.ClassCastException:
> > org.apache.myfaces.custom.ajax.api.AjaxDecodePhaseListener
> >
> >  at
> >
> com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:
> 711)
> >
> >  at
> >
> com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:
> 398)
> >
> >  at
> >
> com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListe
> ner.java:328)
> >
> >  at
> >
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.j
> ava:3692)
> >
> >  at
> >
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4127
> )
> >
> >  at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
> >
> >  at
> > org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> >
> >  at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
> >
> >  at
> > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
> >
> >  at
> >
> org.apache.catalina.core.StandardService.start(StandardService.java:450)
> >
> >  at
> > org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
> >
> >  at
> > org.apache.catalina.startup.Catalina.start(Catalina.java:536)
> >
> >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >
> >  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> > Source)
> >
> >  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > Source)
> >
> >  at java.lang.reflect.Method.invoke(Unknown Source)
> >
> >  at
> > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
> >
> >  at
> > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> >
> >
> >
> > Environment:
> >
> > Tomcat 5.5.12
> >
> > Jdk 1.5.0.6
> >
> > MyFaces core 1.1.3
> >
> > Tomahawk 1.1.3
> >
> >
> >
> > The app runs fine on other machines.
> >
> >
> >
> > Has anybody an idea how to solve this ?
> >
> >
> >
> > Michael
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
>
>
>


-- 
Grant Smith

RE: ClassCastException AjaxDecodePhaseListener ?

Posted by Michael Heinen <mh...@recommind.com>.
strange, it starts under Tomcat 5.5.17


-----Original Message-----
From: Martin Marinschek [mailto:martin.marinschek@gmail.com] 
Sent: Montag, 13. November 2006 17:54
To: MyFaces Discussion
Subject: Re: ClassCastException AjaxDecodePhaseListener ?

Class loading problem? Have you tried shuffling around your libs?

regards,

Martin

On 11/13/06, Michael Heinen <mh...@recommind.com> wrote:
>
>
>
>
> Hi all,
>
>
>
> I just tried to install a jsf application on another machine and got
this
> exception on start:
>
>
>
> java.lang.ClassCastException:
> org.apache.myfaces.custom.ajax.api.AjaxDecodePhaseListener
>
>  at
>
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:
711)
>
>  at
>
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:
398)
>
>  at
>
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListe
ner.java:328)
>
>  at
>
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.j
ava:3692)
>
>  at
>
org.apache.catalina.core.StandardContext.start(StandardContext.java:4127
)
>
>  at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
>
>  at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>
>  at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
>
>  at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>
>  at
>
org.apache.catalina.core.StandardService.start(StandardService.java:450)
>
>  at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
>
>  at
> org.apache.catalina.startup.Catalina.start(Catalina.java:536)
>
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>
>  at java.lang.reflect.Method.invoke(Unknown Source)
>
>  at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
>
>  at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>
>
>
> Environment:
>
> Tomcat 5.5.12
>
> Jdk 1.5.0.6
>
> MyFaces core 1.1.3
>
> Tomahawk 1.1.3
>
>
>
> The app runs fine on other machines.
>
>
>
> Has anybody an idea how to solve this ?
>
>
>
> Michael


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces