Link to home
Start Free TrialLog in
Avatar of kcleary
kcleary

asked on

Java Applet Problem

I have a simple Java applet that runs fine, except on 1 Citrix server.  When I try and go to the ASP
page containing the applet, it hangs (NOT RESPONDING in the task list) for about 2 minutes or so, and
then the page is displayed fine.  This applet does run on another Citrix server fine, and runs on various
desktops (Win95, 98, NT4, Win2000) without a problem.  I have narrowed it down to the applet, but I'm
fairly certain that it's just a setting or two on the Citrix server that's causing the problem. We've
tried changing all the standard settings under Internet Options, but nothing seems to work.  We're running
IE 5.5 SP2, and the Citrix server with the problem is an NT 4.0 SP6 box.

The applet code looks like this, with the RetrieveBannerMessages and RetrieveBannerStyle returning a
string from the DB...

<APPLET code="AcuteScroller.class" archive="AcuteScroller.jar" width="167" height="200" VIEWASTEXT id=Applet1>

<PARAM name="Message" value="<%=RetrieveBannerMessages%>">
<PARAM name="Style" value="<%=RetrieveBannerStyle%>">
<PARAM name="Loading-Text" value="Retrieving messages...">
<PARAM name="Loading-Text-Color" value="FFFFFF">
<PARAM name="Loading-Background-Color" value="003399">
<param name="Domain-Keys" value="14874,13217,12321,6833,4127,4331">

</APPLET>
Avatar of Mick Barry
Mick Barry
Flag of Australia image

What does the applet do? Does it connect to the server?
Does the Java console display anything?

Hmm, I would suggest a quick test. Change RetrieveBannerMessages and RetrieveBannerStyle to just set some default value to see if its the DB connection that causing the delay. If it is I would assume a security issue.

James
Avatar of kcleary
kcleary

ASKER

It's a scrolling banner applet (see http://www.acuteapplets.com).  The applet makes 2 server side calls with the RetrieveBannerMessages and RetrieveBannerStyle statements, and these calls each return a string of data.  The applet parses through the strings to display the messages in the applet (the strings are XML based).

We're pretty sure that it's not the DB connection/call that's holding things up, but I'll double-check just to be sure.
Avatar of kcleary

ASKER

It's nothing to do with the server or DB call.  I changed the RetrieveBannerMessages and RetrieveBannerStyle calls with the actual param strings (so no server or DB call was made) and IE still hangs for around one minute or so.  

I also commented out the applet code all together, and the page loaded right away.  Like I mentioned before, it's just when you're on this one Citrix box that this behavior starts...anyone else that's run it has been fine.
ASKER CERTIFIED SOLUTION
Avatar of jstarling
jstarling
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kcleary

ASKER

We got with our LAN group and went to the actual Citrix box to run some tests.  It looks like the MDM.EXE is having problems when trying to initialize a DLL.  A prompt is coming up on the Citrix box, which we think is holding things up becuase it's not getting any user response.  Now, I just found out that Visual Studio is actually installed on the Citrix box...why, I have no idea.  We're going to look into the MDM.EXE a bit, and then try working with the Visual Studio install to hopefully clean it up.

Still looking for any input.

Thanks

Ken
Avatar of kcleary

ASKER

This is looking like our possible solution...

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q194396
Avatar of kcleary

ASKER

Well, the problem was with the Machine Debug Manager on the Citrix box itself.  We reinstalled Visual Studio, and that took care of the problem.  

I'm not sure what the proper protocol is for awarding the points on this.  If it's OK, I have no problem awarding the pts to jstarling.

Thanks for the help.
Fine by me :-)
Avatar of kcleary

ASKER

It ended up being the Machine Debug Manager (MDM.EXE) that was corrupted and giving us problems.  We reinstalled the software (Visual Studio), and everything worked OK.