Tomcat 6.0.26, JSF problems

2010-04-13 Thread Peter Kovgan
I have simple and standard MyFaces app. deployed, that worked successfully on
6.0.18 tomcat on the same OS(Ubuntu kernel 2.6.31-20-generic, i686).

After deploy on 6.0.26 it stops to work correctly.


1)
message bundles not recognized,

code like that not working:

h:commandButton value=#{message.abc}/

it does not see the message, treats all the #{message.abc} like a simple

string.


2)
In select boxes it does not recognize value listeners. treats them like simple
strings.

It seems TomCat became unaware of JSF presence in the app.

Deployment details:

All jsf libs are under MY_WEB_APP/WEB_INF/lib, in tomcat libs I have nothing of

mine.

myfaces version used is 1.2.5


Re: Tomcat 6.0.26, JSF problems

2010-04-13 Thread Konstantin Kolinko
2010/4/13 Peter Kovgan peter.kov...@gmail.com:
 I have simple and standard MyFaces app. deployed, that worked successfully on
 6.0.18 tomcat on the same OS(Ubuntu kernel 2.6.31-20-generic, i686).

 After deploy on 6.0.26 it stops to work correctly.


For the #{} expressions to be recognized in Tomcat 6, your web
application must adhere to the Servlet 2.5 specification. Make sure,
that version and xsi:schemaLocation attributes of web-app element in
your WEB-INF/web.xml file have the correct values.  You can look into
conf/web.xml or into the examples application for an example.

In the versions 6.0.24 and earlier the deferred expressions were
processed regardless of the specification version specified in
web.xml. That was changed/fixed in 6.0.26.


Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org