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

Eclipse Error : javax.resource.cci.connection not found

Hi,

I am new to Eclipse development. I downloaded a Sap connector PAR project from sdn and imported it in Eclipse then i showed lots of error with portal.HTMLB, portal.connector and javax.resource.cci.connection.

I want to know where can i find the JAR file for this import? or how to resolve this problem?

Thank you

arun

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2004 at 05:43 PM

    Hi,

    Can some experts tell me how to resolve this javax.resource.cci problem to make the Connection work?

    I have solved the HTMLB problem by importing the external JAR files. Can someone tell me how to find out the JAR files for javax import?

    Thank you

    arun

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2004 at 07:33 PM

    Hi Arun,

    You need to include several jar files in your Eclipse project. It's difficult to find them at times since the required jar files are not listed in the javadoc or PDK. We will hopefully remedy that situation in the near future. For now, I would suggest you include the ones listed in the thread:

    conversion-from-jcoconnector-to-connection-framewo

    For the HTMLB libraries, you need to include the htmlb.jar and com.sap.portal.htmlbbridge.jar. These can be found in a ZIP file in the "Downloads" section of the PDK Java Developer role.

    There is also a discussion about the SAP connector in the thread

    r3-connection-using-jca

    Also make sure that you include the proper services reference in the portalapp.xml:

    <property name="ServicesReference" value="com.sap.portal.htmlb,com.sap.portal.ivs.connectorservice" />

    <property name="releasable" value="true" />

    Good luck,

    Will

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2004 at 07:30 AM

    Hi Arun,

    You can also use the Jar Class Finder plug-in of eclipse to find the class files that are present in the Jars. All you will have to then do is use the Jar finder and specify the Class File name that you are looking for. All of the Portal jars will under <Portal Install Dir>/usr

    More information on Jar Class Finder plugin can be found at www.alphaworks.ibm.com/tech/jarclassfinder

    Thanks

    Ankur

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2004 at 05:42 PM

    Thanks Carlton and Jain,

    I searched for the JAR files in the EP60 Installation directory usr\EP60,

    .../additional-lib/connector.jar

    .../additional-lib/com/sapportals/connectorframework/framework/GenericConnector.jar

    .../additional-lib/com/sapportals/connectorframework/framework/ConnectorHelper.jar

    .../additional-lib/jta.jar

    .../portalapps/com.sap.portal.ivs.connectorservice/lib/com.sap.portal.ivs.connectorserviceapi.jar

    I could find the names in the path specified by you but they are all ZIP files. When i Unzip them i could only find .class files inside them not the JAR files.

    I resolved all the problems except Javax.cci import error.

    If you have any idea where to find them it would help me a lot?

    Thank you

    arun

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      For SP2 and earlier, the files should be in your portal installation directory

      (e.g. C:\usr\sap\[SID]\j2ee\j2ee_00\cluster\server\)

      under the directories:

      additional-lib\connector.jar

      (and others under additional-lib)

      The portalapps directory is located in:

      C:\usr\sap\[SID]\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\

      The jar file is in com.sap.portal.ivs.connectorservice\lib

      If you only see "ZIP" files, then perhaps your windows explorer is not optimally configured. All of the files are shipped as JAR files.

      Best regards,

      Will

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2004 at 01:44 AM

    Thanks Will Carlton,

    This solved the problem and i have made the first connection to R3 successfully.

    Is there any special document to explain the different options in getting data from R3 and at different levels?

    Basically the example i downloaded used an BAPI and got the output from the BAPI. What are all the other possibilities in Web programming with Eclipse?

    Thank you

    arun

    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.