This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

iprint mobile error 500

Hello,

I use miggui to migrate my OES iprint to iprint appliance 5. Printer did not show up in iprint portal, and on iprint console i have error 500 on iprint mobile. I have several error in iprint mobile log like :

2023-06-02 11:05:08 ERROR DispatcherServlet:501 - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Initialization of bean failed; nested exception is org.springframework.beans.fact
ory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#1': Cannot create inner bean 'com.novell.service.iprint.licensingclient.interceptors.ChromePrintingInterceptor#0' of type [com.novell.servic
e.iprint.licensingclient.interceptors.ChromePrintingInterceptor] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.novell.service.iprint.licensingclient.inter
ceptors.ChromePrintingInterceptor#0': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.novell.service.iprint.licensingclient.LicensingClient com.n
ovell.service.iprint.licensingclient.interceptors.ChromePrintingInterceptor.licensingClient; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'licensingClient': Injection of autowired dependencies f
ailed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.novell.service.iprint.printermanagement.PrinterManager com.novell.service.iprint.licensingclient.LicensingClient.printerManager; neste
d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'printerManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autow
ire field: private com.novell.service.iprint.printermanagement.utils.PrinterManagerHelper com.novell.service.iprint.printermanagement.PrinterManager.printerOpHelper; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Erro
r creating bean with name 'printerOpHelper' defined in URL [jar:file:/var/opt/novell/iprint-tomcat/webapps/iprint/WEB-INF/lib/printermanagement-iPrint-3.0.0-SNAPSHOT.jar!/com/novell/service/iprint/printermanagement/utils/PrinterManagerHelper.class]: Unsati
sfied dependency expressed through constructor argument with index 1 of type [com.novell.service.iprint.components.bean.email.StoreConfiguration]: : Error creating bean with name 'psmConfig' defined in com.novell.service.iprint.application.PrintServerConfi
guration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.novell.service.iprint.components.bean.email.StoreConfiguration]: Factory method 'getPsmStoreConfigu
ration' threw exception; nested exception is java.lang.NullPointerException; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'psmConfig' defined in com.novell.service.iprint.application.PrintServer
Configuration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.novell.service.iprint.components.bean.email.StoreConfiguration]: Factory method 'getPsmStoreCo
nfiguration' threw exception; nested exception is java.lang.NullPointerException
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at org.springframework.beans.fac

Don't know what to do.

  • 0

    I have reproduce my issue. What i want to achieve is to migrate my oes iprint server to iprint appliance.

    This is how i achieve that :

    my iprint server is a cluster ressource with a cname iprint.mycompagny.com

    so my printer are ipp://iprint.mycompagny.com/ipp/printername

    With miggui i have migrate all my printer to the appliance.

    On the appliance i put in the hosts file ip iprint.mycompagny.com

    I also put iprint.mycompagny.com in the ipsmd file.

    Like that on user device the printer are migrated to the new appliance without user interaction. I just have to modify the cname to point to the ip of the appliance.

    But it breaks iprint-mobile.

    If i don't change the ipsmd file with iprint.mycompagny.com then on the user device printers are deleted.

    I would appreciate to know how you manage to migrate from one iprint server to another one.

    regards

    Stephane

  • Suggested Answer

    0   in reply to 

    1. Adding the name to ipsmd should not break mobile. Run this commands:

    zypper in -f supportutils-plugin-iprint

    Install the latest support plug-in

    Restart mobile services:

    systemctl restart novell-iprint-mobile

    Then type:

    iPrintInfo -b

    Authenticate using admin.iprintappliance. This will create a file with all iprint info.

    2. If you want to have a different name in the ipsmd and you want printers installed on the desktop to migrate automatically to this new ones, you can use the Printer Agent redirection in iManager on your current iprint server:

    https://www.microfocus.com/documentation/open-enterprise-server/2023/iprint_lx/akexxjc.html#b6kizcp

    Enabling Printer Agent Redirection#

  • Suggested Answer

    0 in reply to   

    Well apparently it was cause by a weird caracter in the hosts file of the appliance. Now it is working

  • 0   in reply to 

    Thumbsup