How To
Summary
When the following command is run:
dcadmin.bat [-p port] [-s server] [-x output_file] [-l "namespace,userid,password"] [-arg argName argValue] command [cube0 cube1 ...]
The warning message is observed :
"WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled"
A warning about missing classes in the terminal output. However, there is no impact on the functionality of the command.
Objective
Modifiy the dcadmin.bat file to remove the warning message.
Steps
Backup your file: dcadmin.bat to dcadminBackup.bat
Open the file dcadmin.bat in a text editor:
Add a line after the line : set CLASSPATH=..\webapps\p2pd\WEB-INF\classes
Line that should be added: set CLASSPATH=%CLASSPATH%;..\webapps\p2pd\WEB-INF\lib\activation.jar
Save the file.
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
20 May 2026
UID
ibm17273544