Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applets not loading after updating to Java 1.5

 
Tom Katz
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I work on a webapp that consists of a frameset that loads two separate applets. The latest JDK support was 142.08. I"m updating the code to Java 5.

I built with JDK 1.5.0.09 and am running the server with a compatible JRE. Also, my client machine is running an updated JRE (same version).

But my applets aren't loading correctly, w/o any errors to point me in the right direction. One of them shows the Java 'loading' animation, and it doesn't go away.

I changed the EMBED tags of the applets to reflect the new JRE level.

Any hints/ideas/suggestions for me to try?

thanks,
Tom
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You said there were no error messssage, but just to clarify: no messages either in the browser status bar nor in teh Java Console? Can you see in your web server access logs whether all applet-related files are actually accessed successfully?

By the way, the server JVM version has no bearing on applet execution on the client.
 
Tom Katz
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The IE progress bar says the applet's started. I set some trace variables for the console output, but no errors, as far as I can tell (see below). The server logs just show that a client session has started.

Also, these applets are signed, if I hadn't mentioned that.


>>>>>>>>>>>>>>>>>>>>>>>>>>>


basic: Registered modality listener
liveconnect: Invoking JS method: document
basic: Registered modality listener
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1ded0fd, refcount=1
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1ded0fd, refcount=2
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@578ceb
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1e0bc08
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
network: Connecting http://localhost:15007/cm/StatusApplet.jar with proxy=DIRECT
network: Connecting http://localhost:15007/cm/StatusApplet.jar with cookie "JSESSIONID=3ivfv0s6r2mto"
network: Connecting http://localhost:15007/cm/CmApplet.jar with proxy=DIRECT
network: Connecting http://localhost:15007/cm/CmApplet.jar with cookie "JSESSIONID=3ivfv0s6r2mto"
security: Loading Root CA certificates from C:\PROGRA~1\Java\JRE15~1.0_0\lib\security\cacerts
security: Loaded Root CA certificates from C:\PROGRA~1\Java\JRE15~1.0_0\lib\security\cacerts
security: Loading Deployment certificates from C:\Documents and Settings\tcates.TCT23W2K\Application Data\Sun\Java\Deployment\security\trusted.certs
security: Loaded Deployment certificates from C:\Documents and Settings\tcates.TCT23W2K\Application Data\Sun\Java\Deployment\security\trusted.certs
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer ROOT certificate store
security: Loaded certificates from Internet Explorer ROOT certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Checking if certificate is in Deployment permanent certificate store
basic: Modality pushed
basic: Modality pushed
basic: Modality popped
basic: Modality popped
network: Connecting http://localhost:15007/cm/search.png with proxy=DIRECT
network: Connecting http://localhost:15007/cm/search.png with cookie "JSESSIONID=3ivfv0s6r2mto"
network: Connecting http://localhost:15007/cm/search.png with proxy=DIRECT
network: Connecting http://localhost:15007/cm/search.png with cookie "JSESSIONID=3ivfv0s6r2mto"
network: Connecting socket://localhost:15006 with proxy=DIRECT
network: Connecting socket://localhost:15006 with proxy=DIRECT
 
Tom Katz
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got print statements in the init methods of my main app and it seems to stop at the constructor for a subclass of JTree. All the constructor does is call super(model). model is implementing TreeModel.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic