Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
fp_idmworks Honored Contributor.
Honored Contributor.
347 views

SAPHR driver for 4.5


getting this error when trying to run the JCO3Test. Notice that this
comes from the documentation.

I am not able to find the sapshim.jar file anywhere. I don't see it on
the 4.5 ISO or in a patch. I only find the saphrshim.jar


8.3.1 com/sap/conn/jco/ext/DestinationDataProvider Exception
This error occurs when the SAP Java Connector sapjco3.jar file or the
JCO native support libraries are not present or are improperly located.
Ensure the proper platform version of sapjco3.jar is located in the same
directory as SAPShim.jar. Also check the JCO native support libraries to
ensure they are present and properly configured. Use the JCO3
installation instructions for the appropriate platform.

thanks,
Fred


--
fp_IDMWORKS
------------------------------------------------------------------------
fp_IDMWORKS's Profile: https://forums.netiq.com/member.php?userid=9869
View this thread: https://forums.netiq.com/showthread.php?t=53921

Labels (1)
0 Likes
5 Replies
Knowledge Partner
Knowledge Partner

Re: SAPHR driver for 4.5

On 7/23/2015 8:14 PM, fp IDMWORKS wrote:
>
> getting this error when trying to run the JCO3Test. Notice that this
> comes from the documentation.
>
> I am not able to find the sapshim.jar file anywhere. I don't see it on
> the 4.5 ISO or in a patch. I only find the saphrshim.jar
>
>
> 8.3.1 com/sap/conn/jco/ext/DestinationDataProvider Exception
> This error occurs when the SAP Java Connector sapjco3.jar file or the
> JCO native support libraries are not present or are improperly located.
> Ensure the proper platform version of sapjco3.jar is located in the same
> directory as SAPShim.jar. Also check the JCO native support libraries to
> ensure they are present and properly configured. Use the JCO3
> installation instructions for the appropriate platform.


I think saphrshim is correct.

Error is when JCO is not correct on RL server.

There is a native library and the sapjco.jar. If you execute the
sapjco.jar the default class is a JCO tester.

0 Likes
Highlighted
cpedersen Outstanding Contributor.
Outstanding Contributor.

Re: SAPHR driver for 4.5

On 7/24/15 5:35 AM, Geoffrey Carman wrote:
> On 7/23/2015 8:14 PM, fp IDMWORKS wrote:
>>
>> getting this error when trying to run the JCO3Test. Notice that this
>> comes from the documentation.
>>
>> I am not able to find the sapshim.jar file anywhere. I don't see it on
>> the 4.5 ISO or in a patch. I only find the saphrshim.jar
>>
>>
>> 8.3.1 com/sap/conn/jco/ext/DestinationDataProvider Exception
>> This error occurs when the SAP Java Connector sapjco3.jar file or the
>> JCO native support libraries are not present or are improperly located.
>> Ensure the proper platform version of sapjco3.jar is located in the same
>> directory as SAPShim.jar. Also check the JCO native support libraries to
>> ensure they are present and properly configured. Use the JCO3
>> installation instructions for the appropriate platform.

>
> I think saphrshim is correct.
>
> Error is when JCO is not correct on RL server.
>
> There is a native library and the sapjco.jar. If you execute the
> sapjco.jar the default class is a JCO tester.
>


You are correct, the JCO3 libraries are not supplied with the driver
they are supplied by SAP, and should be installed and configured separately.

Casper
0 Likes
Knowledge Partner
Knowledge Partner

Re: SAPHR driver for 4.5

On 7/24/2015 7:38 AM, Casper Pedersen wrote:
> On 7/24/15 5:35 AM, Geoffrey Carman wrote:
>> On 7/23/2015 8:14 PM, fp IDMWORKS wrote:
>>>
>>> getting this error when trying to run the JCO3Test. Notice that this
>>> comes from the documentation.
>>>
>>> I am not able to find the sapshim.jar file anywhere. I don't see it on
>>> the 4.5 ISO or in a patch. I only find the saphrshim.jar
>>>
>>>
>>> 8.3.1 com/sap/conn/jco/ext/DestinationDataProvider Exception
>>> This error occurs when the SAP Java Connector sapjco3.jar file or the
>>> JCO native support libraries are not present or are improperly located.
>>> Ensure the proper platform version of sapjco3.jar is located in the same
>>> directory as SAPShim.jar. Also check the JCO native support libraries to
>>> ensure they are present and properly configured. Use the JCO3
>>> installation instructions for the appropriate platform.

>>
>> I think saphrshim is correct.
>>
>> Error is when JCO is not correct on RL server.
>>
>> There is a native library and the sapjco.jar. If you execute the
>> sapjco.jar the default class is a JCO tester.
>>

>
> You are correct, the JCO3 libraries are not supplied with the driver
> they are supplied by SAP, and should be installed and configured
> separately.


We had a guy at an AT&T data center who decided that he could move the
Remote Loader from HPUX, on Itanium to Linux on X64 and not bother
changing the JCO binary files. He was surprised it did not work. Go figure.


The sapjco.jar if executed, will run a connectivity test for the library
to the middleware binary.

Also, I recall the names of the JAR's and the classes you call in the
driver config changed between JCO2 and JCO3 support. JCO2 support is
gone in IDM 4.5 so only JCO3.


0 Likes
fp_idmworks Honored Contributor.
Honored Contributor.

Re: SAPHR driver for 4.5


I wonder if there is corruption on the SAPHRShim.jar as I am unable to
run java -jar against it, it indicates that the file is corrupt. With
the sapjco3.jar file, I can run it and it reads the manifest file. Other
files that don't have a manifest file indicate as such. I tried copying
in the latest SAPHRShim.jar file with no success, same message.

I have set the classpath in the windows 2012 64bit OS to
c:\sapjco3\sapjco3.jar

The bat file I am running contains:
java -classpath %CLASSPATH%; JCOTest

Right, I got the jco3 jar and dll file from the customer. The zip
implies it is 64bit.
I installed java rl 64bit
It is a 64bit 2012 box

I added the classpath to point to the jco3 jar file path

Seems straight forward, but still can't get the jco3test file to work.


--
fp_IDMWORKS
------------------------------------------------------------------------
fp_IDMWORKS's Profile: https://forums.netiq.com/member.php?userid=9869
View this thread: https://forums.netiq.com/showthread.php?t=53921

0 Likes
Knowledge Partner
Knowledge Partner

Re: SAPHR driver for 4.5

fp IDMWORKS wrote:

> I have set the classpath in the windows 2012 64bit OS to
> c:\sapjco3\sapjco3.jar
>
> The bat file I am running contains:
> java -classpath %CLASSPATH%; JCOTest
>
> Right, I got the jco3 jar and dll file from the customer. The zip
> implies it is 64bit.
> I installed java rl 64bit
> It is a 64bit 2012 box
>
> I added the classpath to point to the jco3 jar file path
>
> Seems straight forward, but still can't get the jco3test file to work.


I'm running IDM exclusively on Linux, but see two problems you might run into.
First of all, the test class is named "JCO3Test", not "JCOTest", and then your
classpath has to include both the sapjco3.jar and the path where JCO3Test.class
can be found. If you run the command from the folder containing the
JCO3Test.class file, try the following:

java -cp c:\sapjco3\sapjco3.jar;. JCO3Test

(note the "." after the semi-colon, the current folder is not automatically
included in the classpath)

Good luck, Lothar
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.