[ https://issues.apache.org/jira/browse/LOGGING-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated LOGGING-61: ----------------------------------- Fix Version/s: 1.0.2 > contextClassLoader null returned in LogFactory.java > --------------------------------------------------- > > Key: LOGGING-61 > URL: https://issues.apache.org/jira/browse/LOGGING-61 > Project: Commons Logging > Issue Type: Bug > Affects Versions: 1.0.1 > Environment: Operating System: other > Platform: Other > Reporter: steve bryant > Fix For: 1.0.2 > > > I was trying to deploy Axis beta3 on iPlanet 6 and kept getting the following > exception. > lang.ExceptionInInitializerError: java.lang.NullPointerException > at > org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:326) > at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:394) > at > org.apache.axis.transport.http.AxisServlet.<clinit>(AxisServlet.java:104) > at java.lang.Class.newInstance0(Native Method) > at java.lang.Class.newInstance(Class.java:232) > at > com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEntity.java:71) > at > com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1045) > at > com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:959) > Found another guy getting the same problem that was posting to the Axis > mailing > list. Here is a URL to his posts: > http://www.mail-archive.com/axis-u...@xml.apache.org/msg04319.html > He mentioned a hack he did and I did the same and it seemed to fix the > problem. > I don't know whether I may have broke something else but my Axis web services > are working fine now... > Here is the hack in LogFactory.java at line 264 in method getFactory(): > /*sjb - hack to default back*/ > if(contextClassLoader==null) > { > contextClassLoader = ClassLoader.getSystemClassLoader(); > } > Cheers... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.