Subject: demo instruction Resent-Date: Sat, 11 Dec 1999 07:33:34 -0500 Resent-From: Geoffrey Fox Resent-To: p_gcf@npac.syr.edu Date: Sat, 11 Dec 1999 04:52:02 -0500 From: Tomasz Haupt To: Geoffrey Fox 1. Login. 2. Set classpath: (Start/Settings/Control Panel; System; Environment) Select CLASSPATH_WF (click on it), it will appear in the bottom of the panel. (variable/value) Delete suffix _WF in the variable name Click set then apply 3. Start apache (Start/Programs/Apache Web Server/Start Apache) 4. Open a new cmd window (Start/Command Prompt) 5. Type %GemServer% in this window. It takes time till server is up and running ~30 sec or more. The server is very verbose, it produces a lot of output in this window. Wait till all activities in the window stop. Last few lines should contain phrases such as "SERVER IS READY FOR ACCEPTING USER COMMANDS" and GATEWAY SERVER:exists:true and Server: created WFServerImpl (since they are generated by different processes, they appear in a random order. 6. Change CLASSPATH again (you can do it while GemServer is still initializing). This time click on CLASSPATH (lower, user part; there is also (empty) CLASSPATH defined in the administrator area (upper part), and change VALUE to an empty string - just delete everything in line Value: Again click on Set then Apply 7. Start netscape (double click on the icon) 8. HOME has been set to http://foxport2.npac.syr.edu/GEM/calculator/gem_netscape.html (this the url of the applet) 9. As soon as the applet is loaded, click on the applet button: connect and wait till you get message "ready" in the texfield above the applet buttons 10. Now the demo is ready to go (click on max displacement to run it, click on disloc/simplex to run the other part of the demo. 11. Note, in max displacement you must hit return after entering a new value of a parameter. It will run without touching any of the parameters. I usually change DEPTH (second row, right column from 5 to 10km) and hit return while the cursor is still in that textfield. "Run Disp" is the feature presentation. (it runs disloc in a loop- cf slides). Button "Simplex" is not running correctly.(it runs disloc, a perl script should convert its output to simplex input, run simples and compare disloc input to simplex output. They should be very similar.) We do not have Perl installed on this laptop. So instead of converting the file and running simplex, I directly compare disp input with a cached simplex output. In general they are different which is bad, but you will not crash. 12. Disloc/Simplex. You must select which to run. The second row of buttons is disabled - the same problem with Perl. In principle, you should upload an input file. I was not able to make it running on your applet (not enough time). It works when you are on line (a servlet from osprey4 is involved). I forgot about. I found it out when doing the last test, with the ethernet cable detached. So, run selected application directly, with preloaded input. You can view input and output. Simplex is nicer to show as it writes to stdout. Disloc does not. 13. You kill the GemServer by typing ^C in its window 14 You kill apache by typing ^C in its window. 15. Fully functional demo is available form http://osprey4.npac.syr.edu:8001/GEM/calculator/gem_netscape.html Tom