Solved

Java Applet Problem

Posted on 2002-06-10
10
467 Views
Last Modified: 2011-10-03
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>
0
Comment
Question by:kcleary
  • 6
  • 2
  • 2
10 Comments
 
LVL 92

Expert Comment

by:objects
Comment Utility
What does the applet do? Does it connect to the server?
0
 

Expert Comment

by:jstarling
Comment Utility
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
0
 

Author Comment

by:kcleary
Comment Utility
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.
0
 

Author Comment

by:kcleary
Comment Utility
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.
0
 

Accepted Solution

by:
jstarling earned 150 total points
Comment Utility
Well it was worth a try.

Another possibility is corrupted modules on the Citrix box. Perhaps the JRE or Java VM (dending on the version of Java) is corrupted. Here's a handy link that we use for testing our applets.

http://java.sun.com/products/archive/index.html

James
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:kcleary
Comment Utility
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
0
 

Author Comment

by:kcleary
Comment Utility
This is looking like our possible solution...

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

Author Comment

by:kcleary
Comment Utility
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.
0
 
LVL 92

Expert Comment

by:objects
Comment Utility
Fine by me :-)
0
 

Author Comment

by:kcleary
Comment Utility
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.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
array11 challenge 16 51
Exception after setting jdbc session management 2 38
wordlen challenge 3 46
wordappend challenge 8 84
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This video teaches viewers about errors in exception handling.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now