TroubleshootingCompiling and Running the Local Logging ServiceI get a ClassDefNotFoundException when trying to run the example. Be sure that you compiled all the API, SPI, and implementation classes for the example. I get a ClassNotFoundException when trying to run the example. Be sure you have the directory where the compiled classes are located somewhere in your classpath. The example can't find the logging.properties file. It really depends on which version of Java you are using, but if you're using Java 1.3, the file can normally be anywhere in the system classpath. With earlier versions, you might have to put the file in your <JAVA_HOME/lib directory for it to be found. Compiling and Running the Remote Logging ServiceI get a NoClassDefFoundError . Be sure that you have the jms.jar , jndi.jar , and the class files for the example in your system classpath. If you don't want to add them to your system classpath, create a startup script and add them using the -classpath option. Compiling and Running the E-Mail ServiceI can't compile or run the e-mail service example. Be sure you have the necessary JavaMail JAR files in your classpath. These include mail.jar , smtp.jar , and also the activation framework activation.jar , which is a separate download. |