<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>#### A short introduction to setting up mvnforum 
####<BR>#### in the same context of opencms 6 alpha 
2  ####</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><BR><FONT 
face=Arial size=2>I assume you have opencms 6 alpha or other future releases in 
place and have</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><A href="http://localhost:8080/opencms/opencms"><FONT face=Arial 
size=2>http://localhost:8080/opencms/opencms</FONT></A><FONT face=Arial size=2> 
as your standard installation URI and </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>would like to run mvnforum inside opencms, for 
instance from:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><A href="http://localhost:8080/opencms/forum"><FONT face=Arial 
size=2>http://localhost:8080/opencms/forum</FONT></A></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Furthermore you would like to use the same Database 
"opencms" and install the mvnforum</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>db-tables into it, so that they could be linked 
together for e.g. using the same user </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>management or integrate some parts of the mvnforum 
application into your opencms templates.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>#### Bevor doing anything please backup your 
current OpenCMS installation ####</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The following Installation has been 
tested <SPAN class=003502322-30102004>on</SPAN><SPAN 
class=003502322-30102004> windows and SuSE Linux Enterprise Server 9 
(sles9) with following apps</SPAN>:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>JDK version:    1.4.2_06  
  <BR>Servlet engine:  Apache Tomcat\5.0.19   <BR>XML Parser: 
  Xerces-J 2.6.1<BR>OpenCMS :  Alpha 2<BR>Database: 
  MySQL 4.x</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>O.K. lets go:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1. after downloading the source of mvnForum 1.0.0 
RC3_01(Update 1)from:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><A href="http://www.mvnforum.com/mvnforumweb/index.jsp"><FONT face=Arial 
size=2>http://www.mvnforum.com/mvnforumweb/index.jsp</FONT></A></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>extract the source to e.g: 
c:\mvnforum-1.0.0-rc3-src  </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>2. Database Installation:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>create the mvnforum db-tables in your opencms 
database. For doing that,<BR>run mvnForum_mysql.sql script over opencms database 
as root or opencmsuser</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>/$> mysql -uroot -Dopencms < 
C:\mvnforum-1.0.0-rc3-src\mvnforum\sql\mvnForum_mysql.sql -p</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>you will be asked for root user password, possibly 
you can install the db with opencmsuser<BR>account (use -uopencmsuser instead 
-uroot)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>3. change the property settings of 
C:\mvnforum-1.0.0-rc3-src<SPAN class=003502322-30102004>\</SPAN>mvnforum<SPAN 
class=003502322-30102004>\</SPAN>build.properties<BR>as follow:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>changes:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>deploy.localhost=c:/tomcat5/webapps ### set your 
own tomcat path with / "be aware "\" doesn't work on windows !!!"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>app.name=opencms</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial 
size=2>sqldriver.jar=mysql-connector-java-3.0.14-production-bin.jar  ### or 
future releases</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>4. change property settings for:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial 
size=2>C:\mvnforum-1.0.0-rc3-src\mvnforum\properties\mvnforum.xml</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>change url_patterns:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>    
<url_pattern>/forumadmin</url_pattern><BR>    
</adminmoduleconfig><BR>    
<usermoduleconfig><BR>        
<url_pattern>/forum</url_pattern><BR>    
</usermoduleconfig><BR>    
<mvnforumconfig><BR>    <BR>   <BR>change 
mvnforumhome to:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial 
size=2>c:\tomcat5\webapps\opencms\WEB-INF\mvnForumHome</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><BR><FONT face=Arial size=2>3. change property settings for:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial 
size=2>C:\mvnforum-1.0.0-rc3-src\myvietnam\properties\mvncore.xml</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>        
<driver_class_name>com.mysql.jdbc.Driver</driver_class_name><BR>        
<database_url>jdbc:mysql://<ServerName>/<SPAN 
class=003502322-30102004>opencms</SPAN>?useUnicode=true&amp;characterEncoding=utf-8</database_url><BR>        
<database_user>opencmsuser</database_user><BR>        
<database_password>secret</database_password>   ### be 
aware of <database_password/> !!! 
####<BR>        
<max_connection>500</max_connection><BR>        
<max_time_to_wait>2000</max_time_to_wait><BR>        
<minutes_between_refresh>30</minutes_between_refresh><BR>        
<BR>        
<BR>        ### change according to your 
needs<BR> <BR> <mailoptions><BR>        
<mail_server>localhost</mail_server><BR>        
<default_mail_from><SPAN 
class=003502322-30102004>webmaster</SPAN>@localhost</default_mail_from><BR>        
<username/><BR>        
<password/><BR>        
<port>25</port><BR>    
 </mailoptions><BR> <BR>     
<BR>    
 <paramoptions><BR>        
<context_path>/opencms</context_path><BR>        
<server_path>http://<ServerName>:8080</server_path><BR>    
 </paramoptions><BR>     <BR> 4. change 
C:\mvnforum-1.0.0-rc3-src/mvnforum/srcweb/WEB-INF/web.xml like 
this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><servlet-mapping><BR>    
<servlet-name>ForumAdminServlet</servlet-name><BR>    
<url-pattern>/forumadmin/*</url-pattern><BR>  
</servlet-mapping><BR>  <BR>  
<servlet-mapping><BR>    
<servlet-name>ForumUserServlet</servlet-name><BR>    
<url-pattern>/forum/*</url-pattern><BR>  
</servlet-mapping><BR>  <BR>  4. backup / rename your opencms 
web.xml to web.opencms.xml<BR>  <BR>  5. run ant to deploy mvnforum in 
to opencms <BR>  <BR>  C:\mvnforum-1.0.0-rc3-src\mvnforum> ant 
deploy-localhost<BR>  <BR>  6. register mvnforum servlet into opencms 
web.xml as follow<BR>  <BR>  rename web.xml (thats now mvnforum 
web.xml) to web.mvnforum.xml<BR>  <BR>  rename web.opencms.xml back to 
web.xml and copy the following section to web.xml below opencms 
</taglib><BR>  <BR>  <BR>  <BR>   ---- copy this 
section to opencms web.xml between </taglib> and </web-app>  
----<BR>  <BR>   ----  mvnforum web.xml section 
-----<BR>  <BR>  <filter><BR>    
<filter-name>CompressionFilter</filter-name><BR>    
<filter-class>net.myvietnam.mvncore.servlet.filter.CompressionFilter</filter-class><BR>    
<init-param><BR>      
<param-name>compressionThreshold</param-name><BR>      
<param-value>128</param-value><BR>    
</init-param><BR>  </filter></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>  <filter-mapping><BR>    
<filter-name>CompressionFilter</filter-name><BR>    
<url-pattern>/mvnforum___/*</url-pattern><BR>  
</filter-mapping><BR>  <filter-mapping><BR>    
<filter-name>CompressionFilter</filter-name><BR>    
<url-pattern>/mvnforumadmin___/*</url-pattern><BR>  
</filter-mapping></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>  <listener><BR>    
<listener-class>com.mvnforum.MVNForumContextListener</listener-class><BR>  
</listener><BR>    <BR>  
<servlet><BR>    
<servlet-name>ForumAdminServlet</servlet-name><BR>    
<servlet-class>com.mvnforum.admin.ForumAdminServlet</servlet-class><BR>  
</servlet><BR>  <servlet><BR>    
<servlet-name>ForumUserServlet</servlet-name><BR>    
<servlet-class>com.mvnforum.user.ForumUserServlet</servlet-class><BR>  
</servlet></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>  <!-- Action Servlet Configuration 
--><BR>  <!-- comment out for the next RC3_dev release<BR>  
<servlet><BR>    
<servlet-name>action</servlet-name><BR>    
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class><BR>    
<init-param><BR>      
<param-name>config</param-name><BR>      
<param-value>/WEB-INF/struts-config.xml</param-value><BR>    
</init-param><BR>    
<load-on-startup>1</load-on-startup><BR>  
</servlet><BR>  --></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>  <!-- Action Servlet Mapping 
--><BR>  <servlet-mapping><BR>    
<servlet-name>ForumAdminServlet</servlet-name><BR>    
<url-pattern>/forumadmin/*</url-pattern><BR>  
</servlet-mapping></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>  <!-- comment out for the next RC3_dev 
release<BR>  <servlet-mapping><BR>    
<servlet-name>action</servlet-name><BR>    
<url-pattern>/mvnforum/index*</url-pattern><BR>  
</servlet-mapping><BR>  --></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>  
<servlet-mapping><BR>    
<servlet-name>ForumUserServlet</servlet-name><BR>    
<url-pattern>/forum/*</url-pattern><BR>  
</servlet-mapping></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>  <taglib><BR>    
<taglib-uri>http://jsptags.com/tags/navigation/pager</taglib-uri><BR>    
<taglib-location>/WEB-INF/pager-taglib.tld</taglib-location><BR>  
</taglib><BR>  <BR>  <BR>  ----  End of mvnforum 
web.xml section -----<BR> .......<BR>  
<BR> </web-app><BR> <BR> <BR> 7. restart 
tomcat<BR> <BR> 8. Test the installation:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </FONT><A 
href="http://localhost:8080/opencms/forum/index"><FONT face=Arial 
size=2>http://localhost:8080/opencms/forum/index</FONT></A><BR><FONT face=Arial 
size=2> </FONT><A 
href="http://localhost:8080/opencms/forumadmin/index"><FONT face=Arial 
size=2>http://localhost:8080/opencms/forumadmin/index</FONT></A><BR><FONT 
face=Arial size=2> <BR> have 
fun!<BR> <BR> <BR> P.S:<BR> <BR> additional settings 
can / must be done to mvnforum.xml and mvncore.xml for production 
use<BR> (under WEB-INF/classes directory)for mailserver settings or 
<max_attachment_size>1MB</max_attachment_size><BR> <BR> <BR> Now 
you can upload mvnvorum.jar into the classes folder of your opencms module 
and <SPAN class=003502322-30102004>should be able to 
</SPAN>integrate<BR> /forum/index or other mvnforum pages into your 
application, if necessary.<BR> <BR> <BR> -------------<SPAN 
class=003502322-30102004>-----</SPAN><BR> Nice to 
have:<BR> -------------<SPAN 
class=003502322-30102004>-----</SPAN><BR> <BR> link opencms user 
tables and mvnforum member tables to each other, so that your opencms 
users<BR> don't have to register to mvnforum<SPAN class=003502322-30102004> 
(or use your own authentication services)</SPAN>.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT><FONT face=Arial size=2> Best 
Regards<BR> Arash<BR> <BR> </FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial 
size=2> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> </FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none">
<P class=MsoNormal 
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN 
style="FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><?xml:namespace prefix 
= o ns = "urn:schemas-microsoft-com:office:office" /><o:p><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><SPAN 
class=854555218-13032004><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><SPAN 
class=854555218-13032004><SPAN 
class=310224815-07052004></SPAN></SPAN></SPAN></SPAN></SPAN></o:p></SPAN></P></P></DIV></BODY></HTML>