Unable to import packages. Java error "class PackageDefinition.class not found".

book

Article ID: 156829

calendar_today

Updated On:

Products

Software Management Solution

Issue/Introduction

Unable to import packages when the Console is opened an either windows 7 or windows 2008 when the SMP server uses HTTPS.

They receive a Java error saying "class PackageDefinition.class not found".

When they open the Software Catalog and click on "Add Product" on the "Managed software products" web part it brings up a blank Software Product window as expected.
They open the "Delivery" tab and click on "Import".
A pop-up windows appears saying:
"General Exception
Name: FileApplet
java.lang.ClassNotFoundException: PackageDefinition.class".
 

Windows XP and Windows 2003 machines do not have this issue.

https://us1sxwnsmp001.wmservice.corpnet1.com/altiris/SoftwareManagement/Dialogs/PackageDefinition/class.class with proxy=DIRECT
network: Connecting http://us1sxwnsmp001.wmservice.corpnet1.com:443/ with proxy=DIRECT
basic: load: class PackageDefinition.class not found.
load: class PackageDefinition.class not found.
java.lang.ClassNotFoundException: PackageDefinition.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.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)
Exception: java.lang.ClassNotFoundException: PackageDefinition.class

Cause

Security settings are interfering with Java.

Resolution

On the Win7 and Win2k8 boxes do the following:

1.  Run gpedit.msc
2.  Under Local Computer Policy expand "Windows Settings > Security Settings > Local Policies"
3.  Click on "Security Options"
4.  Scroll down and right click on "Network Security: LAN Manager authentication level"
5.  Change the level to "Send LM & NTLM- use NTLMv2 session security if negotiated".
6.  Apply and OK the changed settings.
 

 On the server set, or leave, this setting to "Send NTLMV2 response only. Refuse LM"".


Applies To

Windows 7 / Windows 2008 running IE 8 and JRE 6.29 or 6.27, maybe other versions.
SMP 7.1.2 Rollup v4 using HTTPS