ops4j / org.ops4j.pax.web

OSGi R7 Http Service, Whiteboard and Web Applications (OSGi CMPN Release chapters 102, 140 and 128) implementation using Jetty 9, Tomcat 9 or Undertow 2.
https://ops4j1.jira.com/wiki/display/paxweb/Pax+Web
Other
146 stars 184 forks source link

JSF: Bean Property resolving doesn't work. [PAXWEB-255] #590

Closed ops4j-issues closed 13 years ago

ops4j-issues commented 13 years ago

Achim Nierbeck created PAXWEB-255


Affects: 1.0.1 Fixed in: 1.0.2, 1.1.0 Votes: 0, Watches: 0

ops4j-issues commented 13 years ago

Achim Nierbeck commented

Right now there is a race condition for the initialisation of the servlets. The myfaces servlets need to be configured before being started.

ops4j-issues commented 13 years ago

Achim Nierbeck commented

This is more a classloading issue than a race condition.
The current code in revision: https://github.com/ops4j/org.ops4j.pax.web/commit/e029445dc1004a5e38d569b44e46a94a49df05eb
does work with JSF, besides the internal tags do not get resolved.

ops4j-issues commented 13 years ago

Achim Nierbeck commented

Revision: https://github.com/ops4j/org.ops4j.pax.web/commit/1e1e302bcfc6d9c89f22ef0824f9e8e8d12549e9
fixes this for 1.1.x

Only "downside" for the using wars it is required to import com.sun.el which are exported by the jsp bundle.

ops4j-issues commented 13 years ago

Achim Nierbeck commented

Revision: https://github.com/ops4j/org.ops4j.pax.web/commit/2403b98f0aa59956b546ee835715a90058864498
fixes this on 1.0.x branch.

ops4j-issues commented 13 years ago

Achim Nierbeck commented

One more thing is missing right now, the compiler could be included instead of being dependent on because it's needed for JSPs any way.

ops4j-issues commented 13 years ago

Achim Nierbeck commented

Fix for 1.0.x: https://github.com/ops4j/org.ops4j.pax.web/commit/defc5b8ec9f3dd4f32990d357b3123fee4031be4
Fix for 1.1.x: https://github.com/ops4j/org.ops4j.pax.web/commit/2fc12b7be22edbc19647f9b9389dcbb27a8ad4ce