Koozali.org: home of the SME Server

XML/ActiveX Problems, and 5.6 to 6b3 upgrade hangs.

Daniel Rodriguez

XML/ActiveX Problems, and 5.6 to 6b3 upgrade hangs.
« on: October 03, 2003, 07:00:01 PM »
Allright, I've been busting my brains over this one for a couple of days now, and I'm getting fairly desperate. Here's the deal:

I've got a little ActiveX app that connects to a remote server, queries it for an XML file, and then parses that XML file into a PDF-format report for printing and the like. The application works fine: it connects, gets the file, and spits out the report. However, when using this application from behind a 5.6 SME server something strange happens. There's a 4 minute (almost exactly 4 minutes, to the second) hang in between the point where the app sends the request to the server for the XML file, and the point where it receives the XML file and can begin parsing. If I take the SME server out of the middle, and simply connect the machine running the ActiveX app directly to our DSL box, the app works normally, no hang, no 4 minute delay. Go back to connecting through the SMe server, and the delay returns. This happens on every flavour of Windows, 98, Me, 2000, and XP, and it's always the same: connect through SME 5.6 server = 4 minute hang, connect directly to Internet = no hang. So I decide to see if maybe it's something in the ACtiveX that's causing the hang: I try and download the XMl file directly through Mozilla and through IE, without going through the ACtiveX app: a simply http get request. Same problem: browser hangs waiting for the file to be delivered to it for the same 4 minutes, before displaying it. If I connect directly to the Net without the SME server in between, there is no hang. This only happens with XMl files that I try and get, and not with any other types, whic download and respond normally.

I don't know if maybe the SME server is hanging on to the XML file and trying to process it or something before passing it on, but it's very annoying. After banging my head on that one, I figured maybe it was some sort of bug in the 5.6 series, and decide to find out if the same things happen with the 6.0 betas.. Been meaning to test out 6b3 for a while now anyway, so this gives me an excuse. I download the ISO, make sure it's not corrupted, and then burn it, all goes without a hitch. Then I go to upgrade the 5.6 server to 6b3. Everything seems to go well, until it gets to the point where it says 'Preparing packages for upgrade'...And then it hangs, indefinetly. I left it overnight last night to see if maybe it was just a really long pause since It's running on an old Pentium II, but this morning it was still stuck there, the CD-ROm drive whirring away contentedly to itself.

So I'm still stuck with the XML hang problem, and I can't upgrade the server.. and there's a lot of data in there, nothing critical (else I wouldn't be installing a beta on it) but still stuff that I'd rather not have to go through the trouble of backing up and restoring later when a simple upgrade should work.

So.. any hints?

Bob Todd

Re: XML/ActiveX Problems, and 5.6 to 6b3 upgrade hangs.
« Reply #1 on: October 04, 2003, 04:09:22 PM »
how about u put a spare hd into the server in place of the 5.6 hd and install a fresh v6 on it. That way u can test if v6 solves the problem without upgrading the current setup. If it does then I suggest u go through the backup and restore procedure onto a fresh v6 install.