aspose file tools*
The moose likes JForum and the fly likes Trouble in setting up JFORUM with Eclipse as a Tomcat Project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Trouble in setting up JFORUM with Eclipse as a Tomcat Project" Watch "Trouble in setting up JFORUM with Eclipse as a Tomcat Project" New topic
Author

Trouble in setting up JFORUM with Eclipse as a Tomcat Project

Deepaks Deshpande
Ranch Hand

Joined: Dec 06, 2007
Posts: 113

Hi Guys,

I am trying to set up JForum as a Tomcat Project in Eclipse . I don't seem to see any errors related to libraries and also with classpaths. I am getting the following error . Just in case anybody has been able to resolve this problem, please let me know how do i go about solving the same.

Thanks in advance.



Regards,
Deepak

Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

All the error messages seem to indicate that attempts to connect to your database are either timing out or simply being refused, which suggests that you've configured things incorrectly -- it's as if the system is configured to try to cross a firewall to get to your database. Is your mysql database server running on the local machine, or on some other machine that's actually reachable? Can you talk to the database server using the "mysql" command-line client?

If it's not the JForum configuration, maybe it's the configuration of your computer. If you're running this on Windows, maybe it's the blasted "Windows Firewall" thing that's preventing you from accessing the server.


[Jess in Action][AskingGoodQuestions]
Deepaks Deshpande
Ranch Hand

Joined: Dec 06, 2007
Posts: 113

I have tried connecting JForum with the database (PostgreSQL) and it works perfectly if i do it from the webapps folder of TOMCAT, but when i do the same by using JFORUM with in a tomcat project in eclipse i get this error. Can somebody tell me the directory structure for JForum in a tomcat project for eclipse? Do i need to change some thing in the Deployment Descriptor(Web.xml)..? Can somebody guide me on this..?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trouble in setting up JFORUM with Eclipse as a Tomcat Project