on 10-20-2010 5:47 PM
Hi experts,
I try to make my first Hellow World on Sybase SUP.
I try to implement one example like this:
Following Sybase instructions I copied the jco libraries in several directories, and the deployment is correct to the mobile device.
When I try to sync from the Windows mobile, the following error appear:
java.lang.noclassdefounderror: com/sap/mw/jco/JCO
any ideas?
thnks in advance,
david
Hi ,
Download files from http://service.sap.com/connectors.
Please follow below steps:
a. Copy librfc32.dll and sapjcorfc.dll to the C:\Windows\System32/
b. Copy librfc32.dll and sapjcorfc.dll to C:\Sybase\UnwiredPlatform\JDK1.6.0_16\bin
c.Copy sapjco.jar to C:\Sybase\UnwiredPlatform\Unwired_Workspace\Eclipse\sybase_workspace\mobile\eclipse\plugins
\com.sybase.uep.com.sap.mw.jco<version>\lib .
d.Copy sapjco.jar to C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib\3rdparty\
e. Copy librfc32.dll and sapjcorfc.dll to <SUP Installationroot>\Servers\UnwiredServer\lib
Regards
Nidhideep Bhandari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello All,
We are facing the exact same problem with Sybase Unwired Platform (SUP). However I followed the steps above (from David) but no success. This is the error we got from the vmw3933-server.log:
010-12-10 19:08:42.560 ERROR MMS Thread-179 [com.sybase.sup.admin.server.DomainAdminImpl] test end point failed!
java.lang.Exception: java.lang.NoClassDefFoundError: Could not initialize class com.sap.mw.jco.JCO
at com.sybase.sup.server.endpoint.SAPUtil.testEndPoint(SAPUtil.java:231)
at com.sybase.sup.admin.server.DomainAdminImpl.testEndPoint(DomainAdminImpl.java:696)
at com.sybase.sup.admin.server.DomainAdminImpl_DJC.$invoke_2(DomainAdminImpl_DJC.java:1429)
at com.sybase.sup.admin.server.DomainAdminImpl_DJC.$invoke(DomainAdminImpl_DJC.java:129)
at com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:798)
at com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:310)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.sap.mw.jco.JCO
at com.sybase.sup.server.endpoint.SapConnectionTest.testConnection(SapConnectionTest.java:15)
at com.sybase.sup.server.endpoint.SAPUtil.testEndPoint(SAPUtil.java:227)
... 8 more
The error happens on the server side. We don't have installed the SUP Workspace (Eclipse) in the local machine but it should get same problem too.
This is the file we have downloaded from SMP:
sapjco-ntamd64-2.1.9
It runs on a machine:
- OS: Windows Server 2008 Enterprise SP2 / 64Bits
- CPU: Quad 2.1 GHz Six-Core AMD Opteron 8425 HE
We talked with AGS (Active Global Support) and we have been told that they can't help because it's a custom code from Sybase.
Thanks in advance!
Felipe Martins.
Hi
Did you try with jco libraries version 2.1.8
I have had no problems with this version
Also when copying the files please shutdown all services and the unwired workspace.
Once copied restart all services and verify them in services.msc
Now restart the sybase workspace and try connecting to the SAP system
Thanks
Pradeep
Hello Experts,
I Faced the SynchronizationException when retrieving data from the SAP. Using SUP 2.0 and DAD for BB.
Regards,
Tapan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hope this is for some help - if you are using Windows 7.
Here is the document that will help everyone fix SUP connection to SAP for Windows 7/Vista OS.
Thanks
Sameer Ali Khan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
easiest way - install SAP GUI on PC - so you will see correct DLLs on PC and issue should be fixed.
If you do not want to do this, you can download the files form SERVICE.SAP.COM/SWDC
If you still face the issue make sure the correct DLLs are copied to all relevant locations.
Hope this helps.
Regards,
Oliver
Hi David,
Is the SAP GUI installed on the machine which is running the Unwired server?
You should try to develop a simple Hello World application for BlackBerry to see if the problem is on the server or client side.
Regards,
Pierre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.