fp_idmworks

Honored Contributor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-07-24
01:14
360 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
5 Replies

Knowledge Partner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-07-24
04:35
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.
>
> 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.
Highlighted
cpedersen

Outstanding Contributor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-07-24
12:38
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
> 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

Knowledge Partner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-07-24
14:22
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.
> 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.
fp_idmworks

Honored Contributor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-07-24
15:55
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

Knowledge Partner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-07-27
10:25
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
> 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
https://www.is4it.de/identity-access-management