Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 21789 invoked from network); 10 Mar 2000 14:29:19 -0000 Received: from corderoatado.arnet.com.ar (HELO mx2.arnet.com.ar) (200.45.0.3) by locus.apache.org with SMTP; 10 Mar 2000 14:29:19 -0000 Received: from mail2.arnet.com.ar ([200.45.0.5]) by mx2.arnet.com.ar with Microsoft SMTPSVC(5.5.1877.357.35); Fri, 10 Mar 2000 11:26:49 -0300 Received: from p1 ([200.45.31.120]) by mail2.arnet.com.ar with Microsoft SMTPSVC(5.5.1877.357.35); Fri, 10 Mar 2000 11:27:22 -0300 Message-ID: <004701bf8a9c$752bcfc0$66c809c0@arnet.com.ar> Reply-To: "Marcelo F. Ochoa" From: "Marcelo F. Ochoa" To: Cc: Subject: How to Configure OWSKiller/Cocoon under Sun Java WebServer 2.0 Date: Fri, 10 Mar 2000 11:25:15 -0300 Organization: Fac. de Cs. Exactas - UNICEN MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0044_01BF8A83.4EDDF0A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0044_01BF8A83.4EDDF0A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi everybody: Here Step by Step instruction of How to Install = OWSKiller3.0.4i-Cocoon-Prod and Cocoon 1.7 under Sun JavaWebServer 2.0 Resources:=20 Sun Java Web Server: http://www.sun.com/software/jwebserver/index.html = Cocoon: http://xml.apache.org/=20 OWSKiller: http://owskiller.penguin.cz/ or = http://www1.exa.unicen.edu.ar/cgi-bin/wrap/mochoa/OWSKiller/=20 =20 1. Install Sun JavaWebServer 2.0=20 stand for Sun Java WebServer main directory = installation. stand for Apache Cocoon main directory installation. stand for OWSKiller main directory installation. = =20 =20 2. Unpack Cocoon libs under /classes or add to CLASSPATH = variable=20 # cd /classes=20 # jar xvf /lib/ant.jar=20 # jar xvf /lib/fop_0_12_1.jar=20 # jar xvf /lib/stylebook-1.0-b2.jar=20 # jar xvf /lib/xalan_0_19_4.jar=20 # jar xvf /lib/xerces_1_0_1.jar=20 # jar xvf /lib/xml.jar=20 =20 2. Unpack JDBC classes under /classes or add to CLASSPATH = variable # cd /classes=20 # jar xvf /jdbc/lib/classes111.zip=20 =20 3. Unpack Cocoon Framework under /servlets or add to = CLASSPATH variable # cd /servlets=20 # jar xvf /bin/cocoon.jar=20 =20 4. Unpack OWSKiller Engine under /servlets or add to = CLASSPATH variable # cd /servlets=20 # jar xvf /OWSKiller.jar=20 =20 5. Start JavaWebServer=20 # /bin/httpd=20 =20 6. With your favorite browser start admin applet, load the URL:=20 http://server:9090/index.html=20 or use script=20 # /bin/admin =20 If you have just installed, type admin for user and password. Then = login.=20 =20 7. Select Java Web Server -> Web Service 8080 and choose Manage.=20 =20 8. Press Servlets Button (upper right corner).=20 =20 9. Select "Add" in tree view.=20 For Cocoon:=20 - Fill the boxs with this values:=20 Servlet Name: Cocoon=20 Servlet Class: org.apache.cocoon.Cocoon=20 Bean Servlet: No=20 - And Press button "Add"=20 Then with Configuration Pane:=20 - Fill the boxs with this values:=20 Description: Cocoon Framework=20 Servlet Class: org.apache.cocoon.Cocoon=20 Load at Startup: Yes or No.=20 Loaded Now: No=20 Load Remotely: No=20 Select Properties Pane:=20 - Press button "Add"=20 - Fill the boxs with this values:=20 name: properties=20 Value: /conf/cocoon.properties=20 - Press "Modify" and then "Save"=20 For OWSKiller:=20 - Fill the boxs with this values:=20 Servlet Name: OWSKiller=20 Servlet Class: ows.OWSKiller=20 Bean Servlet: No=20 - And Press button "Add"=20 Then with Configuration Pane:=20 - Fill the boxs with this values:=20 Description: OWSKiller Engine=20 Servlet Class: ows.OWSKiller=20 Load at Startup: Yes or No.=20 Loaded Now: No=20 Load Remotely: No=20 Select Properties Pane:=20 - Press button "Add"=20 - Fill the boxs with this values:=20 name: propertiesfile=20 Value: /conf/OWSKiller.properties=20 - Press "Modify" and then "Save"=20 =20 10. Return to Setup area (press button "Setup" in upper left corner)=20 Select File Aliases in the tree view, and press "Add".=20 - Fill the boxs with this values:=20 Alias Pathname Full Pathname=20 /xsl /xsl=20 /samples /samples=20 and press "Save"=20 =20 Select Servlet Aliases in the tree view, and press "Add".=20 - Fill the boxs with this values:=20 Alias Servlet Invoked=20 *.xml Cocoon=20 /servlet/xml Cocoon=20 /servlet/xmld Cocoon=20 /servlet/plsql OWSKiller=20 =20 11. Add to cocoon.properties this lines:=20 ##########################################=20 # OWSKiller PLSQL Producer params=20 # properties.plsql must be point to corrected OWSKiller.properties file = !!!=20 ##########################################=20 producer.type.plsql =3D ows.PLSQLProducer=20 producer.properties.plsql =3D /conf/OWSKiller.properties = =20 ##########################################=20 # Header Processor, set this to work with cookies, redirect url and = dymamic login=20 ##########################################=20 processor.type.http =3D ows.HeaderProcessor=20 =20 ##########################################=20 # OWSKiller Excel Formatter, simple formatter to generate Excel output = see PLSQL demo source for details of usage=20 ##########################################=20 formatter.type.application/vnd.ms-excel =3D ows.ExcelFormatter=20 =20 12. Check /Readme.txt for OWSKiller.properties = configuration tasks (JDBC drivers, DADs, and so on)=20 =20 13. Restart Sun Java Web Server=20 =20 14. Check if Cocoon work fine:=20 http://server:8080/Cocoon.xml=20 Verify if there are entrys in Formatters (Excel Formatter) and = Processor (HeaderProcessor) Samples at: http://server:8080/samples/index.xml=20 15. Install PLSQL Packages in Oracle Data Base according to the = instruction in /Readme.txt and=20 /Demos.txt (XML Demos Part)=20 =20 16. Check if OWSKiller work fine:=20 http://server:8080/servlet/plsql/demo.startup=20 =20 17. Enjoy OWSKiller-Cocoon=20 =20 Marcelo F. Ochoa (mochoa@exa.unicen.edu.ar)=20 ------=_NextPart_000_0044_01BF8A83.4EDDF0A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi everybody:
  Here Step by Step instruction of = How to=20 Install OWSKiller3.0.4i-Cocoon-Prod and Cocoon 1.7 under Sun = JavaWebServer=20 2.0
 
