Infrastructure Map Server Developer

Infrastructure Map Server Developer

Reply
Contributor
shankarnayagam
Posts: 18
Registered: ‎09-13-2010
Message 1 of 6 (817 Views)

MapGuide Server Goes Down Often

817 Views, 5 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

ADN Support Specialist
Daniel.Du
Posts: 270
Registered: ‎12-23-2008
Message 2 of 6 (763 Views)

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

Active Contributor
emluv
Posts: 45
Registered: ‎01-26-2009
Message 3 of 6 (737 Views)

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
ADN Support Specialist
Daniel.Du
Posts: 270
Registered: ‎12-23-2008
Message 4 of 6 (723 Views)

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

New Member
enricapieragostini
Posts: 1
Registered: ‎07-15-2013
Message 5 of 6 (163 Views)

Re: MapGuide Server Goes Down Often

07-01-2014 10:41 AM in reply to: shankarnayagam

I have a problem: when I view web preview from mapserver I get this message "Session has expired or is invalid. Please log in again"
What can I do?

Valued Mentor
gluckett
Posts: 426
Registered: ‎10-10-2003
Message 6 of 6 (130 Views)

Re: MapGuide Server Goes Down Often

07-25-2014 04:15 AM in reply to: enricapieragostini
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.