...| Home | CMS...
DBPrism Content Management System > Install Instruction >

+ Home ...
+ Download
+ Documentation
> DBPrism Content Management System
+ DBPrism - Apache Cocoon
+ Credits
+ Legal
 
+ CMS
+ Introduction to DBPrism / Cocoon and DBPrism CMS
> Install Instruction
+ External Cache Invalidator Server
+ CMS-Tables
+ Upload Utility
+ Config File
+ CMS Addin for JDeveloper 9i DS
+ Dynamic Content
+ Source Code
+ Stylesheets
+ Scripts Explained
+ Security
 
+ links
+ Yahoo.groups
+ OTN
+ OSCOM.org
 
Moreover news
+ IBM speeds Java on mainframes (CNET Asia)
+ Middle-aged mainframe converts to Java (ZDNet UK)
+ IBM speeds Java on mainframes (ZDNet)
+ IBM speeds Java on mainframes (CNET)
+ All Buttons (JavaBoutique)
+ Drag-and-Drop Editor Out for Linux Devs (Internet News)
+ Using Program Parameters in Java (JavaBoutique)
+ Sun pledges to cooperate with Microsoft (AP via Seattle Post Intelligencer)
+ Sun pledges to cooperate with Microsoft (Boston Globe)
+ Bitter legal feud ends with payment, Sun cuts 3,300 more jobs (China Post)
+ Sun and Microsoft settle (Chicago Sun-Times)
+ Microsoft to pay $1.6 billion, settle with Sun Microsystems (Baltimore Sun)
+ Visualize Hoovers Data With Anacubis (ResearchBuzz via ResearchBuzz)
+ Sun and BEA advance Java app offerings (Computer Weekly)
+ Sun wants to lift its Java profile (ZDNet UK)
+ 'Smack the Pingu' on Your Mobile Phone! (PA News via The Scotsman Online)
+ Third Generation Mobile Phone Game from Nihon Enterprise (Japan Corp)
+ Comment: Free but shackled - the Java trap (Sydney Morning Herald)
+ Sun plots Java comeback (CNET Asia)
+ Veritas and BEA vow to love Java together (The Register)
+ Microsoft and Sun's settlement will yield web services benefits and support for Java (Computer Weekly)
+ Sun plots Java comeback (CNET)
+ Sun plots Java comeback (ZDNet)
+ Sun enables new wave of mobile Java services (Sunday Times South Africa)
+ Sun Releases Sun Java Studio 6 (Techfocus)
+ Sam Pitrodas Telecom Firm Sets Up India Centre (Financial Express)
+ Multi Player Mobile Gaming (BBC)
+ Combining SOAP and JavaMail (Java Pro)
+ Draw Applet (JavaBoutique)
+ IBM dedicates module to Java on mainframes (CNET)
 
+ OTN News
+ View Live Customer Webcast Demos of Enterprise Manager 10g Grid Control
+ Oracle Database 10g for Windows Now Available for Download
+ Download New Oracle 10g JDBC Drivers
+ JDeveloper 10g Reviewed in Internet.com's Java Boutique
+ Java Developer's Journal Readers Name Oracle Products "Best" in Two Categories
+ New OracleAS Portal Extension for Macromedia Dreamweaver
+ Learn from the Experts During Java Week
+ Download Oracle Database 10g
+ New OracleAS Web Cache How-To Documents
+ Learn About SQL 2003 Support in Oracle Database 10g
+ New: Quick Installation Guide for RAC on Oracle Database 10g SE (Windows)
+ Oracle Forms Diagnostic Techniques
+ Introduction to JavaServer Faces
+ Prepare for Oracle Database 10g
+ New Tutorial: Learn JSP 2.0
+ Learn Best Practices for Consolidating Oracle on Linux Deployments
+ What's New in PL/SQL in Oracle Database 10g?
+ New Oracle 10g JDBC Samples
+ New Tech Tip: Using HttpUnit in Oracle JDeveloper 10g
+ Oracle 10g Supports Microsoft Windows Media Streaming Services and Windows Media File Format (ASF)
+ New Books at Oracle 10g Book Center
+ Tech Tip: Using JSTL SQL in Oracle JDeveloper 10g Preview
+ New Technical Article Series: The Hitchhiker's Guide to PHP
+ New Enterprise Manager 10g Grid Control Hands-on Tutorial
+ OC4J 10g (10.0.3) Developer Preview 2 Now Available
+ Download the New Oracle JDeveloper Application Migration Assistant (AMA) Search Rules for WebLogic Migrations
+ Learn Oracle in 2 Days
+ Download the new Oracle XDK 10g Production Release
+ Explore New JDBC 10g How-To's
+ New Oracle 10g JDBC Sample: CachedRowSet
+ New RowSet Implementation Tutorial Series
+ Download 2003 ODTUG Conference Papers
+ New Tutorial: Understanding TLD Caching in JSPs
+ Deploy the New J2EE 1.4 Adventure Builder Reference Application to OC4J
+ Download New Servlet Advanced Sample Applications
+ New: Oracle XDK 10g Unicode Support and XSLT Extension Sample App
+ New Oracle Application Server ProcessConnect End-to-End Samples
DBPrism at SourceForge
Built with Cocoon2
CMS
 