Resources:
  Sun Java Web = Server: http://www.sun= .com/software/jwebserver/index.html=20
  Cocoon: http://xml.apache.org/=20
  OWSKiller: http://owskiller.penguin.cz/ = or htt= p://www1.exa.unicen.edu.ar/cgi-bin/wrap/mochoa/OWSKiller/=20
 
1. Install Sun JavaWebServer 2.0
  =20 <server_root> stand for Sun Java WebServer main directory=20 installation.
   <cocoon_root> stand for Apache = Cocoon main=20 directory installation.
   <owskiller_root>  = stand for=20 OWSKiller main directory=20 installation.          =             &= nbsp;           &n= bsp;           &nb= sp;           =20
 
2. Unpack Cocoon libs under <server_root>/classes or = add to=20 CLASSPATH variable
        # cd=20 <server_root>/classes =
        # jar=20 xvf <cocoon_root>/lib/ant.jar=20
        # jar xvf=20 <cocoon_root>/lib/fop_0_12_1.jar=20
        # jar xvf=20 <cocoon_root>/lib/stylebook-1.0-b2.jar=20
        # jar xvf=20 <cocoon_root>/lib/xalan_0_19_4.jar=20
        # jar xvf=20 <cocoon_root>/lib/xerces_1_0_1.jar=20
        # jar xvf=20 <cocoon_root>/lib/xml.jar
 
2. Unpack JDBC classes = under=20 <server_root>/classes or add to CLASSPATH=20 variable
        # cd=20 <server_root>/classes =
        # jar=20 xvf <oracle_home>/jdbc/lib/classes111.zip
 
3. Unpack = Cocoon=20 Framework under <server_root>/servlets or add to CLASSPATH=20 variable
        # cd=20 <server_root>/servlets =
        #=20 jar xvf <cocoon_root>/bin/cocoon.jar
 
4. Unpack = OWSKiller=20 Engine under <server_root>/servlets or add to CLASSPATH=20 variable
        # cd=20 <server_root>/servlets =
        #=20 jar xvf <owskiller_root>/OWSKiller.jar
 
5. Start=20 JavaWebServer
        #=20 <server_root>/bin/httpd
 
