Sory everyone for spam.
I had to many jars in libs and didn't noticed that...


Piotr wrote:
> 
> I've upgraded MyFaces to 1.2 version, facelets to 1.1.12 ver and try to
> run my app on the Tomcat 6.0.14.
> During startup I receive following error msg:
> SEVERE: Exception sending context initialized event to listener instance
> of class org.apache.myfaces.webapp.StartupServletContextListener
> java.lang.LinkageError: loader constraint violation: when resolving
> interface method
> "javax.servlet.jsp.JspApplicationContext.addELResolver(Ljavax/el/ELResolver;)V"
> the class loader (instance of
> org/apache/catalina/loader/WebappClassLoader) of the current class,
> org/apache/myfaces/webapp/DefaultFacesInitializer, and the class loader
> (instance of org/apache/catalina/loader/StandardClassLoader) for resolved
> class, javax/servlet/jsp/JspApplicationContext, have different Class
> objects for the type javax/el/ELResolver used in the signature
> 
> Any idea?
> 
> P.
> 
> 
> 
> Francisco Passos wrote:
>> 
>> Will the Myfaces team consider the possibility of providing similar
>> support
>> for non-JSP 2.1 containers using facelets?
>> 
>> That would be very welcome :)
>> 
>> On 7/19/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
>>>
>>> nice!
>>>
>>> that's a cool feature.
>>>
>>> -M
>>>
>>> On 7/19/07, Jesse Alexander (KSFD 121)
>>> <[EMAIL PROTECTED]> wrote:
>>> > No..
>>> > RI just makes a test on the JSP-version and disables certain stuff,
>>> when
>>> > it detects
>>> > a J2EE 1.4 environment (as in TC 5 and WLS 9.2). It then relies on
>>> > facelets
>>> > to provide certain functionality...
>>> >
>>> > Sounds like MyFaces is a bit harsher on the user here than the RI.
>>> >
>>> > OK... JSF 1.2 officially needs JEE 5.
>>> > BUT... 1:0 for RI to allow for the gracefull degradation.
>>> >
>>> > Just set up a 1.2 RI-app in TC 5.x and watch the log when starting up.
>>> > You will notice some entries like
>>> > INFO: JSF1027: [null] The ELResolvers for JSF were not registered with
>>> > the JSP container.
>>> >
>>> > See what I mean?
>>> >
>>> > regards
>>> > Alexander
>>> >
>>> >
>>> > -----Original Message-----
>>> > From: Andrew Robinson [mailto:[EMAIL PROTECTED]
>>> > Sent: Thursday, July 19, 2007 7:24 PM
>>> > To: MyFaces Discussion
>>> > Subject: Re: Does MyFaces 1.2 require JSP 2.1?
>>> >
>>> > I would ask the facelets list then. According to the JSF
>>> > specification, JSP 2.1 and Servlet 2.5 support is required for JSF
>>> > 1.2.
>>> >
>>> > On 7/19/07, mraible <[EMAIL PROTECTED]> wrote:
>>> > >
>>> > > I am using Facelets - that's why I find it strange. I'm able to use
>>> > Sun's RI
>>> > > (the latest version) in place of MyFaces in the same application and
>>> > > everything works fine.
>>> > >
>>> > > Matt
>>> > >
>>> > >
>>> > > Andrew Robinson-5 wrote:
>>> > > >
>>> > > > JSF 1.2 requires JSP 2.1 unless you use facelets.
>>> > > >
>>> > > > I believe you have to run Tomcat 6 as a minimum version (servlet
>>> 2.5
>>> > > > support is required)
>>> > > >
>>> > > > On 7/19/07, mraible <[EMAIL PROTECTED]> wrote:
>>> > > >>
>>> > > >> I should mention: I get the error below on startup when deploying
>>> > on
>>> > > >> Tomcat
>>> > > >> 5.0.25. If I change from MyFaces to Sun's RI and deploy on Tomcat
>>> > 5.0.25
>>> > > >> again, no error.
>>> > > >>
>>> > > >> Matt
>>> > > >>
>>> > > >>
>>> > > >> mraible wrote:
>>> > > >> >
>>> > > >> > From what I can tell, MyFaces 1.2 requires JSP 2.1. I developed
>>> a
>>> > quick
>>> > > >> > prototype using MyFaces 1.2 + Facelets 1.1.13 and I get the
>>> > following
>>> > > >> > error on startup:
>>> > > >> >
>>> > > >> > Exception sending context initialized event to listener
>>> instance
>>> > of
>>> > > >> class
>>> > > >> > org.apache.myfaces.webapp.StartupServletContextListener
>>> > > >> > java.lang.NoSuchMethodError:
>>> > > >> >
>>> > > >>
>>> >
>>> javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/Ser
>>> > vletContext;)Ljavax/servlet/jsp/JspApplicationContext;
>>> > > >> >         at
>>> > > >> >
>>> > > >>
>>> >
>>> org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces(DefaultFaces
>>> > Initializer.java:102)
>>> > > >> >         at
>>> > > >> >
>>> > > >>
>>> >
>>> org.apache.myfaces.webapp.StartupServletContextListener.contextInitializ
>>> > ed(StartupServletContextListener.java:57)
>>> > > >> >
>>> > > >> > If I deploy my app to Tomcat 6, this problem doesn't exist. If
>>> I
>>> > change
>>> > > >> > from MyFaces 1.2 to Sun's RI 1.2_04, this problem doesn't exist
>>> > either.
>>> > > >> > For this reason, it appears to me that MyFaces 1.2 requires JSP
>>> > 2.1.
>>> > > >> >
>>> > > >> > Cheers,
>>> > > >> >
>>> > > >> > Matt
>>> > > >> >
>>> > > >>
>>> > > >> --
>>> > > >> View this message in context:
>>> > > >>
>>> >
>>> http://www.nabble.com/Does-MyFaces-1.2-require-JSP-2.1--tf4112432.html#a
>>> > 11693503
>>> > > >> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>> > > >>
>>> > > >>
>>> > > >
>>> > > >
>>> > >
>>> > > --
>>> > > View this message in context:
>>> >
>>> http://www.nabble.com/Does-MyFaces-1.2-require-JSP-2.1--tf4112432.html#a
>>> > 11693795
>>> > > Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>> > >
>>> > >
>>> >
>>>
>>>
>>> --
>>> Matthias Wessendorf
>>>
>>> further stuff:
>>> blog: http://matthiaswessendorf.wordpress.com/
>>> mail: matzew-at-apache-dot-org
>>>
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Does-MyFaces-1.2-require-JSP-2.1--tf4112432.html#a12756549
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to