• 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

Problems running JForum

 
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�m a begginer in J2EE, and I want to learn a lot of things with your project.

I�ve installed the application server (tomcat) and tested it with a HelloWorld servlet. It worked fine.

But when I try to run, my browser redirects to

http://localhost:8080/JForum/forums/list.page

with a blank page....

If you know what might happen, please tell me...

Thanks in advance,
Tiago Serafim
[originally posted on jforum.net by Tiago Serafim]
 
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
Probably you got an exception. Try looking at tomcat's log files.. if you found something there and are confused, put the exception here..

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

This would appear to be a common pit to be fell in!

The solution to your problem is that your webserver is running on port 8080, it needs to be running on port 80 or you'll end up with no end of problems. I've just spent 8 hours solving exactly the same thing!

Hope that helps!

EDIT:
Or if that doesn't work, try creating a new admin user in MySQL and then using that user to connect to the db. That also seemed to work here to.

Though in a bizarre twist of fate, after having no trouble for 2 hours and leaving the machine to go and get a cup of coffee, I've returned to get a whole new error! I now get:

java.net.MalformedURLException: unknown protocol: c



Quite worring considering I didn't change the config at all! Any ideas!!!

Thanks!
[originally posted on jforum.net by Diello]
 
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
Try doing the little "hacks" as mentioned in the another post.. Probably will work.

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 also got this blank page problem. using port 80 and new admin user now, but still doesn't work. :-(
yesterday i had errors telling me thet some vars weren't specified (like serverName), but when trying again today i only get the blank page.
i retried with another tomcat version 4.1.24, but still don't work.
do i need tomcat 5? please help.

fad
[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
Did you configured the right database settings etc etc? Is mysql up and running?

JForum should work on any 4.x and 5.x release of Tomcat. If you *really* not get it working, please take a look at the tomcat's log files and search for some weird exception. If no success, please send the log files to me, by email, please.

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
Same problem with the blank page here, in a Fedora box with Tomcat 5.0.19, JDK 1.5, Postgres. The error I get in catalina.out is


The weird thing is, I am able to run a small JSP script that does a "SELECT * from jforum_smilies" in other contexts without problems. This script uses the same settings as the ones I wrote down in postgresql.properties.

Minor changes in configuration I did: the context points to a /home/jug/jforum dir. I've also tried to remove the pgsql_driver74.213.jar (isn't it dependent on the version of Postgres?)
I've also configured tomcat to work on ports 8080 and 80, without change.

Is the "connection refused" a postgresql issue or a jforum one?

thanks
Rafael
[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
Well, according to this post I am considering that you found the problem.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I'm still in control here. LOOK at 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