MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

webMathematica trouble - solution

Hi everyone,

We too had similar problem with webMathematica ( as in following link)

Finally we got around with the problem.
Here with i'm including the mail from Technical Support of Wolfram Research, 

But they forgot to mention something important.
After you have followed their instructions and moved jlink.jar and 
JLinkNativeLibrary.dll to: webMathematica/WEB-INF/lib (in tomcat webapps 

You have add this path to your CLASSPATH.
CLASSPATH=%CLASSPATH%;C:\Program Files\Apache Group\Tomcat 

Hope that helps

Thank you,

Jai Bharat Patel

-----Original Message-----
From: support at [mailto:support at]
To: mathgroup at
Subject: [mg39746] [TS 4129]--Re:[Phone 468]

Hello Mr. White,

Thank you for the phone call.

There are two files that need to be moved from the Mathematica layout to
within tomcat's directory structure.

C:\Program Files\Wolfram Research\Mathematica\AddOns\JLink\jlink.jar
C:\Program Files\Wolfram Research\Mathematica\AddOns\JLink\System

Both need to be moved to:


The following FAQ is also required to get webmathematica working under
Tomcat 4.0 or later.

The following information is also available from the Technical
Support section of our website at the following URL:

   Tomcat   4.0   can  be  used  as  a  servlet  container  for
   webMathematica.  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.



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


   C:\Program Files\Apache Tomcat



   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   web-sites,   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

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


   C:\Program Files\Wolfram



   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.


   C:\Program Files\Apache Tomcat



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


Tony Sarno
Technical Support
Wolfram Research, Inc.
support at

Cricket World Cup 2003- News, Views and Match Reports.

  • Prev by Date: Re: Re2: Is it doable in Mathematica? How?
  • Next by Date: RE: Is Sort stable?
  • Previous by thread: Re: Problem :mathematica building help browser index
  • Next by thread: newbie graph question