Can not get Stripes to read properties files

View: New views
8 Messages — Rating Filter:   Alert me  

Can not get Stripes to read properties files

by Simon Keen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have been using stripes for about 8 months now.  So far it has been great and I know I am just doing something stupid, but I get a MissingResourceException whenever it tries to resolve localised field labels.

I have tried using StripesResources.properties and my own properties files.  It is good in as much as it spots the base name that it should be using.  

I have written my own locale picker that looks like it is working fine but ot be sure I have put all the variants of the locale I am using in, i.e. basename.properties, basename_en.properties,...

Stripes is running inside a vanilla Tomcat installation and I have even added the projects WEB-INF/classes folder to the classpath env variable explicitly (I know that is pointless).  I have also removed the classpath variable completely.

Any suggestions as to what stupid thinkg I might have done?

Re: Can not get Stripes to read properties files

by Freddy D. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Simon,

> I have been using stripes for about 8 months now.  So far it has been
> great
> and I know I am just doing something stupid, but I get a
> MissingResourceException whenever it tries to resolve localised field
> labels.

It's hard to tell what's wrong without more info, but at first you can
narrow down the problem to either A) StripesResources.properties is
not found at all, or B) it is found but the entry for your field label
is not found.

One quick way that comes to mind is to simply create a form with a
validated field, and submit the form with an invalid value. If the
error message is displayed correctly, StripesResources.properties is
indeed found and the next step is to tell us how you are mapping
your field label to an entry in your .properties file.

If the bundle is not found at all, have a look in your deployed
Tomcat directory, e.g. $CATALINA_HOME/webapps/yourapp/WEB-INF/classes
and make sure your .properties files end up there.

If everything looks fine and still no luck, try removing your custom
locale picker, maybe the problem stems from there. Also try removing
your customized bundle names and using the default,
StripesResources.properties.

Let us know what you find.

Hope that helps.

Cheers,
Freddy
http://www.stripesbook.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
Stripes-users@...
https://lists.sourceforge.net/lists/listinfo/stripes-users

Re: Can not get Stripes to read properties files

by Simon Keen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks. I will try your suggestions.

I have already tried using the default properties file an dthat didnt do anything.  I have checked my locale picker is returning a valid locale but I will turn it off and see what happens, I susepct nothing.  The error appears to be coming from java.util.ResourceBundle.getBundle (see stack trace below).  Which suggests to me that it can't find the properties file.  Also as you can see it spots the correct properties file to use and I have made sure there is a default one there with no locale to fail safe.

Elsewhere in my code I load other properties files that are in the same directory and that works fine.  Also I have checked the files are in WEB-INF/classes and they are.

java.util.MissingResourceException: Could not find the form field resource bundle needed by Stripes. This almost certainly means that a properties file called 'fieldlabels.properties' could not be found in the classpath. This properties file is needed to lookup form field names. Please ensure the file exists in WEB-INF/classes or elsewhere in your classpath.
        at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
        at java.util.ResourceBundle.getBundleImpl(Unknown Source)
        at java.util.ResourceBundle.getBundle(Unknown Source)
        at net.sourceforge.stripes.localization.DefaultLocalizationBundleFactory.getFormFieldBundle(DefaultLocalizationBundleFactory.java:113)
        at net.sourceforge.stripes.localization.LocalizationUtility.getLocalizedFieldName(LocalizationUtility.java:66)
        at net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:269)
        at net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:238)
        at net.sourceforge.stripes.tag.InputButtonSupportTag.doEndInputTag(InputButtonSupportTag.java:75)
        at net.sourceforge.stripes.tag.InputTagSupport.doEndTag(InputTagSupport.java:442)
        at org.apache.jsp.jsp.enduser.Login_jsp._jspx_meth_s_005fsubmit_005f0(Login_jsp.java:597)
        at org.apache.jsp.jsp.enduser.Login_jsp._jspx_meth_s_005fform_005f0(Login_jsp.java:468)
        at org.apache.jsp.jsp.enduser.Login_jsp._jspx_meth_s_005flayout_002dcomponent_005f3(Login_jsp.java:393)
        at org.apache.jsp.jsp.enduser.Login_jsp._jspx_meth_s_005flayout_002drender_005f0(Login_jsp.java:188)
        at org.apache.jsp.jsp.enduser.Login_jsp._jspService(Login_jsp.java:106)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
        at net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:110)
        at net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:483)
        at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
        at net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
        at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
        at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
        at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
        at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
        at net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:477)
        at net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
        at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
        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)


