"as-common.dll: The operating system cannot run %1" exception under Windows.
book
Article ID: KB0086428
calendar_today
Updated On:
Products
Versions
TIBCO ActiveSpaces
-
Not Applicable
-
Description
Resolution: Description: =========== How to resolve "as-common.dll: The operating system cannot run %1" exception under Windows. Sometimes, even if AS_HOME\lib and bin are adde in the PATH before RV_HOME the following error could be seen.
Environment: =========== AS 2.1.* All Microsoft Windows OS
Symptoms: ========= Error loading as-common dynamic loadable library. Check that your PATH (or LD_LIBRARY_PATH) environment variables are setup correctly and that you have the appropriate architecture installed.
Exception in thread "main" java.lang.ExceptionInInitializerError at com.tibco.as.grammar.AdminConsole.main(AdminConsole.java:58) Caused by: com.tibco.as.space.RuntimeASException: java.lang.UnsatisfiedLinkError: C:\tibco\as\2.1\lib\as-common.dll: The operating system ca nnot run %1 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) ... 1 more Caused by: java.lang.UnsatisfiedLinkError: C:\tibco\as\2.1\lib\as-common.dll: The operating system cannot run %1 at java.lang.ClassLoader$NativeLibrary.load(Native Method) 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) ... 3 more
Cause: ====== Mismatch of AS and RV Security libraries
Resolution: =========== libeay32.dll and ssleay32.dll files related to openssl may exist in the “C:\Windows\System32\” path.
Remove(rename or change the extension ) these files so that AS security will pick libeay32.dll and ssleay32.dll from AS_HOME\lib.
Issue/Introduction
"as-common.dll: The operating system cannot run %1" exception under Windows.