JSF application error running on WebSphere Application Server v7.0

Technote (troubleshooting)


WebSphere Application Server v7.0 is a JEE 5 container which is defined to contain a JSF 1.2 framework implementation. An error can occur if this implementation is attempted to be overridden by an implementation that is part of the web application.


If a web application contains a JSF implementation, a runtime error similar to the following may appear:

RESULT: HTTP 500 error in internal web browser and Console view shows
[8/21/08 11:40:35:390 PDT] 0000003a servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet /index.jsp in application TestEAR. Exception created : com.ibm.websphere.servlet.error.ServletErrorReport: com.ibm.ws.jsp.JspCoreException: Unable to convert string 'form' to class javax.el.ValueExpression for attribute styleClass: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager

Resolving the problem

If you run into this condition and wish for your application to run on WebSphere Application Server v7.0 then you should follow these steps:

1) Remove the classpath for jsf-api.jar and jsf-impl.jar via Java Build Path UI accessible from the Project Properties.
2) Delete the files jsf-api.jar and jsf-impl.jar from WEB-INF/lib folder.
3) Clean and rebuild the project
4) Remove the EAR containing the project from the Servers view.
5) Run the JSP page on server again.

If these steps do not seem to apply or resolve the issue then contact Support.

Note: WebSphere Application Server 6.x also contains a JSF runtime so there may be no need for a runtime to be part of the web application.

Rate this page:

(0 users)Average rating

Document information

More support for:

Rational Application Developer for WebSphere Software
Web Development

Software version:


Operating system(s):

Linux, Windows

Reference #:


Modified date:


Translate my page

Machine Translation

Content navigation