HTTP Error 500 accessing "iPrint Appliance Configuration" page

  • 7016876
  • 01-Oct-2015
  • 23-Jun-2017

Environment

Novell iPrint Appliance 1.1

Situation

Clicking the "iPrint Appliance Configuration" link (available within iPrint Appliance 1.1) within the iPrint Appliance Management Console returns the following error:
Note: The "iPrint Appliance Configuration" label reads "Manage iPrint Appliance" with the iPrint Appliance version 3.0.
HTTP ERROR 500

Problem accessing /iprintconfig. Reason:

Could not access remote service [rmi://localhost:1099/IprintManagementService]; nested exception is java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:

java.lang.ClassNotFoundException: com.novell.service.iPrint.mobile.datastore.exceptions.InvalidDataException (no security manager: RMI class loader disabled)

Caused by:

org.springframework.remoting.RemoteAccessException: Could not access remote service [rmi://localhost:1099/IprintManagementService]; nested exception is java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:

java.lang.ClassNotFoundException: com.novell.service.iPrint.mobile.datastore.exceptions.InvalidDataException (no security manager: RMI class loader disabled)

The /var/opt/novell/log/iprintmobile/iprintmobile0.log shows the following message:
com.novell.service.iPrint.mobile.Main main SEVERE: DataStore Error
com.novell.service.iPrint.mobile.datastore.exceptions.InvalidDataException: Failed to parse the XML file: Premature end of file.

Resolution

The following steps apply to versions of the iPrint Appliance prior to 3.0.  The iPrint Appliance does not have an iprintmobiledb.xml file.

These steps will remove the Mobile configuration status of the printers and remove the email configuration for each printer. However, the ability to reconfigure those things will be restored.

Copy/paste the following string of commands into a terminal session while logged in as root:
rcnovell-iprint-mobile stop;rm /var/opt/novell/iprintmobile/iprintmobiledb.xml;rm /var/opt/novell/iprintmobile/iprintmobiledb.xml.bak;iprintmobile_config --defaultconfig;rcnovell-datamodel-service restart;rcnovell-jetty restart
The mobile server has been reset. Log into the management console.  Re-enable printers for mobile printing and reconfigure the email settings.