-
1. Re: Property Editor not registered with the PropertyEditorManager
nickarls Feb 28, 2013 6:56 AM (in response to shaikhdahood)Hard to say, show a jar -tf of the war and list the libs (make sure you don't include extra jsf/el api/impls)
-
2. Re: Property Editor not registered with the PropertyEditorManager
shaikhdahood Mar 1, 2013 1:55 AM (in response to nickarls)Hi Nicklas, Below is the complete error log;
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407) [jbossweb-7.0.10.Final.jar:] at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:546) [jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT] at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:364) [jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT] at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:154) [jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT] at com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:194) [jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT] at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131) [jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT] at com.mycompany.MYAPP.jsf.misc.MYAPPViewHandler.renderView(MYAPPViewHandler.java:161) [classes:] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) [jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.0.0.Final.jar:2.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.10.Final.jar:] at com.mycompany.MYAPP.security.SecurityFilter.doFilter(SecurityFilter.java:163) [classes:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.10.Final.jar:] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.10.Final.jar:] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.10.Final.jar:] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.10.Final.jar:] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.10.Final.jar:] at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_14] 06:33:03,972 INFO [stdout] (http-localhost-127.0.0.1-8080-1) Error Message = Unable to convert string "#{{myController.bannerKeys}" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager
I am trying to depploy an EAR file that has a web module which already has jsf-Impl.jar and jsf-api.jar also in my build path i added the Jboss runtime library for the application,
is this causing the issue if you see the log, that shows the jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT ?
-
3. Re: Property Editor not registered with the PropertyEditorManager
nickarls Mar 1, 2013 2:00 AM (in response to shaikhdahood)You should avoid bundling any jars with your application that can already be found on the AS (e.g. JSF libs)
-
4. Re: Property Editor not registered with the PropertyEditorManager
shaikhdahood Mar 1, 2013 4:29 AM (in response to nickarls)Can you please tell me the exact reason for the error?
Is it due to the two different versions of JSF jars in my application that are causing the issue ?
Sorry , but i am not getting the issue resolved...
-
5. Re: Property Editor not registered with the PropertyEditorManager
nickarls Mar 1, 2013 5:50 AM (in response to shaikhdahood)No I can't.
But if you show what jar files you include in your application then perhaps I (or someone else) can have a better chance at guessing the cause.
-
6. Re: Property Editor not registered with the PropertyEditorManager
shaikhdahood Mar 1, 2013 6:13 AM (in response to nickarls)ok
myappweb has following jars in it..
lib-->
commons-beanutils.jar
commons-collections.jar
commons-digester.jar
commons-logging.jar
jsf-api.jar
jsf-impl.jar
jstl_el.jar
jstl.jar
standard.jar
and added the server runtime library of Jboss AS 7.
-
7. Re: Property Editor not registered with the PropertyEditorManager
nickarls Mar 1, 2013 6:21 AM (in response to shaikhdahood)Try taking out all j*.jar files from the lib
What is the "server runtime library"? In the IDE?
-
8. Re: Property Editor not registered with the PropertyEditorManager
shaikhdahood Mar 1, 2013 6:32 AM (in response to nickarls)removing the j*.jar files from the lib application error out the Classes as it uses those j*.jar files.
and yes server runtime library is in the IDE.
-
9. Re: Property Editor not registered with the PropertyEditorManager
nickarls Mar 1, 2013 6:40 AM (in response to shaikhdahood)You can have them as compile-time dependencies but surely you don't need in them in the final WAR, right?
-
10. Re: Property Editor not registered with the PropertyEditorManager
shaikhdahood Mar 1, 2013 7:35 AM (in response to nickarls)Now what i did is removed the "server runtime library" from my build path of the application. Now I guess its fine with having the j*.jar files in lib folder right?
But even doing that i face the same issue...:-(
-
11. Re: Property Editor not registered with the PropertyEditorManager
nickarls Mar 1, 2013 7:38 AM (in response to shaikhdahood)No. Take. Them. Out
The only thing that counts from the point of the AS is what is left in the WAR lib when it is deployed.
-
12. Re: Property Editor not registered with the PropertyEditorManager
shaikhdahood Mar 1, 2013 7:55 AM (in response to nickarls)Ok Nick I now removed the jars from my lib folder of the web application, and the application errors out for the Classes used from the j*.jars, where should i put the jars and make them as compile time dependencies?
-
13. Re: Property Editor not registered with the PropertyEditorManager
nickarls Mar 1, 2013 8:00 AM (in response to shaikhdahood)Depends on how you are building the war. Maven? Eclipse?
-
14. Re: Property Editor not registered with the PropertyEditorManager
shaikhdahood Mar 1, 2013 8:00 AM (in response to nickarls)Eclipse juno