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

Similar Messages

  • Connect to a backend system with the BI connector via Visual Composer

    Hi all,
    I set up a system landscape on my notebook with the NW2004s ABAP as NSP and with the NW2004s JAVA SP7 as J2E. Both systems are integrated in the SLD, this is set up. Furthermore I installed a BI system alias as NSP_XMLA in the portal with the URL for the backend system: http://localhost:8000/sap/bw/xml/soap/xmla.
    I have the same user on portal and backend system NSP. Both have admin previleges.
    When I try to logon to the backend system with this URL I get this error:
    "No switch to HTTPS occurred, so it is not secure to send a password"
    " Choose "Logon" to continue A dialog box appears in which you can enter your user and password"
    Then I can logon to the server and get a lot of XML.
    But I have to manually logon to the system.
    From the portal I cannot logon to the backend system with the test function. I get the error:
    Alias is found, but connection failed.
    I guess there must be an automatic logon preconfigured.
    How can I do this?
    Is SSO necessary?
    thanks for any help

    Hi Gregor,
    thanks for your answer, which was intersting but could not solve the problem. In the meantime I discoverd the reason for it.
    You have to insert the connection URL to the BW system at 2 points in the system.
    1. You have to configure the XMLA connector with the Visual Administrator.
    2. You must implement a system in the portal where you configure all necessary information, also the URL to the BW system.
    This seems somewhat strange to me because you will then not be able to connect with two or more BW systems to the portal and VC what is centainly necessary in a real world scenario. Anyway I can now see all Infoproviders of the BW system in the VC, and SSO isn't necessary because you configure the information to login to the BW system directly in the configuration of the XMLA connector in Visual Administrator.

  • Custom iView Connecting to SAP R/3 system using JCA !!

    I did not get any response on the Portal forum so posting it again in the WebAs forum ...
    Environment : SAP Portal : EP 6.p SP2
    I am using JCA to connect to the SAP backend systems.
    The following code connects to the backend ...
    IConnectionFactory connectionFactory = (IConnectionFactory) ctx.lookup("EISConnections/SAPFactory");
    IConnectionSpec spec = connectionFactory.getConnectionSpec();
    ((Map) spec).put("client", "CLIENT_NUMBER");
    ((Map) spec).put("UserName", "YOUR_LOGIN_ID");
    ((Map) spec).put("Password", "YOUR_PASSSWORD");
    ((Map) spec).put("logonmethod", "UIDPW"); // or SAPLOGONTICKET
    ((Map) spec).put("Language", "YOUR_LOGIN_LANGUAGE");
    ((Map) spec).put("ashost", "YOUR_APPLICTION_SERVER_NAME");
    ((Map) spec).put("sysnr", "YOUR_SYSTEM_NUMBER");
    IConnection client = connectionFactory.getConnectionEx(spec);
    I want to use the message server for load balancing. Is there a way to specify the message server and logon group ??
    These is the code to get the BAPI information ...
    // Create interaction
    IInteraction interaction = client.createInteractionEx();
    IInteractionSpec interactionSpec = interaction.getInteractionSpec();
    interactionSpec.setPropertyValue("Name", "REMOTE_FUNCTION_MODULE_NAME");
    // Create IFunction instance
    IFunctionsMetaData functionsMetaData = client.getFunctionsMetaData();
    IFunction function
    = functionsMetaData.getFunction("REMOTE_FUNCTION_MODULE_NAME");
    // CCI api only has one datatype: Record
    RecordFactory recordFactory = interaction.getRecordFactory();
    MappedRecord importParams
    = recordFactory.createMappedRecord("CONTAINER_OF_IMPORT_PARAMS"
    and the following code populates the input table parameters ...
    IStructureFactory structureFactory
    = interaction.retrieveStructureFactory();
    IRecordSet table
    = (IRecordSet) structureFactory.getStructure(
    function.getParameter("TABLE_NAME").getStructure());
    table.insertRow();
    table.setString("COLUMN_NAME_1", "VALUE_1");
    table.setString("COLUMN_NAME_2", "VALUE_2");
    table.insertRow();
    table.setString("COLUMN_NAME_1", "VALUE_1");
    table.setString("COLUMN_NAME_2", "VALUE_2");
    importParams.put("TABLE_NAME", table);
    The above code causes performance issues in the SAP system because the code is calling the following other BAPI through the JCA java api ...
    1) RFC_GET_FUNCTION_INTERFACE
    2) DDIF_FIELDINFO_GET
    Looks like, the JCA library is not caching the metadata information for the BAPI instead for each call, it is calling other BAPI's to get the BAPI metadata information. Also, if I reuse the same IFunction class instance for all connections (Using Singleton Class), it seems to make less "RFC_GET_FUNCTION_INTERFACE" bapi calls.
    The problem is with the input table structure which I need to populate for the BAPI. Every time the structure is populated, the internal BAPI's are getting called and it takes more time to populate the structure as number of users increases.
    I am looking answers to the following questions ...
    1) Specify message and logon group in JCA
    2) Provide a way to cache the metadata for the BAPI's
    More details about JCA can be found here ...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bc9baf90-0201-0010-479a-b49b25598ebf
    I appreciate your help !!
    Thanks
    Bhabesh Patel

    we updated JCO to the latest version for EP 6 SP2 Patch 8 and it fixed the issue.

  • Backend system used to fetch sources of supply in classic scenario?

    Dear Experts,
    In sourcing for shopping cart in classic scenaro, the proposing sources of supply fetches possibles sources like contract, info record from local system as well as backend systems. If there are number of backend systems, which system is used to fetch the probable contracts and info-record as source of supply?
    Is it the source system for the product category used in the shopping cart? or is there any settings defined in the org structres of the user attributes?
    Thanks and regards,
    Ranjan

    You could try to set a Breakpoint at FM BBP_PDC_SRC_DETERMINE  or inside META_sOS_determine.
    as KGP said you will get inforecord and contract are valid source of supply
    We call the backend system in the plugin function B46B_SOURCEDETER_GETSOS_MULTI at the line:
    Get sources of supply from backend system for all items
      CALL FUNCTION 'BBP_SOURCEDETER_GETSOS_MULTI'
        DESTINATION lv_destination
        EXPORTING
          iv_find_contract      = iv_find_contract
          iv_find_inforecord    = iv_find_inforecord
          iv_read_price         = iv_read_price
        TABLES
          it_search_criteria    = lt_sos_find_be
          et_found_contracts    = lt_found_contracts
          et_found_inforecords  = lt_found_inforecords
          et_return             = ct_return
        EXCEPTIONS
          communication_failure = 1  MESSAGE lv_msg_text
          system_failure        = 2  MESSAGE lv_msg_text
          OTHERS                = 3.
    Muthu

  • When I create a New Folder (on the desktop or in Finder), the system uses the Generic Document Icon instead of the Generic Folder Icon. How can I change this back?

    When I create a New Folder (on the desktop or in Finder), the system uses the Generic Document Icon instead of the Generic Folder Icon. How can I change this back?
    All of a sudden I noticed that most of the folders on my computer were no longer using the folder icon, but the generic document icon. I had to manually change back the icon being used by opening Get Info for each folder and copying and pasting the generic folder icon from some folders that remained unchanged. Now whenever I create a New Folder (right click -> "New Folder"), the icon that shows up is the generic document icon (white page with top right corner turned down). And I have to manually change it so it shows up as a folder in Finder or on my desktop. I don't know why or how this switch happened. All of the folders now on my computer look ok, but I need to change the default so when I create a New Folder it uses the correct icon.
    I have also Forced Relaunch of my Finder and rebooted the system. I downloaded Candybar but am not sure what will fix anything, so I haven't proceeded.
    Anyone know how I can do this? Thanks.

    Anyone?

  • When I connect my iPad2 to my tv using the AV adapter I can hear sound for everything else except for my movies. I can hear tv shows, music, videos off YouTube, etc. I just can't hear the movies. Any ideas of what may be wrong?

    When I connect my iPad2 to my tv using the AV adapter I can hear sound for everything else except movies. I can hear tv episodes, music, YouTube videos, etc. anyone have an idea of how to fix this issue? Thank you for your help in advance.

    Just connect the new iPod to your computer and setup the iPod via iTunes (instead of via wifi).
    If you want to copy all the infor from an old iPod touch to the inew iPod see:
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • My ipod 5th gen says it is connected to the internet and i can go on apps that require an internet connection but whe i try to use the weather or another app that uses your current location it cant find me???

    My ipod 5th gen says it is connected to the internet and i can go on apps that require an internet connection but whe i try to use the weather or another app that uses your current location it cant find me???

    If you open the Maps app where does that say you are located?
    For location the iPod uses the location of nearby routers that are in Apple's database of routers and their location. Thus it appears that Apple's database is incorrect. You do not have to be connected to the router, just within range.
    Apple periodically updates their database based on information they obtain from iPhones, The iPhone has to have turned on the option to send info to Apple. no one has found another way to get the location of a router added/corrected.
    You can confirm that by going to well-know place with wifi like Starbucks or McDonalds                              

  • Just installed IOS 8 to iphone 5 and cannot connect to WI FI. Sometimes connects and when I begin to use the phone ot drops out.

    Just installed IOS 8 to iphone 5 and cannot connect to WI FI. Sometimes connects and when I begin to use the phone ot drops out.
    I have attempted all the regular trouble shoots such as resets, complete restore and reinstallation of ios 8. no change.

    I don't have an answer for you but from my experience iOS WiFi syncing has always been a hit and miss affair (more miss than hit I'm afraid). I have gotten to the stage where I rarely use the WiFi sync. It is just quicker, easier and much less stressful to use the USB cable. I am having the same issues with all the iOS devices in our family which includes various models of iPhone, iPad and an iPod Touch and have been having them since WiFi syncing was introduced (in iOS5 ???). And then I have not even mentioned my favorite iTunes syncing messages: "Waiting for items to copy" and "Waiting for changes to be applied"!
    iTunes is always extremely quick and eager to pick up the devices but as soon as I click on sync it shows "Looking for iDevice" and then the device disappears. I have found that initiating the sync from the Settings app on the device prevents this issue.
    It does however seem as if it is worse with Windows 7. I did not have so many issues with my previous Windows Vista PC.
    Sorry I cannot be of any help.

  • I have a Macbook Pro (2013) OS 10.8.1.  Moved into a university house and need to use ethernet cable. Bought the Thunderbold connection but when I try to use the ethernet with it a webpage comes up saying Wireless Setup? No idea what to do.

    I have a Macbook Pro (2013) OS 10.8.1.  Moved into a university house and need to use ethernet cable. Bought the Thunderbold connection but when I try to use the ethernet with it a webpage comes up saying Wireless Setup and Router Setup? I have previously used ethernets in similar situations and never had to input information like this?

    I have tried to turn of the wi-fi but that doesn't work either. I think it could be a something to do with the internet provider because virginmedia comes up on the webpage. This is what comes up:
    Wireless Setup
    WGR614V9
    V1.0.11_1.0.1VGUK
    Wireless Setup
    Name (SSID):
    Security Passphrase (WPA-PSK):
    (8-63 characters)
    Channel:
                       01                   06                   11                
    Router Setup
    Router Password:
    (8-63 characters)
    any ideas?!?

  • When i connect my ipad2 to my tv using the hdmi cord for video mirroring, nothing happens! I've tried it on two new and different types of tv's, what gives?

    When I connect my Ipad2 to my tv using the HDMI cord for video mirroring, nothing happens! I've tried it with new and different types of tv's, what gives?

    Do you have the correct input set on the TV, like HDMI 1, HDMI 2, etc?

  • "No enought room on startup disk for Application Memory" when using the Accelerate Framework

    Dear colleagues,
    I am running what I know is a large problem for a scientific application (tochnog) a finite element solver that runs from the Terminal. The application tries to solve 1,320,000 simultaneous linear equations. The problem starts when I use the Accelerate Framework as the Virtual Memory size jumps from 142 G to about 576 G after the library  (LAPACK) is called to solve the system.It does not do it if I use a solver that does not calls LAPACK inside Accelerate.
    The machine is a mac pro desktop with 8 GB of ram, the 2.66 GHz Quad-core Intel and the standard 640 GB hard drive. The system tells me that I have 487 GB available on hard drive.
    The top instruction in Terminal reads VM 129G vsize when starting. When I run the finite element application once the LAPACK library in the Accelerate framework gets called, the Virtual Memory (VM) jumps to 563 G vsize.
    After a short while, I get the "No enought room on startup disk for Application Memory error"
    This is a screen capture of the application attempting to solve the problem using the LAPACK library inside the Accelerate framework: Here are the numbers as reported by the activity Monitor.
    Tochnog Real Memory 6.68 GB
    System Memory  Free: 33.8 MB, Wired 378.8 MB, Active 5.06 GB, Inactive 2.53 GB, Used 7.96 GB.
    VM size 567.52 GB, Page ins 270.8 MB, Page outs 108.2 MB, Swap used 505 MB
    This is a screen copy of the same application solving the same problemwithout using the Accelerate framework.
    Tochnog Real Memory 1.96 GB,
    System Memory  Free: 4.52 MB, Wired 382.1 MB, Active 2.69 GB, Inactive 416.2 GB, Used 3.47 GB.
    VM size 148.60 GB, Page ins 288.8 MB, Page outs 108.2 MB, Swap used 2.5 MB
    I can not understand the disparity in the behavior for the same case. As I said before, the only difference is the use of Accelerate in the first case. Also, as you can see, I thought that 8 GB of ram memory was a lot.
    Your help will be greatly appreciated
    Best regards,
    F Lorenzo

    The OP had posted this question in the iMac Intel forum.
    I replied along similar lines, but suggested he repost this in the SL forum where I know there are usually several people who have a far better grasp of these issues than I.
    I would be interested in getting their take on this.
    Although, I think you are coming to the correct conclusion that there are not enough resources available for this process, I'm not certain that what you are saying on the way to that conclusion is correct. My understanding of VM is that it is the total theoretical demand on memory a process might make. It is not necessarily the actual or real world demand being made.
    As such, this process is not actually demanding 568GB (rounded.) As evidence of that, you can see there is still memory available, albeit quite small, in the form of free memory of 33.8MB and inactive of 2.53GB (the GB for that figure, above, seems like it might be a typo, since for the process when not using Accelerate the reported figure for inactive was 416.2 GB -- surely impossible) and 7.96GB used. The process, itself, is using 6.68GB real memory.
    In addition, I question whether the OP has misstated the 487GB free drive space. I think that might be the total drive capacity, not the free space.
    My guess is that it is the combination of low available memory and low free drive space prompting this error.
    From Dr. Smoke on VM:
    it is possible that swap files could grow to the point where all free space on your disk is consumed by them. This can happen if you are very low on both RAM and free disk space.
    https://discussions.apple.com/message/2232469?messageID=2232469&#2232469
    This gets more to the actual intent of your question...
    EDIT: Looks like some kind of glitch right now getting to the Dr. Smoke post.
    Message was edited by: WZZZ
    <Hyperlink Edited by Host>

  • How to compile and link a C program that uses the FSEvents framework

    I've been trying to compile a program from the command line that uses the FSEvents framework. I can compile and link the code in Xcode and it runs correctly.
    At the moment I have the following command line:
    cc -Wall -g -o Watcher *.c -framework CoreFoundation -framework FSEvents
    I'm running Snow Leopard and noticed that FSEvents is not in the Frameworks directory under /System/Library as it was in Leopard.
    The link error is:
    ld: framework not found FSEvents
    collect2: ld returned 1 exit status

    I'm not sure what the point is if it builds in Xcode, but the build log should show you every command it uses throughout the process--copy and paste.

  • References are becoming invalid when passed to an actor using the Actor Framework

    I have having an issue with passing a couple of references to an actor using the actor framework 3.0.7 (LabVIEW 2011 & TestStand 2010 SP1). 
    Some background:
    My application has three main components:
    Main VI -- is not part of any class and Launches UI Actor.
    UI Actor -- Launches the teststand actor
    TestStand Actor -- Initializes and starts teststand.
    The two references showing similar behavior (invalid reference) are the TestStand App Manager control and the "Current VI's Menubar" reference.  The App Mgr control is on the front panel of the UI Actor's Actor Core.vi.  The menubar reference is retrieved in the block diagram of the UI Actor's Actor Core.vi
    Now,
    When I run the Main VI I get an error in the TestStand Actor's Actor Core.vi (Remember Main VI launches UI Actor launches TestStand Actor) because the App Mgr and menubar references are invalid (.  I have checked and verified that in this scenario the references are valid in the UI Actor before it launches the teststand actor. 
    If I run the UI Actor's Actor Core.vi stand alone (i.e. run it top level) the App Mgr and menubar references are passed to the teststand actor, no error occurs, and the code functions as expected. 
    Why would these references be invalid by simply starting a different top level VI?  Could it have something to do with when the references are passed vs. when the front panel is loaded into memory?
    I tried putting the App Mgr control on the front panel of the Main VI and passing it to the UI Actor and then to the TestStand Actor.  This works.... 
    Anyone have any experience or knowledge to why this is occurring?

    Generally, references in LV are "owned" by the hierarchy they are first created in, and the hierarchy is determined by the top level VI. Once the hierarchy goes idle or out of memory, the references created by that hierarchy are automatically closed. That's usually what causes something like this - the reference is created in one hierarchy (let's say the main VI hierarchy) and then that hierarchy stops running.
    I don't know the AF well enough to say if that's really the case (I actually thought that it always launches a separate top level dynamic process, which I assumed is where the UI actor's core VI would always be called), but that might help explain it. If not, you might wish to post to the AF group in the communities section.
    Try to take over the world!

  • Custom Branding Using the AJAX Framework L-Shape APIs

    Hello folks,
    i want to do this Tutorial (How To Apply Custom Branding Using the AJAX Framework L-Shape APIs) but i'm missing the source code.
    Can anyone of you provide me with the necessary files?!
    It was once located in Sap Code-Exchange (https://code.sdn.sap.com/svn/sap-portal-ajax-framework)
    Thanks in advance.
    Greetings,

    I downloaded in May 2014 two EARs with a custom AFP from SAP:
    com.customer.afp.fromscratch.ear
    com.customer.sdesign.ear
    I also have the images shown in the pdf....
    If interested, send me an email (see profile).
    Kai

  • What are the best practices for using the enhancement framework?

    Hello enhancement framework experts,
    Recently, my company upgraded to SAP NW 7.1 EhP6.  This presents us with the capability to use the enhancement framework.
    A couple of senior programmers were asked to deliver a guideline for use of the framework.  They published the following statement:
    "SAP does not guarantee the validity of the enhancement points in future releases/versions. As a result, any implemented enhancement points may require significant work during upgrades. So, enhancement points should essentially be used as an alternative to core modifications, which is a rare scenario.".
    I am looking for confirmation or contradiction to the statement  "SAP does not guarantee the validity of enhancement points in future releases/versions..." .  Is this a true statement for both implicit and explicit enhancement points?
    Is the impact of activated explicit and implicit enhancements much greater to an SAP upgrade than BAdi's and user exits?
    Is there any SAP published guidelines/best practices for use of the enhancement framework?
    Thank you,
    Kimberly
    Edited by: Kimberly Carmack on Aug 11, 2011 5:31 PM

    Found an article that answers this question quite well:
    [How to Get the Most From the Enhancement and Switch Framework as a Customer or Partner - Tips from the Experts|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c0f0373e-a915-2e10-6e88-d4de0c725ab3]
    Thank you Thomas Weiss!

Maybe you are looking for

  • Installing/Uninstalling Adobe 11.0.03

    1) Whenever I try to open a pdf file, I receive an error message 2) One of the suggestions on the error message was to download the latest version of Adobe Reader 3) Went to the Adobe site...downloaded the latest version...and was told the latest ver

  • Stock and value with GL account

    Dear friends, i want to see the stock and the stock value with respect to the GLaccount, i want to see the materials  posted for the GL account with stock and value for perticular period. Regards, Deviprasad

  • Readonly data snapshot using JUTableBinding

    I have two ViewObject in master-detail relation. I display detail ViewObject using JUTableBinding bind to a JTable. Normally, JTable contents are updated when current row of master ViewObject changes. However, I need to display detail ViewObject rela

  • NEW Record in Access DB

    here is the page......... not sure whats wrong created an 'new record' from server behaviors (Insert Record-form3) It is suppose to also go to the default.asp page after a submit????? not working

  • Mns of trsp - border

    Hello all When I create a purchase order (ME21n) I got a error that I have to fill this field Header => Import=> Handling => Mns of trsp - border (Field = EIKP-STGBE) Origin of Means of Transport when Crossing the Border ? Normally I don't have to fi