webMathematica Technical FAQs Services & Resources / webMathematica / Installation Notes
-----
 /
Pre-installation
*Mathematica
*Network Mathematica
*webMathematica
*gridMathematica
*Personal Grid Edition
*Wolfram Workbench
*Wolfram Education Group
*Application Packages
*Mathematica for Students
*Mathematica CalcCenter
*Publicon
*A New Kind of Science Explorer
*Mathematical Explorer
*Mathematica Teacher's Edition
*Calculus WIZ
*Mathematica Player
*Ask about this page
*Print this page
*Email this page
*Give us feedback
*
Sign up for our newsletter:

Can Tomcat 4.0 be used with webMathematica 1.0?

Tomcat 4.0 can be used as a servlet container for webMathematica 1.0. To do so, it is necessary to update your web.xml file, and obtain a new version of J/Link.

1) Obtain the new web.xml file.

We have provided updated web.xml files for both the Windows and Linux/Solaris platforms that work with Tomcat 4.0.

web.xml.nt
web.xml.unix

Once you have downloaded the appropriate web.xml file, remove the .nt or .unix extension and place it in the corresponding Tomcat folder.

Windows
C:\Program Files\Apache Tomcat 4.0\webapps\webMathematica\WEB-INF
Linux/Solaris
/usr/local/tomcat/webapps/webMathematica/WEB-INF

2) Obtain the new J/Link distribution.

If you do not update your version of J/Link then Java Object References will not work correctly. For more advanced webMathematica websites, these are an important and powerful extension mechanism. Basic webMathematica sites for calculating and plotting will work correctly with the version of J/Link that ships with webMathematica.

You can download J/Link 2.0 beta from http://www.wolfram.com/solutions/mathlink/jlink/.

This can be unpacked and then installed into the appropriate Mathematica application.

Windows
C:\Program Files\Wolfram Research\Mathematica\4.1\AddOns\Applications
Linux/Solaris
/usr/local/mathematica/AddOns/Applications

In order to make the J/Link classes available to Tomcat you need to copy the JLink.jar file and the SystemFiles directory into the webMathematica layout.

Windows
C:\Program Files\Apache Tomcat 4.0\webapps\webMathematica\WEB-INF\lib
Linux/Solaris
/usr/local/tomcat/webapps/webMathematica/WEB-INF/lib

This is a sufficient installation for J/Link. After this webMathematica should be able to run correctly with Tomcat 4.0.

Download this FAQ as a Mathematica 5.2 Notebook






 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] [kr]