Requeriments to install DBPrism / Cocoon CMS

This CMS requires an Oracle 8.1.6+ with Oracle Text (formerly interMedia Text) installed if you needs CMS search facilities, and an XDK 9.0.2+ (xmlparserv2.jar and xsu12.jar) installed on sys's schema with public synonyms (loadjava -s -g public options). We highly recommend to use an Oracle 9.2.0.3 database version.
Also DBPrism CMS requires DBPrism Java XML Toolkit Procedures (XTP), before install DBPrism CMS, install it first. For more information refer to Toolkits section.

On the client side also is required an XDK 9.0.2+, look at the CMS Upload Utility section for more details.

Database Server Installation - Common schemas - Step 1

Click on the icon below to watch a graphical installation demo (steps 1 to 3).

Viewlet Logo

To install DBPrism CMS run the install.sh script on the server machine if you are using Oracle on Unix, or install.bat script for Win32, logged as Oracle database owner (oracle unix user). Before runs this install script check enviroment settings such as JAVA_HOME, ORACLE_HOME, CMS_HOME, SYS_PASSWORD and so on, for example:

if [ "$CMS_REPOSITORY" = "" ] ; then
  CMS_REPOSITORY=cms;export CMS_REPOSITORY 
fi

SYS_PASSWORD="sys/change_on_install@$CMS_REPOSITORY as sysdba";export SYS_PASSWORD

CMS_USER_SEC=cms_user_sec;export CMS_USER_SEC
CMS_USER_SEC_PWD=cms_user_sec;export CMS_USER_SEC_PWD
CMS_OWNER=cms_owner;export CMS_OWNER
CMS_OWNER_PWD=cms_owner;export CMS_OWNER_PWD

# Where Cocoon is running, edit them acording to your need
CACHEHOST=cachehost;export CACHEHOST
CACHEPORT=8888;export CACHEPORT

Normally your unique change will be the setting for CMS_REPOSITORY and SYS_PASSWORD values, look at the Script Detailed document for more information.
Run it using a command sequence like this:

# cd $HOME/cms/scripts
# ./install.sh

Note Tip: the script assumes a database instance named "cms", to quickly customized this setting add a new entry into your $ORACLE_HOME/network/admin/tnsnames.ora file according to your needs. Also you will need to change this value into the file $CMS_HOME/dbprism/xdocs/setupcms.xml

Note This script assume CMS_OWNER as the schema where the source code and test tables are created. CMS_USER_SEC schema is used for storing procedures and packages used by the Virtual Private Database security layer, look at the Workshop pages for more detail on the security layer implementation.

Note If you change CACHEHOST, CACHEPORT values into install.sh script, set the same values into enable-cache-sync.sh and disable-cache-sync.shscripts. Look at the Cocoon External Cache Invalidator Server section for more details.


Database Server Installation - Common schemas - Step 2

DBPrism CMS 2.0.1 provides a separate schema for your assets, so you can share the Source code of the CMS and VPD implementation packages with multiple repositories. This three-schema configuration setup provides many benefits for administration tasks such as exporting and importing operations, CMS code upgrade an so on.

Then the next step into the database server side is to create the repository for the content assets. This step is made executing the script create-rep.[sh|bat]

