Does anyone know of any reason why I might encounter java.util.MissingResourceException on an application which is running fine with no issues and constantly using this resource bundle, then suddenly gets this error. Simply stopping the app and starting it resolves the error.
So I don't believe it's anything to do with application setup or configuration since its working fine and suddenly happens and resolved by simply stop and start.
2016-07-30 17:23:28,343 [TestScheduler_Worker-10] ERROR (TRIPSPortingTimeUtil.java:63) - Error Loading the file TRIPSB4NConfig.properties
java.util.MissingResourceException: Can't find bundle for base name TRIPSB4NConfig, locale en_GB
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:724)
UPDATE One thing i have observed is that this seems to happen just after i see database transaction timeout and the following error
2016-05-26 20:11:25,995 [TestScheduler_Worker-8] ERROR (SqlHelperBean.java:1829) - Error while getting transaction Id -
weblogic.jdbc.extensions.ConnectionDeadSQLException: weblogic.common.resourcepool.ResourceDeadException: 0:weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: IO Error: The Network Adapter could not establish the connection
is it possible that this could have some knock on effect to my resource bundle?
Probably you don't need the resource before the error happens. When the application needs it a crash happens.
Can you check your resources files to check if the resource is present or not?
TRIPSB4NConfig.properties for language en_GB
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.