Description: ISSUE
=======
After upgrading to TIBCO BusinessEvents 5.2.1, cache engine failed to start on windows environment with following error:
>>>>>>>>>>>>>>>>>>>>>>>
2015 Aug 21 09:58:32:513 GMT -7 testContainedConcept Fatal [main] - [container.standalone] null
java.lang.ExceptionInInitializerError
at com.tibco.as.space.ASCommon.setFileLogging(ASCommon.java:160)
at com.tibco.cep.runtime.service.dao.impl.tibas.ASDaoProvider.initHook(SourceFile:227)
at com.tibco.cep.runtime.service.om.impl.AbstractDaoProvider.init(AbstractDaoProvider.java:68)
at com.tibco.cep.runtime.service.cluster.MultiAgentCluster.init(MultiAgentCluster.java:109)
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initCluster(RuleServiceProviderImpl.java:759)
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:283)
at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:163)
at com.tibco.cep.container.standalone.BEMain.main(SourceFile:70)
Caused by: com.tibco.as.space.RuntimeASException: java.lang.UnsatisfiedLinkError: C:\TIBCO_HOME\BE521_HOME_64\as\2.1\lib\as-common.dll: Can't find dependent libraries
at com.tibco.as.space.impl.NativeImpl.loadLibrary(NativeImpl.java:47)
at com.tibco.as.space.impl.NativeImpl.init(NativeImpl.java:31)
at com.tibco.as.space.impl.NativeImpl.<clinit>(NativeImpl.java:23)
... 8 more
Caused by: java.lang.UnsatisfiedLinkError: C:\TIBCO_HOME\BE521_HOME_64\as\2.1\lib\as-common.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.tibco.as.space.impl.NativeImpl.loadLibrary(NativeImpl.java:39)
... 10 more
<<<<<<<<<<<<<<<<<<<<<<<
To isolate whether this is a BE configuration issue or an AS issue, you may start as-admin/as-agent from as folder.
1. On Windows 7, starting as-admin.exe/as-agent.exe(<BE_HOME>/as/2.1/bin) from command line complains for missing the following dlls:
- The program can't start because MSVCP110.dll is missing from your computer. Try reinstalling the program to fix this problem.
- The program can't start because MSVCR110.dll is missing from your computer. Try reinstalling the program to fix this problem.
2. On Windows Server 2008, starting as-admin.exe/as-agent.exe(<TIBCO_HOME>/as/2.1/bin) from command line fails with Entry Point Not Found error:
as-admin-exe - Entry Point Not Found
X The procedure entry point K32GetProcessMemoryInfo could not be located in the dynamic link library KERNEL32.dll
3. On Window Server 2008 R2, starting as-admin.jar from <TIBCO_HOME>/ with java command java -jar as-admin.jar, jvm crashes with a dump file
SOLUTION
========
Apply TIBCO ActiveSpaces 2.1.5 HF11 to fix the issue on Windows platform.
Download the TIBCO ActiveSpaces 2.1.5 hotfix 11 from FTP server https://mft.tibco.com
It requires customer account to login. After login, please go to AvailableDownloads >>ActiveSpaces >> 2.1.5 >>hotfix-11 and download the hotfix for your operating system.
Here are the steps to install ActiveSpaces 2.1.5 Hotfix 11 in {TIBCO_HOME} of BE 5.2.1 on all host computers that run TIBCO BusinessEvents 5.2.1:
1. Shut down all running TIBCO applications.
2. Copy and unzip the ActiveSpaces hotfix archive to a temporary location.
3. Copy TIBCOUniversalInstaller executable from {TIBCO_HOME}/tools/universal_installer to the temporary location where you extracted the ActiveSpaces hotfix.
4. Run the TIBCOUniversalInstaller program. Select the existing TIBCO BusinessEvents 5.2.1 environment on which the hotfix has to be installed then follow the rest of instructions displayed by the installer to complete the installation.
The installer installs the TIBCO ActiveSpaces 2.1.5 hotfix 11 files on top of BusinessEvents 5.2.1.
5. Restart your TIBCO applications.
6. Recreate the EAR and Start BE application.