Mentor Instructional Environment

UITS Enterprise Decision Support Services

The Mentor Instructional Environment provides for student use of web-based technologies to meet the goals of particular IU courses and the piloting of third party (or possibly IU-developed) instructional applications. For the former, two types of student accounts are available: With "generic" accounts students may develop and serve web pages or applications through a central Apache server accessed at http://mentor.ucs.indiana.edu/~account. "Tomcat" accounts provide individual Tomcat and Apache servers for student-developed Java applications. In either case, faculty may request student access to an Oracle database backend. Contact Enterprise Decision Support Services for information about the latter.

Announcements:

Backups will be scheduled daily at 5:00am. Backups will require file system unmounting and a small amount of system downtime. If you fail to log off the system during backups it may be impossible to correctly restore your files. Full backups will take place on Sundays and incrementals otherwise. Individual Tomcat and Apache servers will not be automatically restarted.

Many accounts have expiration dates of May 23. If you have an expiring account, be sure to transfer files you wish to keep to another server or to a non-expiring account on scythe before the deadline.

Accounts:

Only IU faculty may make acount requests for the Mentor Instructional Environment. If Oracle access or Tomcat is required, accounts should be requested through the EDSS form at: http://webdb.iu.edu/uitsedss/scripts/Instruction/Instruction_Form.cfm, otherwise requests can be sent to the system administrator. Student accounts will be valid for one semester only, with an automatic expiration approximately twp weeks past the end of the semester. Faculty accounts will not be subject to automated expiration, but should be "renewed" on a regular basis. Requests for accounts should be made by faculty only.

When making requests for accounts please specify generic or Tomcat accounts and whether Oracle access is necessary. Faculty should provide contact information (name, phone number, email address/userid) and identify their school, department, and courses for which they are responsible. Please specify the number of student accounts required. If you would like to provide a naming scheme for the accounts keep in mind that they must be 3-8 characters in length, begin with a letter, contain only letters (lower case) and digits, and be unique for the environment.

(IU instructors who would like to use the Mentor environment should make their requests well in advance of intended use since multiple groups coordinate setup of the environment.)

Environment Details:

Hardware: Sun V880

Available software (a partial list):

Additional software should be requested through your instructor. Required lead time for installation will depend on the nature of the software and other priorities.

Mentor Instructional Environment availability

Documentation links:

Practical Matters:

Check back for additional information as questions arise and are answered.

mentor.ucs.indiana.edu can be accessed only through a secure connection. See other UITS resources for information about the SSH2 client. FTP will be available only on a temporary basis.

Direct printing is not available from mentor. Open the file in a browser, view the document source, and print.

To access your "generic account" pages through a browser, type: http://mentor.ucs.indiana.edu/~username/filename. Substitute your account name for "username" and your specific file for "filename" (or just http://mentor.ucs.indiana.edu/~username/ if you are accessing your directory index).

To set up a site for Dreamweaver, specify your address as http://mentor.ucs.indiana.edu/~username, and host directory as /ip/username/www/

In order to use Transform you must first install it in your account. Login and change to the directory where you will store your forms (i.e. www/forms). Type tf_install at the prompt to install Transform. You should install Transform in every directory where you will keep forms.

To run CGI scripts from your account 1) put the script in your www directory or any of its subdirectories, 2) name your script with a suffix of either .pl or .cgi, 3) set the permissions to read, write, and execute for the owner only, 4) test your script from the command line before using it from a browser. If you have a tomcat account, you can check your own log files for error messages produced from invocations of your script from a browser.

Global_registers is turned off for PHP. This may require some changes to your scripts. The "shebang" line is required for PHP since PHP is installed for cgi use. Documentation for PHP on the central servers is generally applicable (see http://www.indiana.edu/~wmhome/PHPlanguage/index.shtml).

To avoid the "class not found" issue for Tomcat see http://wiki.apache.org/tomcat/FAQ/Class_Not_Found

The basic connection string to Oracle database oed1 is:
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@dbserv.uits.indiana.edu:1521:oed1","username","password"

Place .jsp, .html, .pl, and .cgi files in your ~/www directory. (~ stands for the home login directory.)

Place .class files in your ~/www/WEB-INF/classes directory.

To start Tomcat and Apache run the command /usr/local/bin/cmd_apache_tomcat start

To shutdown Tomcat and Apache run the command /usr/local/bin/cmd_apache_tomcat stop

To restart Tomcat and Apache run the command /usr/local/bin/cmd_apache_tomcat restart

To avoid having to restart tomcat after modifying servlet, add the reloadable="true" attribute to the context path in your server.xml file.

To run a servlet from the web browser, in the location field, type: http://mentor.ucs.indiana.edu:port#1/servlet/yourservlet (substitute your account's first port number for port#1, and substitute the actual name of your servlet for yourservlet).

To access your HTML pages and Perl applications through the web (tomcat account), in the browser location field type: http://mentor.uits.indiana.edu:port#/yourfilename (substitute your account's first port number for port# and substitute the actual name of your file for yourfilename).

Port numbers are assigned for tomcat accounts. If you loose your port numbers check here to find the one needed for accessing your servlets and pages.

Disk space usage by account is also listed here. Data is collected weekly and averaged. Disk space units are in kilobytes.

Contact Information:

Students should contact their instructor if they encounter problems with the environment. The environment is complex: To help your instructor and/or UITS pinpoint the problem, be sure to be specific about the nature of the problem and include all details that can help diagnose it. Instructors will contact Enterprise Decision Support Services if the problem is in the environment itself, rather than a coding problem. UITS and faculty will collaborate in resolving problems in the environment.

    Indiana University

Last updated: 16 October 2008
Copyright 1998-2008, The Trustees of Indiana University