Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Error HTTP 500

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I am under Ubuntu Dapper 6.06:
Tomcat 5.0.30, Apache 2, MySQL 5
Port for Tomcat 8180!


I am a JAVA Noobie.

I can log to the Tomcat homepage to the Manager and the Admin Part; Because Ubuntu uses the 8180 port I have modified the jforum/WEB-INF/config/SystemGlobals.properties to change the port from 8080 to 8180 (even without doing this I get the same error).

I did on the folder "jforum":
chmod -R 777 jforum
chown -R tomcat jforum

I have both tried the automated and manual install. I also created the MySQL tables for the manual.

http://localhost:8180/jforum/

I am stuck. This is the error message I get:

[originally posted on jforum.net by niooi]
 
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
Looks like a problem of installation.

Have you tried to reinstall it?

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
Hi I am also getting the same error while working on the installation

I have Redhat7.2 and TOMCAT 3.1 and Java jdk1.5 .Please help

I am getting the following error

------------------------------------------------------------------------------------
Error: 500
Location: /jforum/install/install.page
Internal Servlet Error:

java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequestWrapper
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:436)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at net.jforum.ConfigLoader.loadUrlPatterns(ConfigLoader.java:127)
at net.jforum.JForumBaseServlet.loadConfigStuff(JForumBaseServlet.java:131)
at net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:116)
at net.jforum.InstallServlet.init(InstallServlet.java:73)
at org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java:315)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:445)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:595)

-------------------------------------------------------------------------------------
[originally posted on jforum.net by jitender1278]
 
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

jitender1278 wrote:Hi I am also getting the same error while working on the installation

I have Redhat7.2 and TOMCAT 3.1 and Java jdk1.5 .Please help

I am getting the following error

------------------------------------------------------------------------------------
Error: 500
Location: /jforum/install/install.page
Internal Servlet Error:

java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequestWrapper
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:436)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at net.jforum.ConfigLoader.loadUrlPatterns(ConfigLoader.java:127)
at net.jforum.JForumBaseServlet.loadConfigStuff(JForumBaseServlet.java:131)
at net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:116)
at net.jforum.InstallServlet.init(InstallServlet.java:73)
at org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java:315)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:445)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:595)

-------------------------------------------------------------------------------------



Tomcat 3.x support only Servlet API2.2. For run jforum you must use servlet container 2.3 or higher.
[originally posted on jforum.net by Serge Maslyukov]
 
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
Got a similar problem. I'm not sure it is the same.
I case it might help someone:

I had a line in jforum-costum.conf like

dao.driver=net.jforum.drivers.mysql.DataAccessDriver

I removed it and the problem was solved
[originally posted on jforum.net by pala]
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic