Infrastructure Map Server Developer

Infrastructure Map Server Developer

Reply
Contributor
18 Posts
0 Kudos
Registered: ‎09-13-2010
Post 1 of 6

MapGuide Server Goes Down Often

836 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
294 Posts
17 Kudos
Registered: ‎12-23-2008
Post 2 of 6

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
45 Posts
0 Kudos
Registered: ‎01-26-2009
Post 3 of 6

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
294 Posts
17 Kudos
Registered: ‎12-23-2008
Post 4 of 6

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
1 Posts
0 Kudos
Registered: ‎07-15-2013
Post 5 of 6

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
434 Posts
74 Kudos
Registered: ‎10-10-2003
Post 6 of 6

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!