Missing jar for Connector Framework

Hi All,
I am trying to do an application using ConnectorFramework.
I have written a code as follows
IConnectorGatewayService cgService =(IConnectorGatewayService)
PortalRuntime.getRuntimeResources().
getService(IConnectorService.KEY);
IConnection con = cgService.
getConnection("sapSystem1",request);
But here it is giving an error that *This complient unit indirectly referencing missing type com.sap.portal.services.api.connectorgateway.IConnectorGatewayService.
I have searched for that, but unable to find that.
please help me in this regard.
Thanks in advance.
Bhavyasri.M.

Hi,
have you added the sharing reference???
application-config>
<property name="PrivateSharingReference" value="com.sap.portal.htmlb,com.sap.portal.ivs.connectorservice"/>
</application-config>
Have done these imports and jars???
import com.sapportals.portal.ivs.cg.ConnectionProperties;
import com.sapportals.portal.ivs.cg.IConnectorGatewayService;
import com.sapportals.portal.ivs.cg.IConnectorService;
import com.sapportals.connector.connection.IConnection;
Libraries required in Eclipse Project:
activation.jar
connector.jar
GenericConnector.jar
ConnectorHelper.jar
com.sap.portal.ivs.connectorserviceapi.jar
jta.jar
Hope it may be helpful,
Regards,
Srinivas.

