• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Autodesk MapGuide Enterprise Developer

    Reply
    Contributor
    shankarnayagam
    Posts: 18
    Registered: ‎09-13-2010

    MapGuide Server Goes Down Often

    456 Views, 3 Replies
    05-26-2011 10:50 PM

    Hi

     

    MapGuide Server goes down often when there is even more than 2 client web browser access, can any load balancing patch or anything can be applied to solve this?

     

    Thanks

    Please use plain text.
    ADN Support Specialist
    Posts: 103
    Registered: ‎12-23-2008

    Re: MapGuide Server Goes Down Often

    08-10-2011 03:44 AM in reply to: shankarnayagam

    Which version are you using? Are you using any custom application when you run into this problem?



    Daniel Du
    Developer Technical Services
    Autodesk Developer Network

    Please use plain text.
    Active Contributor
    Posts: 45
    Registered: ‎01-26-2009

    Re: MapGuide Server Goes Down Often

    09-14-2011 11:47 AM in reply to: Daniel.Du

    Daniel,

     

    Do you know of any reason this could be happening? I am having the same issue, however, I do not know if it is becase of 2 users accessing the map. I am using a Mapguide Enterprise 2011 Fusion layout and the server is installed on Windows 2008 R2. We do have some custom ColdFusion applications running with the map, not sure if this is the issue. Any insight would be greatly appreciated, I am constantly having to reboot the server in order to get the map working again.

     

    Thanks!

     

    Emily

    emluv
    Please use plain text.
    ADN Support Specialist
    Posts: 103
    Registered: ‎12-23-2008

    Re: MapGuide Server Goes Down Often

    09-18-2011 08:22 PM in reply to: emluv

    Hi Emily,

     

    If you are using custom code, I'd like to suggest you to chech your code to make sure you release the connection as early as possible.

     

    featureReader.Close() should be called as early as possbile when you finished the reader. Folllowing code snippet demonstrate this process:

     

    MgFeatureReader reader = featureService.SelectFeatures( ­);
    try
    {
     //¡­.your code here ¡­..
    }
    finally
    {
     Reader.close();
    }

     

    Hope this helps some.



    Daniel Du
    Developer Technical Services
    Autodesk Developer Network

    Please use plain text.