webMathematica Technical FAQs Services & Resources / webMathematica / Unix
-----
 /
HP-UX
*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 webMathematica be installed and run on HP-UX?

webMathematica can be installed on HP-UX with Tomcat 4.0 as its servlet container.

To do so, it is necessary to follow these instructions:

1) Install Tomcat 4.0 on HP-UX.

Following the instructions at the Tomcat website http://jakarta.apache.org/tomcat/tomcat-4.0-doc/RUNNING.txt, download and install Apache Tomcat. Please note that you can always obtain the latest version of Java products for HP-UX from http://www.hp.com/products1/unix/java/.

Download jakarta-tomcat-4.0.3.tar.gz, save it in a temporary location (such as /tmp), and uncompress the archive as follows:

gzip -dc /tmp/jakarta-tomcat-4.0.3.tar.gz | tar xvf -

You may want to rename the resulting folder/directory from jakarta-tomcat-4.0.3 to simply tomcat. At this point, you can move tomcat to a directory like /usr/local.

mv tomcat /usr/local/
2) Obtain the new MSP.conf and web.xml files.

We have provided updated MSP.conf and web.xml files that reflect a default installation of Mathematica 4.1 on HP-UX.

MSP.conf.hp
web.xml.hp

Once you have downloaded the MSP.conf and web.xml files, place the files in the corresponding webMathematica web application folder. In this example, the location is the following.

/usr/local/tomcat/webapps/webMathematica/WEB-INF/
3) Obtain a version of J/Link for HP-UX.

J/Link 2.0 provides native support for HP-UX 11.0. Due to this and some of its other features, it is recommended for using with webMathematica on HP-UX. At present it is available in a beta form from http://www.wolfram.com/solutions/mathlink/jlink/.

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

/usr/local/Mathematica/AddOns/Applications

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.

This is a sufficient installation for J/Link.

4) Additional notes.

You will also need to configure your X Window System to work with webMathematica in order to view MSPs that call the Mathematica front end.

To do so, you can use Xvnc, the UNIX VNC server, which presents an attractive alternative to Xvfb.

Installation instructions are provided at the following FAQ.

http://support.wolfram.com/webmathematica/installation/configurex/vnc.html

Please note that there exist HP-UX specific pre-compiled binaries, which are available at the following URL: http://www.uk.research.att.com/vnc/platforms.html#hpux.

If you are working behind a SOCKS firewall, you may encounter problems when trying to shutdown Tomcat. For additional information on this particular issue, please refer to the following URL: http://www.jguru.com/forums/view.jsp?EID=702636.

Download this FAQ as a Mathematica 5.2 Notebook






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