on 08-06-2007 11:31 AM
Hello Experts!
I'm using JCO SAP Java Connector 2.1.2
with JDK 1.4.2. I also follow the instruction with
"Copy the librfc32.dll file from your JCo root directory to
C:\WINNT\SYSTEM32"
My existing librfc32.dll' has 5050 KB
and JCO librfc32.dll is 7493 KB. After copying librfc32.dll
into C:\WINNT\SYSTEM32 I can't start my SAP-Logon. I get the
error message "Entry Point Not Found". Java Code seems to be
properly as well. What is wrong with JCo and librfc32.dll
Regards
Ilhan
[code]
C:\pro>java Run
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError:
JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.Middlew
areRFC' JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc
[no sapjcorfc in java.library.path].
java.library.path [C:\WINDOWS\system32;.;C:\WINDOWS\system32;C:\WINDOWS;
C:\Program Files\ThinkPad\Utilities;C:\WINDOWS\system32;C:\WINDOWS;
C:\WINDOWS\System32\Wbem;C:\Program Files\IBM\Infoprint Select;C:\Notes;
C:\Program Files\XLView;C:\lotus\compnent;C:\Utilities;
C:\Program Files\IBM\Personal Communications\;
C:\Program Files\IBM\Trace Facility\;
C:\Program Files\ThinkPad\ConnectUtilities;
C:\WINDOWS\Downloaded Program Files;
C:\Programme\jdk142\bin]
at com.sap.mw.jco.JCO.<clinit>(JCO.java:730)
at GetCompanycodeList.ConnectToSap(GetCompanycodeList.java:99)
at GetCompanycodeList.actionPerformed(GetCompanycodeList.java:81)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)[/code]
Hi,
What about sapjcorfc.dll version? Is it the same with librfc32.dll?
Regards,
Barış
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Baris your assumption is correctly. In the meantime I have
solved the problem by myself.
In such cases it is very uselful having of deep java knowledges.
Here is the solution:
Just use JVM parameter like:
-Djava.library.path=C:\....;.;C:\.......
Regards.
Ilhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi of course I did (almost one million times)
I still have the same problem.
regards
Ilhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I have extracted all from the original JCo archive. But I didn't yet copied
"sapjcorfc.dll" anywhere else. Is that necesarry ? If yes where ist the
corrextly direction for "sapjcorfc.dll"
Regards
Ilhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.