Java error occurs while importing or editing packages in Software Catalog

Article:TECH143667  |  Created: 2010-11-08  |  Updated: 2012-04-16  |  Article URL http://www.symantec.com/docs/TECH143667
Article Type
Technical Solution


Issue



Getting the following error when attempting to import or edit a package in Software Catalog.


Error



Initial error in Add or Edit Package dialog window: 

Error. Click here for Details.

After enabling the Java Console:

load: class PackageDefinition.class not found.
java.lang.ClassNotFoundException: PackageDefinition.class
                at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
                at java.lang.ClassLoader.loadClass(Unknown Source)
                at java.lang.ClassLoader.loadClass(Unknown Source)
                at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
                at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
                at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
                at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open http://localhost/altiris/SoftwareManagement/Dialogs/PackageDefinition/class.class
                at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
                at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
                at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                ... 7 more
Exception: java.lang.ClassNotFoundException: PackageDefinition.class

Environment



Management Platform 7.0 SP5

Software Management Solution 7.0 SP2 MR2 and MR3

With Swedish language


Cause



"PackageDefinition.jar" is missing from its directory.

By default, this file needs to be available under the following directory.

C:\Program Files\Altiris\SoftwareManagement\Web\Dialogs.

NOTE: the drive varies depending upon where Management Platform is installed.


Solution



If the file is missing, simply copy the file from another Management Platform and put in the directory as stated above.

Other possible solutions for a similar issue are:

  • To upgrade to Java version 6 update 22. Uninstalling Java, rebooting, and reinstalling may also be required in some cases.
  • To enable "Bypass proxy server for local addresses" (per TECH47522).

 





Article URL http://www.symantec.com/docs/TECH143667


Terms of use for this information are found in Legal Notices