logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sandro.r...@namics.com
Subject Re: log4j and J2EE problem
Date Fri, 10 Aug 2001 09:48:06 GMT

>>This is a misconception that many Java programmers share. It is possible
>to have
>>more than one copy of a static in the same VM. It has to do with multiple
>>classloaders. There's a good paper about this at http://www.javageeks.com
,
>but I
>>can't seem to get to that site today.
>
>you're right... my suggestion wasn't precise enough...
>here the correct one... ;-)
>1 instance per vm per classloader-boundary..

>Err... one instance of what?

one instance of a singleton (or it's static referece...)



                                                                                         
                                                    
                    Ceki Gülcü                                                         
                                                      
                    <cgu@qos.ch>         To:     "LOG4J Users Mailing List" <log4j-user@jakarta.apache.org>
                                  
                                         cc:                                             
                                                    
                    10.08.2001           Subject:     Re: log4j and J2EE problem         
                                                    
                    11:33                                                                
                                                    
                    Please respond                                                       
                                                    
                    to "LOG4J                                                            
                                                    
                    Users Mailing                                                        
                                                    
                    List"                                                                
                                                    
                                                                                         
                                                    
                                                                                         
                                                    




At 11:16 10.08.2001 +0200, sandro.ruch@namics.com wrote:

>>This is a misconception that many Java programmers share. It is possible
>to have
>>more than one copy of a static in the same VM. It has to do with multiple
>>classloaders. There's a good paper about this at http://www.javageeks.com
,
>but I
>>can't seem to get to that site today.
>
>you're right... my suggestion wasn't precise enough...
>here the correct one... ;-)
>1 instance per vm per classloader-boundary..

Err... one instance of what?


--
Ceki Gülcü - http://qos.ch


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message