Re: Can not get Stripes to read properties files

by Simon Keen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I built a very simple test as you suggested.  Just one action bean and I copied it to the classes directory so it wasn't in a jar.  It found the bean but could not resolve the StripesResources.properties file for field labels or to give me the validation error.

Below is the log that I get out from Stripes.  Also attached is the ActionBean and the form although these are reall simple.

INFO Thread-1 net.sourceforge.stripes.util.ResolverUtil - Scanning for classes in [/C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/etrs/WEB-INF/classes/com/allysystems/etrs/ui/] matching criteria: is assignable to ActionBean
INFO Thread-1 net.sourceforge.stripes.util.ResolverUtil - Scanning for classes in [/C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/etrs/WEB-INF/classes/com/allysystems/etrs/ui/] matching criteria: is assignable to ActionBean
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring path /Test.action to com.allysystems.etrs.ui.enduser.action.TestActionBean @ /Test.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring path /Test.action to com.allysystems.etrs.ui.enduser.action.TestActionBean @ /Test.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring path /Test.action/ to com.allysystems.etrs.ui.enduser.action.TestActionBean @ /Test.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring path /Test.action/ to com.allysystems.etrs.ui.enduser.action.TestActionBean @ /Test.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring prefix /Test.action/* to com.allysystems.etrs.ui.enduser.action.TestActionBean @ /Test.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring prefix /Test.action/* to com.allysystems.etrs.ui.enduser.action.TestActionBean @ /Test.action
DEBUG Thread-1 net.sourceforge.stripes.controller.AnnotatedClassActionResolver - Bound: TestActionBean.test() ==> /Test.action?test
DEBUG Thread-1 net.sourceforge.stripes.controller.AnnotatedClassActionResolver - Bound: TestActionBean.test() ==> /Test.action?test
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring path /controller/DefaultView.action to net.sourceforge.stripes.controller.DefaultViewActionBean @ /controller/DefaultView.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring path /controller/DefaultView.action to net.sourceforge.stripes.controller.DefaultViewActionBean @ /controller/DefaultView.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring path /controller/DefaultView.action/ to net.sourceforge.stripes.controller.DefaultViewActionBean @ /controller/DefaultView.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring path /controller/DefaultView.action/ to net.sourceforge.stripes.controller.DefaultViewActionBean @ /controller/DefaultView.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring prefix /controller/DefaultView.action/* to net.sourceforge.stripes.controller.DefaultViewActionBean @ /controller/DefaultView.action
DEBUG Thread-1 net.sourceforge.stripes.controller.UrlBindingFactory - Wiring prefix /controller/DefaultView.action/* to net.sourceforge.stripes.controller.DefaultViewActionBean @ /controller/DefaultView.action
DEBUG Thread-1 net.sourceforge.stripes.controller.AnnotatedClassActionResolver - Bound: DefaultViewActionBean.view() ==> /controller/DefaultView.action?view
DEBUG Thread-1 net.sourceforge.stripes.controller.AnnotatedClassActionResolver - Bound: DefaultViewActionBean.view() ==> /controller/DefaultView.action?view
INFO Thread-1 net.sourceforge.stripes.localization.DefaultLocalePicker - No locale list specified, defaulting to single locale: en_GB
INFO Thread-1 net.sourceforge.stripes.localization.DefaultLocalePicker - No locale list specified, defaulting to single locale: en_GB
DEBUG Thread-1 net.sourceforge.stripes.format.DefaultFormatterFactory - Clearing formatter cache
DEBUG Thread-1 net.sourceforge.stripes.format.DefaultFormatterFactory - Clearing formatter cache
DEBUG Thread-1 net.sourceforge.stripes.format.DefaultFormatterFactory - Clearing formatter cache
DEBUG Thread-1 net.sourceforge.stripes.format.DefaultFormatterFactory - Clearing formatter cache
DEBUG Thread-1 net.sourceforge.stripes.format.DefaultFormatterFactory - Clearing formatter cache
DEBUG Thread-1 net.sourceforge.stripes.format.DefaultFormatterFactory - Clearing formatter cache
INFO Thread-1 net.sourceforge.stripes.config.BootstrapPropertyResolver - Class implementing/extending PopulationStrategy found in web.xml: net.sourceforge.stripes.tag.BeanFirstPopulationStrategy
INFO Thread-1 net.sourceforge.stripes.config.BootstrapPropertyResolver - Class implementing/extending PopulationStrategy found in web.xml: net.sourceforge.stripes.tag.BeanFirstPopulationStrategy
DEBUG Thread-1 net.sourceforge.stripes.controller.multipart.DefaultMultipartWrapperFactory - DefaultMultipartWrapperFactory not using net.sourceforge.stripes.controller.multipart.CommonsMultipartWrapper because it failed to load. This likely means the supporting file upload library is not present on the classpath.
DEBUG Thread-1 net.sourceforge.stripes.controller.multipart.DefaultMultipartWrapperFactory - DefaultMultipartWrapperFactory not using net.sourceforge.stripes.controller.multipart.CommonsMultipartWrapper because it failed to load. This likely means the supporting file upload library is not present on the classpath.
INFO Thread-1 net.sourceforge.stripes.controller.multipart.DefaultMultipartWrapperFactory - Using net.sourceforge.stripes.controller.multipart.CosMultipartWrapper as MultipartWrapper implementation.
INFO Thread-1 net.sourceforge.stripes.controller.multipart.DefaultMultipartWrapperFactory - Using net.sourceforge.stripes.controller.multipart.CosMultipartWrapper as MultipartWrapper implementation.
DEBUG Thread-1 net.sourceforge.stripes.config.DefaultConfiguration - Configuring interceptor 'BeforeAfterMethodInterceptor', for lifecycle stages: [RequestInit, ActionBeanResolution, HandlerResolution, BindingAndValidation, CustomValidation, EventHandling, ResolutionExecution, RequestComplete]
DEBUG Thread-1 net.sourceforge.stripes.config.DefaultConfiguration - Configuring interceptor 'BeforeAfterMethodInterceptor', for lifecycle stages: [RequestInit, ActionBeanResolution, HandlerResolution, BindingAndValidation, CustomValidation, EventHandling, ResolutionExecution, RequestComplete]
DEBUG Thread-1 net.sourceforge.stripes.config.DefaultConfiguration - Configuring interceptor 'HttpCacheInterceptor', for lifecycle stages: [ResolutionExecution]
DEBUG Thread-1 net.sourceforge.stripes.config.DefaultConfiguration - Configuring interceptor 'HttpCacheInterceptor', for lifecycle stages: [ResolutionExecution]
INFO Thread-1 net.sourceforge.stripes.controller.StripesFilter - Stripes Initialization Complete. Version: 1.5.1, Build: 1102
INFO Thread-1 net.sourceforge.stripes.controller.StripesFilter - Stripes Initialization Complete. Version: 1.5.1, Build: 1102
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.validation.DefaultValidationMetadataProvider - Loaded validations for ActionBean TestActionBean: minTen->ValidationMetadata{, minvalue=10.0}
DEBUG http-8100-1 net.sourceforge.stripes.validation.DefaultValidationMetadataProvider - Loaded validations for ActionBean TestActionBean: minTen->ValidationMetadata{, minvalue=10.0}
ERROR http-8100-1 net.sourceforge.stripes.localization.LocalizationUtility -
java.util.MissingResourceException: Could not find the form field resource bundle needed by Stripes. This almost certainly means that a properties file called 'StripesResources.properties' could not be found in the classpath. This properties file is needed to lookup form field names. Please ensure the file exists in WEB-INF/classes or elsewhere in your classpath.
        at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
        at java.util.ResourceBundle.getBundleImpl(Unknown Source)
        at java.util.ResourceBundle.getBundle(Unknown Source)
        at net.sourceforge.stripes.localization.DefaultLocalizationBundleFactory.getFormFieldBundle(DefaultLocalizationBundleFactory.java:113)
        at net.sourceforge.stripes.localization.LocalizationUtility.getLocalizedFieldName(LocalizationUtility.java:66)
        at net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:269)
        at net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:238)
        at net.sourceforge.stripes.tag.InputButtonSupportTag.doEndInputTag(InputButtonSupportTag.java:75)
        at net.sourceforge.stripes.tag.InputTagSupport.doEndTag(InputTagSupport.java:442)
        at org.apache.jsp.test_jsp._jspx_meth_s_005fsubmit_005f0(test_jsp.java:398)
        at org.apache.jsp.test_jsp._jspx_meth_s_005fform_005f0(test_jsp.java:329)
        at org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002dcomponent_005f2(test_jsp.java:280)
        at org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002drender_005f0(test_jsp.java:161)
        at org.apache.jsp.test_jsp._jspService(test_jsp.java:87)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        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)
ERROR http-8100-1 net.sourceforge.stripes.localization.LocalizationUtility -
java.util.MissingResourceException: Could not find the form field resource bundle needed by Stripes. This almost certainly means that a properties file called 'StripesResources.properties' could not be found in the classpath. This properties file is needed to lookup form field names. Please ensure the file exists in WEB-INF/classes or elsewhere in your classpath.
        at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
        at java.util.ResourceBundle.getBundleImpl(Unknown Source)
        at java.util.ResourceBundle.getBundle(Unknown Source)
        at net.sourceforge.stripes.localization.DefaultLocalizationBundleFactory.getFormFieldBundle(DefaultLocalizationBundleFactory.java:113)
        at net.sourceforge.stripes.localization.LocalizationUtility.getLocalizedFieldName(LocalizationUtility.java:66)
        at net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:269)
        at net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:238)
        at net.sourceforge.stripes.tag.InputButtonSupportTag.doEndInputTag(InputButtonSupportTag.java:75)
        at net.sourceforge.stripes.tag.InputTagSupport.doEndTag(InputTagSupport.java:442)
        at org.apache.jsp.test_jsp._jspx_meth_s_005fsubmit_005f0(test_jsp.java:398)
        at org.apache.jsp.test_jsp._jspx_meth_s_005fform_005f0(test_jsp.java:329)
        at org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002dcomponent_005f2(test_jsp.java:280)
        at org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002drender_005f0(test_jsp.java:161)
        at org.apache.jsp.test_jsp._jspService(test_jsp.java:87)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        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)
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.StripesFilter - LocalePicker selected locale: en_GB
DEBUG http-8100-1 net.sourceforge.stripes.controller.StripesFilter - LocalePicker selected locale: en_GB
DEBUG http-8100-1 net.sourceforge.stripes.controller.StripesFilter - LocalePicker did not pick a character encoding, using default: null
DEBUG http-8100-1 net.sourceforge.stripes.controller.StripesFilter - LocalePicker did not pick a character encoding, using default: null
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
INFO http-8100-1 net.sourceforge.stripes.validation.expression.ExpressionValidator - Expression validation will be performed using: net.sourceforge.stripes.validation.expression.Jsp21ExpressionExecutor
INFO http-8100-1 net.sourceforge.stripes.validation.expression.ExpressionValidator - Expression validation will be performed using: net.sourceforge.stripes.validation.expression.Jsp21ExpressionExecutor
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext - Transitioning to lifecycle stage RequestInit
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext - Transitioning to lifecycle stage RequestInit
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext - Transitioning to lifecycle stage ActionBeanResolution
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext - Transitioning to lifecycle stage ActionBeanResolution
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext - Transitioning to lifecycle stage HandlerResolution
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext - Transitioning to lifecycle stage HandlerResolution
DEBUG http-8100-1 net.sourceforge.stripes.controller.DispatcherHelper - Resolved event: test; will invoke: TestActionBean.test()
DEBUG http-8100-1 net.sourceforge.stripes.controller.DispatcherHelper - Resolved event: test; will invoke: TestActionBean.test()
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext - Transitioning to lifecycle stage BindingAndValidation
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext - Transitioning to lifecycle stage BindingAndValidation
DEBUG http-8100-1 net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder - Running required field validation on bean class com.allysystems.etrs.ui.enduser.action.TestActionBean
DEBUG http-8100-1 net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder - Running required field validation on bean class com.allysystems.etrs.ui.enduser.action.TestActionBean
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager - Creating net.sourceforge.stripes.controller.BindingPolicyManager for class com.allysystems.etrs.ui.enduser.action.TestActionBean with default policy null
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager - Creating net.sourceforge.stripes.controller.BindingPolicyManager for class com.allysystems.etrs.ui.enduser.action.TestActionBean with default policy null
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager - Translated globs [] to regex
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager - Translated globs [] to regex
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager - Translated globs [] to regex
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager - Translated globs [] to regex
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager - Translated globs [minTen] to regex minTen
DEBUG http-8100-1 net.sourceforge.stripes.controller.BindingPolicyManager - Translated globs [minTen] to regex minTen
DEBUG http-8100-1 net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder - Converting 1 value(s) using converter net.sourceforge.stripes.validation.IntegerTypeConverter
DEBUG http-8100-1 net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder - Converting 1 value(s) using converter net.sourceforge.stripes.validation.IntegerTypeConverter
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext - Transitioning to lifecycle stage CustomValidation
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext - Transitioning to lifecycle stage CustomValidation
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext - Transitioning to lifecycle stage ResolutionExecution
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext - Transitioning to lifecycle stage ResolutionExecution
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - No URL binding matches /test.jsp
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - No URL binding matches /test.jsp
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - No URL binding matches /test.jsp
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - No URL binding matches /test.jsp
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.format.DefaultFormatterFactory - Caching Formatter for class java.lang.String => class net.sourceforge.stripes.format.ObjectFormatter
DEBUG http-8100-1 net.sourceforge.stripes.format.DefaultFormatterFactory - Caching Formatter for class java.lang.String => class net.sourceforge.stripes.format.ObjectFormatter
ERROR http-8100-1 net.sourceforge.stripes.localization.LocalizationUtility -
java.util.MissingResourceException: Could not find the form field resource bundle needed by Stripes. This almost certainly means that a properties file called 'StripesResources.properties' could not be found in the classpath. This properties file is needed to lookup form field names. Please ensure the file exists in WEB-INF/classes or elsewhere in your classpath.
        at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
        at java.util.ResourceBundle.getBundleImpl(Unknown Source)
        at java.util.ResourceBundle.getBundle(Unknown Source)
        at net.sourceforge.stripes.localization.DefaultLocalizationBundleFactory.getFormFieldBundle(DefaultLocalizationBundleFactory.java:113)
        at net.sourceforge.stripes.localization.LocalizationUtility.getLocalizedFieldName(LocalizationUtility.java:66)
        at net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:269)
        at net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:238)
        at net.sourceforge.stripes.tag.InputButtonSupportTag.doEndInputTag(InputButtonSupportTag.java:75)
        at net.sourceforge.stripes.tag.InputTagSupport.doEndTag(InputTagSupport.java:442)
        at org.apache.jsp.test_jsp._jspx_meth_s_005fsubmit_005f0(test_jsp.java:398)
        at org.apache.jsp.test_jsp._jspx_meth_s_005fform_005f0(test_jsp.java:329)
        at org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002dcomponent_005f2(test_jsp.java:280)
        at org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002drender_005f0(test_jsp.java:161)
        at org.apache.jsp.test_jsp._jspService(test_jsp.java:87)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
        at net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:110)
        at net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:483)
        at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
        at net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
        at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
        at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
        at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
        at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
        at net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:477)
        at net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
        at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
        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)
ERROR http-8100-1 net.sourceforge.stripes.localization.LocalizationUtility -
java.util.MissingResourceException: Could not find the form field resource bundle needed by Stripes. This almost certainly means that a properties file called 'StripesResources.properties' could not be found in the classpath. This properties file is needed to lookup form field names. Please ensure the file exists in WEB-INF/classes or elsewhere in your classpath.
        at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
        at java.util.ResourceBundle.getBundleImpl(Unknown Source)
        at java.util.ResourceBundle.getBundle(Unknown Source)
        at net.sourceforge.stripes.localization.DefaultLocalizationBundleFactory.getFormFieldBundle(DefaultLocalizationBundleFactory.java:113)
        at net.sourceforge.stripes.localization.LocalizationUtility.getLocalizedFieldName(LocalizationUtility.java:66)
        at net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:269)
        at net.sourceforge.stripes.tag.InputTagSupport.getLocalizedFieldName(InputTagSupport.java:238)
        at net.sourceforge.stripes.tag.InputButtonSupportTag.doEndInputTag(InputButtonSupportTag.java:75)
        at net.sourceforge.stripes.tag.InputTagSupport.doEndTag(InputTagSupport.java:442)
        at org.apache.jsp.test_jsp._jspx_meth_s_005fsubmit_005f0(test_jsp.java:398)
        at org.apache.jsp.test_jsp._jspx_meth_s_005fform_005f0(test_jsp.java:329)
        at org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002dcomponent_005f2(test_jsp.java:280)
        at org.apache.jsp.test_jsp._jspx_meth_s_005flayout_002drender_005f0(test_jsp.java:161)
        at org.apache.jsp.test_jsp._jspService(test_jsp.java:87)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
        at net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:110)
        at net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:483)
        at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
        at net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
        at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
        at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
        at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
        at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
        at net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:477)
        at net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
        at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
        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)
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.UrlBindingFactory - Matched /Test.action to /Test.action
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext - Transitioning to lifecycle stage RequestComplete
DEBUG http-8100-1 net.sourceforge.stripes.controller.ExecutionContext - Transitioning to lifecycle stage RequestCompleteTestActionBean.javatest.jsp

Re: Can not get Stripes to read properties files

by Simon Keen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have now identified that it is a stripes issue as JSTL is happily using the properties file to resolve its locales.

I have attached my web.xml file in case anyone can see the silly mistake I might have made.  I am sure it must be in the param where I tell stripes about the localisation bundle.

Simonweb.xml

Re: Can not get Stripes to read properties files

by Freddy D. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Simon,

> I have attached my web.xml file in case anyone can see the silly mistake
> I
> might have made.  I am sure it must be in the param where I tell stripes
> about the localisation bundle.

You configured the field name bundle, but not the error bundle. This
will
thus default to StripesResources. Is StripesResources.properties (the
one
from the Stripes distribution, with all the default Stripes entries)
present in WEB-INF/classes? (I'm sure it is, but it's worth checking.)

As a side note, you don't need to specify the LocalePicker.Class
parameter
since you configured the Extension.Packages parameter and your custom
locale picker class is in that package. Stripes will find it
automatically.

If you still can't find the problem, can you email me a zip of your
source,
and I'll have a look.

Cheers,
Freddy
http://www.stripesbook.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
Stripes-users@...
https://lists.sourceforge.net/lists/listinfo/stripes-users

Re: Can not get Stripes to read properties files

by Simon Keen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have done some more experiments and am even more confused but I have got a workaround.

I added the error message bundle name and it made no difference.  FYI when it wasn't in there it couldn't find the error messages in StripesResources.

I then took the source for DefaultLocalizationBundleFactory, imported into my project and renamed it to make it one of my extensions.  Other than adding some log4j trace output I didnt change it at all.  I wanted to see what it thought was going on in a bit more detail without haveing to rebuild all of Stripes from its source.

Gusess what - it all started to work.  I don't understand it but when I load the DefaultLocalizationBundleFactory as an extension it all works but when I don't it doesn't.

So I have a workaround but would like to help fix what ever bug was causing this to occur so let me know hwo I can help.

Freddy, many thanks for your useful suggestions and for teh well written and invaluable book.

Simon
Freddy D. wrote:
Hi Simon,

> I have attached my web.xml file in case anyone can see the silly mistake
> I
> might have made.  I am sure it must be in the param where I tell stripes
> about the localisation bundle.

You configured the field name bundle, but not the error bundle. This
will
thus default to StripesResources. Is StripesResources.properties (the
one
from the Stripes distribution, with all the default Stripes entries)
present in WEB-INF/classes? (I'm sure it is, but it's worth checking.)

As a side note, you don't need to specify the LocalePicker.Class
parameter
since you configured the Extension.Packages parameter and your custom
locale picker class is in that package. Stripes will find it
automatically.

If you still can't find the problem, can you email me a zip of your
source,
and I'll have a look.

Cheers,
Freddy
http://www.stripesbook.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Re: Can not get Stripes to read properties files

by Freddy D. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Simon,

> Gusess what - it all started to work.  I don't understand it but when I load
> the DefaultLocalizationBundleFactory as an extension it all works but when I
> don't it doesn't.
>
> So I have a workaround but would like to help fix what ever bug was causing
> this to occur so let me know hwo I can help.

That is very strange indeed. Can you email me the source that reproduces the
problem so that I can investigate?

> Freddy, many thanks for your useful suggestions and for teh well written and
> invaluable book.

Always glad to help, and I'm very happy to hear that you are enjoying the book!

Cheers,
Freddy
http://www.stripesbook.com


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
Stripes-users@...
https://lists.sourceforge.net/lists/listinfo/stripes-users