Win a copy of Fixing your Scrum this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Help me

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I downloaded and installed jforum-2.1.8 on my localhost.
It is working well on my localhost.
Then i created a war file named forum and uploaded on my server http://www.jmsoftwares.com/forum

Then when i tried to install using http://jmsoftwares/forum/install.jsp, i am getting the following error.


org.apache.jasper.JasperException: Exception in JSP: /install.jsp:1

1: <jsp:forward page="install/install.page?module=install&action=welcome"/>


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root cause

javax.servlet.ServletException: Servlet.init() for servlet install threw exception
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:686)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:656)
org.apache.jsp.install_jsp._jspService(install_jsp.java:43)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root cause

net.jforum.exceptions.ForumStartupException: Error while starting JForum
java.util.Hashtable.put(Hashtable.java:394)
net.jforum.util.preferences.SystemGlobals.buildSystem(SystemGlobals.java:129)
net.jforum.util.preferences.SystemGlobals.initGlobals(SystemGlobals.java:108)
net.jforum.ConfigLoader.startSystemglobals(ConfigLoader.java:91)
net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:112)
net.jforum.InstallServlet.init(InstallServlet.java:79)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:686)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:656)
org.apache.jsp.install_jsp._jspService(install_jsp.java:43)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root cause

java.lang.NullPointerException
java.util.Hashtable.put(Hashtable.java:394)
net.jforum.util.preferences.SystemGlobals.buildSystem(SystemGlobals.java:129)
net.jforum.util.preferences.SystemGlobals.initGlobals(SystemGlobals.java:108)
net.jforum.ConfigLoader.startSystemglobals(ConfigLoader.java:91)
net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:112)
net.jforum.InstallServlet.init(InstallServlet.java:79)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:686)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:656)
org.apache.jsp.install_jsp._jspService(install_jsp.java:43)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)




Please tell me what should i do. i dont have permissions to view the Tomcat log file.

Thanks and Regards
Jeeva
[originally posted on jforum.net by jeeva]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No idea why. Which Tomcat version do you have? it is a Java environment of your host provider, or your own?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Couple of things come to mind here:

Did you create your WAR file from the working copy on your local PC? In that case, jForum will think it has been "installed" and try to use the DB, etc on your local PC. This can cause problems.

The war file should be made from the distribute zip.

Another possibility is that your application server is not doing an "autoexpand" on the war but trying to run it from the compressed war file. Since jForum needs to have a place to store config info and other stuff (like attachments, avatars, and the like), it may not work if run in this mode.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the same problem!!!
A few days ago a wrote about it but nobody answered to me.
I made the war because the "war" you can download is a ZIP file which cotains a folder and the WAR can�t start with a folder. That is why I unpacked and ZIPPED it again with the contents of the big folder.

Is it OK?
First execution was /install.jsp

Apache Tomcat 5.5.4
JDK 5.0
MySQL 5.0.37


Please help.
[originally posted on jforum.net by JDavid]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had the same problem and it was because you I didn�t have writting privileges on the folders. Read instalation rules and you will see what folders you need to have writting privileges.

[originally posted on jforum.net by JDavid]
 
Whoever got anywhere by being normal? Just ask this exceptional tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic