|
|
YOU
ARE HERE: TECHNOLOGY
> CONFIGURING SLIDE WITH CATALINA
|
||
|
Configuring Slide with CatalinaWhat are Slide and Catalina? Slide is a project composed of multiple modules tied together using WebDAV. It includes: 1) A content management system with a Java API The Slide project main module is a Content Management and Integration
System, which can be seen as a low-level content management framework.
Conceptually, it provides a hierarchical organization of binary content
which can be stored into arbitrary, heterogeneous, distributed data stores.
In addition, Slide integrates security, locking, versioning, as well as
many other services. Configuring Slide First of all download Slide and Tomcat. Slide can be downloaded from here and Tomcat 4.0.2 from here. Step 1: Get Tomcat to authenticate users. To add the users to Tomcat, go to %CATALINA_HOME%\conf and edit the file tomcat-users.xml so that it includes logins for the default slide users: < tomcat-users > Step 2: Copy the slide.war and slidedoc.war from Slide directory into %CATALINA_HOME%\webapps Step 3: Start tomcat (%CATALINA_HOME%\bin\startup.bat). This should unpack the war files so that you now have a directory %CATALINA_HOME%\webapps\slide and one for %CATALINA_HOME%\webapps\slidedoc. Shutdown tomcat (%CATALINA_HOME%\bin\shutdown.bat) Step 4: Edit %CATALINA_HOME%\webapps\slide\WEB-INF\web.xml. Look for the line <!-- security-constraint > and remove the "!--", thus turning the line into an XML tag as opposed to a comment. Similarly remove the "--" from the 3rd last line in the file (</ login-config -->). Step 5: Restart tomcat. Step 6: If all goes well, you should see (in your tomcat console) the output from slide as it loads the "Domain" etc. It should look something like this: Starting service Tomcat-Standalone Apache Tomcat/4.0-b3 Step 7: To change where slide stores information, you will need to modify the Domain configuration file: %CATALINA_HOME%\webapps\slide\Domain.xml. In it, you'll see a commented out store that uses the hSQL database driver. You can uncomment that and install hSQL if you prefer. The following steps assume you want to run slide with the "MySQL" database. Step 8: In the Domain.xml file, replace the < definition >...</ definition > section with the following (note, you may want to set user and password to your own values. Also, this assumes that the MySQL server is the same machine as that which runs slide - if not, change "localhost" to point to your MySQL server): < definition > Step 9: Obtain the MySQL driver from here and and unpack it, copying the resulting ".jar" file into %CATALINA_HOME%\webapps\slide\WEB-INF\lib\ For this setup to work, you need to be running the MySQL version 3.23 or later. Version 3.22 and earlier did not support transactions. Create a MySQL user/password to match the ones you set up in Step 8. This account will need write access to the "myDB" database. Copy the script for setting up the MySQL schema from this link by cutting and pasting it into a mysql session. Stop and restart Tomcat, logging in as root/root. Now, when you create
files and objects, they should be stored in the "objects" and
"revisioncontent" tables of your database.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Contact us with your project needs for a Quick Reply!
|
| Quick Reply | Site Map | About Us | Careers | Ask Us | Links| Vision| Address | ||
| Getting Started | RFP/RFQ | Web Development Process | Pricing Details | Client Quotes |Our Team | Success Stories | ||
|
|
The web division of Stylus Systems Pvt Ltd www.stylusinc.com ©1999-2008 |