Exception in thread "main" java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.ExceptionInInitializerError: Illegal JCo archive "sapjco3-6.0.0.jar". It is not allowed to rename or repackage the original archive "sapjco3.jar"
When configuring my repo, I've try to retrieve some SAP Data with BAPI and it works, but when I drop it into my job it's not working anymore. Any clue regarding this issue? There's a JIRA regarding this kind of problem but haven't understand how to fix it regarding the JIRA issue. Can you help?
2019-12-16 13:04:21 ISTwm.sap.Admin:registerLocalConnection
WmSAP Adapter: Error on creating new Object: [ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource wm.sap.internal.cs:emptyConnection.
[ART.118.5022] Adapter Runtime (Connection): Cannot create connection wm.sap.internal.cs:emptyConnection. Adapter type WmSAP does not exist.
[ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource wm.sap.internal.cs:emptyConnection.
[ART.118.5022] Adapter Runtime (Connection): Cannot create connection wm.sap.internal.cs:emptyConnection. Adapter type WmSAP does not exist.
Caused by: com.wm.pkg.art.error.DetailedException: [ART.118.5022] Adapter Runtime (Connection): Cannot create connection wm.sap.internal.cs:emptyConnection. Adapter type WmSAP does not exist.
Before placing a new version of sapjco3.dll under Windows/system directory, take a backup of an existing file just for the case that this might be needed by another SAP application installed on that system.
Although seniors already provided information on this blog. Would like to add my comments here.
We have prepared 10.3 environments recently and to enable SAP Adapters on 10.3 servers we need to place 3 files (2 Jar and one another) in two directories, with additional SAP_10.1_Fix3.
All these must be present in the server in order for WmSAP package to load successfully. Please bear in mind especially for sapjco3.jar there are different flavors for different platforms. You cannot take a jar file for Windows and put it in linux server and expect it will work.
Once you are done, try to restart the server and test the connection again.
Also, you need to verify whether your WebM system is allowed to have a connection with SAP system. There are many specific settings are required there end as well.
SAP Adapter 10.1 is not available on IS 9.6. You will have to use SAP Adapter 7.1 with latest Fixes which should allow for the latest SAP JCo 3.0.x libs.
JCo 3.1.x libs seems to be only supported on SAP Adapter 10.1 with Fix or newer.
SAP Adapter 10.1 requires IS 10.1 or newer.
WARN [ShutdownHookThread] [AbstractTenant] Context hybris Global Context Factory couldn't be created correctly due to, Error creating bean with name 'sapCoreDefaultJCoSessionReferenceProviderLifecycle' defined in class path resource [global-sapcorejco-spring.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: F:\hybris\bin\modules\sap-framework-core\sapcorejco\lib\ntamd64\sapjco3.dll: Can't find dependent libraries
org.springframework.beans.FatalBeanException: Context hybris Global Context Factory couldn't be created correctly due to, Error creating bean with name 'sapCoreDefaultJCoSessionReferenceProviderLifecycle' defined in class path resource [global-sapcorejco-spring.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: F:\hybris\bin\modules\sap-framework-core\sapcorejco\lib\ntamd64\sapjco3.dll: Can't find dependent libraries
"Exception in thread "main" java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: C:\Windows\System32\sapjco3.dll: A dynamic link library (DLL) initialization routine failed"
As the sap component requires the sapjco jar and the sapjco.dll file. They have to be kept in the right location so that when the job is executed both the sap jar and the .dll can be found and job executes successfully.
It has nothing to do with localhost or any network related settings. The used sapjco.jar expects at the machine where you run the job a native lib sapjco3.dll (windows) or sapjco3.so (linux/Mac) and you have to give the job the information where it is installed by the environment variable (refer the documentation above).
We still cannot connect and run the SAP Talend job via Remote Engine as there are lots of configuration needed to execute as stated in the documentation provided. We were able to find ways to retrieve the data by creating a DB connection to SAP Hana. This works for us for the meantime.
Hi, i've created a standalone app that sends data to R/3 via java jco connector, all's fine when using eclipse but when i create a JAR to be able to install in several machines, the jar does not run it throws an exception
If I understand you correct, you have packaged the sapjco3.jar inside another jar file. If that's correct, then this shouldn't work, because the default system class loader does not handle jar files inside jar files.
Essentially you have three options (I'd go for the first one, because then you can upgrade your JCo library independent of your application):
The problem is that java basically expects URL's in the Class-Path attribute; furthermore, different directories or jar files are separated by spaces, not by semicolons. So to make your example work, you could either choose to use relative paths or if you want to stick to absolute paths use something like this (for demo purpose I shortened your example as we'd otherwise end up with an endless line):
I would like to create and send an IDOC for which I need sapjco3.jar and sapidoc3.jar. But i am unable to find it. Could anyone please share or help me in getting these files ASAP. I am in urgent need of them. Thanks in advance.
sapjco3.jar and sapidoc3.jar are part fo so called SAP JAVA Connector (JCo). You can download it on service.sap.com/connectors. Under Tools menu. However notice that you need to have an SAP SMP (Market Place) valid account to do that. Plus you need to be authorized to do so.
[SRC Class: oracle.cloud.cpi.agent.transport.AQRuntimeConsumer$ProcessorTask; Method: run] CRITICAL: Receive failed with a Throwable exception. Please correct before trying again. Throwable : java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: C:\oic_conn_agent_installer\agenthome\thirdparty\lib\sapjco3.dll: Can't find dependent libraries java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: C:\oic_conn_agent_installer\agenthome\thirdparty\lib\sapjco3.dll: Can't find dependent libraries
Error from OIC UI
CASDK-0005: A connector specific exception was raised by the application. Probable causes: 1. If you were trying to connect SAP without Agent, one or more JCo libraries are missing or of incorrect version. Please make sure all the required JCo libraries are present in resource folder and all correspond to the same version. 2. If not, then Agent group is not configured.. Cause: Could not initialize class com.sap.conn.jco.rt.JCoRuntimeFactory
In this Document
SymptomsChangesCauseSolutionReferences
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.
Went into settings, monitored technologies, the SAP Application server, and looked at the endpoint with the wrong endpoint it is disabled. We updated it in case there is a sync issue, however, in Technologes & Processes, it is that endpoint that is shown for Remote extension endpoints.
The correct endpoint is shown OK status and we refreshed but it is not even showing in Technologies & Processes. When I go to Data Explorer and pull up Dialog Response time by custom device, this correct endpoint custom device is not generating any data.
Other than check ActiveGate operational status, checking logs, removing ABAP endpoint and readding it (which is next because we disabled and updated it and still no data coming through), what else am i missing?
In 99% of the cases a log such as that means that something went wrong with the "SAP Java Connector configuration" section of the help page: -and-configuration/technology-support/dynatrace-extensio...
Either the redistributable isn't installed, or you downloaded a 32 bit version of the sapjco3.jar, or you don't have access to read the sapjco3 file.
# Exception in thread "main" java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: D:\dynatrace\remotepluginmodule\plugin_deployment\custom.remote.python.sap\Jars\sapjco3.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
When updating sapjco3.jar and corresponding library from the SAP JCo libraries, you can replace the file using sapjcoupdate executable. This utility is used when you need to upgrade the older version of the SAP JCo libraries to the newer version post installation.
This plugin has been designed to connect to SAP systems and trigger ABAP programs and process chains. This plugin executes BAPI function modules to copy a pre-defined SAP job, release the newly created SAP job and report their statuses.
64591212e2