I have tried to fashion my seam application after the examples and dvdstore and 
numberGuess examples do work. But I am having problems with my own application. 
The .xhtml page tries to load message.properties but, for some reason, can't. 
This file is in WEB-INF/classes in the war file. I'd very much appreciate any 
tips on what could be wrong!

Thanks

Message bundle is specified in faces-config.xml..

  |     <application>
  |         <message-bundle>messages</message-bundle>
  |         <locale-config>
  |             <default-locale>en_US</default-locale>
  |             <supported-locale>en</supported-locale>
  |         </locale-config>        
  |     </application>
  | 
  | 


  | 17:18:56,881 ERROR [STDERR] Nov 4, 2006 5:18:56 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp16916fleetManagerSeam.ear-contents/fleetManagerSeam-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/
  | seam.taglib.xml
  | 17:18:56,901 ERROR [STDERR] Nov 4, 2006 5:18:56 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp16916fleetManagerSeam.ear-contents/fleetManagerSeam-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/j
  | sf-html.taglib.xml
  | 17:18:56,931 ERROR [STDERR] Nov 4, 2006 5:18:56 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp16916fleetManagerSeam.ear-contents/fleetManagerSeam-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/j
  | sf-core.taglib.xml
  | 17:18:56,941 ERROR [STDERR] Nov 4, 2006 5:18:56 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp16916fleetManagerSeam.ear-contents/fleetManagerSeam-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/j
  | stl-core.taglib.xml
  | 17:18:56,951 ERROR [STDERR] Nov 4, 2006 5:18:56 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp16916fleetManagerSeam.ear-contents/fleetManagerSeam-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/j
  | stl-fn.taglib.xml
  | 17:18:56,971 ERROR [STDERR] Nov 4, 2006 5:18:56 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jboss-4.0.4.CR2/server/all/tmp/deploy/tmp16916fleetManagerSeam.ear-contents/fleetManagerSeam-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/j
  | sf-ui.taglib.xml
  | 17:18:57,261 ERROR [STDERR] Nov 4, 2006 5:18:57 PM 
com.sun.facelets.FaceletViewHandler handleRenderException
  | SEVERE: Error Rendering View[/commDevice.xhtml]
  | javax.el.ELException: /commDevice.xhtml: 
com.sun.facelets.tag.jsf.core.LoadBundleHandler$ResourceBundleMap
  |         at 
com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:48)
  |         at 
com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
  |         at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
  |         at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
  |         at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
  |         at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554)
  |         at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
  |         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |         at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |         at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  |         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  |         at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
  |         at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
  |         at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  |         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  |         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  |         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  |         at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  |         at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  |         at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  |         at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  |         at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  |         at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.util.MissingResourceException: Can't find resource for 
bundle java.util.PropertyResourceBundle, key commDevice
  |         at java.util.ResourceBundle.getObject(ResourceBundle.java:325)
  |         at 
com.sun.facelets.tag.jsf.core.LoadBundleHandler$ResourceBundleMap.get(LoadBundleHandler.java:122)
  |         at 
org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:67)
  |         at 
com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:141)
  |         at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
  |         at 
com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  |         at 
com.sun.facelets.el.ELText$ELTextVariable.writeText(ELText.java:184)
  |         at 
com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:45)
  |         ... 29 more
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983261#3983261

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983261
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to