The Mentor Instructional Environment provides 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.uits.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.


Backups occur daily at 9:00pm. There is a scheduled reboot of the service that will take place every Sunday morning at 6am. Individual Tomcat and Apache servers will not be automatically restarted.

Many accounts have expiration dates. 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 Mentor before the deadline.

To check whether or not your account has an expiration date please see the Account Data page and search for your username.


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 are valid for the duration of the course, and automatically expire approximately two weeks after the end of the semester. Faculty accounts do not expire. 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: HP DL585-G5 Virtual Machine

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.

  • Red Hat Enterprise Linux 5 OS (Virtual Machine)
  • Emacs 21.4.1
  • Vim - Vi IMproved 7.0
  • GNU C compiler (gcc) version 4.1.2 20080704 (Red Hat 4.1.2-46)
  • perl 5.10.1 with DBD::Oracle-1.23, DBI, Apache::DBI, Apache::DB, Bundle::LWP, CGI, Date::Calc
  • PHP 5.2.11 (cgi) with Oracle
  • Sun's j2se-1.6.0_17
  • Apache web server 2.2.13 (web programming only) or
  • Apache web server 2.2.13 with mod_php-5.2.11 and mod_jk-1.2.28 (Jakarta Tomcat-Apache connector for web/database programming)
  • Apache Tomcat 6.0.20
  • Oracle InstantClient 9.2.0, including SQL*Plus
Mentor Instructional Environment availability

Documentation links:

Practical Matters:

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

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

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:

Substitute your account name for "username" and your specific file for "filename".

If you are accessing your directory index you may just use


To set up a site for Dreamweaver, you need to specify your address as

And you will need to specify your host directory as

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 oed1prd is:

DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
Connection conn=DriverManager.getConnection("jdbc:oracle:thin:@dbserv.uits.indiana.edu:1521:oed1prd","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:portnum_1/servlet/yourservlet (substitute your account's first port number for portnum_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:portnum/yourfilename (substitute your account's first port number for portnum 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