Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trouble in setting up JFORUM with Eclipse as a Tomcat Project

 
Deepaks Deshpande
Ranch Hand
Posts: 114
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Deepaks Deshpande
Ranch Hand
Posts: 114
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic