>From: "Robert Crossley" <[EMAIL PROTECTED]>
>Reply-To: "Robert Crossley" <[EMAIL PROTECTED]>
>To: "MapInfo List" <[EMAIL PROTECTED]>
>Subject: MI-L MI: MapExtreme java on Linux
>Date: Thu, 15 Feb 2001 18:39:09 +1000
>
>We are about to try to install MapExtreme Java onto our servers.
>
>Does anyone have experience with setting up MapExtreme Java on a Linux
>network. The Hahtsite software says that it supports redhat linux, but the
>Hahtsite disk supplied with MapExtreme doesn't make reference to it.
>
>The MapExtreme Install process seems to allow to install onto linux. We
>haven't got to this point as we are still setting up the linux network and
>internet connections and oracle servers.
>
>Really, we are looking for pointers to good background documents? Can
>anyone help?
I have done this. My environment is Debian Linux 2.1 (glibc 2.2), running
Sun's J2SE 1.3, Tomcat 3.2, Apache 1.3.14, and MapXtreme Java v 3.1
To install it, you need to have some kind of display to use. If you are
running your server headless, set DISPLAY to point to another unix box on
your network running XFree86, or to a windows X server like X-win32. The
installer is graphical, and that is why you need X to install it. Installer
is under instdata/Unix/Others directory. You'll have to run it as root, so
make sure that root's path has the path to java binaries ('which java')
Also install the extra map data if you are new to Mapxtreme Java. This
helps if you are new to Mapxtreme Java and want to do some samples.
There is also an installer for tomcat on the cd. Install that version, and
install a regular tomcat version in another directory, and note the
differences. You can take that information and stick it in Tomcat 3.2 so
that it will work in that environment.
Install xvfb for XFree86, if you are running the box headless. You'll need
to run it in the background, and set DISPLAY to be :0.0 Java needs this
running to draw images to a virtual frame buffer.
Apache and Tomcat are connected by an Apache module called mod_jk (or
mod_jserv if using Tomcat 3.1) The source for Tomcat includes appropriate
makefiles and C code to make this module. Compile Apache to have DSO
support, and add it in as a module.
start Tomcat first, then start Apache, so that connections between them are
constructed properly. Write a small servlet that pulls map data from the
sample maps you installed as a test.
The MapXtreme Java forum at MapInfo is a good resource for tracking down
difficult problems.
-Justin Akehurst
Java Developer
TerraGraphics
www.terragraphics.com
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.