ODS.ODSControllerJSPAPILogin

  • Topic
  • Discussion
  • ODS.ODSControllerJSPAPILogin(Last) -- DAVWikiAdmin? , 2017-06-13 06:04:42 Edit WebDAV System Administrator 2017-06-13 06:04:42

    ODS Controller for JSP API Login

    Note: you should have the users.jsp and users_dsn.jsp (created after installation) file physically located on your machine.

    1. The implementation uses Java version 1.5 (version 5), so you should run the corresponding Virtuoso executive. You need also to have installed Tomcat version 5.5.x.
    2. The page name is 'users.jsp'.
    3. The endpoint URL is http://[cname]:[port]/jsp/users/users.jsp.
    4. Configuration
      1. Start Virtuoso executive
      2. Install Tomcat
      3. Copy file 'virtjdbc3.jar' into '[Tomcat installation folder]/common/lib'
      4. Create file with name 'users#jsp.xml' in '[Tomcat installation folder]/conf/Catalina/[cname]/' with content:

        <!-- Context configuration file for the ODS-Users Web Application --> <Context docBase="[Enter here the physical location to the users.jsp file]" privileged="true" antiResourceLocking="false" antiJARLocking="false"> </Context>

      5. Start Tomcat
      6. Build and install the conductor_dav.vad package
      7. Setting Virtual Directory:
        1. Go to http://[cname]:[port]/conductor
        2. Login as dba user.
        3. Go to "WebDAV? & HTTP"->"HTTP Hosts & Directories" tab.
        4. If directory link '/jsp/users' exists update it with properties described below or click the "New Directory" link.
        5. Click the "Type" radio-box and select from the drop-down list the value "Proxy server".
        6. Click "Next".
        7. In the shown form:
          1. For field "Virtual directory path" enter the value: /jsp/users
          2. For field "Proxy to" enter the value: http://[Tomcat Host]:[Tomcat Port]/users/jsp
          3. For "VSP User" select from the drop-down list: dba
        8. Click the "Save changes" button.
    5. Install the ods_framework_dav.vad package
    6. Go to http://[cname]:[port]/jsp/users/users.jsp
    7. Source Code.

    Related

    CategoryODS CategoryJSP