Apologies all around. Seems that Sun decided to change the access on Calendar.setTimeInMillis() from protected (back in version 1.1) to public (sometime between then and version 1.4.2 -- which is what I am using). The same is true for Calendar.getTimeInMillis().

I have modified DatedFileAppender to be backwards compatible with older versions of the JVM. Because this required a programming change, all DatedFileAppender directory names, jar files and zip files are now 1.0.2 instead of 1.0. Documentation with installation instructions may be found here:

        http://minaret.biz/tips/datedFileAppender.html

The latest distribution is here:

        http://minaret.biz/tips/datedFileAppender.zip

If you have previously installed DatedFileAppender, all you have to do is replace the old "jar" file ("datedFileAppender-1.0.jar") with the new one ("datedFileAppender-1.0.2.jar"). If you are running this under Tomcat, it's always best to shutdown your Tomcat server during the switch.

Thanks for reporting this problem.

Geoff


Depalma, Paul wrote:

I just tried to run the new DatedFileAppender and I am getting a access method error because it is trying to do m_calendar.setTimeInMillis(n); the "setTimeInMillis" on Calendar is protected. Any help would be appreciated.

Thanks

Paul DePalma BellSouth Science and Technology [EMAIL PROTECTED] (404)986-9731


***** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. 113




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to