myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Myfaces Wiki] Update of "From 1.1.1 to 1.1.3 with Jboss" by EivindRoennevik
Date Wed, 09 Aug 2006 08:54:06 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by EivindRoennevik:

New page:
== How to upgrade to 1.1.3 ==

How to upgrade to version 1.1.3 of MyFaces/Tomahawk with JBOSS

1. Update libraries:
	- 	Remove myfaces*-libraries from jboss

		Make sure u have the same versions of all the commons*-libraries in jboss as in WEB-INF/lib
		(If necessary copy/replace)
	- 	Replace myfaces-api.jar with new version (myfaces-api-1.1.3.jar)
	-	Replace myfaces-impl.jar with new version (myfaces-impl-1.1.3.jar)
	-	Replace tomahawk.jar with new version (tomahawk-1.1.3.jar)
2. Update web.xml
	- Add following servlet:
    - Modify filter-class of extension-filter (tomahawk-filter)
    	#change filter-class from 
    - Add filter-mappings if not already present:
3. Update jsp-pages
	- In version 1.1.3 all <h:*> tags needs to be within a <h:form> and </h:form>
	(Becuase dummyForm has been removed from the implementation)
	The easiest thing to do is just to add a <h:form> tag just within the <body>
tag, in this way you make sure that all <h:*> tags               exist within the form
tags. But this can result in that some commandLinks doesn't execute their action. If this
is the case you have to add <h:form> for each element.
4. GOOD TO GO! :)


        - Error
        # Explanation / what to do

	- java.lang.NoClassDefFoundError: org/apache/myfaces/custom/buffer/HtmlBufferResponseWriterWrapper

        # The class exist in the Tomahawk.jar, but has changed package from org/apache/myfaces/custom/buffer/
to   org\apache\myfaces\renderkit\html\util.

	- java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping
missing. JSF pages not covered. Please see:
	 # Check that the filter-mappings are ok. The problem could have something to do with the
include of .jsp pages in other pages, for example <%@include file="header.jsp" %>. So
make sure that the mapping for .jsp pages exist and is correct
	- java.lang.NoSuchMethodError: .DummyFormUtils.isWriteDummyForm...
        # Make sure that all <t, <h, compnents exists within a <h:form> tag

View raw message