• 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
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

JForum page cannot be found! error

 
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 am running redhat linux, Apache Tomcat 5, mysql. I following the instructions for installing JForum according to the the configuration forum. However, I get "the page cannot be found" error when I tried to test it. I am running mysql in localhost and I have a website. I want to be able to implement JForum on my website. Can anyone please point me to the right directions. Thank You!
[originally posted on jforum.net by Anonymous]
 
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
Are you using tomcat together with apache, using mod_jk? How have you configured the Tomcat context to jforum?

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
I am unclear about your question. I don't have mod_jk module. I have Tomcat running on port 80. What do you think the problem might me. I have JDBC dirvier in Tomcat, common->lib file. Is this might be the problem.
[originally posted on jforum.net by Anonymous]
 
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
Do you think the problem might be because I am running mysql in localhost. I have a domain name, therefore, instead of jdbc:mysql://localhost/mysql?user=XXXX&password=XXXX , I should change it to jdbc:mysql://mydomain/mysql?user=xxxx$password=xxxx. If so, where how do I configure mysql to point to my domain instead of localhost.
[originally posted on jforum.net by Anonymous]
 
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
mysql should works fine on localhost.
To connecto to a remote mysql instance, that mysql server should allow connections from your host. See the mysql manual about configuring the server.

Moreover, the error "the page cannot be found" is not related to mysql problems. Are you running tomcat AND apache at the same time? don't forget that tomcat, by default, runs on port 8080.

If you already solved the page not found error and now are getting database erros, what error message ( there is an exception showed? ) appears?

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
I change the tomcat default port 8080 to port 80 on server.xml. I have Apache on my machine, but I have the services turn off. I am not getting any mysql error. The only error I got was "page cannot be found". Thank You!
[originally posted on jforum.net by Anonymous]
 
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
Have you configured a <Context> to JForum in servet.xml ?

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
Do you mean server.xml in tomcat. I did not find any <Context>.
[originally posted on jforum.net by Anonymous]
 
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 set the context in Tomcat. I did not get any error. In fact, I get a blank page. Can you tell me what is the problem. Thank You!
[originally posted on jforum.net by Anonymous]
 
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
This is how I set the context.
<context path="/jforum" docBase="/usr/local/jakarta- tomcat/webapps/ROOT/JForum-RC2" debug="0" >
</context>
[originally posted on jforum.net by Anonymous]
 
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

Anonymous wrote:I have set the context in Tomcat. I did not get any error. In fact, I get a blank page. Can you tell me what is the problem. Thank You!



Ok, then you've got an exception, for some reason. Try looking in tomcat's log files ( localhost_lost, catalina.out etc ).. if there is an error, then if must be there.

Rfael
[originally posted on jforum.net by Rafael Steil]
 
No more fooling around. Read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic