wood burning stoves 2.0*
The moose likes JDBC and the fly likes SAP JCo Client Programming Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

SAP JCo Client Programming

Seshadri Gajula
Greenhorn

Joined: Feb 05, 2007
Posts: 5
All,

I have 2 projects running in same machine and using the same DLL files

when i moved from first project to second project.

Im getting the error below:


I guess that this happen because there are 2 different project that
their test load the same DLL from 2 different classloaders.

How can I solve the problem below?

java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [Native Library C:\WINDOWS\system32\sapjcorfc.dll already loaded in another classloader]. java.library.path [C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v51\bin;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v51\java/bin;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v51\java/jre/bin;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\jre\bin;.;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\jre\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\SQLLIB\BIN;C:\SQLLIB\FUNCTION;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Rational\common;C:\ORACLE\ORA92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\j2sdk1.4.2_08\bin;.;]


thanks in advance

Rgds
Seshadri Babu
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30138
    
150

Please don't post the same question in multiple forums.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SAP JCo Client Programming
 
Similar Threads
Upgrading JDK version to JDK 1.4.2_12 in WSAD 5.1.2 including server
IBM Rational Software Architect Deployment issue
SAP JCo Client Programming
RAD Error
SAP JCo Client Programming