1 Reply Latest reply on May 27, 2005 10:22 AM by Roy Russo

    Resource related exception deploying helloworld

    Sherman Wood Apprentice

      In the portlet.xml for helloworld, if you include:

       <supported-locale>en</supported-locale>
       <resource-bundle>Resource</resource-bundle>
      

      An exception is thrown during the portal initialization.
      2005-05-24 13:55:54,929 DEBUG [org.jboss.portal.portlet.plugins.language.InfoBundle] Creates the parent bundle
      2005-05-24 13:55:54,929 DEBUG [org.jboss.portal.portlet.plugins.language.ResourceBundles] Want to load bundle Resource for locale en
      2005-05-24 13:55:54,949 WARN [org.jboss.portal.portlet.plugins.language.ResourceBundles] Bundle Resource for locale en not found
      java.util.MissingResourceException: Can't find bundle for base name Resource, locale en
       at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:839)
       at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:808)
       at java.util.ResourceBundle.getBundle(ResourceBundle.java:702)
       at org.jboss.portal.portlet.plugins.language.ResourceBundles.loadBundle(ResourceBundles.java:219)
       at org.jboss.portal.portlet.plugins.language.ResourceBundles.init(ResourceBundles.java:157)
       at org.jboss.portal.portlet.plugins.language.ResourceBundles.start(ResourceBundles.java:68)
       at org.jboss.portal.server.kernel.StartMethod.invokeMethod(StartMethod.java:37)
       at org.jboss.portal.server.kernel.UpgradeMethod.invoke(UpgradeMethod.java:46)
      ...
      


      Processing continues after this and the portlet is deployed correctly.


      Sherman