cancel
Showing results for 
Search instead for 
Did you mean: 

SUP 2.0 ( SAP JCO-RFC ERROR )

Former Member
0 Kudos

Hello,

On our 64bit server windows server we've installed SUP 2.0 (trial).

I have followed following blog(/people/pierre.dominique2/blog/2010/09/09/developing-mobile-applications-with-sybase-unwired-platform-13) to learn the basics of SUP-development.

When i am trying to ping it ,i am getting following error

An internal error occurred during: "Ping server job".

JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'

JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [C:\Sybase\UnwiredPlatform\JDK1.6.0_24\bin\sapjcorfc.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform]. java.library.path [C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\Sysam-2.0\lib;C:\Sybase\UnwiredPlatform\ClientAPI\DeviceID\Win32;C:\Sybase\UnwiredPlatform\JDK1.6.0_24\bin;C:\Sybase\SCC-3_0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\j2sdk1.4.2_27-x64\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files (x86)\SAP\Console;D:\usr\sap\SOL\SYS\exe\uc\NTAMD64;]

dose any one have clue on this?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Guys,

This is most common issue while connecting to SAP system via sup workspace.

Please find the link which will take you to sybase info center directly.

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01283.0155/doc/html/fre12...

Hope this is helpfull.

Thanks

Bharath.

rakshit_doshi
Active Contributor
0 Kudos

Do the following things,

Assuming that you have installed Sybase

Go to the following path

%installed Directory%\UnwiredPlatform\sapjco\v2\64bit

There you will find two files  librfc32.dll and sapjcorfc.dll

Copy these two files and move them to the following folders

  1. C:\Windows\System32
  2. %installed Directory%\Sybase\UnwiredPlatform\JDK1.6\bin
  3. %installed Directory%\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib

Copy the sapjco.jar from the same directory %installed Directory%\UnwiredPlatform\sapjco\v2\64bit And copy it into the following folders

  1. %installedDirectory%\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_works

pace\mobile\eclipse\plugins\com.sybase.uep.com.sap.mw.jco_2.1.2.201201250439\lib

(Please note if there is no lib folder present create one and then paste the file into it)

  2. %installed Directory%\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib

And then try to make a connection profile for the SAP Backend Server and try to ping

It will work without any error

Hope this helps

Thanks,

Former Member
0 Kudos

Hi Rama,

issue is easy to solve:

you have installed JCO JAR und JCO Dll files in requestedt DIRS? Easiest fix: install SAP GUI - that cures the issue in 99% of all cases.

Otherwiese: check for msvcp71.dll and msvcr71.dll. These files are missing in the actual installation.

Bst solution to fix this issue: Wherever you have one of them you should see the other one as well and wherever you have copield the JCO DLLs you should see these two files as well. If you follow this approach you should get rid of this issue.

Oh yes: once you see this error you have shown - a restart of the PC is necessary after you have copied the files as mentioned to init JCO again.

Hope this helps!

Regards,

Oliver

Former Member
0 Kudos

Hi,

Not sure - but the reason could be due to dlls. Can you check if SAP has seperate JCO libraries and dlls for a 64 bit operating system and copy the right ones into right folders.

Best Regards,

Siva.