| ||
[Back to Index] | ||
The EJC platform from Snijder Micro Systems runs the Tynamo™-CDC server very well. This document describes some procedures specific to this device. Subject MenuCommitting File ChangesIn order that any change to any file is persistent across a reboot of the board, it is necessary to commit these changes using the /dev/fs/ew1a/fstool command. Use the check option to check if there have been any changes since the filesystem was last committed, and the commit option to make any changes permanent. For example: > /dev/fs/ew1a/fstool commit It is necessary to invoke this command, for instance, when making the changes to run the EJC demos, below. Running the EJC DemosTynamo™ can be used with the demo HTML and servlets that come with the board. This document describes how to do this using the default Tynamo™ installation. First, open the webserver.props server configuration file and change the following entries to: server.rootDir=/usr/html server.reloadingEnabled=true servlet.classpath=/servlet Second, add these entries to the servlets.props servlet configuration file: EJC_Welcome.mapping=/servlet/WelcomeServlet EJC_Welcome.class=WelcomeServlet EJC_Temperature.mapping=/servlet/TemperatureServlet EJC_Temperature.class=TemperatureServlet EJC_Mailbox.mapping=/servlet/MailboxServlet EJC_Mailbox.class=MailboxServlet EJC_Mail.mapping=/servlet/MailServlet EJC_Mail.class=MailServlet EJC_GPIO.mapping=/servlet/GPIOServlet EJC_GPIO.class=GPIOServlet EJC_Echo.mapping=/servlet/EchoServlet EJC_Echo.class=EchoServlet EJC_Counter.mapping=/servlet/CounterServlet EJC_Counter.class=CounterServlet Note that the EJC_* servlet names used here can be changed to anything you like. Finally, deploy and run the server. That's all there is to it! Un-JAR the ArchivesPerformance may be enhanced by unarchiving any JAR files you use with the server. For example, extract the tws_core.jar and servlet_examples.jar files into a directory named /web/classes. Then, change the WebServer execution script to read (note that the line may be wrapped, but should be on one line):
| ||
Tynamo™-CDC/1.0-RC1 Email: shawn@pobox.com © 2002-2004 Shawn Silverman |