I'm a newbie of
Java, I deployed JForum on my App Server, when I visit
http://localhost:8080/JForum/install/install.page?module=install&action=welcome
I got the following:
(
My environment:
weblogic 8.1 sp2
winxp sp2
jdk 1.4
mysql 5.0.18
)
Error 500--Internal Server Error
net.jforum.exceptions.ForumStartupException: Error while starting JForum - java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:393)
at net.jforum.util.preferences.SystemGlobals.buildSystem(SystemGlobals.java:114)
at net.jforum.util.preferences.SystemGlobals.initGlobals(SystemGlobals.java:102)
at net.jforum.ConfigLoader.startSystemglobals(ConfigLoader.java:89)
at net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:104)
at net.jforum.InstallServlet.init(InstallServlet.java:73)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6356)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
at java.util.Hashtable.put(Hashtable.java:393)
at net.jforum.util.preferences.SystemGlobals.buildSystem(SystemGlobals.java:114)
at net.jforum.util.preferences.SystemGlobals.initGlobals(SystemGlobals.java:102)
at net.jforum.ConfigLoader.startSystemglobals(ConfigLoader.java:89)
at net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:104)
at net.jforum.InstallServlet.init(InstallServlet.java:73)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6356)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
an the following appears in App Console:
log4j:ERROR Could not parse file [null/WEB-INF/log4j.xml].
java.io.FileNotFoundException: d:\bea\user_projects\domains\mydomain\null\WEB-INF\log4j.xml
here is my step by step configure:
1 download JForum's zip file
2 unzip it
3 zip it in a war file
the file's structure is
JForum.war
|_____WEB-INF
|_____META-INF
:
|_____index.htm
:
4 deploy it on weblogic
I updated the listen port of weblogic to 8080
Is there something wrong?Need your help!
[originally posted on jforum.net by Anonymous]