[opencms-dev] Forum Module for OpenCms 6 step 7 & 8

marc fiévet marc at fievet.be
Tue Oct 18 19:24:48 CEST 2005

Hello Arash,
In your install note, you mentionned :
7. Change opencms\WEB-INF\web.xml to opencms\WEB-INF\web.xml.opencms on
your RFS
8. Change opencms\WEB-INF\web.xml.opencms.mvnforum to
In my webapp Web-Inf\ in found only the original web.xml , not the 2 you
What’s wrong?
Do I rename web.xml in my opencm webapp in to web.xml.opencms? But in
this case,  my webapp couldn’t start 

-----Message d'origine-----
De : opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] De la part de Arash Kaffamanesh
Envoyé : mardi 18 octobre 2005 14:27
À : 'Jakob Lemler'
Cc : opencms-dev at opencms.org
Objet : RE: [opencms-dev] Forum Module (mvnForum) for OpenCms
Ok :-)
if anybody uses another name for the opencms DB, eg. "opencms6.0.2", she
shall adjust the jdbc url like this in mvncore.xml:
Thanks for your feedback :-)
Best Regards,
-----Original Message-----
From: Jakob Lemler [mailto:jakob.lemler at t-online.de] 
Sent: Dienstag, 18. Oktober 2005 14:18
To: 'Arash Kaffamanesh'
Subject: AW: [opencms-dev] Forum Module (mvnForum) for OpenCms 6.x
Aaarrgghh: shame on me and thanks a lot for your answer.... !
Good old "opencms" context... one has to recognize that the meaning of a
jdbc-url is really a little bit diffrent form an url... ;-)
My db name is different.... Corrected it, now it  is working perfectly
with no further changes...
Excuse me for bothering, I will think twice the next time...
-----Ursprüngliche Nachricht-----
Von: Arash Kaffamanesh [mailto:arash.kaffamanesh at pomegranate.de] 
Gesendet: Dienstag, 18. Oktober 2005 13:58
An: 'The OpenCms mailing list'
Cc: 'Jakob Lemler'
Betreff: RE: [opencms-dev] Forum Module (mvnForum) for OpenCms 6.x
Hi Jakob,
thanks for the feedback. I've tested the module on Windows with a fresh
OpenCms 6.0.2 Installation, without any major issue.
The preconditios are:
1. Install OpenCms a opencms.war (and not ROOT.war) under webapps.
2. Select opencms as DB-Name during the installation of opencms.
3. control mvncore.xml for the following entries
use first root as opencmsuser with appropriate password, also:
(I guess your problem is here!)
4. the mysql-connector-java-3.0.15-ga-bin.jar must be under
at least it works for me, if you are using MySQL 4.1 on windows,
download the latest mysql jdbc driver (I think
5. Touch your module and publish all files.
6. restart tomcat
If this doesn't help, please provide the follwing infos:
Tomcat version
your jdbc driver
trace log (opencms.log and catalina.out)
does your opencms installation work properly?
Looking to hear from you.
Kind Regards,
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jakob Lemler
Sent: Dienstag, 18. Oktober 2005 13:34
To: 'The OpenCms mailing list'
Subject: AW: [opencms-dev] Forum Module (mvnForum) for OpenCms 6.x
hi Arash,
first of all thanks for the module, althought it does not work here
until yet. 
But the reason why is  just peanuts (almost for sure ... ;-))
Tried to install it with ocms 6.02 according to your description. But it
does not work because the mysql jdbc driver could not be found ... (as
far as I understand the error message further down).
In my installation, there is an actual jdbc-driver under
"%catalina_home%\common\lib" (3.1.11) additionally to the version which
comes with opencms in the WEB-INF\lib directory (3.0.15-ga-bin). As far
as I understand the one under the common directory should be found (and
should be usable) by all deployed webapps. Additionally the one in the
opencms tree should be used first... So I do not get what's the reason
why... ;-(
How the modul is "looking up" the driver? Is it possible (or perhaps a
must) to use the tomcat connection pool ??? 
If so, what exactly do I have to include in the mvncore.xml file?
As you can see, these are the questions of a non programmer ...
Hopefully interesting to otherones too... ;-)
regards and tia for your answer!
- win xp sp1
- mysql 4.1.13
- jdbc driver 3.1.11
- tomcat 5.5.12
- opencms 6.0.2
- jdk 1.5.0

mvnForum Fatal Error Message : Cannot init system. Reason : Check your
database configuration. Detail : DBUtils: Cannot get connection from
Connection Pool.

"2005-10-18 12:04:49,278 ERROR [ajp-8019-1] db.DBConnectionManager
(DBConnectionManager.java:356)     - Cannot create a new connection in
DBConnectionPool. URL =
java.sql.SQLException: No suitable driver
 at java.sql.DriverManager.getConnection(Unknown Source)
 at java.sql.DriverManager.getConnection(Unknown Source)"
The data in mvncore.xml:
         if USE_DATASOURCE = false, use the default built-in connection
         if USE_DATASOURCE = true,  use the connection pool that Servlet
Container provides
         You should NOT change the DATABASE_TYPE below
         By default, DATABASE_TYPE = 0
         NOTE: If your database/driver doesnt support scrollable
               (such as some version of Interbase/Firebird), set
         Set the below options if you want to use default connection
         This is applied if you set USE_DATASOURCE = false
         MINUTES_BETWEEN_REFRESH is the minutes between built-in
Connection Pool refreshment
               Some time your database server is set connection timeout
too low, such as
               5 minutes, that cause the connection auto disconnected.
In this case you should
               set MINUTES_BETWEEN_REFRESH lower than the server
connection timeout value
         NOTE: These values can be obtained from the header of the
               sql script for your database
         NOTE: For compatible with future release of mvnForum, we highly
               recommend that use config your database/driver to use
unicode utf8 encoding
erEncoding=utf-8</database_url> -->
         Set the Data source name if you want to use Servlet Container
connection pool
         This is applied if you set USE_DATASOURCE = true
 -----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Arash
Gesendet: Dienstag, 18. Oktober 2005 03:52
An: opencms-dev at opencms.org
Betreff: [opencms-dev] Forum Module (mvnForum) for OpenCms 6.x available
as promised last week (and last year ;-)) an easy to use: 
OpenCms-mvnForum-Plugin Module
is now available for download.
Module Name: org.opencms.mvnforum.plugin
Date released: 2005/10/17
Integrator: Arash Kaffamanesh
Version: 0.18
Download Size: 5.7 MB
This module has been tested with the latest OpenCms 6.0.2, MySQL 4.x on
Windows 2000 and includes the latest mvnForum RC4,
it comes as it is without any garanty and with respect to terms and
conditions of mvnForum and OpenCms licensing rules (LGPL GNU License).
You shall have installed OpenCms 6.x with MySQL 4.x on Tomcat 5.x (Java
1.5 recommended) under webapps/opencms.
Further information and download available from:
Please provide feedback. 
After sufficient testing it could be uploaded to OpenCms 6 Sandbox, in
the case that any of You could find it useful and OpenCms Experts at
Alkacon would like to do so :-)
Kind Regards,
|arash kaffamanesh

|global portal & content management solutions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20051018/d61ff17e/attachment.html>

More information about the opencms-dev mailing list