Like the step 1, these scripts requires checking on some enviroment setting such as CMS_REPOSITORY, SYS_PASSWORD, and so on.

The script requires two arguments, the database username and password for the target schema. This database user is a new database to be created, if this user exist the script will fail at many points and the repository will be unestable. Example:

# cd $HOME/cms/scripts
# ./create-rep.sh demo_rep demo_rep

Database Server Installation - Uploading an initial Content - Step 3

In the step 2 we created an database user which will content the CMS assets. We can populate this content with some default values at this point. These default values includes, definitions for RSS Channels, Categories for the MoreOver News feed and Questions and Answers for the FAQ List.

To upload these initials values excecute:

# cd $HOME/cms/scripts
# ./upload-test.sh demo_rep demo_rep

Also we need to upload almost a home page for the web site and the administrative pages, for doing it execute:

# cd $HOME/cms/scripts
#  ./upload-demo-site.sh

The above script uses a pre-configured demo web site with only one public page, the Home Page, you can add then sections and sub-sections to this web site using the administrative pages. The content for the demo web site is located into the directory $CMS_HOME/demo, you need to set the same username and password for the database repository as the used in the step 2 into the configuration file $CMS_HOME/demo/xdocs/setupcms.xml.

upload-demo-site.[sh|bat] script uses the Upload Utility click on the link to see more information.


Web Server Configuration

This CMS works with Cocoon 2 architecture, Cocoon 2 uses sitemap.map file for configuring presentation concerns, here a setup code used in the root sitemap file of Cocoon2.

<?xml version="1.0"?>

<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">

<!-- =========================== 
     Components 
     ================================ -->

 <map:pipelines>
  .....
  <!-- sub-sitemap example pipeline -->
  <map:pipeline>
   <!-- ================  
        DBPrism 2.0.1-production begin here  
        =========================== -->
   <map:match pattern="doc/**">
    <map:mount uri-prefix="doc" src="cms/" check-reload="yes"/>
   </map:match>

   <map:match pattern="ldoc/**">
    <map:mount uri-prefix="ldoc" src="lcms/" check-reload="yes"/>
   </map:match>

   <map:match pattern="xmlj/**">
    <map:mount uri-prefix="xmlj" src="xmlj/" check-reload="yes"/>
   </map:match>

   <map:match pattern="x-dbprism-cache-invalidate">
    <map:generate type="serverpages" src="invalidate.xsp"/>
    <map:serialize/>
   </map:match>

   <map:match pattern="dist/*.*">
    <map:read src="dist/{1}.{2}" mime-type="application/octect-stream"/>
   </map:match>
   <!-- ================  
        DBPrism 2.0.1-production end here  
        =========================== -->

    <map:match pattern="sub/**">
....
 </map:pipelines>

</map:sitemap>

<!-- end of file -->

The above section means that DBPrism CMS will use two sub sitemaps located into the directories cms and lcms. Each sub sitemaps defines DBPrismGenerator as default Generator for Cocoon and several pipelines used into the CMS, directories starting at doc are for the production web site, and the other (ldoc) for the internal website (site used by the Content Authors). Finaly DBPrism / Cocoon2 CMS is preconfigured for a mount point /dbprism, for Apache + Tomcat it requires to edit mod_jk.conf file with this line:

JkMount /dbprism/* ajp12

For Apache+Jserv on jserv.conf file:

ApJServMount /dbprism /root

For Apache+OC4J on oc4j.conf file (through mod_proxy):

ProxyPass       /dbprism/ http://localhost:8888/dbprism/
ProxyPassReverse  /dbprism/ http://localhost:8888/dbprism/

Look for the respective install instructions on each case ( Apache/Jserv, Apache/Tomcat, Apache/Oracle9iAS Container for J2EE).

NoteIf you are using Oracle JDeveloper 9.0.3+ DS, you can quickly make the web server deployment into an OC4J using the deployment tool. First open de project file CMS.prj located into the CMS_HOME directory, then navigate to the Deployment tree and execute the deployment profile named webapp.deploy




Last Update: 2003-08-07 09:42:35.0| webmaster@dbprism.com.ar
Search | Use AltaVista (TM) query syntax<<
Quick Links<<
(C) 2003 - DBPrism ~ DBPrism CMS | Marcelo F. Ochoa | TANDIL ~ Argentina