Ramadoss Chinnakuzhandai wrote:
Try..
PropertyConfigurator.configure("your_propertyfile.properties");

I tried this, and got some interesting behaviour. Here is the new output:
CONFIGURE
Connecting http://localhost/editor/client_dep.jar with no proxy
Connecting http://localhost/editor/client_dep.jar with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
Loading http://localhost/editor/client_dep.jar from cache
Connecting http://localhost/editor/log4j.xml with no proxy
Connecting http://localhost/editor/log4j.xml with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
Connecting http://localhost/editor/log4j.xml with no proxy
Connecting http://localhost/editor/log4j.xml with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
Connecting http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class with no proxy
Connecting http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
WARNING: Unable to cache http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class
Connecting http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class with no proxy
Connecting http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
Connecting http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class with no proxy
Connecting http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
WARNING: Unable to cache http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class
Connecting http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class with no proxy
Connecting http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class with no proxy
Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
WARNING: Unable to cache http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class
Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class with no proxy
Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class with no proxy
Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
WARNING: Unable to cache http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class
Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class with no proxy
Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
CONFIGURED
----
client_dep.jar is where I keep log4j (all client jars have been merged together into one to minimize the nr of calls to the webserver).


As you can see the suggested approach yields a LOT more calls to the webserver.

Preferably, what I'd want to do is:
1) get the default override as described in the manual to work
2) do manual programmatic configuration

2) I can do, but I'm not sure why 1) isn't working.

Any ideas?

/Rickard



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



Reply via email to