IBM Support

Running DCAdmin command-line generates Warning of missing classes

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

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m50000000Cl4nAAC","label":"Data Source-\u003EDynamic Cube"}],"ARM Case Number":"TS022042999","Platform":[{"code":"PF033","label":"Windows"}],"Version":"12.1.1;12.1.2"}]

Document Information

Modified date:
20 May 2026

UID

ibm17273544