"[EMAIL PROTECTED]" wrote : 
log4j.appender.FILE.File=${jboss.server.home.dir}/log/boot.log

Thanks for the reply. I really dont understand how .properties files work, but 
here is what I did to correct the problem.

I obviously dont want to edit run.jar as that will affect everything (not just 
my TestClient) and its only my test client with a problem.


I extracted the log4j.properties edited to how I wanted, changing just the 
following line:

log4j.appender.FILE.File=/tmp/java_client.log


Then created a JAR from it called $JBOSS_HOME/bin/run-client-test.jar

Then I have created an execution (Run/Debug) context within Eclipse (Run->Run) 
that allows me to add as the first library my newly created JAR (just above 
run.jar).  So that its in the classpath when my TestClient gets run.

Now I get a useful log file and no error :).


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875162#3875162

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875162


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to