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

how to reference sapjco from EAR deployment descriptors

Hello techies,

I´ve set up an EJB to use the JCo RFC Provider Service of the J2EE engine. Connection from R3 to EJB works but as soon as the EJB gets invoked, I get the error 'incompatible bean type - no processFunction found' from the RFCDefaultRequestHandler.invokeBean(..., JCO.Function) method.

The reason is clear to me - the JCO.Function class is loaded by different class loaders and thus the method parameters don´t match.

I´ve read in earlier postings that it is neccessary to reference the JCO in the module project and the ear deployment descriptor. That´s where my question begins.

How do I reference the JCO in the module project (what´s that?)? I think it has to do with the EJB jar, doesn´t it?

In the DeployTool I found a way how to set a reference to a library in the menu deploy-->libraries. But I am not sure what to specify here. I entered 'sapjco', since I saw an entry in the managers/library.txt file. Is that correct?

Any hints are welcome!

Regards,

Jan

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2005 at 10:14 PM

    Jan,

    you can set the reference to the EAR project using the reference.txt file that exists in the /managers folder.

    In the library.txt file set a path which is reference to sapjco.jar files..like

    library JCO sapjco.jar

    in the refernce.txt add the JCO referece to the EAR project...like

    reference Project library:JCO

    where Project here is the name of your EAR file..

    Ravi

    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.