Java servlet on AS400 - NoClassDefFoundError

I have a java servlet running on 2 Win-servers with no problems.

When I try running this on an AS400, the servlet class cannot find the imported classes (NoClassDefFoundError). The setup is the same.

The classes’ location is referenced in the “Class path” field in the servlet section of the server document (like on the win-servers). However; JVM apparently doesn’t see these files.

The reference in the class path field looks like this:

domino\servlet

I’ve also tried

domino/servlet

and even

\QIBM\PRODDATA\LOTUS\DOMINO650\domino\servlet

(and also with forward slashes).

Still, JVM can’t find them.

I could, of course, try moving the class files to another directory and reference them using the JavaUserClasses parameter in notes.ini but this requires a server restart, which I hope to avoid.

Is there any difference between win and os400 that I should take into account in this particular event?

Frustrated regard

Marius Waldal

Blue Bricks Software

www.bluebricks.no (norwegian only)

Subject: Java servlet on AS400 - NoClassDefFoundError

Need to make sure the versions match - what you use when you compile must match what Domino supports - so the jdk(1.3.1) and servlet spec(jsdk.jar - 1.2) must be used when compiling or the jvm on domino - will not see the class files - at least that is what our problem was.thanks,

Berkley