I'm sorry if this was already answered but I've been struggling for some time.
I�۪ve got the files from CVS using Eclipse and and created a project for it. I�۪ve deployed the web module in WebLogic by pointing to the jforum project. I�۪m using data source (postgresql) from JForum 2.1.4 that is running on another instance of WebLogic without problems.
So, when I do
http://localhost:7001/jforum this is what I get:
Error 500--Internal Server Error
java.lang.NullPointerException
at java.io.File.(File.java:180)
at net.jforum.util.legacy.clickstream.config.ConfigLoader.getConfig(ConfigLoader.java:59)
at net.jforum.util.legacy.clickstream.BotChecker.isBot(BotChecker.java:36)
at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:49)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
This line
String path = SystemGlobals.getValue(ConfigKeys.CLICKSTREAM_CONFIG);
in ConfigLoader.getConfig() returns null and the whole thing dies on following line
File fileInput = new File(path);
I think that SystemGlobals doesn�۪t load.
Regards,
Milan
[originally posted on jforum.net by Milan]