6. With your favorite = browser start=20 admin applet, load the URL: =
        http://server:9090/index.html =
        or use script=20
        #=20 <server_root>/bin/admin 
   If you have just = installed,=20 type admin for user and password. Then login.
 
7. Select = Java Web=20 Server -> Web Service 8080 and choose Manage.
 
8. Press = Servlets=20 Button (upper right corner).
 
9. Select "Add" in tree view. =
For=20 Cocoon:
  - Fill the boxs with this values:=20
        Servlet Name: Cocoon=20
        Servlet Class:=20 org.apache.cocoon.Cocoon
        = Bean=20 Servlet: No
  - And Press button "Add"
  Then with=20 Configuration Pane:
  - Fill the boxs with this values:=20
        Description: Cocoon = Framework=20
        Servlet Class:=20 org.apache.cocoon.Cocoon
        = Load at=20 Startup: Yes or No.
        = Loaded Now:=20 No
        Load Remotely: No =
 =20 Select Properties Pane:
  - Press button "Add"
  - = Fill the=20 boxs with this values:
        = name:=20 properties
        Value:=20 <cocoon_root>/conf/cocoon.properties
  - Press "Modify" = and then=20 "Save"
For OWSKiller:
  - Fill the boxs with this values:=20
        Servlet Name: OWSKiller=20
        Servlet Class: = ows.OWSKiller=20
        Bean Servlet: No =
  - And=20 Press button "Add"
  Then with Configuration Pane:
  - = Fill=20 the boxs with this values: =
       =20 Description: OWSKiller Engine =
       =20 Servlet Class: ows.OWSKiller =
        Load=20 at Startup: Yes or No.
        = Loaded=20 Now: No
        Load Remotely: No =
  Select Properties Pane:
  - Press button "Add" =
  -=20 Fill the boxs with this values: =
       =20 name: propertiesfile
        = Value:=20 <owskiller_root>/conf/OWSKiller.properties
  - Press = "Modify" and=20 then "Save"
 
10. Return to Setup area (press button "Setup" = in=20 upper left corner)
  Select File Aliases in the tree view, and = press=20 "Add".
  - Fill the boxs with this values:
  Alias=20 Pathname           = ;    =20 Full Pathname
 =20 /xsl           &nb= sp;           &nbs= p; =20 <owskiller_root>/xsl
 =20 /samples           = ;          =20 <cocoon_root>/samples
  and press "Save"
   =
  Select Servlet Aliases in the tree view, and press "Add". =
 =20 - Fill the boxs with this values:
 =20 Alias           &n= bsp;           &nb= sp;=20 Servlet Invoked
 =20 *.xml           &n= bsp;           &nb= sp;=20 Cocoon
 =20 /servlet/xml          &= nbsp;      =20 Cocoon
 =20 /servlet/xmld          =       =20 Cocoon
 =20 /servlet/plsql          = ;     =20 OWSKiller
  
11. Add to cocoon.properties this lines:=20
##########################################
# OWSKiller PLSQL = Producer=20 params
# properties.plsql must be point to corrected = OWSKiller.properties=20 file !!!
########################################## =
producer.type.plsql=20 =3D ows.PLSQLProducer
producer.properties.plsql =3D=20 <owskiller_root>/conf/OWSKiller.properties=20
 
##########################################
# Header = Processor,=20 set this to work with cookies, redirect url and dymamic login=20
##########################################
processor.type.http = =3D=20 ows.HeaderProcessor =
 
##########################################=20
# OWSKiller Excel Formatter, simple formatter to generate Excel = output see=20 PLSQL demo source for details of usage=20
##########################################=20
formatter.type.application/vnd.ms-excel  =3D ows.ExcelFormatter =
 
12. Check <owskiller_root>/Readme.txt for=20 OWSKiller.properties configuration tasks (JDBC drivers, DADs, and so on) =
 
13. Restart Sun Java Web Server
 
14. Check if = Cocoon=20 work fine:
        http://server:8080/Cocoon.xml =
        Verify if there are = entrys in=20 Formatters (Excel Formatter) and Processor=20 (HeaderProcessor)
        Samples=20 at:
        http://server:8080/samples/= index.xml=20
15. Install PLSQL Packages in Oracle Data Base according to the = instruction=20 in <owskiller_root>/Readme.txt and =
<owskiller_root>/Demos.txt=20 (XML Demos Part)
 
16. Check if OWSKiller work fine:=20
        http://server:8080= /servlet/plsql/demo.startup=20
 
17. Enjoy OWSKiller-Cocoon
 
Marcelo F. Ochoa = (mochoa@exa.unicen.edu.ar)=20
------=_NextPart_000_0044_01BF8A83.4EDDF0A0--