Similar Messages

  • Wanted 'Using Sap Adapter for Connector Framework' document

    dear friends
    I want to display ABAP reports in iView without Transaction iView.
    From the below forum link
    /community [original link is broken]
    i came to know i can get the help from 'Using Sap Adapter for Connector Framework' document, but the link is giving
    404
    The requested resource is not available.
    can anybody help me to find out the document
    thanx in advance
    please reply me at the earliest.
    kantha

    have a look here - should help:
    http://help.sap.com/saphelp_nw04s/helpdata/en/f2/db49421c0b3c54e10000000a1550b0/frameset.htm
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/f2/db49421c0b3c54e10000000a1550b0/frameset.htm">sap help portal</a>
    you may also download PDK, there are some samples in it.
    Best Oliver

  • Missing components for AXIS framework in PI7.0

    Hi Experts,
    I have requirement to use AXIS framework in Receiver SOAP adapter.When i am creating receiver SOAP adapter in PI7.0 and  selecting Transport Protocol its showing as HTTP(AXIS) and message protocol as Axis.However my client wants UsernameToken security with digestpassword.
    Now the problem is whenever i am checking the following link http://hostname:50000/XIAxisAdapter/MessageServlet its showing 3 components are missing.
    Please do let me know what all steps i need to follow to install those missing components and how i will use Username token with digest password in receiver soap adapter.
    However i have gone through the SAP Note 1039369 (FAQ XI Axis Adapter) however i have still lot of confusion.
    Please provide more clarity on this.
    Your response will be highly appreciated.
    Regards
    nilesh

    Hi!
    These may be optional components. We have implemented Axis Framework successfully and the URL test still reports missing OPTIONAL components.
    The minimum components you need are all three REQUIRED components as well as OPTIONAL component
    Jakarta-Commons Net
    Found: org.apache.commons.net.SocketFactory at /usr/sap/EX1/DVEBMGS12/j2ee/cluster/bin/ext/com.sap.aii.af.axisproviderlib/lib/commons-net-1.0.0-dev.jar
    All others are only needed in special cases - like e.g.:
    Jakarta-Commons HttpClient
    Warning: optional component missing --- looking for org.apache.commons.httpclient.HttpClient in com.sap.aii.af.axisproviderlib/commons-httpclient.jar; see http://jakarta.apache.org/commons/httpclient/
    Apache WSS4J
    Warning: optional component missing --- looking for org.apache.ws.security.WSSConfig in com.sap.aii.af.axisproviderlib/wss4j.jar; see http://ws.apache.org/wss4j/
    Apache Addressing
    Warning: optional component missing --- looking for org.apache.axis.message.addressing.Constants in com.sap.aii.af.axisproviderlib/addressing.jar; see http://ws.apache.org/addressing/
    Apache Sandesha
    Warning: optional component missing --- looking for org.apache.sandesha.Constants in com.sap.aii.af.axisproviderlib/Sandesha.jar; see http://ws.apache.org/sandesha/
    Regards,
    Volker

  • Missing jar for IUserManagementService

    Hi all,
    we are currently upgrading from EP5 to EP7. While migrating the iviews, I am stuck at the IUserManagementService class. I am not able to identify the library file containing the corresponding class definition. Can someone pls help
    Regds
    Thiru

    Hi,
    Navigate to usr\...cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.usermanagement\lib
    and get com.sap.portal.usermanagementapi.jar.
    Regards
    Bharathwaj

  • Needed classes for sap connector framework

    Hello,
    when i installed sap netweaver developer studio 2.0.5 i become all needed classes for sap connector framework?
    Or i have to install the pdk? What are in the pdk for developer studio because the needed wizards are there (portal, sap connector ...)
    Thanks,
    Frank

    Torben, try to use class finder plugin as described here /people/maksim.rashchynski/blog/2006/08/14/the-story-about-how-2-eclipse-plugins-helped-me-to-make-a-lot-of-points-on-sdn-forum
    To save you some time:
    C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\tcconnconnectorframework\*.jar
    C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\com.sapportals.connectors.sap\connector\connectors\SAPCFConnector.rar\SAPCFConnector.jar

  • Issue with - Connector Framework  SAP EP 7.0

    HI
    Need assitance on usage of connector framework to connect to SAP R/3 using SSO.
    I am trying to call a BAPI from a jsp iView using sap connector framework.
    Release :  EP (SAP NetWeaver 7.0 (2004s) SPS 12).
    Steps I did so far :
    1. imported following jars in my project :
    a. activation.jar
    b. connector.jar
    c. GenericConnector.jar
    d. jaas.jar
    e. jta.jar
    f. portal_services_api_lib.jar
    2. declared import of class:
    <%@ page import = "com.sapportals.portal.ivs.cg.*" %>
    <%@ page import = "com.sapportals.connector.connection.IConnection" %>
    <%@ page import = "com.sapportals.connector.execution.structures.*" %>
    <%@ page import = "com.sapportals.connector.execution.functions.IInteraction" %>
    <%@ page import = "com.sapportals.connector.execution.functions.IInteractionSpec" %>
    3. appended portalapp.xml with :
      <application-config>
        <property name="SharingReference" value=",com.sap.portal.htmlb,com.sap.portal.pagebuilder,com.sap.portal.themes.lafservice,com.sap.portal.navigation.service,com.sap.portal.navigation.helperservice,com.sap.portal.license.runtime,com.sap.portal.common.commonservices,SAPJ2EE::library:com.sap.portal.common,com.sap.portal.ivs.connectorservice"/>
      </application-config>
    4. added following code :
         IConnectorGatewayService cgService = (IConnectorGatewayService) PortalRuntime.getRuntimeResources().getService(IConnectorGatewayService.KEY);
         IConnection connection = cgService.getConnection("ABC", request);
    <b>     IInteraction ix = connection.createInteractionEx();</b>
    5. Verfied connectivity of system alias ABC with connetion test from portal.
    When I test the repective iview after deployment it fails on the bold line with an error 'unable to deploy jsp'. I could verify that cgService and connection objects were initialized.
    Will appreciate expert comments/suggestions on the issue.
    Thanks and cheers,
    Amit.

    Hi,
    When you select that property, you get a value field in the bottom of the screen to enter the Cutom values.
    You can give the value there and click on the Set button.
    Also check the dbpool properties for this error code.
    Regards,
    Venkat

  • JCO or SAP Connector Framework

    Hello
    I have seen in these links that JCO is deprecated:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/40/003c41325fa831e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/89/8a185c148e4f6582560a8d809210b4/content.htm
    Developers are supposed to use SAP Connector Framework, but it seems that this is a Framework only useful from a Portal Application. What I want to do is to invoke RFCs in a R3 System from a webapp using struts. I have done this using JCO.
    Should I implement it using another solution?
    Thanks in advance

    Hi Marcos,
    You can, of course, use SAP JCO in simple Java Project by importing needed Jars.
    I provide you a sample of connection class with method that you can use for calling a function.
    You can use method "showFunctionParameters()" to test your connection...
    regards
    package echoFunction;
    import java.io.IOException;
    import java.util.Properties;
    import javax.swing.JOptionPane;
    import com.sap.mw.jco.IFunctionTemplate;
    import com.sap.mw.jco.JCO;
    public class JcoConnection {
         private final String REPO_NAME = "REPO_01";
         private JCO.Repository repository;
         private JCO.Function function;
         private JCO.Client connection;
         private JCO.ParameterList paramImport;
         private JCO.ParameterList paramExport;
         private JCO.ParameterList paramTables;
         public JcoConnection() {
              // constructor
         public void connect(String sapClient, String userId, String passWord,
                   String language, String server, String systemNumber) {
              connection = JCO.createClient(sapClient, userId, passWord, language,
                        server, systemNumber);
              connection.connect();
              repository = new JCO.Repository(REPO_NAME, connection);
         public void connect(Properties properties) {
              connection = JCO.createClient(properties);
              connection.connect();
              repository = new JCO.Repository(REPO_NAME, connection);
         public void disConnect() {
              connection.disconnect();
         public void useFunction(String functionName) {
              IFunctionTemplate ift = repository.getFunctionTemplate(functionName
                        .toUpperCase());
              function = new JCO.Function(ift);
              paramImport = function.getImportParameterList();
              paramExport = function.getExportParameterList();
              paramTables = function.getTableParameterList();
         public void execute() throws JCO.AbapException {
              connection.execute(function);
         public void setInputValue(String paramName, String valueInput) {
              paramImport.setValue(valueInput, paramName);
         public String toString() {
              return connection.getAttributes().toString();
         public static void main(String[] args) {
              JcoConnection sapConn = new JcoConnection();
              try {
                   sapConn.connect(Utilities.loadPropertyFile("logon.properties"));
                   sapConn.useFunction("STFC_CONNECTION");
                   sapConn.setInputValue("REQUTEXT", "Echo text");
                   sapConn.execute();
              } catch (IOException ex) {
                   ex.printStackTrace();
              } catch (Exception ex) {
                   ex.printStackTrace();
              sapConn.disConnect();
              JOptionPane.showMessageDialog(null, sapConn.showFunctionParameters());
         public String showFunctionParameters() {
              String paramText = "";
              paramText = "ECHOTEXT: t";
              paramText += function.getExportParameterList().getString("ECHOTEXT")
                        + "n";
              paramText += "RESPTEXT: t";
              paramText += function.getExportParameterList().getString("RESPTEXT");
              return paramText;
    package echoFunction;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.util.Properties;
    public class Utilities {
         public static Properties loadPropertyFile(String filePath)
                   throws IOException {
              Properties properties = new Properties();
              properties.load(new FileInputStream(filePath));
              return properties;

  • How to install Connector framework in WAS (j2ee)??

    I am connecting to mdm server through NWDS (ejb /dynpro) using connector framwork
    But i could not refer the package com.sapportals.connector.connection and sub sequent interfaces in that.
    I am basically dynpro guy and dont know how to use this connector framework.
    Please help in step by step installation of this for dev and runtime.
    thanks in advance.
    Hari.

    Hi
      To implement the connector framework, you should include the following jar files in your project, they are:
    <b>portal_services_api_lib.jar
    com.sap.portal.ivs.connectorservice_api.jar
    GenericConnector.jar</b>
    For the above jar files, check it under your NWDS IDE plugins folder
    (OR)
    If you have the Portal Development Kit installed on your portal server, you can find
    this library in Java Development --> Downloads --> Portal Libraries --> libraries.zip.
    Otherwise, look in:
    http://<server>:<port>/irj/servlet/prt/portal/prtroot/com.sap.
    portal.support.browse.default,
    and then follow this path:
    ROOT/WEBINF/
    portal/portalapps/com.sap.portal.ivs.connectorservice/lib
    Click the download link to download a zip file which contains this jar.
    Regards,
    Venkatesh. K

  • Jars For Java Proxy

    Hi all
    I am creating a Java Proxy application.
    While importing the proxy zip created to my NWDS project I am getting the error due to missing jar files.
    Can anyone tell me which all jars have to be added and which all jar files are required.
    Regards
    Abhishek Mahajan

    Hi,
    You need several libraries to compile your module.
    The easiest way of getting these libraries is by downloading the latest patch for XI
    ADAPTER FRAMEWORK CORE 3.0 from SAP Service Marketplace.
    Open the file using WinZip and extract aii_af_lib.sda, aii_af_svc.sda and
    aii_af_cpa_svc.sda.
    Open the file aii_af_lib.sda using WinZip and extract the following library files:
    • aii_af_cci.jar
    • aii_af_mp.jar
    • aii_af_ms_api.jar
    • aii_af_ms_spi.jar
    • aii_af_trace.jar
    Extract the following library file from aii_af_svc.sda:
    • aii_af_svc.jar
    Extract the following library file from aii_af_cpa_svc.sda:
    • aii_af_cpa.jar
    (You can also find the SDA files on your Adapter Framework installation.)
    Plz award if useful....
    Regards,
    Sri.

  • SSO is not working - User is missing credentials for connecting to alias

    Dear Experts,
    I am facing a strange problem in SSO with reference system user mapping.  I have configured reference system user mapping for accessing R/3 for ESS/MSS and transactional iviews along with UWL.  The SSO was configured 2 months ago and was working fine till yesterday.
    Since this Monday, (2 days), the system connection tests are failing on connector.  But, ESS/MSS & Transaction iviews with SAP Logon tickets are working fine. But, while trying to access UWL tasks, SSO is failing. Following is the error message -
    "Exception occured Exception type:com.sap.netweaver.bc.uwl.connect.ConnectorException Message:Tue Aug 11 09:46:58 CEST 2009
    (Connector) :com.sap.portal.connectivity.destinations.PortalDestinationsServiceException:User is missing credentials for connecting to alias <Aliassystem>. Contact your system administrator. "
    I have created a destination for the respective backend in Visual Admin > node >  services > Destinations as some tasks are not visible in UWL as per Note-  1133821, 2 weeks ago.It was working fine till yestreday. While testing from destinations, for Connected User(SAP Logon ticket Assertion ticket) , getting the error message  -
    Error During ping operation:Ticket contain no/an  emplty ABAP user id(refer note 1159962). The destination is successfully connected with configured user.
    But from the Tracecollector logs, I can see that the mapped user is set in the SAP Logon ticket and the User <ABCD> is existing in the target ECC system. More over, the SSO with refence system user mapping is working fine for ESS/MSS and Transaction based iviews. It is failing only for UWL tasks and also in system connection tests for connector. ITS was failing since the beginning.WAS is successful even now.
    Trace file info -
    Mapped user [ABCD] set in SAP Logon Ticket. The authenticated user is [<portaluserid>]. Authentication stack: [ticket]..
    The created ticket is:
    [Ticket [initialized]
      Ticket Version  = 0
      Ticket Codepage =  (Encoding=1100)
      User = <ABCD>
      Issuing System ID    = EPD
      Issuing System Client = 000
      Creation Time = 200908110746
      Valid Time    = 8 h 0 min
      Signature (length=261 bytes)
    I checked tcode SSO2 in ECC system and it is ready for accepting the logon tickets.  The strange thing is single sign on is working for ESS/Transactional iviews and not for UWL. Second thing is UWL was working fine till yesterday morning and stopped working now with SSO problems.
    Can you pls advise where to look for fixing the SSO - missing user details for UWL destination?
    regards,
    Isvarya

    <title>reporting the text as formatted text - Dear Experts,</title>
    <!--[if gte mso 9]><xml>
    <o:DocumentProperties>
      <o:Author>Isvarya Bolisetti</o:Author>
      <o:LastAuthor>Isvarya Bolisetti</o:LastAuthor>
      <o:Revision>2</o:Revision>
      <o:TotalTime>1</o:TotalTime>
      <o:Created>2009-08-11T11:21:00Z</o:Created>
      <o:LastSaved>2009-08-11T11:21:00Z</o:LastSaved>
      <o:Pages>1</o:Pages>
      <o:Words>385</o:Words>
      <o:Characters>2195</o:Characters>
      <o:Company>Bekaert N.V</o:Company>
      <o:Lines>18</o:Lines>
      <o:Paragraphs>5</o:Paragraphs>
      <o:CharactersWithSpaces>2575</o:CharactersWithSpaces>
      <o:Version>11.9999</o:Version>
    </o:DocumentProperties>
    </xml><![endif]><![if gte mso 9]><![endif]><![if gte mso 9]>
    <!--
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
         {mso-style-parent:"";
         margin:0cm;
         margin-bottom:.0001pt;
         mso-pagination:widow-orphan;
         font-size:12.0pt;
         font-family:"Times New Roman";
         mso-fareast-font-family:"Times New Roman";}
    @page Section1
    div.Section1
    -->
    </style>
    <!--[if gte mso 10]>
    <style>
    /* Style Definitions */
    table.MsoNormalTable
         {mso-style-name:"Table Normal";
         mso-tstyle-rowband-size:0;
         mso-tstyle-colband-size:0;
         mso-style-noshow:yes;
         mso-style-parent:"";
         mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
         mso-para-margin:0cm;
         mso-para-margin-bottom:.0001pt;
         mso-pagination:widow-orphan;
         font-size:10.0pt;
         font-family:"Times New Roman";
         mso-ansi-language:#0400;
         mso-fareast-language:#0400;
         mso-bidi-language:#0400;}
    </style>
    <![endif]><![if gte mso 9]><![endif]><![if gte mso 9]>Mapped user set in SAP Logon Ticket. The
    authenticated user is . Authentication stack: ..
    The created ticket is:
    [Ticket

  • Deployment Issues, Different  Jars for Diff Java in one application.

    HI,
    I need to put classpath (Jars) for my WEB-INF/classes. Different Jars for Diff files in one application.
    The problem is , for one ofmy application, the lib files are x.jar and y.jar , x is older than y but have same
    lib files. in x and y, there is one class , r.java , which have a method method1(). whey they are doing modifications in y.jar , the r.java has changed to new vertion, the method method1() they re-written the body.
    My application have 5 java files, in which 2 files uses r.java imported from the x.jar earlier.
    Now we need to use y.jar because , the y.jar have more files added with good futures. But the earlier 2 files are giving exception if i use y.jar.
    I need solution for this. how can i put classpath for the 2 files to use the x.jar and other files to use y.jar in the same application.
    I am using a Tomcat 4 server. only Servlets, JSPs I am using.
    Thank you,
    Kiran

    I may be missing something here, is y.jar a newer version of x.jar? And if it is do you need x.jar at all? Are there classes in x.jar that do not exist in y.jar? Can you modify your application to provide the same functionality and only use y.jar?

  • Adf bc jar for base entity classes and extending them existing  project

    Hi,
    I am using jdev 11.1.1.0 and have created a base workspace/project and adf jar for my base entity classes.
    1. I can consume this base adf bc jar in a separate new consuming workspace and create VO based on base bc classes or create new EOs that extend base bc entity classes.
    2. Furthermore, for an existing consuming project that earlier included src/ of base entity (BC components), i can remove the dependency on bc source and bring in this new adf jar and everything including the view controller and the service/datacontrol works fine.
    The issue i am running into is as follows.
    - In the existing project (#2) above i try to create a couple of entities based on entities in my base jar; associations are automatically brought in. Note i am not overriding any attributes. My intent here is to generate .java and implement some code.
    - I then try to make my existing VOs based on the newly extended entity (VO overview->Entity Objects-> Shuttle NewEntity from Available to Selected)
    - I then try to remove the old EO from selected under VO overview->Entity Objects->Shuttle OldEntity from Selected back
    - I get a warning dialog box that says something to the effect that some viewlinks are dependent on these old EOs in this consuming project.
    - I tried to laboriously analyzed dependencies and it this dialog box does not make any sense as I have already extended EOs and the tooling should be able to let me use these
    My questions
    - Why I am not able to remove old entities from VO dependencies
    - Is it ok to leave the old EOs in "Selected" along with the newly extended EO ? What are the implications for this?
    - I also thought about extending base associations, but did not go anywhere.
    In general, I am ok with consuming an ADF BC jar that has entities etc. but not clear about removing dependencies of base EOs on VOs when entities are extended and consumed in a pre-existing project that used base entities.
    I can send a project if any PM is willing to take a look at it.
    Thanks,
    ps:
    I have already gone over the following info
    http://technology.amis.nl/blog/215/organization-of-bc4j-domain-eo-and-business-vo-package
    .. wants to create an enterprise data model in BC4J, reflecting the Enterprise Data Model set up in the RDBMS. All (or at least most) business rules will be implemented in the Middle Tier – to take the load of the database and also allow developers not comfortable with PL/SQL to define and maintain the business rules. It is clear that this means that all applications that need to access – and manipulate – the database, need to go through the BC4J foundation layer. Martijn wants to define the Entity Objects – and their business rules – only once and share that definition between different projects. Each projects can create its own ViewObjects on top of these shared Enterprise Entity Objects.
    http://radio-weblogs.com/0118231/2005/09/29.html
    I am currently working on a project for a partner where we will be using ADF BC as our model layer for a large application. In order to keep the footprint of each application module down to a reasonable size, we are intending to create a number of separate 'root' application modules for each functional area of the application. Within, these 'root' application modules we will then use nested application modules to further partition the application. All of the application modules will be accessing the same datasource and will need access to the same database objects.
    In order to separate our code between the development team and into function areas, our initial thoughts were that we would create an ADF BC model project containing Entity Objects for all of the database tables e.t.c. as these are common amongst all functional areas. We have configured all of the EOs for validation rules, defaulting values and extending doDML() as appropriate. Happy at this stage we then created a simple .jar file to deploy all of the definitions. Upon creating a new ADF BC project for each functional area we added the jar file as a library import into the new project. However when we the tried to create some new View Objects via the JDev Wizard we were unable to see the imported Entity Objects.
    Is the only way to share Entity Object definitions between different ADF BC projects to manually copy the source definition files into the new projects src directory? Since this would mean multiple copies of the same components, it could prove to be a maintenance nightmare.Is there a way of doing it without creating multiple copies of the same object definitions?
    The developer is spot on in their ideas of layering and reuse, and even has created a library for their reusable entities. This last step is not something everyone thinks to do. The missing step is known as "importing" components, so with that one extra bit of knowledge under his belt, he should be able to do exactly what he envisions. My little article called Difference Between Adding and Importing Business Components tries to explain the difference and gives the menu options to choose to perform the importing.
    Difference between adding and importing BC4J
    http://radio-weblogs.com/0118231/stories/2005/08/11/differenceBetweenAddingAndImportingBusinessComponents.html
    Working with Libraries of Reusable Business Components
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b25947/bcadvgen.htm#CHEFECGD

    Hi,
    since you followed the OC4J developer guide I think this question might be better handled there as well
    OC4J
    So in case you don't get an answer here on the forum, try it on the OC4J forum
    Frank

  • TopLink to EclipseLink migration - Missing class for indicator field value

    I am migrating Toplink 11g to EclipseLink 12.1.3.  I have EclipseLink.jar to the classpath. I have few mapping xml files. When executing the application, i am getting following error.
    Exception [EclipseLink-9005] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.SessionLoaderException
    Exception Description: An exception was thrown while loading the project-xml file [META-INF/Business.xml].
    Internal Exception: Exception [EclipseLink-43] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DescriptorException
    Exception Description: Missing class for indicator field value [toplink:object-type-mapping] of type [class java.lang.String].
    Descriptor: XMLDescriptor(org.eclipse.persistence.mappings.DatabaseMapping --> [DatabaseTable(attribute-mapping)]).
    How to resolve this.

    Ooooops, sorry, guys!
    I was using TopLink 10.1.3.0 JARs to run a project created via TopLink 10.1.3.1 Workbench. That was the reason for the exception.
    I ran across the REAL problem, however. The one that was occurring when I created the TopLink project via JDeveloper 10.1.3.1 and ran it via JDeveloper 10.1.3.1. That's why I decided to try with TopLink 10.1.3.1 Workbench instead of JDeveloper 10.1.3.1.
    I will report the problem in a clean separate post.

  • Descriptor exception for "missing mapping for field"

    I am using TopLink 9.0.3, oracle database 9, JVM 1.4.
    I got one DescirptorException that states that the descriptor misses mapping for one database field.
    However I have such field mapped through workbench.
    The is the exception.
    -----------------exception-----------------------
    LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-45] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.DescriptorException
    EXCEPTION DESCRIPTION: Missing mapping for field [DatabaseField(DEVICEDB.DEVICEID)].
    DESCRIPTOR: Descriptor(ContactDB --> [DatabaseTable(DEVICEDB)])
    at oracle.toplink.exceptions.DescriptorException.missingMappingForField(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.extractValueFromObjectForField(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.extractValueFromObjectForField(Unknown Source)
    at oracle.toplink.mappings.OneToManyMapping.extractForeignKeyFromReferenceObject(Unknown Source)
    at oracle.toplink.mappings.OneToManyMapping.executeBatchQuery(Unknown Source)
    at oracle.toplink.mappings.OneToManyMapping.extractResultFromBatchQuery(Unknown Source)
    at oracle.toplink.internal.indirection.NoIndirectionPolicy.valueFromBatchQuery(Unknown Source)
    at oracle.toplink.mappings.ForeignReferenceMapping.batchedValueFromRow(Unknown Source)
    at oracle.toplink.mappings.ForeignReferenceMapping.valueFromRow(Unknown Source)
    at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildObjectsInto(Unknown Source)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.buildObjectsFromRows(Unknown Source)
    at oracle.toplink.queryframework.ReadAllQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.ReadQuery.execute(Unknown Source)
    at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
    at oracle.toplink.threetier.ServerSession.internalExecuteQuery(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.internal.indirection.QueryBasedValueHolder.instantiate(Unknown Source)
    at oracle.toplink.internal.indirection.DatabaseValueHolder.getValue(Unknown Source)
    at oracle.toplink.indirection.IndirectList.buildDelegate(Unknown Source)
    at oracle.toplink.indirection.IndirectList.getDelegate(Unknown Source)
    at oracle.toplink.indirection.IndirectList.isEmpty(Unknown Source)
    The is my mapping file for DeviceDB and ContactDB. The ContactDB is a subclass of the DeviceDB.
    Clearly from the mapping below, the DeviceDB has a mapping for the database filed DeviceID.
    The ContactDB is a subclass of DeviceDB. Therefore the ContactDB also should have a mapping for
    database field deviceID
    ----------------------- partial mapping file for DeviceDB----------
    public Descriptor buildDeviceDBDescriptor() {
         Descriptor descriptor = new Descriptor();
         descriptor.setJavaClass(DeviceDB.class);
         descriptor.addTableName("DEVICEDB");
         descriptor.addPrimaryKeyFieldName("DEVICEDB.DBID");
         // Inheritance properties.
         descriptor.getInheritancePolicy().setClassIndicatorFieldName("DEVICEDB.CLASS");
         descriptor.getInheritancePolicy().addClassIndicator(ContactDB.class, "c");
         descriptor.getInheritancePolicy().addClassIndicator(ContentDB.class, "f");
         OneToOneMapping deviceMapping = new OneToOneMapping();
         deviceMapping.setAttributeName("device");
         deviceMapping.setReferenceClass(Device.class);
         deviceMapping.setRelationshipPartnerAttributeName("databases");
         deviceMapping.dontUseIndirection();
         deviceMapping.readOnly();
         deviceMapping.addForeignKeyFieldName("DEVICEDB.DEVICEID", "DEVICE.DEVICEID");
         descriptor.addMapping(deviceMapping);
         return descriptor;
    ---------------------------partial mapping for ContactDB --------------
    public Descriptor buildContactDBDescriptor() {
         Descriptor descriptor = new Descriptor();
         descriptor.setJavaClass(com.access.sync.business.contact.ContactDB.class);
         descriptor.addTableName("DEVICEDB");
         // Inheritance properties.
         descriptor.getInheritancePolicy().setParentClass(com.access.sync.framework.systemObj.DeviceDB.class);
    Any help is really appreciated.
    jason

    Your 1-1 mapping must not be read-only.
    deviceMapping.readOnly();Read-only means the mapping will not write the field, and should only be used when another mapping does write the field.

  • Connecting EP7.0 to iSeries backend system using the connector framework

    Hello All,
    We are trying to setup a backend connection in EP7.0 to an AS/400 Legacy database using the JDBC Connector framework.
    We use the driver and url syntax from OSS note 773401 "Configuring Portal JDBC System connection properties"
    Driver:
    com.sap.portals.jdbc.db2.DB2Driver
    URL: jdbc:sap:db2://<server>:<port>;DatabaseName=<database_name>
    When performing a connection check using the Support Platform, we can see on the legacy system that the connection is being established but for some reason the Portal doesn't get a confirmation and runs in to an endless loop...
    Does anyone have a experience with such a connection?
    Can we use the standard db2 driver class as mentioned in note 773401 or do we need to create/deploy our own?
    Thanks in advance
    Ron

    Hello All,
    We are trying to setup a backend connection in EP7.0 to an AS/400 Legacy database using the JDBC Connector framework.
    We use the driver and url syntax from OSS note 773401 "Configuring Portal JDBC System connection properties"
    Driver:
    com.sap.portals.jdbc.db2.DB2Driver
    URL: jdbc:sap:db2://<server>:<port>;DatabaseName=<database_name>
    When performing a connection check using the Support Platform, we can see on the legacy system that the connection is being established but for some reason the Portal doesn't get a confirmation and runs in to an endless loop...
    Does anyone have a experience with such a connection?
    Can we use the standard db2 driver class as mentioned in note 773401 or do we need to create/deploy our own?
    Thanks in advance
    Ron

Maybe you are looking for

  • DOWN PAYMENT  IN MILESTONE

    Hi, I have done downpayment request in milestone billing by using billing type FAZ. But further milestone billing I need to billing with billing type F2. When I try to do with the first line items milestone, I get a zero billing document. Why this is

  • Deploy issue to local hybrid tool kit

    when i tried to deploy my app to local hybrid app toolkit , am getting below issue . Please Can any one help me ?

  • Can't get the CPU utilization above 52%

    Hi all, I have an Intel i7 950 CPU based PC with Windows 10 TP on it which, no matter what, I cannot bring to 100% CPU utilization. While taking the attached screenshot, I was running prime95.exe. I have tested the same scenario on the same computer

  • Photoshop cc shuts down when i start 3d

    Why Does photoshop cc shut down when I turn on 3d

  • After Effects will not run get a licensing error

    Hello AE Helpers! Thanks to all for help in advance. I've been using AE CS3 for a long time. Recently it will not start and I get the following: "Licensing for this product has stopped working. You cannot use this product at this time. You must repai