Community Forums
Page 1 of 2 12 LastLast
Results 1 to 5 of 7

Thread: ServiceManagerFacade: services are unavailable

  1. #1
    Join Date
    Dec 2011
    Posts
    13

    Angry ServiceManagerFacade: services are unavailable

    InstallAnywhere version:2009

    Any idea what could be the reason for this error:
    ServiceManagerFacade: services are unavailable due to the following error:
    null
    SHUTDOWN REQUESTED


    This error is coming during un-installation.
    We are getting this error only with jre 7 in windows machine.
    It works fine(jre6 and jre7) in Unix machine(solaris/AIX/linux).

  2. #2
    Join Date
    Mar 2006
    Location
    Paris, France
    Posts
    2,147

    Exclamation

    It's hard to tell without knowing your project.
    Vlad

  3. #3
    Join Date
    Dec 2011
    Posts
    13
    I missed the warning:
    WARNING: Could not load services specified in /services.inf

    The exception is coming from InstallAnywhere code.(if I run with JRE 1.7)

    The content of this inf file is:
    INF_ID: 410d72a656874974a7d14260d2091ee0
    RES_ID: ae513d53d532ee995214c8389ff875b4
    SERVICES: /services.xml
    S_DG: d38cad117dcf1c0fc7519f96fe2e99a4

    The directory <%RES_ID%> contains services.xml:

    - <services>
    - <service name="com.installshield.wizard.service.file.FileService">
    <interface>com.installshield.wizard.service.file.FileService</interface>
    <defaultImpl>com.installshield.wizard.service.file.GenericFileService</defaultImpl>
    </service>
    - <service name="com.installshield.wizard.service.security.SecurityService">
    <interface>com.installshield.wizard.service.security.SecurityService</interface>
    <defaultImpl>com.installshield.wizard.service.security.GenericSecurityService</defaultImpl>
    </service>
    - <service name="com.installshield.wizard.service.system.SystemUtilService">
    <interface>com.installshield.wizard.service.system.SystemUtilService</interface>
    <defaultImpl>com.installshield.wizard.service.system.GenericSystemUtilService</defaultImpl>
    </service>
    - <service name="com.installshield.wizard.platform.win32.Win32RegistryService">
    <interface>com.installshield.wizard.platform.win32.Win32RegistryService</interface>
    <defaultImpl>com.installshield.wizard.platform.win32.GenericWin32RegistryService</defaultImpl>
    </service>
    - <service name="com.installshield.wizard.platform.win32.Win32Service">
    <interface>com.installshield.wizard.platform.win32.Win32Service</interface>
    <defaultImpl>com.installshield.wizard.platform.win32.GenericWin32Service</defaultImpl>
    </service>
    - <service name="com.installshield.wizard.platform.win32.security.WindowsAccountPrivilegeService">
    <interface>com.installshield.wizard.platform.win32.security.WindowsAccountPrivilegeService</interface>
    <defaultImpl>com.installshield.wizard.platform.win32.security.GenericWindowsAccountPrivilegeService</defaultImpl>
    </service>
    - <implementor name="com.installshield.wizard.service.file.FileService">
    <interface>com.installshield.wizard.service.file.FileServiceImplementor</interface>
    <defaultImpl>com.installshield.wizard.service.file.PureJavaFileServiceImpl</defaultImpl>
    <impl>com.ibm.wizard.platform.linux.LinuxFileServiceImpl</impl>
    <impl>com.installshield.wizard.platform.genericunix.service.file.GenericUnixFileServiceImpl</impl>
    <impl>com.installshield.wizard.platform.macosx.service.file.MacOSXFileServiceImpl</impl>
    <impl>com.installshield.wizard.platform.solaris.SolarisFileServiceImpl</impl>
    <impl>com.installshield.wizard.platform.hpux.service.file.HpuxFileServiceImpl</impl>
    <impl>com.installshield.wizard.platform.win32.Win32FileServiceImpl</impl>
    </implementor>
    - <implementor name="com.installshield.wizard.service.security.SecurityService">
    <interface>com.installshield.wizard.service.security.SecurityServiceImplementor</interface>
    <defaultImpl>com.installshield.wizard.service.security.PureJavaSecurityServiceImpl</defaultImpl>
    <impl>com.ibm.wizard.platform.linux.LinuxSecurityServiceImpl</impl>
    <impl>com.installshield.wizard.platform.genericunix.service.security.GenericUnixSecurityServiceImpl</impl>
    <impl>com.installshield.wizard.platform.macosx.service.security.MacOSXSecurityServiceImpl</impl>
    <impl>com.installshield.wizard.platform.solaris.SolarisSecurityServiceImpl</impl>
    <impl>com.installshield.wizard.platform.hpux.service.security.HpuxSecurityServiceImpl</impl>
    <impl>com.installshield.wizard.platform.win32.Win32SecurityServiceImpl</impl>
    </implementor>
    - <implementor name="com.installshield.wizard.service.system.SystemUtilService">
    <interface>com.installshield.wizard.service.system.SystemUtilServiceImplementor</interface>
    <defaultImpl>com.installshield.wizard.service.system.PureJavaSystemUtilServiceImpl</defaultImpl>
    <impl>com.ibm.wizard.platform.linux.LinuxSystemUtilServiceImpl</impl>
    <impl>com.installshield.wizard.platform.genericunix.service.system.GenericUnixSystemUtilServiceImpl</impl>
    <impl>com.installshield.wizard.platform.macosx.service.system.MacOSXSystemUtilServiceImpl</impl>
    <impl>com.installshield.wizard.platform.solaris.SolarisSystemUtilServiceImpl</impl>
    <impl>com.installshield.wizard.platform.hpux.service.system.HpuxSystemUtilServiceImpl</impl>
    <impl>com.installshield.wizard.platform.win32.Win32SystemUtilServiceImpl</impl>
    </implementor>
    - <implementor name="com.installshield.wizard.platform.win32.Win32RegistryService">
    <interface>com.installshield.wizard.platform.win32.Win32RegistryServiceImplementor</interface>
    <defaultImpl>com.installshield.wizard.platform.win32.Win32RegistryServiceImpl</defaultImpl>
    <impl>com.installshield.wizard.platform.win32.Win32RegistryServiceImpl</impl>
    </implementor>
    - <implementor name="com.installshield.wizard.platform.win32.Win32Service">
    <interface>com.installshield.wizard.platform.win32.Win32ServiceImplementor</interface>
    <defaultImpl>com.installshield.wizard.platform.win32.Win32ServiceImpl</defaultImpl>
    <impl>com.installshield.wizard.platform.win32.Win32ServiceImpl</impl>
    </implementor>
    - <implementor name="com.installshield.wizard.platform.win32.security.WindowsAccountPrivilegeService">
    <interface>com.installshield.wizard.platform.win32.security.WindowsAccountPrivilegeServiceImplementor</interface>
    <defaultImpl>com.installshield.wizard.platform.win32.security.WindowsAccountPrivilegeServiceImpl</defaultImpl>
    <impl>com.installshield.wizard.platform.win32.security.WindowsAccountPrivilegeServiceImpl</impl>
    </implementor>
    <resourcePath />
    </services>

  4. #4
    Join Date
    Dec 2011
    Posts
    13
    This is the code which is failing(it is InstallAnywhere code)
    Most probably it is unable to load SecurityService class from the xml file.

    public boolean checkWxAdminRights(UninstallerProxy up){
    w32Sec = (SecurityService) up.getService(SecurityService.class);
    return checkWxAdminRights();
    }


    //Below function returns false, even though I am Admin user <<====
    protected boolean checkWxAdminRights(){
    boolean isWxAdmin = false;

    try{
    isWxAdmin= w32Sec.isCurrentUserAdmin();
    }catch(Exception use){
    //log message }

    if (isWxAdmin){
    return true;
    }
    else
    {
    //log message
    return false;
    }
    }

  5. #5
    Join Date
    Dec 2011
    Posts
    13

    IA2012 with IBM JRE 7.0 sr3

    We are getting unable to load services from ./service.inf with IBM JRE 1.7.0SR3 VM.
    When we changed the JRE to 1.7.0(base version), it started working.

    I think it is an issue Please fix it.


    After fixing this issue with JRE VM, we saw another crash with InstallAnywhere2012 "building" with JRE 1.7.0 SR3.
    As we just changed the VM pack to IBM JRE1.7.0(base) but not the InstallAnywhere build JRE version(which is still pointing to JRE 1.7.0SR3).

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •