Ahmed S. Tahir

Greenhorn
+ Follow
since Mar 09, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Ahmed S. Tahir

First of all, let me correct myself: the application doesn't crash until version 6.0.18 but when it was hosted in 6.0.20, it crashes.

This is what I got when a key named 'geosetup_GeoAreaType' is missing in the .properties file:

EVERE: Servlet.service() for servlet faces threw exception
org.apache.jasper.el.JspPropertyNotFoundException: /pages/geo/geosetup.jsp(71,10) '#{mlBundle.geosetup_GeoAreaType}' Property 'geosetup_GeoAreaType' not found on type java.util.PropertyResourceBundle
at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:104)
at org.richfaces.component.html.HtmlTab.getLabel(HtmlTab.java:468)
at org.richfaces.renderkit.TabHeaderRendererBase.encodeTabLabel(TabHeaderRendererBase.java:105)
at org.richfaces.renderkit.html.TabHeaderRenderer.doEncodeEnd(TabHeaderRenderer.java:120)
at org.richfaces.renderkit.html.TabHeaderRenderer.doEncodeEnd(TabHeaderRenderer.java:195)
at org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:134)
at org.richfaces.renderkit.TabRendererBase.encodeTab(TabRendererBase.java:74)
at org.richfaces.component.UITab.encodeTab(UITab.java:66)
at org.richfaces.renderkit.TabPanelRendererBase.encodeTabs(TabPanelRendererBase.java:359)
at org.richfaces.renderkit.html.TabPanelRenderer.doEncodeBegin(TabPanelRenderer.java:248)
at org.richfaces.renderkit.html.TabPanelRenderer.doEncodeBegin(TabPanelRenderer.java:200)
at org.ajax4jsf.renderkit.RendererBase.encodeBegin(RendererBase.java:100)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:928)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.netsol.controller.jsf.common.filter.HttpRequestFilter.doFilter(HttpRequestFilter.java:43)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source)


Any help in this regard will be highly appreciated.

Thanks.
14 years ago
Hello all,

First of all let me tell you that I'm new to Java. Now, I have been asked to get a resolution for a problem that we are facing. We are developing an application using JSF 1.2 with RichFaces 3.3.1 (I think!), which will be multilingual. We have different ..properties file for different languages. When we host our application on Tomcat 6.0.14 or lower, it doesn't crash if a key doesn't exist in the respective .properties file. However, it crashes in 6.0.15 or higher.

Let me elaborate with an example. Suppose there is a key named the_required_key. Ideally, this key must be present (along with its value) in every .properties file for every language but if the key is missing, the following behavior is observed:

6.0.14 OR LOWER
The label is displayed as ???the_required_key???

6.0.15 OR HIGHER
The application crashes.

Now what I want is that the application should not crash. Instead it should display the key as ???the_required_key??? In other words, I want to get the same functionality from Tomcat 6.0.15 (or higher) that I was getting from 6.0.14 (and lower).

Any ideas?
14 years ago