11.07.2015 Views

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

18 webMathematica User Guide[server1]$ cd /usr/local[server1]$ tar xfz jakarta-tomcat-5.5.27.tar.gz[server1]$ mv jakarta-tomcat-5.5.27 tomcatOn some platforms, such as Solaris, the default tar command does not work to unpackthe Tomcat archive as shown above. You need to obtain the GNU tar utility fromhttp://www.gnu.org/directory/GNU/tar.html in order to use the options shown.It is often useful to create a low privilege account, such as tomcat, to run your servlet container.It is probably helpful if this account has a home directory so that your X server andMathematica can store preferences information. If you create such an account, you may needto change ownership of the Tomcat layout so it can be run by this account.[server1]$ chown -R tomcat tomcatThe main top-level directory of Tomcat contains some important directories, including:tomcatbinconflogswebappsThe bin directory contains commands for running Tomcat; the conf directory contains siteconfiguration files; the logs directory contains various log files; the webapps directory is whereyou will install webMathematica. You should be able to launch Tomcat immediately from thebin directory, making sure to be the tomcat user.[server1]$ su tomcat[server1]$ cd tomcat/bin[server1]$ ./startup.shAt this point, you should be able to connect to Tomcat via a URL such as http://localhost:8080.If this does not return the Tomcat front page, then something is wrong with your setup. If youlook at the log files, it may help you track down your problem. Make sure that you have setyour JAVA_HOME variable as described in the installing Java for Unix section.The bin directory also contains a script, shutdown.sh, used for shutting down Tomcat.Information on launching Tomcat automatically on Unix is given in a later section.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!