Skip to Content
author's profile photo Former Member
Former Member

sapjcorfc.dll already loaded in another classloader

Hi all,

I was trying to use JCO connecting to BAPI. I have wrote two J2EE web applications (e.g. A and B) and create the java proxy using the follow codes:

JCO.Client jclient = JCO.createClient(.....);

jclient.connect();

myproxy = new FirstConnector_PortType();

myproxy.messageSpecifier.setJcoClient(jcoclient);

Each time I can only run one of my applications, e.g. after runing A, if I run B, it would give error like:

sapjcorfc.dll already loaded in another classloader

I think that the error was caused by "JCO.createClient(.....)", which will load "sapjcorfc.dll" everytime when callinng the function. Do anyone know that how I can handle this case ?

Thx a lot~

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on May 04, 2004 at 06:46 AM

    Hi,

    for this we developed the proxy generator, that is available with 6.40. Those proxies you can use without such conflict. Otherwise you have to write a peoxy yourself that handles this conflict.

    Regards,

    Benny

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.