Migrating from java agent to servlet problem

i have an agent that (besides some serious memory hogging) works fine. I am using a piece of charting software to generate images of charts. I have migrated all the code to a servlet, set up the classpath, and have no problems compiling the code. i am using the domino servlet engine and the software package is jdk 1.3 and above compliant. the error i get when i first run the servlet is “HTTP JVM: java.lang.ExceptionInInitializeError: null”, the second time i run the servlet i get the error “HTTP JVM: java.lang.NoClassDefFoundError: com/jrefinery/chart/JfreeChartConstants: com/jrefinery/chart/JFreeChartConstants”. Ive narrowed the occurance of the error to the point of entry in the software package. The servlet is running under lotus domino server 6.0.1

Thank you in advance

Subject: migrating from java agent to servlet problem

Do you have JavaUserClasses defined in the notes.ini? You should check that to make sure that it points to a directory where you have your supporing classes (i.e., the .jar that contains JFreeChartConstants).

Personally, I recommend not using the Domino Servlet Engine for any real work. It is “OK” for testing, but according to documentation I found on Open.ntf (which cites Bob Balaban, the author of the njdk), the R5 Domino Servlet Engine works optimally with 2-3 concurrent users! (OpenNTF Main Bar). Yes, this is R5, but I don’t think the servlet engine has changed that much. On our implementation of Domino R6, we had to pull all the servlets from Domino and serve them from Orion because it kept crashing our server (6.01, on RH 8.0 dual processor with 501 Mb of RAM).