...| Home | Documentation...
Documentation > JavaWebServer >

+ Home ...
+ Download
> Documentation
+ DBPrism Content Management System
+ DBPrism - Apache Cocoon
+ Credits
+ Legal
 
+ Documentation
+ Frequently Asked Questions
+ Readme
+ Demos
+ Changes
+ Thigs To Do
+ Toolkits
> JavaWebServer
+ Tomcat
+ Installing DBPrism/Cocoon2 on OC4J
+ Installing DBPrism on Cocoon2/OC4J/Linux: Introduction
+ Apache/JServ on NT
+ Resin
+ Parameters
+ Internals
 
+ 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
Documentation
 
Readme Java WebServer
How to install DB Prism-Cocoon under Sun JavaWebserver 2.0 (DB Prism 1.0.1-production Cocoon 1.7.4)
Resources:
  Sun Java Web Server: http://www.sun.com/software/jwebserver/index.html
  Cocoon: http://xml.apache.org/
  DB Prism: http://www.plenix.com/dbprism/
 
1. Install Sun JavaWebServer 2.0 
   <server_root> stand for Sun Java WebServer main directory installation.
   <cocoon_root> stand for Apache Cocoon main directory installation.
   <prism_root>  stand for Prism main directory installation.                                                           
 
2. Unpack Cocoon libs under <server_root>/classes or add to CLASSPATH variable 
        # cd <server_root>/classes 
        # jar xvf <cocoon_root>/lib/ant.jar 
        # jar xvf <cocoon_root>/lib/fop_0_12_1.jar 
        # jar xvf <cocoon_root>/lib/stylebook-1.0-b2.jar 
        # jar xvf <cocoon_root>/lib/xalan_1_0_1.jar 
        # jar xvf <cocoon_root>/lib/xerces_1_0_3.jar 

2. Unpack JDBC classes under <server_root>/classes or add to CLASSPATH variable
        # cd <server_root>/classes 
        # jar xvf <oracle_home>/jdbc/lib/classes111.zip 
 
3. Unpack Cocoon Framework under <server_root>/servlets or add to CLASSPATH variable
        # cd <server_root>/servlets 
        # jar xvf <cocoon_root>/bin/cocoon.jar 
 
4. Unpack DB Prism Engine under <server_root>/servlets or add to CLASSPATH variable
        # cd <server_root>/servlets 
        # jar xvf <prism_root>/bin/Prism.jar 
 
5. Start JavaWebServer 
        # <server_root>/bin/httpd 
 
6. With your favorite browser start admin applet, load the URL: 
        http://server:9090/index.html 
        or use script 
        # <server_root>/bin/admin  
   If you have just installed, type admin for user and password. Then login. 

7. Select Java Web Server -> Web Service 8080 and choose Manage. 
 
8. Press Servlets Button (upper right corner). 
 
9. Select "Add" in tree view. 
For Cocoon: 
  - Fill the boxs with this values: 
        Servlet Name: Cocoon 
        Servlet Class: org.apache.cocoon.Cocoon
        Bean Servlet: No 
  - And Press button "Add" 
  Then with Configuration Pane: 
  - Fill the boxs with this values: 
        Description: Cocoon Framework 
        Servlet Class: org.apache.cocoon.Cocoon
        Load at Startup: Yes or No. 
        Loaded Now: No 
        Load Remotely: No 
  Select Properties Pane: 
  - Press button "Add" 
  - Fill the boxs with this values:
        name: properties 
        Value: <cocoon_root>/conf/cocoon.properties 
  - Press "Modify" and then "Save" 
For DB Prism: 
  - Fill the boxs with this values: 
        Servlet Name: Prism 
        Servlet Class: com.prism.ServletWrapper
        Bean Servlet: No 
  - And Press button "Add" 
  Then with Configuration Pane: 
  - Fill the boxs with this values: 
        Description: DB Prism Engine 
        Servlet Class: com.prism.ServletWrapper
        Load at Startup: Yes or No. 
        Loaded Now: No 
        Load Remotely: No 
  Select Properties Pane: 
  - Press button "Add" 
  - Fill the boxs with this values: 
        name: properties
        Value: <prism_root>/conf/prism.properties
  - Press "Modify" and then "Save" 
 
10. Return to Setup area (press button "Setup" in upper left corner) 
  Select File Aliases in the tree view, and press "Add". 
  - Fill the boxs with this values: 
  Alias Pathname                Full Pathname 
  /xsl                          <prism_root>/xsl 
  /samples                      <cocoon_root>/samples 
  and press "Save" 
   
  Select Servlet Aliases in the tree view, and press "Add". 
  - Fill the boxs with this values: 
  Alias                         Servlet Invoked 
  *.xml                         Cocoon
  /servlet/xml                  Cocoon
  /servlet/xmld                 Cocoon
  /servlet/plsql                Prism
   
11. Add to cocoon.properties this lines: 
########################################## 
# Prism DB Producer params
# properties.plsql must be point to corrected prism.properties file !!! 
########################################## 
producer.type.db = com.prism.CocoonWrapper
producer.properties.db = /usr/local/prism/prism.properties

########################################## 
# Header Processor, set this to work with cookies, redirect url and dymamic login 
########################################## 
processor.type.http = com.prism.HeaderProcessor
 
########################################## 
# Prism Excel Formatter, simple formatter to generate Excel output see PLSQL demo source for details of usage 
########################################## 
formatter.type.application/vnd.ms-excel = org.apache.cocoon.formatter.TextFormatter
formatter.application/vnd.ms-excel.MIME-type = application/vnd.ms-excel

12. Check <prism_root>/Readme.txt for prism.properties configuration tasks (JDBC drivers, DADs, and so on) 
 
13. Restart Sun Java Web Server 
 
14. Check if Cocoon work fine:
        http://server:8080/Cocoon.xml 
        Verify if there are entrys in Formatters (Excel Formatter) and Processor (HeaderProcessor)
        Samples at:
        http://server:8080/samples/index.xml 
15. Install PLSQL Packages in Oracle Data Base according to the instruction in <prism_root>/Readme.txt and 
<prism_root>/Demos.txt (XML Demos Part) 
 
16. Check if Prism work fine: 
        http://server:8080/servlet/plsql/demo.startup 
 
17. Enjoy Prism-Cocoon 
 
Marcelo F. Ochoa (mochoa@ieee.org) 



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