MathGroup Archive 2003

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

Search the Archive

webMathematica trouble - solution

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39746] webMathematica trouble - solution
  • From: "Jai Bharat Patel" <jaibharatpatel at hotmail.com>
  • Date: Wed, 5 Mar 2003 00:05:07 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi everyone,

We too had similar problem with webMathematica ( as in following link)
http://forums.wolfram.com/mathgroup/archive/2003/Jan/msg00035.html

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

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 
directory)

You have add this path to your CLASSPATH.
CLASSPATH=%CLASSPATH%;C:\Program Files\Apache Group\Tomcat 
4.1\webapps\webMathematica\WEB-INF\lib;


Hope that helps

Thank you,

Jai Bharat Patel




-----Original Message-----
From: support at wolfram.com [mailto:support at wolfram.com]
To: mathgroup at smc.vnet.net
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
Files\Libraries\Windows\JLinkNativeLibrary.dll

Both need to be moved to:

webMathematica/WEB-INF/lib

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:

http://support.wolfram.com/webmathematica/installation/preinstallation/t
omcat40.html


   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.

   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   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
   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.

Sincerely,

Tony Sarno
Technical Support
Wolfram Research, Inc.
support at wolfram.com







_________________________________________________________________
Cricket World Cup 2003- News, Views and Match Reports. 
http://server1.msn.co.in/msnspecials/worldcup03/



  • 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