wood burning stoves 2.0*
The moose likes JForum and the fly likes The First Steps.. you start here Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "The First Steps.. you start here" Watch "The First Steps.. you start here" New topic
Author

The First Steps.. you start here

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I have installed Hsqldb and used the script provided by Jforum and created the database. But I do not know how to start Jforum. I was running Hsql Web server mode. It is said no other web server needed. But I do not know how to get it started. Please help. Is Tomcat a must?
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
In order to run jforum you need a java servlet container like Tomcat.

You find a list of more serlvet containers here :
http://en.wikipedia.org/wiki/Servlet_container
[originally posted on jforum.net by marc]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi Rafael!
Thank you for all the hard work!

I have a real - real - newb question.
I'm about to start installing JForum on a server that already has other JSP/Servlets running on it in combination with MySql.

It's one of the 'commodity' hosting packages and I have only limited access to ther server, tech support is lousy too boot.

My existing setup alreay has an WEB-INF dir with web.xml file

So, can I simply drop JForum-xxx dir into the existing structure as is?
for some reason I keep thinking not,

Don't I have to manually integrate the existing web.xml file with the one from JForum dir?

I'm thinking I could just drop all the non-WEB-INF dirs and file into the root dir of existing set up and manually integrate all the contents of the JForum WEB-INF dir into the existing one.

Am I making any sense with this? This might be just a pain-in-the-butt corner case, but there could be others with the same dilema.

Thank you again in advance for any feedback.
Tomasz
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Anonymous wrote:I'm a complete noob at CVS, but I think there is a documentation error at:

https://jforum.dev.java.net/servlets/ProjectSource

It gives the following command(s):

OLD:
cvs -d :pserver:guest@cvs.dev.java.net:/cvs login

CORRECT (I think):
cvs -d :pserver:guest@jforum.dev.java.net:/cvs login

THis is the same for all the other commands on the page. I.e. jforum is not specified specifically. Because I'm a noob to CVS and just copied & pasted I took a while for me to figure this out.


the module name is jforum. the old is right.
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Eu ṇo consigo colocar o forum para ser visto na internet voc̻ sabe como devo fazer?(j�� que ele funciona na minha m��quina normalmente). Meu e-mail ̩ argetnao007@yahoo.com.br
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Eu ṇo consigo colocar o forum para ser visto na internet voc̻ sabe como devo fazer?(j�� que ele funciona na minha m��quina normalmente). Meu e-mail ̩ argentao007@yahoo.com.br
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Anonymous wrote:Eu ṇo consigo colocar o forum para ser visto na internet voc̻ sabe como devo fazer?(j�� que ele funciona na minha m��quina normalmente). Meu e-mail ̩ argetnao007@yahoo.com.br
o e-mail est�� errado. O certo ̩ argentao007@yahoo.com.br

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

Joined: Apr 22, 2012
Posts: 17424
Anonymous wrote:Eu ṇo consigo colocar o forum para ser visto na internet voc̻ sabe como devo fazer?(j�� que ele funciona na minha m��quina normalmente). Meu e-mail ̩ argentao007@yahoo.com.br


Voc̻ consegue ver o JForum rodando localmente, digitando algo do tipo:

http://localhost:8080/JForum ???

Se ṇo, primeiro precisa fazer isso!

Se sim, experimente colocar ao inv̩s de localhost, o n̼mero do seu IP.

[ ]'s
[originally posted on jforum.net by leandro_salvador]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi

Similarly (to Tomasz post: 17/12/2005) - I am keen to integrate jforum into an existing j2ee web-app.

Very newbie question: I just wanted to confirm jforum best practices i.e. 1. Whether people usually call jforum as an independent web-app? Or alternatively, 2. If its easy to modify a pre-existing web application config and deploy as a single web-app (with jforum integrated).

Many thanks in advance,
Aidan
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
It is up to you. If you want to integrate it to an existing web application, all you have to do is to copy JForum files to the root directory (aka, you *cannot* craete a directory named, say, "forum" and put jforum files there.. it will not work).

The only extra work you'll have to do is to merge jforum's web.xml your current web.xml

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

Joined: Apr 22, 2012
Posts: 17424
Thank-you very much for the feedback (and for jforum, its great).

Best regards,
Aidan
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi,
I am just trying to install it...
Please tell me, what software I will require to run this forum?
Is this list is complete:
1] Tomcat
2] JDK
3] Any database client

Please reply...

