[mapguide-users] FW: Mapguide on Linux Centos/RHEL 5.4 - Java Web Issues (crash etc)

Rajeev Singh rajeev at ipssi.com
Sun Jan 10 12:31:53 EST 2010


Hi

We have just filed a bug but wanted to check if you guys are aware or have
seen or have pointers about how to go to next step

On Centos 5.4 x86, Mapguide 2.0.2 Java API crashes Java VM. In debug mode
of web throws an exception

 We built Mapguide 2.0.2 (tar downloaded from web site) on Centos Linux
 5.5.4 (with some effort - build scripts are available if desired). Non
 java-web portions works fine (except for a font issue) on sheboygan.
 However the java web portion casues the Java VM to crash at site.open().

 Subsequently we create a small Java application to reproduce and get rid
 of possible tomcat related issues. The application crashed alongwith a
 stack trace. We then did debug build of just the web component and the VM
 does not crash but shows certain exceptions happening in MapGuide/JNI
 side.

 Connecting to the same server from a windows TomCat works fine (except for
 the aforementioned font issue)

 The calls never reach the MgServer. Note that the attached webconfig.ini
 has 192.168.1.95 as the address for the site server.

 Following files are being attached:

 TestMg.java - a simple application that does site.open (Please set the
 path of webconfi.ini to your requirement). Crash/Exception happens at
 site.open

 webconfig.ini - the ini file being used

 vmcrashreport.err.txt - the error file generated when VM crashed in non-
 debug build mode

 console.op.txt - the output of console showing the issue. the same is also
 being copy-pasted here

 Script started on Sun 10 Jan 2010 07:44:06 PM IST

 javac -classpath .:/usr/local/mapguideopensource/webse
 erverextensions/www/WEB-INF/lib/MapGuideApi.jar  TestgM.java

 java -classpath .:/usr/local/mapguideopensource/webser
 rverextensions/www/WEB-INF/lib/MapGuideApi.jar
 -Djava.library.path=/usr/local/map
 pguideopensource/webserverextensions/lib TestMg

 configPath:/usr/local/mapguideopensource/webserverextensions/www/webconfig.
ini
 InitDone
 userInfo Doneorg.osgeo.mapguide.MgUserInformation at de6ced
 Site doneorg.osgeo.mapguide.MgSite at 1fb8ee3
 (3076852624) MgSiteManager::Initialize()
 Exception
 - MgSite.Open line 105 file Services/Site.cpp
 - MgSite.Authenticate line 1336 file Services/Site.cpp
 - MgServerConnection.Open line 106 file Services/ServerConnection.cpp

 (3085924032) MgSiteManager::~MgSiteManager()
 ]0;root at localhost:~/test_jni[root at localhost test_jni]# exit
 exit

 Script done on Sun 10 Jan 2010 07:44:50 PM IST

--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1239>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals

--------------------------------------------
Rajeev K. Singh
IntelliPlanner Software Systems, Inc.
West Windsor, NJ (USA) / New Delhi (India)
+1.609.945.4927 (o) / +1.203.558.3224 (c)
+91.11.4672 6635(o) / +91.995 841 1064(c)
--------------------------------------------
This mail contains proprietary and confidential information.
Please destroy it if you received it by mistake and notify the sender.



More information about the mapguide-users mailing list