Where answers come from

Some pages can ask a language model questions. Set this up once; your choice is remembered in this browser for the whole site.

Model source
Use another source instead
You sign in on OpenRouter; it gives this page a key for your account.

JBoss Portal 2.6.0 woe and the fix

Originally published .

I recently posted a problem in JBoss Forum and got an answer.

The problem was:


16:38:07,433 ERROR [StartupServletContextListener] Error initializing ServletContext

java.lang.IllegalArgumentException: Class org.jboss.portal.faces.portlet.JSFMetaBridgeViewHandlerImp

l is no javax.faces.application.ViewHandler

Which is consistent with deployment isolation issues. It turns out that you can’t isolate the right classes between a 2.6.0 install of JBoss Portal and certain legacy JSF servlets. The class cast problem will follow you around.

The fix is to head on over to:


http://anonsvn.jboss.org/repos/portal/trunk

checking that out and running build/build.sh deploy on that… (make sure your JBOSS_HOME is set and no old versions of jboss-portal.sar are lying around). From the trunk directory…


 $ export JBOSS_HOME=/usr/local/jboss

 $ ./build/build.sh

After that life in JSF land is good. Very vexing problem if you are doing anything in JSF not specific to JBoss Portal

Explore the map · Browse by topic and date