ClassNotFoundException when using to export views
search cancel

ClassNotFoundException when using to export views


Article ID: 16451


Updated On:


CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent


I get java ClassNotFoundException when using tool to export CA WCC views.

How to resolve this error?



CA WCC 11.x on UNIX


The 'root' user isn't necessary to execute the script, however if the WCC installation is owned by "root", then the script writes to a log file under the <WCC_path>\log\application\cli directory, so the log writing may fail.

Please verify if the script is being executed from $CA_WCC_INSTALL_LOCATION\bin directory.

The user executing the must be part of the "Commander" group.

Finally please check for the following file:

ls -l ${CA_WCC_INSTALL_LOCATION}/lib/Safe-*.jar

Depending on the version of WCC, it should return a file.
# ls -l ${CA_WCC_INSTALL_LOCATION}/lib/Safe-*.jar
-rwxrwxr-x. 1 root root 825652 May 15 2012 /opt/CA/WorkloadCC/lib/Safe-8.4.411.jar

The default is 755 for all libraries.

Ensure that the file has 665 (or 775) permissions. Change it to 777 if required and then retry the export.

If that still does not work, then please raise a case with CA Support.