Prevent java.lang.NoClassDefFoundError of known classes in the Notes client

This tip describes how to prevent a Java error in the Notes client.

When an embedded applet is killed during the Classload Process, the JVM will not find the required Java classes until Notes is restarted. This happens when the document refreshes before all applet resources are loaded. When you call a dummy Java function via JavaScript in the onload function, the client stays in the onload function until all applet resources are loaded and all documents refresh after Classloader is finished.


Simple JavaScript Call off an 
dummy Function in Java:
document.applets['AppletName']
.dummy()

Java dummy Function:
...
public class AppletName 
extends AppletBase{
...
public void dummy(){}
...
This was first published in May 2003

Dig deeper on Java for Lotus Notes Domino

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchDataCenter

SearchExchange

SearchContentManagement

Close