How to configure to identify to reconnect on a stale connection?

Hi,
I am using oracle App Server 10.1.3.1.0 and oracle BPEL. BPEL uses TOPLINK over all of its Database Adapters. I am also using Oracle Server's connection factory and Data source in order to acquire a connection.
While execution due to some reason, connection pool loses connection with Database. Toplink is not able to resolve the stale connection and tries to connect which is leading to an errenous situation. Exception as:
[r]
Caused by Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseExceptionInternal Exception: java.sql.SQLException: Listener refused the connection with the following error:ORA-12519, TNS:no appropriate service handler foundThe Connection descriptor used by the client was:mrtudev12:1521:xeError Code: 0.     at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:362)     at oracle.tip.adapter.db.exceptions.DBResourceException.outboundWriteException(DBResourceException.java:410)     at oracle.tip.adapter.db.DBInteraction.executeOutboundWrite(DBInteraction.java:933)     at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:211)     at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:480)     at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:726)     at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:425)     at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:416)     at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:222)     at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:736)     at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:371)     at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
[r]
Please suggest that is there is a way that i can configure toplink to acquire a valid managed connection from Pool? or can identify between a stale and live connection?
Thanks

You need to define an ExceptionHandler and handle the code of reconnecting to the db in the ExceptionHandler. The following link should be of some use.
http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/sescfg007.htm

