aspose file tools*
The moose likes JForum and the fly likes Installation problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Installation problems" Watch "Installation problems" New topic
Author

Installation problems

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hey everyone,

I'm having some major problems installing jforum. I'm sure it's just me and not the app itself.

There path where I installed the forum is: http://latinsonline.com/forum/jforum

In the SystemsGlobals.properties file I set the following information:

forum.link = http://localhost:8080/forum/jforum
homepage.link = http://localhost:8080


Does it need to go in port 8080 or can I just set that to http://latinsonline.com/forum/jforum?

I set up the database info correctly in mysql.properties file.

If I go to http://latinsonline.com:8080/forum/jforum I don't get anything. Doesn't work either for http://latinsonline.com:8080/forum/jforum/install.jsp - I get a bunch of error messages.

Any idea what to do?

Thanks,

David



[originally posted on jforum.net by DavidV]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
In your install, looks like you don't need the :8080 port specified.

Here is your error message from http://www.latinsonline.com/forum/jforum/forums/list.page:

----start error----
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet.init() for servlet jforum threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)

root cause

net.jforum.exceptions.ForumStartupException: Error while starting jforum
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
com.mysql.jdbc.Connection.execSQL(Connection.java:3124)
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1149)
com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1262)
com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
net.jforum.dao.generic.GenericCategoryDAO.selectAll(GenericCategoryDAO.java:104)
net.jforum.repository.ForumRepository.loadCategories(ForumRepository.java:782)
net.jforum.repository.ForumRepository.start(ForumRepository.java:128)
net.jforum.ForumStartup.startForumRepository(ForumStartup.java:100)
net.jforum.JForum.init(JForum.java:114)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.30 logs.
----end error----

Since you are getting SQL exception errors, are you sure your MySQL properties are set correctly?

I also wouldn't use "localhost" in your URLs, use your domain name.

[originally posted on jforum.net by GatorBait3]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I believe it's actually a Tomcat issue.

How do I get the app listed in Tomcat?
[originally posted on jforum.net by DavidV]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
DavidV wrote:I believe it's actually a Tomcat issue.

How do I get the app listed in Tomcat?


Look about 4 posts down at this thread titled "How to register App": http://www.coderanch.com/t/577279

JForum even has a "search" function! ;-)

[originally posted on jforum.net by GatorBait3]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Yeah, I had done a Search and saw that post.

I'm having trouble getting to Tomcat through cPanel.
[originally posted on jforum.net by DavidV]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Installation problems