Nitobi
Customer Login
Services
Products
About
Blogs
Contact
Home -> Product Knowledgebase Order Online | Free Trial Downloads

Nitobi Product Knowledgebase

How to get the demos running


The included demos that ship with Grid are just about ready to run (depending on your configuration). Some additional setup may be required to get them to run.

Classic ASP

  • Copy the demos folder to a folder in IIS so that they are web accessible (ie: http://localhost/demos)
  • You may want to check the read/write permissions on the included MS Access databases in each of the demo folders. A common problem is that the IIS user does not have 'write' security permissions to these databases, making saving impossible.
  • Open a sample in your web browser by accessing it like so: -http://localhost/demos/basic/index.html

PHP 4, 5

  • Note: The PHP Demos run off of included MySQL databases. You must have MySQL 4.x+ installed and configured in PHP for the demos to run.
  • If you are running PHP off of IIS, then follow the instructions above for the ASP demos. Otherwise, copy the demos/ folder to a web accessible location in Apache or whatever web server you are using.
  • Run the included SQL syntax file to create the necessary tables in MySQL for the demos (NitobiSampleDatabases.sql). Verify they have been created and contain data.
  • Open all files in the samples with a .PHP extension and correct the MySQL connection string.. you will need to set the username, password, and server location. eg:
mysql_connect("localhost", "USERNAME", "PASSWORD") or die(mysql_error());
mysql_select_db("nitobi_testdb_V1") or die(mysql_error());
  • Open your browser and access the basic sample. eg: http://localhost:8080/demos/basic/index.html .

Java

Deploy to Tomcat without Web Application Manager

  • Launch the Tomcat Web Application Manager by entering a URL (such as http://host:port/manager/html) and log in.
  • Under the Deploy section of the page, enter the Context Path for this Web application (for example, mywebapp).
  • Select the NitobiGridV3Samples.WAR file to upload & click deploy.
  • Watch for the deployment to complete. At that time, the application will be listed under the Applications section of the page.

Deploy to Tomcat without Web Application Manager

  • Copy the Web application NitobiGridV3Samples.WAR file to the tomcat_root/webapps directory, where tomcat_root is the directory of the Tomcat installation.
  • Restart the Tomcat server
    Deploy to JBoss
  • Drop the war file in the JBOSS_HOME/server/default/deploy directory.
    You can then run the application from your web browser by pointing it to: -http://localhost:8080/NitobiGridV3Samples
    You can change localhost to your host name

View Printable Version

Comments:


Name:

Type the text you see above:

Comments:


Knowledgebase

To be notified of new articles when they're available, subscribe to our RSS feed.

Support Resources

Take advantage of our knowledgebase of product tutorials and tips, and our support forums!

Search Site


Sign up for our Newsletter:

Get industry articles and Nitobi company news in your inbox every couple of months — here's a sample!

Email:




Site RSS Feed  | All contents are (c) Copyright 2006, Nitobi Software Inc. All rights Reserved