
Starting
These are instructions how to start ActiveMath on a Unix system. We suppose the installation instructions are finished hence that a Java Virtual Machine is installed, version 1.5 or higher, and that a JAVA_HOME environmnent variable is properly. Finally we suppose we have, as current working directory, the activemath directory.
It is important that your machine can recognize it's TCP/IP name. On some network setting, and with particular ActiveMath usages, issues may arise. This can be checked using the command
hostnameand verifying that the result indeed corresponds to the name of machine you want to run ActiveMath on. It has been experimented that several partial network configurations may actually provide a wrong localhost name. This currently only affects the XML-RPC communication used in console-applets. A temporary workaround may be, on Unix systems, to set manually the localhost-name using the command (as root user)hostname x.y.z.twith (x.y.z.tbeing the IP-address, in case of doubt, use127.0.0.1).Note that ActiveMath comes with no content ("books") preconfigured. Content is found in the omdoc1 or in the content directories. Each collection has its own directory. To make a collection and its books available, copy (or link) its content descriptor file (ContentDescr_*.properties) to the conf directory before starting ActiveMath. Note that each book increases the memory requirements.
To start ActiveMath invoke the following scripts:
bin/amStartup
This starts the ActiveMath application server with all the configurations in
conf/ActiveMath.properties, see the installation instructions to learn how to configure these. (Note: Starting with release 1.0-beta3, MBase and UserModel are no longer separate servers and need not be started separately.)Then direct your browser to http://localhost:8080/ (or other port-number if you changed
Now, feel free to explore ActiveMath! You can either create a new user, or use the demo users anton, bert, clara, eva (their password is equal to their name -> anton=anton, etc.), or take a look at the demoguide at http://localhost:8080/ActiveMath2/main/help.cmd?topic=walktrough/ (if 8080 is the used port).server.xml).Stopping
bin/amShutdownTesting
This section provides additional information which is only useful if you want to further test.Lots of informations are also written to the log-files although this is mostly developer oriented.
One can view each of these log as they are fed using a command similar to
logs/activemath.log- the debugging output of the applicationlogs/buildindex.log- the debugging output of the buildIndex command.The file contains all the errors detected in the content (but generally can live with quite a few of them and the accesses. Configuration of the error messages for content is also done inconf/ActiveMath.properties.- logs/localhost_access_log*.log - the webserver access protocol file
tail -f logs/activemath.log. Logging verbosity can be configured in the fileconf/log4j.propertieswhich can be edited reading the comments in the file, be careful that enablingDEBUGlogging can slow down the server.To be notified of ups-and-downs of your web-server a commodity has been provided, run
bin/amMailingChecker startand it will regularly make sure that the web-server can serve the first page. (more on this in the properties).Reporting bugs or wishes
The ActiveMath developers make extensive use of the Jira issue tracker to track bugs and feature-wishes. As a user, a more appropriate way of getting in contact with us is sending an email to support@activemath.org.