Solved

Java Applet Problem

Posted on 2002-06-10
10
470 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
ID: 7068608
What does the applet do? Does it connect to the server?
0
 

Expert Comment

by:jstarling
ID: 7068680
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
ID: 7069689
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:kcleary
ID: 7069872
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
ID: 7070027
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
 

Author Comment

by:kcleary
ID: 7070049
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
ID: 7070202
This is looking like our possible solution...

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

Author Comment

by:kcleary
ID: 7078567
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
ID: 7079530
Fine by me :-)
0
 

Author Comment

by:kcleary
ID: 7095511
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

810 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