Improve your productivity and save time.  Let your system work for you.
HiTek Software Home
Subject Email error occurs with corrupted activation.jar file
Date   01/19/2006
Message I am currently having a problem where none of my email tasks are actually generating any email. This just stopped working one day and I am not sure what is going on. I started the JSEngine manually from the command line and received the following error message when I attempted to execute an email task

[wladmin@apps01prhlx automize]$ java.lang.NoClassDefFoundError: javax/activation/DataSource
at EmailTask.EmailTask(EmailTask.java:49)
at EmailTask.run(EmailTask.java:26)

Any help would be appreciated. Let me know if you need any logs or any other supporting files.

Regards

Reply1 I found some documentation on the error you detected: java.lang.NoClassDefFoundError:javax/activation/DataSource = Classpath is not set correctly: add activation.jar from Java Activation Framework to your classpath.

What is the permissions/size for activation.jar?

-- Sincerely, Melvin Desilva Hitek Software

 

Reply2 -rwxrwxr-x 1 wladmin wladmin 13148160 Feb 8 10:58 activation.jar
Reply3 Well after I emailed you I took a look at this again, and comparing activation,jar on this system to a backup, the current file is a wee bit too big.. about 13MB too big… hmm
Reply4 Hi John, Yes, I noticed that too. 
The size should be 79 KB. You can download the following .zip installer: 
http://www.hiteksoftware.com/installs/java/java6.zip 
Use the activation.jar from this archive. 

-- Sincerely, Melvin Desilva Hitek Software
Reply5