Update landmark to latest version 10.1.x and failed

 2 Replies
 0 Subscribed to this topic
 32 Subscribed to this forum
Sort:
Author
Messages
Xin Li
Veteran Member
Posts: 133
Veteran Member
    I tried to update landmark environment from 10.0.x to 10.1.x and got error below.
    Anyone has any idea what is wrong?

    @@ run /lsf_lmk_env/env/bin/secadm  -d gen  provision os -C -o -a
    WARNING: Undefined MessageProducer: SecurityProvisioningLogger
    Actor Name = lawson
    Service factory: com.lawson.webservs.service.ServiceLocalFactory created
    SpecRepositoryFactory: SpecRepository(PreloadOnEnstantiation): gen (SLVUW): Resolution time - already loaded

    java.lang.NullPointerException
    Error: java.lang.NullPointerException
     at com.lawson.security.interfaces.managers.LawsonIdentityUtil.generateFormBasedIdentityKey(LawsonIdentityUtil.java:263)
    Error:  at com.lawson.security.interfaces.managers.LawsonIdentityUtil.generateFormBasedIdentityKey(LawsonIdentityUtil.java:263)
     at com.lawson.security.interfaces.managers.LawsonIdentityUtil.generateIdentityKey(LawsonIdentityUtil.java:56)
    Error:  at com.lawson.security.interfaces.managers.LawsonIdentityUtil.generateIdentityKey(LawsonIdentityUtil.java:56)
     at com.lawson.security.authen.LawsonIdentityManagerLMImpl.getIdentityKey(LawsonIdentityManagerLMImpl.java:1096)
    Error:  at com.lawson.security.authen.LawsonIdentityManagerLMImpl.getIdentityKey(LawsonIdentityManagerLMImpl.java:1096)
     at com.lawson.security.authen.LawsonIdentityManagerLMImpl.getIdentityForService(LawsonIdentityManagerLMImpl.java:481)
    Error:  at com.lawson.security.authen.LawsonIdentityManagerLMImpl.getIdentityForService(LawsonIdentityManagerLMImpl.java:481)
     at com.lawson.security.authen.LoadOSID.loadid(LoadOSID.java:228)
    Error:  at com.lawson.security.authen.LoadOSID.loadid(LoadOSID.java:228)
     at com.lawson.security.authen.LoadOSID.execute(LoadOSID.java:740)
    Error:  at com.lawson.security.authen.LoadOSID.execute(LoadOSID.java:740)
     at com.lawson.security.secadm.AbstractLawsonMenuItem.execute(AbstractLawsonMenuItem.java:200)
    Error:  at com.lawson.security.secadm.AbstractLawsonMenuItem.execute(AbstractLawsonMenuItem.java:200)
     at com.lawson.security.secadm.SecAdminMain.doArgsArray(SecAdminMain.java:456)
    Error:  at com.lawson.security.secadm.SecAdminMain.doArgsArray(SecAdminMain.java:456)
     at com.lawson.security.secadm.SecAdminMain.doCommandLineMode(SecAdminMain.java:412)
    Error:  at com.lawson.security.secadm.SecAdminMain.doCommandLineMode(SecAdminMain.java:412)
     at com.lawson.security.secadm.SecAdminMain.execute(SecAdminMain.java:171)
    Error:  at com.lawson.security.secadm.SecAdminMain.execute(SecAdminMain.java:171)
     at com.lawson.security.secadm.SecAdminMain.main(SecAdminMain.java:50)
    Error:  at com.lawson.security.secadm.SecAdminMain.main(SecAdminMain.java:50)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Error:  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
    Error:  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    Error:  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:600)
    Error:  at java.lang.reflect.Method.invoke(Method.java:600)
     at com.lawson.rdtech.command.main.Main.exec(Main.java:352)
    Error:  at com.lawson.rdtech.command.main.Main.exec(Main.java:352)
     at com.lawson.rdtech.command.main.Main.main(Main.java:46)
    Error:  at com.lawson.rdtech.command.main.Main.main(Main.java:46)
    Error : null
    Error: Error : null
      Failed for parameters: [-p, what2donow, -d, gen, provision, os, -C, -o, -a], with message:  null
    FAILED.
    Error:   Failed for parameters: [-p, what2donow, -d, gen, provision, os, -C, -o, -a], with message:  null
    Fatal: [install-sec.pl] exit status 255
    Error: Fatal: [install-sec.pl] exit status 255
    Error: Activating Lawson Security, RM, and SSO failed.
    **** 2014.03.26 10.33.18 RESTART Failed.
    showErrorAndStop called

    Carl.Seay
    Veteran Member
    Posts: 109
    Veteran Member
      I have not seen that specific error, but have run into similar issues which turned out to be using the Domain Lawson user vs Local (Server) Lawson user. Depending on how Landmark was installed, it may be expecting the Local Lawson user.
      Xin Li
      Veteran Member
      Posts: 133
      Veteran Member
        The problem was due to the service type for host is set to form base. change to unix and it works.


        Now after the upgrade in Process Designer I can't see JDBC connection I created in Rich client.