SMWP - Installation III
 

Index

Introduction
Differences
Installation I
Installation II
Installation III
Uninstall

Working with SMWP

Parameter
Fragement Class
Page Class
XML Document (Page)



3.3.10 Access SMWP-Servlets

Start the web server and open an internet browser. Enter following Link to display the directory of all generated XML documents:

http://hostname:8080/cocoon/smwp/smwp_systemid

The directory displays the list of all generated pages (XML documents) which is empty because no pages exist by default. Single documents can be accessed via links provided by the directory index. Every page is determined by a unique number or a unique name. Using the unique number, pages can be accessed directly using following link:

http://hostname:8080/cocoon/smwp/page_167

For more detailed information about displaying pages see 4.15 Display Page Class.

3.3.11 Starting the SMWP-Console

Start die SMWP console by using following command from command shell:

javaw -classpath "c:/smwp/console/lib/apache/xalan2.2.D6.jar;
c:/smwp/console/lib/oracle9i/classes12.jar;
c:/smwp/console/lib/oracle9i/xmlparserv2.jar;
c:/smwp/console/bin" dke.smwp.tools.Console

For more information about the SMWP console see 4.2 Using the SMWP-Console.

3.3.12 Directory structure after successful installation

Installing SMWP results in following directory structure (based on the assumptions in 3.1.1 Assumptions for the Installation):

c:\smwp SMWP directory
c:\smwp\console base directory for the SMWP Console
c:\smwp\console\bin\dke\smwp\smwp.properties Properties file for SMWP-Console
c:\smwp\console\bin\dke\smwp Base directory for SMWP Java class-files
(Java Package dke.smwp)
c:\smwp\console\bin\dke\smwp\tools Base directory for SMWP Java class-files
(Java Package dke.smwp.tools)
c:\smwp\console\bin\dke\smwp\compiler Base directory for SMWP Java class-files
(Java Package dke.smwp.compiler)
c:\smwp\console\bin\dke\smwp\db Base directory for SMWP Java class-files
(Java Package dke.smwp.db)
c:\smwp\console\bin\dke\smwp\fragmentation Base directory for SMWP Java class-files
(Java Package dke.smwp.fragmentation)
c:\smwp\console\bin\dke\smwp\serialize Base directory for SMWP Java class-files
(Java Package dke.smwp.serialize)
c:\smwp\console\bin\dke\smwp\dbtypes Base directory for SMWP Java class-files
(Java Package dke.smwp.dbtypes)
c:\smwp\console\bin\dke\smwp\trigger Base directory for SMWP Java class-files
(Java Package dke.smwp.trigger)
c:\smwp\console\bin\dke\xml Base directory for SMWP Java class-files
(Java Package dke.xml)
c:\smwp\sqlscripts Directory containing SQL-scripts for creating and dropping SMWP database objects
c:\smwp\console\lib Directory containing additional JAR Packages
c:\smwp\coco Directory containing Apache Coco which produced the command line parser used by the SMWP Console
c:\smwp\coco\bin\coco Base directory for Apache Coco class-files (Java Package coco)
c:\smwp\cocoon Directory containing XML and XSL files
c:\smwp\cocoon\smwp Directory containing XML and XSL files for deployment in Apache Coocon
c:\smwp\servlet Base directory for the SMWP Servlets
C:\smwp\servlet\bin\dke\smwp Base directory for SMWP Java class-files (Java Package dke.smwp) used by SMWP Servlets
c:\smwp\servlet\bin\dke\smwp\wrapper Base directory for SMWP Java class-files (Java Package dke.smwp.wrapper) used by SMWP Servlets
c:\smwp\servlet\DB_Wrapper Directory containing prefabricated contents for creating WAR-File DB_Wrapper.war
c:\smwp\servlet\lib Directory containing additional JAR Packages for SMWP Servlets

Table 2: Directory structure after successful installation

Directory structure on the web server:

c:\programme\tomcat\htdocs Web server document root
c:\programme\tomcat\webapps Root directory for Apache Tomcat web applications
c:\programme\tomcat\webapps\DB_Wrapper SMWP servlet directory
c:\programme\tomcat\webapps\cocoon Apache Cocoon base directory
c:\programme\tomcat\webapps\
cocoon\smwp
Home directory for SMWP files

Table 3: Directory structure on the web server