You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Tristan Bane <t....@kainos.com> on 2002/03/21 16:22:26 UTC

Borland AppServer


Hi

I have been unable to find answers to these two wee question in the archive so
maybe someone will be able to help.

Firstly - When running in AppServer 4.5.1 log4j does not pick up any changes to
the properties file at runtime - to reflect any changes I have to restart the
appserver

Secondly -  Ihave an issue with the RollingFileAppender where the creation of
new files after <filename>.1 results in all files except the first and latest
being lost!

Cheers for any help in advance

Tristan Bane


--

This e-mail is confidential and is intended for the named recipient only. If
you receive it in error please destroy the message and all copies. Kainos
Software Ltd. does not accept liability for damage sustained as a result of
malicious software (e.g. viruses). Kainos does not accept liability for, or
permit; the creation of contracts on its behalf by e-mail, the publication of
any defamatory statement by its employees by e-mail, or changes subsequently
made to the original message. The Company's registered office is located at
4-6 Upper Crescent, Belfast, BT7 1NT, Northern Ireland, Tel +44 28 9057 1100.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Borland AppServer

Posted by Percy Christian <pe...@manpowerandconsulting.com>.
Hi

I have been unable to find answers to these two wee question in the archive
so
maybe someone will be able to help.

Firstly - When running in AppServer 4.5.1 log4j does not pick up any changes
to
the properties file at runtime - to reflect any changes I have to restart
the
appserver

The org.apache.log4j.helpers.FileWatchdog from which the PropertyWatchdog
which supervises the change inherits uses a File to verify whether something
changed. Now if you check the J2EE Spec you will note that it is NOT
permitted to either read or write file so this is already a first dangerous
point.
Now I know that normaly when running the BAS container in JBuilder or out of
the Application server I do not have trouble with file access but inside the
Application server you get problems.
I know you can configure somewhere in a propery file of the Application
server which classes you want to grant access to the file system. Maybe you
have to add the classes of Log4J that do file I/O there. (Note that I do not
know whether all Java Enterprise Application Servers have such a feature so
you may run into problems later. The only solution then would be to write a
Connector for Log4J which encapsulates the File I/O but this is only
available from J2EE 2.0 which means BES 5.0 (Borland Enterprise Server 5.0,
yes they have changed the name again)



Secondly -  Ihave an issue with the RollingFileAppender where the creation
of
new files after <filename>.1 results in all files except the first and
latest
being lost!

Sorry this one I do not know at all.

Cheers for any help in advance

Tristan Bane


--

This e-mail is confidential and is intended for the named recipient only. If
you receive it in error please destroy the message and all copies. Kainos
Software Ltd. does not accept liability for damage sustained as a result of
malicious software (e.g. viruses). Kainos does not accept liability for, or
permit; the creation of contracts on its behalf by e-mail, the publication
of
any defamatory statement by its employees by e-mail, or changes subsequently
made to the original message. The Company's registered office is located at
4-6 Upper Crescent, Belfast, BT7 1NT, Northern Ireland, Tel +44 28 9057
1100.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>