wiki:Release/2.4/Notes

Version 17 (modified by jng, 12 years ago) ( diff )

--

MapGuide 2.4 Release Notes

MapGuide Open Source 2.4 Beta 1 is now available!

Installation

Binaries for Windows and Linux (Ubuntu 12.04 and CentOS 5.6) have been posted to OSGeo

Windows 32 bit installer:

Windows 64 bit installer:

Windows 32-bit InstantSetup bundle:

Windows 64-bit InstantSetup bundle:

Ubuntu Linux 12.04 install script:

CentOS 5.6 install script:

Windows Compatibility

32-bit64-bit
Windows XP SP3YesMaybe*
Windows Server 2003YesMaybe*
Windows VistaMaybe+Maybe+
Windows 7YesYes
Windows Server 2008Yes+Yes+
Windows Server 2008 R2N/AYes
  • IIS configuration will probably not work. Apache config should work due to its self-contained nature

+ Not tested, but similar enough to Windows 7 to theoretically work

Additional Post Release Patches

N/A

New Items for Beta 1

  • CentOS 5.6 tarball available for this release
  • Ubuntu installer now supports 12.04 LTS
  • InstantSetup bundles are now 7-zip self-extracting executables (and half the size of zip files!). Includes updated MgInstantSetup utility to also set up registered FDO providers (#2026)

Notable closed tickets for Beta 1

  • #2025: Installer now properly sets folder permissions for the new Profiling feature to work out of the box
  • #1983: Fix MapTip command when no toolbar exists
  • #2024: MapGuide .net API assemblies are now properly version stamped (ie. The assembly version is now 2.4.0.6757 instead of 1.0.0.1)
  • #531, #2005, #2013: Improved quality of thrown and logged error messages
  • #1960: Fixed Java API memory leak issues
  • #1105: Logged map rendering calls now include view extents
  • #611, #1304: MgSelection and MgMap fixes
  • #1996: Fix infinite loop on SQLite data readers
  • #1998: Connection manager enhancements

Major New Items for Preview Release 2

  • New MgInstantSetup zip bundles for flexible installation/configuration. Choose the MgInstantSetup bundle over the regular installer if you want to have side-by-side installations of MapGuide
  • Ubuntu install available for this release. Install script now has a basic interactive text installer allowing for FDO provider selection.

Major New Items

Also included are features from the (cancelled) 2.3 milestone

Thanks to the ever growing team of developers who are contributing to make the MapGuide Open Source project a more self-sustaining project.

Please report any defects.

FDO Compatibility

MGOS 2.4.0 is compatible with FDO 3.7.0.

FDO is compiled against the Oracle 11.2 instant client available from Instant Client Downloads. For a Linux installation, the Oracle shared library path should be included in LD_LIBRARY_PATH or ldconfig.

FDO 3.7 is compiled against GDAL 1.9.

Installer notes

Installing MGOS 2.4 preview (via the windows installer) alongside MGOS 2.2 or older releases is not a currently supported configuration. Consider using the MgInstantSetup bundle instead if you desire side-by-side installation

The installer does not currently support IIS Express as an IIS configuration option.

Please observe the updated software requirements if you are using .net and/or IIS configuration:

  • IIS (all versions) require FastCGI for IIS to be installed.
    • For IIS6 and below, download and install the FastCGI extension from this link
    • For IIS7 and above, you can install FastCGI by enabling the CGI feature of your IIS installation. See this link for more information.
  • The supported .net Framework version for the MapGuide .net API is 4.0. You must have this version of the .net Framework installed before proceeding with installation.
    • For IIS6 and below, the installer will still set the ASP.net version to 2.0.50727. You will have to manually change the ASP.net version to 4.0.30319 post-install

Java configuration requires Java 6 (1.6.0) or higher.

The MgInstantSetup bundles only work with IIS7 or higher if you choose to use this web server. You must still satisfy the .net and FastCGI software requirements required for this configuration.

To assist new MapGuide users and developers, the installer also now bundles the following optional components:

  • .net/PHP/Java viewer samples
  • MapGuide Developer's Guide in HTML format with updated content
  • .net/PHP/Java Developer's Guide Samples

All bundled samples require the Sheboygan dataset to be loaded into the MapGuide Server. For Developer's Guide samples, the developer's guide data package needs to be loaded. These can be found in the root directories of the respective devguide samples in your MapGuide Web Tier installation.

Finally, due to coordinate system dictionary paths no longer tied to a global environment variable (RFC 122) a mandatory system reboot after installation is no longer required for all supported versions of Windows. However, a restart of Apache and/or IIS may be required for PHP to work.

For the InstantSetup bundles, the MgInstantSetup utility requires .net Framework 3.5 to run. This is in addition to whatever existing software requirements imposed by this release of MapGuide Open Source.

For Tomcat configuration, the installer currently does not install Tomcat as a service (#953). You will have to do this manually post-installation.

Also ensure that you install the JVM of the same bitness as your installation of MapGuide. For example, you will get a java.lang.UnsatisfiedLinkError if you attempt to run a Tomcat from a 32-bit MapGuide installation on a 64-bit JVM. If you have both 32 and 64-bit JVMs installed, you must ensure that the Tomcat bundled with MapGuide is using the correct one. Tomcat will generally use the one indicated by the JAVA_HOME environment variable, so this may have to be set and/or overridden.

Although Ubuntu 11.10 was the only tested platform as of this writing. The ubuntu binaries are also known to work with the latest release as well (12.04)

The exe installer will automatically install the Visual C++ 2008 and Visual C++ 2010 redistributables if required. The Visual C++ 2008 redist installer if it is run, it will leave a whole bunch of temp files in the root of C drive (usually). This is a defect in the VC2008 redist installer.

Known Issues

  • Due to unavailability of build resources, the Beta 1 installer does not include the ArcSDE FDO provider. You may try registering the FDO 3.7 beta 1 provider in providers.xml after installation, but this has not been tested nor is it supported.
  • CentOS: SELinux security settings will prevent MapGuide from loading FDO and other shared libraries. The CentOS install script will fix the security contexts of the so files within these extracted tarballs that it will download.
  • CentOS: mgserver may throw double-free errors on service startup or server shutdown. Should not affect server behaviour.
  • The Performance Profiler may not work due to insufficient permissions to save the generated report files. To fix this, ensure the directory <Your MapGuide Install>\Web\www\mapadmin\profilingmapxml for windows and /usr/local/mapguideopensource-2.4.0/webserverextensions/www/mapadmin/profilingmapxml on linux has sufficient write permissions for the user account that the PHP executable runs under.
  • For an InstantSetup-based install with an Apache configuration, the Performance Profiler is hard-coded to always use mapviewerjava if it exists for displaying the map viewer for capturing extents for profiling. If you did not choose a Java configuration you will get the ajaxviewer.jsp source instead of the expected map viewer. To resolve this, delete the mapviewerjava directory
  • The installer will not remove the IIS virtual directories correctly if you specified a different virtual directory in IIS. For example, if you install with a virtual directory of "mapguide24" it will still remove the "mapguide" virtual directory on uninstall.
  • Uninstallation can leave "ghost" IIS virtual directories behind, which currently include:
    • dotnetviewersample
    • dotnetsamples
    • mapviewernet
    • Any virtual directory / application you create inside the mapguide virtual directory that was not created by the installer
    These "ghost" directories may impact on future installations. To ensure these "ghost" directories are completely gone after uninstallation, use the appcmd.exe utility to remove these virtual directories. You can find out what virtual directories are still there by running

appcmd.exe list vdir

  • IIS7.x: The installer does not properly configure the mapviewernet, dotnetviewersample and dotnetsamples directories as IIS applications if you enable such features in the installer. Workaround is to manually create these applications with IIS manager afterwards.
  • #1984: An asp.net security setting prevents selection XML from being set from the .net viewer. The current workaround is to add the following line to web.config for the mapviewernet directory under the <system.web> configuration section:

<httpRuntime requestValidationMode="2.0" />

  • PHP Viewer and Developer's Guide samples will not work if the PHP viewer feature is not enabled. Likewise for .net and Java. Nothing in the installer will prevent you from making such a choice.
  • For the IIS configuration or Apache configuration with a custom http port, you will have to update the WFS and WMS server name configuration properties via the MapGuide Site Administrator after installation if you intend to use such features. This is currently set to localhost:8008 for both.
  • #1985: 32-bit IIS configuration does not work on 64-bit windows. To fix this, set the "Enable 32-bit applications" property to true on the IIS application pool that is created by the installer.
  • We have used a non-standard binary build of Apache/PHP to produce this installer, as a result some PHP extensions and Apache modules may not be available.

API changes

RFC 110 A new API for rendering performance profiling

RFC 114 A new API for transaction save points

New Server Configuration (serverconfig.ini) Options

RFC 122 introduces the MentorDictionaryPath configuration property, which is the first place MapGuide Server will look for the coordinate system dictionary files. The MENTOR_DICTIONARY_PATH environment variable will be used instead if the specified path in serverconfig.ini does not exist

New Web Configuration (webconfig.ini) Options

RFC 122 introduces the MentorDictionaryPath configuration property, which is the first place the MapGuide Web Tier will look for the coordinate system dictionary files. The MENTOR_DICTIONARY_PATH environment variable will be used instead if the specified path in webconfig.ini does not exist

Debugging Installer failures

If the installer fails, you can unpack the internal msi from the exe (see Disk Space section below) and run the msi like so:

msiexec /l*v install.log /i filenameofthe.msi

The Windows Installer engine will log all messages to install.log. Fatal errors thrown during installation are usually logged to this file. Be warned that this file can grow really large during installation.

Disk Space

The installer requires at least 1.5GB of disk space on C: during installation. Otherwise installation may not proceed.

If you do not have sufficient space on C:, you can open the installer file with 7-zip and extract the contents to another drive, and run the extracted setup.exe from there. It may also be helpful to set your TEMP environment variable to a different drive.

Submissions

This list of submissions up to this release can be found here

Note: See TracWiki for help on using the wiki.