cancel
Showing results for 
Search instead for 
Did you mean: 

Error message when create model in Web Dynpro

Former Member
0 Kudos

Hi Gurus,

I want to create a models to import adaptive RFC model into WebDynpro. When I specify the SAP server to connect, I choose single server and enter the logon information for the SAP server. I got follow error messages said:

org.eclipse.swt.SWTException:

Failed to execute runnable (java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'

JCO.nativeInit(): Could not initialize dynamic link library librfc. Found version "620.0.949" but required at least version "620.0.1374".)

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError)

Do you know why I got above messages? Is there anything wrong with the version of NWDS? Please help.

Thanks,

Bo

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Bo,

does the server patch level match the IDE patch level? I guess, you updated the IDE and the newer JCO runtime expects a DLL, which would be updated by the corresponding server update to match the version requirements.

Regards

Stefan

Former Member
0 Kudos

Hi Stefan,

Both IDE and server are come from the same sneak preview package. How to check the patch level for both IDE and server?

Thanks,

Bo

Former Member
0 Kudos

Hi Bo,

roughly, the IDE patch level or better service package level corresponds to the last digit of the version you can see at: Help->About SAP NetWeaver Studio (2.0.4 = SP04).

The system information is available at the J2EE engine home page http://<yourhost>:50000/

There should be a link "System Information". After login as admin you see a "Software Components" list and the SPx under "Version". I'm not sure, if Sneak Preview already has this feature.

But anyway, since you didn't update IDE or engine, a mismatch can't be the error reason.

Did you install SAPJCO separately or a SAP GUI after the WAS installation?

Regards

Stefan

Former Member
0 Kudos

Hi Stefan,

Thank you for your quick answer. I am not install SAPJCO separately. The system information show me the server version is 6.30 SP5. The IDE version is 2.0.5. I also checked the plug-in for JCo & JRFC libs. Both of them version are 2.0.0. But I also find librfc32.dll (in c:/winnt/system32/) version is 6205.5.949. I am not sure this number is the same number in error message or not. In error message, the number is 620.0.949. In this case, do i need to apply patch for my IDE or I should apply patch for my server?

Thanks,

Bo

Former Member
0 Kudos

I solve the problem by myself. The problem is the librfc32.dll version conflict. I just simply reinstall the IDE and then the problem gone.

Regards,

Bo