cancel
Showing results for 
Search instead for 
Did you mean: 
bidyapatip
Pilgrim

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).
Labels (1)
0 Kudos
6 Replies
pv7721
Flexera beginner

Re: ServiceManagerFacade: services are unavailable

It's hard to tell without knowing your project.
0 Kudos
bidyapatip
Pilgrim

Re: ServiceManagerFacade: services are unavailable

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:

-
-
com.installshield.wizard.service.file.FileService
com.installshield.wizard.service.file.GenericFileService

-
com.installshield.wizard.service.security.SecurityService
com.installshield.wizard.service.security.GenericSecurityService

-
com.installshield.wizard.service.system.SystemUtilService
com.installshield.wizard.service.system.GenericSystemUtilService

-
com.installshield.wizard.platform.win32.Win32RegistryService
com.installshield.wizard.platform.win32.GenericWin32RegistryService

-
com.installshield.wizard.platform.win32.Win32Service
com.installshield.wizard.platform.win32.GenericWin32Service

-
com.installshield.wizard.platform.win32.security.WindowsAccountPrivilegeService
com.installshield.wizard.platform.win32.security.GenericWindowsAccountPrivilegeService

-
com.installshield.wizard.service.file.FileServiceImplementor
com.installshield.wizard.service.file.PureJavaFileServiceImpl
com.ibm.wizard.platform.linux.LinuxFileServiceImpl
com.installshield.wizard.platform.genericunix.service.file.GenericUnixFileServiceImpl
com.installshield.wizard.platform.macosx.service.file.MacOSXFileServiceImpl
com.installshield.wizard.platform.solaris.SolarisFileServiceImpl
com.installshield.wizard.platform.hpux.service.file.HpuxFileServiceImpl
com.installshield.wizard.platform.win32.Win32FileServiceImpl

-
com.installshield.wizard.service.security.SecurityServiceImplementor
com.installshield.wizard.service.security.PureJavaSecurityServiceImpl
com.ibm.wizard.platform.linux.LinuxSecurityServiceImpl
com.installshield.wizard.platform.genericunix.service.security.GenericUnixSecurityServiceImpl
com.installshield.wizard.platform.macosx.service.security.MacOSXSecurityServiceImpl
com.installshield.wizard.platform.solaris.SolarisSecurityServiceImpl
com.installshield.wizard.platform.hpux.service.security.HpuxSecurityServiceImpl
com.installshield.wizard.platform.win32.Win32SecurityServiceImpl

-
com.installshield.wizard.service.system.SystemUtilServiceImplementor
com.installshield.wizard.service.system.PureJavaSystemUtilServiceImpl
com.ibm.wizard.platform.linux.LinuxSystemUtilServiceImpl
com.installshield.wizard.platform.genericunix.service.system.GenericUnixSystemUtilServiceImpl
com.installshield.wizard.platform.macosx.service.system.MacOSXSystemUtilServiceImpl
com.installshield.wizard.platform.solaris.SolarisSystemUtilServiceImpl
com.installshield.wizard.platform.hpux.service.system.HpuxSystemUtilServiceImpl
com.installshield.wizard.platform.win32.Win32SystemUtilServiceImpl

-
com.installshield.wizard.platform.win32.Win32RegistryServiceImplementor
com.installshield.wizard.platform.win32.Win32RegistryServiceImpl
com.installshield.wizard.platform.win32.Win32RegistryServiceImpl

-
com.installshield.wizard.platform.win32.Win32ServiceImplementor
com.installshield.wizard.platform.win32.Win32ServiceImpl
com.installshield.wizard.platform.win32.Win32ServiceImpl

-
com.installshield.wizard.platform.win32.security.WindowsAccountPrivilegeServiceImplementor
com.installshield.wizard.platform.win32.security.WindowsAccountPrivilegeServiceImpl
com.installshield.wizard.platform.win32.security.WindowsAccountPrivilegeServiceImpl


0 Kudos
bidyapatip
Pilgrim

Re: ServiceManagerFacade: services are unavailable

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;
}
}
0 Kudos
bidyapatip
Pilgrim

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 :mad: 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).
0 Kudos
pv7721
Flexera beginner

Re: ServiceManagerFacade: services are unavailable

Is there any reason for using the IBM JRE instead of the Oracle one?
0 Kudos
Highlighted
bidyapatip
Pilgrim

Re: ServiceManagerFacade: services are unavailable

pv7721 wrote:
Is there any reason for using the IBM JRE instead of the Oracle one?


Because Oracle do not provide JRE for IBM AIX machine.
They provide for Windows/Mac OS/Solaris/Linux platform.
IBM/HP has there own JRE.
0 Kudos