ODS.ODSControllerJSPAPILogin
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.
- 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.
- The page name is 'users.jsp'.
- The endpoint URL is http://[cname]:[port]/jsp/users/users.jsp.
- Configuration
- Start Virtuoso executive
- Install Tomcat
- Copy file 'virtjdbc3.jar' into '[Tomcat installation folder]/common/lib'
- 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>
- Start Tomcat
- Build and install the conductor_dav.vad package
- Setting Virtual Directory:
- Go to http://[cname]:[port]/conductor
- Login as dba user.
- Go to "WebDAV? & HTTP"->"HTTP Hosts & Directories" tab.
- If directory link '/jsp/users' exists update it with properties described below or click the "New Directory" link.
- Click the "Type" radio-box and select from the drop-down list the value "Proxy server".
- Click "Next".
- In the shown form:
- For field "Virtual directory path" enter the value: /jsp/users
- For field "Proxy to" enter the value: http://[Tomcat Host]:[Tomcat Port]/users/jsp
- For "VSP User" select from the drop-down list: dba
- Click the "Save changes" button.
- Install the ods_framework_dav.vad package
- Go to http://[cname]:[port]/jsp/users/users.jsp
- Source Code.