Meaningless Drivel is fun!*
The moose likes JForum and the fly likes Problems running JForum Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Problems running JForum" Watch "Problems running JForum" New topic
Author

Problems running JForum

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
Well, according to this post I am considering that you found the problem.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems running JForum
 
Similar Threads
Making a reserve...
I passed....
Knowing when JBoss has started
Accessing context params from an Action class
Maven: Multiproject Issue