Similar Messages

  • How to configure Solaris 10 on a dell laptop to connect to internet

    Hi,
    I am student and have installed Solaris 10 on my Dell laptop using SUN's Virtual box. I also have Opensolaris on my laptop that is able to connect to internet using any available wireless because of its auto settings. Can some one please guide me with the steps or tutorial to configure Solaris 10 to connect to internet either by LAN or wireless(preferable)
    Some information about my Laptop:
    Windows IP Configuration
    Wireless LAN adapter Wireless Network Connection:
    Connection-specific DNS Suffix . :
    Link-local IPv6 Address . . . . . : fe80::548:a39d:e943:4144%12
    IPv4 Address. . . . . . . . . . . : 192.168.100.198
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.100.1
    Ethernet adapter Local Area Connection:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Ethernet adapter VirtualBox Host-Only Network:
    Connection-specific DNS Suffix . :
    Link-local IPv6 Address . . . . . : fe80::4112:b7fa:5de1:2f6e%15
    IPv4 Address. . . . . . . . . . . : 192.168.56.1
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . :
    Tunnel adapter Local Area Connection* 6:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Tunnel adapter Local Area Connection* 7:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Tunnel adapter Local Area Connection* 11:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Tunnel adapter Local Area Connection* 14:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 0.0.0.0 netmask ff000000
    ether 8:0:27:60:84:8d
    #netstat -nrv
    IRE Table: IPv4
    Destination Mask Gateway Device Mxfrg Rtt Ref Flg Out In/Fwd
    224.0.0.0 240.0.0.0 127.0.0.1 lo0 8232* 0 1 U 0 0
    127.0.0.1 255.255.255.255 127.0.0.1 lo0 8232* 0 33 UH 976 0
    Please let me know if you need any other information

    For a start I would give my interface an inet number:
    ifconfig <interface> inet <ip_address>
    ifconfig e1000g0 inet 192.168.100.198
    ...further than that I would need to study.
    Also see " How to configure internet Solaris 10" thread .
    http://forums.sun.com/thread.jspa?threadID=5093731&tstart=0
    Edited by: plasmichive on Nov 10, 2009 10:25 AM

  • MGW: How to configure subscriber to try reconnect more than 16 time?

    In MGW we have registered a WMQ foreign queue and added a subscriber and a propagation schedule for INBOUND_PROAGATION. In general, everything seems to be working fine. We do successfully get messages from WMQ.
    However, admins restart WMQ every night. So, every morning when we come in we see this in the view MGW_SUBSCRIBERS:
    SUBSCRIBER_ID = SUB_WMQ2AQ_EFLDRTRANS
    FAILURES = 16
    LAST_ERROR_DATE = [today]
    LAST_ERROR_TIME = [around 5:20 AM]
    LAST_ERROR_MSG = MQSeries queue manager, MV17WA01, creation failed errorcode = 800
    We have found that if WMQ is restarted fast enough, before the subscriber fails 16 times, everything works fine again. Also, we have found that after 16 failures, all we have to do is reset the subscriber and everything works fine again.
    So, question: How can we configure the subscriber so that it tries to reconnect more than 16 times?
    TIA. ASD
    Edited by: user11135387 on Apr 1, 2011 5:17 AM

    hi,
    Suppose my form contains the following fields as:
    Project,Category,Start Time,End Time,Task Assigned,Task Description
    and I want to apply databank values for these fields
    Steps which i do are as follows.
    1. First of all i Configure the databank file as:
    Project,Category,Start Time,End Time,Task Assigned,Task Description
    and the values pass are :
    Orgnization Process,General,13: 00,14 : 00,test1,test2(in the first row)
    NMDGF,General,14:00,15:00,test3,test4(in the second row).
    2. After configuring the databank file i have to link with Script node. But since there are more than one fields so how i can link the csv file with script node?
    as for the single variable script node , i just substitute the value and link with the databank file its work perfectly fine and it add the folowing code in java code
    getDatabank("Timesheet Project").getNextDatabankRecord(); in the starting of run function
    3. So i have to add custom code for fetching the value for the next field? As I am not so gud in Java Code so what wil be the code to fetch the values for the next field from CSV file

  • Iphone model:A1332 EMC 380A FCC ID:BCG-E2380A IC:579C-E2380A how to configure WiFi as no WiFi is being Searched/connected?

    iphone model:A1332 EMC 380A FCC ID:BCG-E2380A IC:579C-E2380A
    Why WiFi is not being searched and connected??
    How it can be resolved?

    Do as the manual suggests and restore from backup.  If no backup exists, restore as new.

  • How to configure wrt54g router as an access point when connected to a 3Com switch

     I'm trying to use my linksys router as an access point to keep from having to make more network drops. I can't figure out which IP address/gateway to use on my router to get it to communicate with my switch. The 3Com switch address is 10.1.10.250, gateway is 10.1.10.1, netmask is 255,255,255,0.The linksys router has been reset to defaults.
    I know that it can be done but I'm having the hardest time making it work.

    For the DD-WRT firmware, you can try this link .
    For the price of your Acess Point you can try this link .

  • How to configure dhcp client identifier

    Hi Everybody,
    The DHCP client ID is an id that is unique for DHCP clients at least in the same subnet. Usually the client uses MAC-address as Client-Identifier in the DHCPDISCOVER message. The Client-Identifier may be different other than MAC-Address, For example a FQDN name, as per the RFC 2132 Ref, (code 61).+_
    Usaually, we use the following to bind the ip address based on MAC-address
    pntadm -r SUNWfiles -p /var/dhcp -A 10.42.32.86 -i '0:3:ba:a5:a9:93' -a 10.42.32.80
    At server side, I am using the following for specifying the FQDN name.
    pntadm -r SUNWfiles -p /var/dhcp -A 10.42.32.86 -i 'one.atr.com' -a 10.42.32.80
    and at client side, I am inserting the following entry in the /etc/default/dhcpagent file
    CLIENT_ID='one.atr.com'
    But this is not working. What I am doing wrong.
    +1. At the server side, then how to assign the ip addresses to the clients , if the Client-Identifier is FQDN name in the DHCPDISCOVER message other than MAC-Address.+
    +2. How to configure the client-identifier as FQDN name at client side.+
    Please help me,
    Thanks Inadvance,
    Mummaneni.

    Sandman,
    Here is an example of a router acting as a DHCP server. Please remember that you have to exclude IP addresses that you don't want to lease out.
    ip dhcp pool example
    import all
    network 192.168.1.0 255.255.255.0
    dns-server 1.2.3.4
    default-router 192.168.1.1
    ip dhcp excluded-address 192.168.1.1 192.168.1.149
    ip dhcp excluded-address 192.168.1.200 192.168.1.254
    HTH,
    Mark

  • How to use the "identify" feature in new 6.3.1 airport utility?

    how to use the "identify" feature in new 6.3.1 airport utility?
    so you can find the basestations in larger networks?

    There is a workaround, which is to use Airport Utility 5.6.
    I can confirm that 5.6 will run on 10.8.4 Mountain Lion, it will recognize the new 2013 Airport Extreme Base Station (A1521) running firmware 7.7.1, and it will give you access to view the device's Log & Statistics, DHCP Clients, and Profiles.
    Four caveats:
    1) The easiest way to install it is to download the app itself, not an installer or through the App Store. There is a page here where you can download the app: http://coreyjmahler.com/2013/03/08/airport-utility-5-6-on-os-x-v10-8-mountain-li on/ This way, you still have both versions, Airport Utility 6.x.x and 5.6.
    2) When you launch 5.6, you'll get a message saying a newer version is available and asking if you want to update. Click Cancel to proceed into the utility.
    3) When you click the Manual Setup button in 5.6, you'll get a warning dialog that "This version of AirPort Utility doesn't support this AirPort wireless device and might improperly configure the device if you continue to use it. Check www.apple.com/support/airport for the latest version of AirPort Utility." You can click Continue to get into the utility without issue.
    4) You should probably only use 5.6 to view the additional status details. I have not tried to modify and save any AEBS settings using 5.6. There are other discussions here in the forums indicating that attempting to save settings via 5.6 that are no longer available in 6.3.1 will not actually save the settings to the AEBS even if both utilities indicate that the settings are changed. See https://discussions.apple.com/message/22677993#22677993
    So, even though you can't use it to modify settings no longer available in Airport Utility 6.3.1, using Airport Utility 5.6 to view DHCP clients, Logs and Statistics is very useful for troubleshooting network issues.
    PS - There are two ways to get to the DHCP Clients list, neither of which is obvious The first is to go to the Airport pane -> Summary tab and click on the "Wireless Clients:" label in the Summary display. All of the labels from "Wireless Mode:" down on the Summary display operate as links to view/edit the corresponding info/settings, which is also not obvious at first glance. Also not obvious, clicking on "Wireless Clients:" actually brings up a new pane with three tabs: Logs, Wireless Clients, and DHCP Clients. You can also get to the same pane by going to the Advanced pane and clicking on the Logs and Statistics button.
    I hope this is helpful information. Took me a while to find out how to do this.

  • Need Help: How to configure/set-up custom interchange code values in B2B

    Hello All,
    Hope everybody is doing well.
    We are currently facing a problem in implementing Inbound 850 Purchase Orders in B2B from one of our Trading Partners (Customer).
    The Customer will be sending us EDI ANSI X12 ver 4010 Purchase Order files, but in the file they are sending a custom GS08 (8th element of GS Segment having Version/Release/Industry Identifier Code) value i.e. "004010RIFMAT".
    The above value is not present in the Standard Code values when we define an ECS using B2B Document Editor.
    Hence the document is failing in B2B since it is not able to identify the Trading Partner.
    If anyone has faced similar issues, I would appreciate if you could let me know on how to configure the same in B2B. Please let me know the steps in detail.
    Thanks In Advance.
    Regards,
    Dibya

    Hello Dibya,
    Can you create a new group ecs with appropriate codelist for GS08 and use it while modelling B2B flow. Make sure to undeploy and validate the agreement.
    Rgds,Ramesh.

  • How to configure for the give senario where we from APO demand planning, we provide baseline forecast into TPM

    Hello Guru's,
    Request for information on smart documentation on the integration between Trade Promotion Management and SCM-Demand Planning from an architecture perspective how to configure for the give senario where we from APO demand planning, we provide baseline forecast into TPM and from TPM promotions values can be considered in to APO demand planning: can anybody give me some insight on it.
    Thanks in advance.
    Kumar

    Hi Praveen
    There are several ways you can connect a DP system to a TPM. How are your interfaces and systems setup?
    Option1:
    Extract the baseline from APO to a BW cube, extract the data out of BW, may be using infospokes/open hub and pass it on to TPM.
    2. Have a custom program written in APO-DP to extract the selected keyfigure data at the aggregation level into an interface or a .txt file into APO directory and use some data transfer service such as EDI to take this data and send to TPM.
    In my experience it is simple to define an integration process. The much larger and complicated aspects are the date adjustments and the aggregation levels.
    Date adjustments:
    Understand the basis of the data in APO and TPM. APO is usually at the requested delivery date or material availability date ( when the customer like a store wants the product). However TPMs are usually at the consumption date ( when an end customer like you and me but from store shelf). Depending on the product and business style this can mean several days difference. Let's say it is 25 days on average, you need to add 25 days to APO base line date to get the TPM consumption date.
    Aggregation level:
    This can be product or customer. If the planning in DP is at product sku level and the TPM is at packs or brand level, you need to aggregate the data up before loading to TPM. The same with customer.
    To me the most complex part of the integration is to understand and transform the data in a meaningful way and a strategy to sustain this integration by keeping both DP and TPM in sync in terms of master data. Also important to have a process for identifying exceptions and failures. you send baseline from DP to TPM and if it fails, how do you know? how do you trouble shoot?
    Hope these help.

  • How to configure the ApprovalTask.task

    Hi,
    I have to create a SOA workflow in OIM and we have three different scenario's to be covered in workflow for same Resource Object In OIM.
    1) Some User need only Manger Apporval
    2) Some User need only  Resoure Administaror Group Approval
    3) Some User need need both group and Resouce Administrotor Approval.
    From Java code in Jave Embeeded task i can decide what type of approval need(above three) but
    I am not able to understand how we configure this in Apporval.task in SOA so that it does approval accordingly . Can someone please assist me.
    Thanks,
    Raj.

    Write your code with all your scenarios so that in the end you have identified the values for each possible approver.  If one is not needed, set the value to "false" or some other value and pass it back into your payload.  In your approval task, create an assignment for each.  In the bottom section of each assignment, there is an entry that lets you set an ignore value so use the payload value = 'false' comparison for that assignment.  Then it will skip any of the other approval task assignments in your list of approval tasks.  This will let you still have a single approval task for all the combinations.
    -Kevin

  • Forms-how to configure

    Hi Guys,
    I am new to ABAP and have just started learning. I have worked on few objects in forms but i have few questions.
    1. Can you please let me know how to configure smartform or sapscript to the transaction? I tried searching through the forum but i was not able to find any post which explains just how to configure the form or in other words how to invoke to form from the transactions?
                       For example, i have created a smartform from the SMARTFORMS transaction. Now how to link that to an existing transaction?
    2. How will we identify for a particular scenario that smartform is to be used or sap script is to be used?
    Waiting for your help.
    Thanks,
    Alex

    Hi,
    For Scripts:
    Go to transaction SE71 and develop the form,
    Go to Se38(Abap editor) with the function modules(open_form, write_form,close_form) execute that form .
    For Smartforms:
    Go to transaction smartforms and develop the form, Click on Environment tab-->Functionmodule is generated for that particular form.
    Go to transaction Se37 and give the function module of the form and execute it.
    For examples search in SDN.
    Hope this helps you.
    Regards,
    Rajani

  • Owb92 demo: How to configure workflow database link?

    Hi,
    I follow the doc for owb92 demo, but got error while deploying the wh_proc_loc. The error is as follows. How do configure workflow database link on owb? Thanks.
    RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow Database Link ORCL.US.ORACLE.COM@WB_LK_LD_OLAP. Please check that "EXECUTE ANY PROCEDURE" privilege is set and that the OWB Runtime is available.
    - ORA-06550: line 1, column 7:
    PLS-00201: identifier '[email protected]@WB_LK_LD_OLAP' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    Have you checked whether none of the specified errors applies?
    - The user needs the "EXECUTE ANY PROCEDURE" privilege
    - OWB Runtime available, this could mean several things:
    ......* runtime repository unavailable (as in not installed?... unlikely)
    ......* runtime platform service unavailable --> try running service_doctor.sql in directory <your OWB home>\owb\rtp\sql\
    Good luck, Patrick

  • How to configure Grub or enable dual boot Windows7 & Oracle Enterprise Linux6

    Hi,
    I had Windows 7 installed on my PC and later on I have installed Oracle Linux6 (Server).
    While installation I didn't get any option to configure dual boot and now I am unable to boot Windows7.
    If I do fsdik -l command on Linux prompt, I get the result:
    # fdisk -l
    Disk /dev/sda: 160.0 GB, 1600041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum.optimal): 512 bytes / 512 bytes
    Disk identifier: 0x9143f05b
    Device           Boot     Start     End     Blocks          Id     System
    /dev/sda1       *          1          1305    10482381     83     Linux
    /dev/sda2                  1306     6405    40960000      7       HPFS/NTFS
    /dev/sda3                  6405     12779  51200000      7       HPFS/NTFS
    /dev/sda4                  12779    19458 53646336      7       HPFS/NTFS
    I check the grub config file at /boot/grub/menu.lst but I do not see any entry for windows here.
    Please advise how to configure grub or other way to make the dual boot options enable and use windows and linux.
    Thanks in Advance.
    Anand

    Could you post your menu.lst file?
    It's not clear which exact partition Windows 7 is on from fdisk -l, but you could try adding this to your menu.lst file:
    title Microsoft Windows 7
    root (hd0,1)
    savedefault
    makeactive
    chainloader +1

  • How to configure oracle listener profile for multiple oracle database

    Hi,
    I am going to install solution manager system in the same server of ERP EHP4 on Windows. Both DB are oracle.
    I'd like to know how to configure listener in this kind of envirnmonent.
    a. use two listener and different ports
    b. use same listener but different ports
    c. use same listener and same port
    Which is the correct mothed?
    And, after installation, there seem three set of profiles of listten, one for ERP, one for SLM, and the other for OS?(%windir%system32), which one is functional?
    Please advise.
    Thanks a lot.
    Regards,
    Alex

    Hi,
    standard installation is creating new configs for listener for each instance.
    I would recommend to use one listener per each instance.
    YOU CAN NOT HAVE one port number for two differnet systems!
    If you want to use one listener than you must adapt tnsnames.ora, listener.ora and ensure that both systems will use different port numbers.
    For example PORT= 15<system number>
    Peter

  • How to configure one TREX host with multiple index servers ?

    Hi All,
    Does anyone know how to configure TREX on the one host,
    with multiple index servers ?
    Reason for this is to make better use of resources available on the host server(4 Gig, 4 Processor, Windows2003), to improve the search performance of
    our KM content for portal users.
    I am using TREX 7 and have not been able to do this,
    despite reading the Single and Distributed install
    documentation.
    Any help would be appreciated.
    Regards,
    Andres

    Hi Andres,
    To make use of the RAM a Server provides you have to run two indexserver processes (each can then consume 2 GB);
    Proceed like this:
    1. Go to TREXdeamon.ini; check if section [indexserver2] is there (it is already provided, but not active in standard installation)
    2. In TREXdeamon.ini go to
    [daemon]
    references sections below
    programs=nameserver,preprocessor1,indexserver1,queueserver,alertserver
    and add indexserver2 here. Restart TREX; second porcess is then started; can be checked in TREX monitor in Portal as well
    3. To distribute existing indexes to the new process, start TREXadmintool and go to Index: Landscape
    Go to the last two columns and move the indexes (move master here/secondary mouse click)
    If you don't distribute the indexes the new index server process will be regarded when an new index is created.
    Hope this helps!
    cheers
    Bettina

Maybe you are looking for

  • How do i change the format of a single page in pages 09?

    How do i change the format of a single page in pages 09? I want a page to be landscape within a portrait-format doc.

  • [OIM] Automate AD provisioning with multiple custom rules.

    I am working on setting up provisioning automation and I'm very confused about the best way to do it. I need to have OIM do the following when creating an Active Directory Account If the user is an employee put them in container X if they are a contr

  • Enum type is retrieving me a null reference

    Hi, i have a very strange bug in my code that is messing me up. I defined two enum types in separated files like this: public enum Section {      SectionA, SectionN; public enum Subsection {     SubA(1, SectionA), SubN(2, SectionN);     private Secti

  • How to export all distribution group display names and group notes

    We would like to create a list of distribution groups that includes the "Notes" information and email address.  I have found several option, but none of them reveal the Notes.  Where is the "Notes" information for groups and how can we report on it?

  • Windows 7 on T61

    Hi, A lot of Infos on Windows 7 for new shipping laptops is available on the Lenovo Website... http://forums.lenovo.com/t5/Windows-7-Launch/Lenovo-and-Windows-7-Information/td-p/167070 Anyone knows how to get a Windows 7 CD/DVD for a T61 bought 1,5 y