it looks like this was caused by netbeans packaging extra uneeded jars into the ear and confusing the classpath - when i've worked out how to stop it doing this i'll post it here
1. Remove common-loggings.jar & log4j.jar from ear.
2. And make entries of log4j into the log4j.xml of your server.