Thank you very much for your time.
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Yep, that's enough

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

Joined: Apr 22, 2012
Posts: 17424
Rafael Steil wrote:Installing and configuring JForum
For information about how to install and configure JForum, please refer to the following pages:

:arrow: Automated Installer - http://www.jforum.net/install.htm
:arrow: Manual Installation - http://www.jforum.net/install_no_wizard.htm

Any questions, please be free to post your comments here.

Rafael


I according to the introduce to install the jforum , I got an error :

HTTP Status 404 - /JForum-2.1.6/install/install.page

--------------------------------------------------------------------------------

type Status report

message /JForum-2.1.6/install/install.page

description The requested resource (/JForum-2.1.6/install/install.page) is not available.


--------------------------------------------------------------------------------

Apache Tomcat/5.0.26
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Take a look in your Tomcat logs.. sometimes an error occurs when it is starting, which prevents the Servlet to work properly.

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

Joined: Apr 22, 2012
Posts: 17424
Rafael,
depois de ter realizado a instala̤̣o com "sucesso", o forum ṇo est�� mais dispon�?vel. Eu tenho que mexer no web.xml do jforum???



http://ip:8080/forum/
acessa a index.htm

http://ip:8080/forum/forums/list.page


HTTP Status 404 -


type Status report

message

description The requested resource () is not available.


Apache Tomcat/5.5.16
[originally posted on jforum.net by thaysa]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi
I have deployed jforum on Jetty built from mavan, the database was happily intalled through the site, but when trying to access the initial page, I have the following:

2009-04-21 13:59:34.405::WARN: /forums/list.page
java.lang.LinkageError: loader constraint violation: loader (instance of org/mortbay/jetty/webapp/WebAppClassLoader) previously initiated loading for a different type with name "javax/management/MBeanServer"

any idea where I should start debugging?

Thanks in advance
Alan
[originally posted on jforum.net by huang_a]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I don't think JForum uses any management beans... so best guess (and it's a big guess with the odd setup you list), is that there are two of some jar file in the webapp classpath, e.g. WEB-INF/lib and shared directories.
[originally posted on jforum.net by monroe]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
thanks Monroe,

yes, I have clean up all other jars in the classpath, I only have them built from maven repository from pom.xm dependency spec. now the message I have got is following:

java.lang.LinkageError: javax/management/MBeanServer
at com.mchange.v2.c3p0.management.ActiveManagementCoordinator.attemptManageC3P0Registry(ActiveManagementCoordinator.java:52)
at com.mchange.v2.c3p0.C3P0Registry.attemptRegisterRegistryMBean(C3P0Registry.java:217)
at com.mchange.v2.c3p0.C3P0Registry.reregister(C3P0Registry.java:242)
at com.mchange.v2.c3p0.impl.PoolBackedDataSourceBase.(PoolBackedDataSourceBase.java:228)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.(AbstractPoolBackedDataSource.java:62)
at com.mchange.v2.c3p0.ComboPooledDataSource.(ComboPooledDataSource.java:108)
at com.mchange.v2.c3p0.ComboPooledDataSource.(ComboPooledDataSource.java:104)
at net.jforum.C3P0PooledConnection.init(C3P0PooledConnection.java:69)
at net.jforum.ForumStartup.startDatabase(ForumStartup.java:75)
at net.jforum.JForum.checkDatabaseStatus(JForum.java:246)
at net.jforum.JForum.service(JForum.java:143)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124)
at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:757)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:416)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:826)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:523)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:377)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:497)

any idea?

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

Joined: Apr 22, 2012
Posts: 17424
Google is your friend... a quick search of "c3p0 /javax/management/MBeanServer" led me to:

http://www.nabble.com/org-mortbay-jetty-webapp-WebAppClassLoader-previously-initiated-loading-for-a-different-type-with-name-%22javax-management-MBeanServer%22-td21743839.html
[originally posted on jforum.net by monroe]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
before Google, I took you as my human friend first, I made the right decision on this count. yes, once I remove all jboss jars, jforum is very happy
[originally posted on jforum.net by huang_a]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
by the way, I like Mr. Boggart, remember that one goes 'you are not very tall arn't you?' ' well, i try to be'
[originally posted on jforum.net by huang_a]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: The First Steps.. you start here
 
Similar Threads
java.lang.reflect.InvocationTargetException
Running 1.5 from CVS?
Upgrading to RC5
Developer docs
JForum 2.1 released