Follwing is the corresponding code from org.quartz.core.QuartzScheduler.
The issue is due to there is no 'build.properties' in the quartz orbit
bundle though it is in the quartz jar (So synapse doesn't print the above
log message). Have to fix the orbit bundle. Will check.
private static String VERSION_MAJOR = "UNKNOWN";
private static String VERSION_MINOR = "UNKNOWN";
private static String VERSION_ITERATION = "UNKNOWN";
static {
Properties props = new Properties();
try {
InputStream is =
QuartzScheduler.class.getResourceAsStream("/build.properties");
if(is != null) {
props.load(is);
VERSION_MAJOR = props.getProperty("version.major");
VERSION_MINOR = props.getProperty("version.minor");
VERSION_ITERATION = props.getProperty("version.iter");
}
} catch (IOException e) {
(LogFactory.getLog(QuartzScheduler.class)).error(
"Error loading version info from build.properties.", e);
}
}
~ Indika
On Fri, Apr 1, 2011 at 10:31 AM, Indika Kumara <[email protected]> wrote:
> Senaka,
>
> I will look into this. BTW, I have not seen this before.
>
> Thanks,
>
> Indika
>
> On Thu, Mar 31, 2011 at 11:02 PM, Senaka Fernando <[email protected]> wrote:
>
>> Folks,
>>
>> $subject gets printed on the logs of most products that we have and looks
>> very ugly.
>>
>> Thanks,
>> Senaka.
>>
>> --
>> *Senaka Fernando*
>> Product Manager - WSO2 Governance Registry;
>> Associate Technical Lead; WSO2, Inc.; http://wso2.com*
>> Member; Apache Software Foundation; http://apache.org
>>
>> E-mail: senaka AT wso2.com
>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>> Linked-In: http://www.linkedin.com/in/senakafernando
>>
>> *Lean . Enterprise . Middleware
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev