• 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
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Trouble in setting up JFORUM with Eclipse as a Tomcat Project

 
Ranch Hand
Posts: 114
Hibernate Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
author and iconoclast
Posts: 24204
44
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Hibernate Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..?
 
reply
    Bookmark Topic Watch Topic
  • New Topic