D
dennishancy
I have this code
//--------------------------
try {
ResourceBundle bundle = ResourceBundle.getBundle( "EUWConfig" );
_sessionTimeOut = Integer.parseInt(bundle.getString("SessionTimeOut"));
_loggerFile = bundle.getString("LoggerFile");
}
catch(Exception e)
{
_log.debug( new String("Getting Properties: " + e.toString() ) );
}
//--------------------------
The error msg I am getting is this:
----------------------
Getting Properties: java.util.MissingResourceException: Can't find
bundle for base name EUWConfig, locale en
----------------------
It looks like it is bombing on the first line in the "try" clause.
Does this mean it can't find the EUWConfig file? If so, what do I need
to do so it finds this file?
The file currently resides in the base directory on the server. I have
also included the base directory in the class path.
Can someone point out what my next step is to resolve this?
Thanks.
Dennis Hancy
Eaton Corporation
Cleveland, OH
//--------------------------
try {
ResourceBundle bundle = ResourceBundle.getBundle( "EUWConfig" );
_sessionTimeOut = Integer.parseInt(bundle.getString("SessionTimeOut"));
_loggerFile = bundle.getString("LoggerFile");
}
catch(Exception e)
{
_log.debug( new String("Getting Properties: " + e.toString() ) );
}
//--------------------------
The error msg I am getting is this:
----------------------
Getting Properties: java.util.MissingResourceException: Can't find
bundle for base name EUWConfig, locale en
----------------------
It looks like it is bombing on the first line in the "try" clause.
Does this mean it can't find the EUWConfig file? If so, what do I need
to do so it finds this file?
The file currently resides in the base directory on the server. I have
also included the base directory in the class path.
Can someone point out what my next step is to resolve this?
Thanks.
Dennis Hancy
Eaton Corporation
Cleveland, OH