I'm not sure what the official answer is, but in the past we've had to add classes12.jar/zip to the run.sh script so that it's on the system classpath.
Hi, thanks for the reply - I got it to work by doing that. It's a very strange problem though - my appender class ultimately extends org.apache.lo4j.AppenderSkeleton, which is found in the file log4j-boot.jar, contained in the main lib directory of JBoss. But after I added my jar file to the classpath, JBoss then complained about not being able to find AppenderSkeleton:
15:49:33,906 WARN [ServiceController] Problem creating service jboss.system:type=Log4jService,service=Logging
Yet it's in a jar file in the main lib directory, and - even weirder - travelling up the stack trace you find this:
What's that class there? org.apache.log4j.helpers.Loader?? But isn't that in the same jar file as the class it's trying to load??!
So I ended up having to add log4j-boot.jar to the classpath in run.bat! It works but something is not right.