To clarify, I have used the RepositorySelector before I enabled classloader 
scoping and that worked. But when I enable classloader scoping, the 
RepositorySelector breaks with the error:


  | java.lang.NullPointerException
  |     at java.util.Hashtable.put(Unknown Source)
  |     at 
org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:141)
  |     at 
org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
  |     at 
org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
  |     at 
org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
  |     at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
  |     at 
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:678)
  |     at 
rupurt.logging.LogRepositorySelector.loadLog4JConfig(LogRepositorySelector.java:75)
  |     at 
rupurt.logging.LogRepositorySelector.init(LogRepositorySelector.java:56)
  | 

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

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


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to