Am 16.05.2013 17:19, schrieb Shawn Heisey: > On 5/16/2013 3:24 AM, Bernd Fehling wrote: >> OK, solved. >> I have now run-jetty-run with log4j running. >> Just copied log4j libs from example/lib/ext to webapp/WEB-INF/classes and >> set -Dlog4j.configuration in run-jetty-run VM classpath. > > The location where you copied those files is in the extracted .war file, and > may get automatically wiped out at some point in the future, > especially by an upgrade. It would be better to copy them to the external > lib directory for your container. For jetty, that's lib/ext ... it > is likely to be different for other containers.
Actually there is no "real" container in my eclipse debugging env :-( /opt/indigo/eclipse/configuration/org.eclipse.osgi/bundles/884/1/.cp/lib/jetty-webapp-8.1.2.v20120308.jar Then it should be copied to lib/ext of eclipse/run-jetty-run "java.class.path" - /opt/indigo/eclipse/configuration/org.eclipse.osgi/bundles/884/1/.cp/lib/ext ? or "java.ext.dirs" - /usr/java/packages/lib/ext ? or "rjrwebapp" - /srv/www/solr/workspace_juno_solr_4_3_0/TestSolr/webapp/lib/ext ? Can't follow you Thanks, Bernd