Dynamic un-link/re-link

I'm looking for help finding out how to dynamically relink to a different shared object. Say I have a piece of code that gets upgraded periodically and I don't want to restart the application to link to the new code.
I can pause the application and temporarily stop processing, but how do I programatically tell the program to link to the new object?
Despite my screename, the app is written in C++ (I wish it was Java).
javarocks

Checkout dlopen(3DL) and dlclose(3DL).

Similar Messages

  • No Fault When Dynamic Partner Link Is Down?

    Hello,
    I have an async process that establishes a dynamic partner link based on runtime data. I understand how to fire off to a dynamic partner link, however, I ran into a problem while testing a scenario where the partner link's endpoint is down.
    In situations where the dynamic endpoint is up, my process calls it without any problems. However, when testing what happens if the dynamic endpoint is not available, I expected the process to throw a fault that I can catch. What I find is that an exception is raised in the logs (see below), but the calling process does not throw a fault. The process also continues on as if the call were successful?
    Is there something that I can do to ensure that faults are raised in cases where dynamic partner links are down?
    <2008-06-07 21:42:13,413> <DEBUG> <default.collaxa.cube.ws> <WSIFInvocationHandler::invoke> invoke failed
    org.collaxa.thirdparty.apache.wsif.WSIFException: when invoking locally the endpoint 'http://alcalba2-lap:8889/orabpel/default/CDS_DNS_process/1.0', ; nested exception is:
    ORABPEL-00000
    Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-02178
    Process not found.
    The BPEL process "CDS_DNS_process", revision "1.0" has not been loaded. Either the process was not initialized properly or the process has been disabled.
    Please consult your administrator regarding this error. The application server logs may provide more information regarding this error.
    v10.1.3.3.0
    Thanks!

    There is a catch all block. I have no fault policies or fault binding set outside of what is defaulted.
    Shouldn't my catch all block be enough to pick this up? It's as if nothing is bubbling up to the process and I clearly see an exception in the logs.

  • Dynamic partner link in BPEL2.0 in SOA Suite 11.1.1.6.0

    Hi experts,
    I would like to use the dynamic partner links in BPEL2.0 in SOA Suite 11.1.1.6.0 but I get this error:
    <env:Fault xmlns:ns0="http://docs.oasis-open.org/wsbpel/2.0/process/executable">
       <faultcode>ns0:selectionFailure</faultcode>
       <faultstring>fromValue is nota  sref:service-ref element</faultstring>As I know the dynamic partner link (in BPEL2.0) was not supported in 11.1.1.5.0 but it is in 11.1.1.6.0. So it should work but unfortunately it doesn't.
    Could anyone please help me?
    Thanks,
    V.
          <assign name="Assign_set_EndpointReference_InventoryConfirmation">
            <copy>
              <from><literal><sref:service-ref xmlns:sref="http://docs.oasisopen.org/wsbpel/2.0/serviceref"
                                               reference-scheme="http://www.w3.org/2005/08/addressing">
    <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">
    <Address>http://localhost:8088/mockInventoryConfirmationBinding</Address>
    </EndpointReference>
    </sref:service-ref></literal></from>
              <to partnerLink="PL_InventoryConfirmation"/>
            </copy>

    That link leads to instructions for an async partner link. Is it appropriate for synchronous partner links?
    Frankly -- this documentation is really irritating. It makes a lot of assumptions and is far to vague in places. The very first thing it says is "Create a WSDL file that contains multiple services that use the same portType." but it doesn't specify which wsdl (I have several in my project) and seems to be drawn from some example code with no explanation.
    I have a wsdl for a partner link that looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions
         name="f17borrowerCheck"
         targetNamespace="http://xmlns.oracle.com/f17cPriorCaseCheck/f17borrowerCheck/f17borrowerCheck"
         xmlns:ns1="http://xmlns.oracle.com/A43ICSEF"
         xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
         xmlns:client="http://xmlns.oracle.com/f17cPriorCaseCheck/f17borrowerCheck/f17borrowerCheck"
         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
         xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing">
        <plnk:partnerLinkType name="f17borrowerCheck">
            <plnk:role name="f17borrowerCheckProvider" portType="client:f17borrowerCheck"/>
        </plnk:partnerLinkType>
        <wsdl:types>
            <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
                 xmlns:client="http://xmlns.oracle.com/f17cPriorCaseCheck/f17borrowerCheck/f17borrowerCheck"
                 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
                <import namespace="http://xmlns.oracle.com/f17cPriorCaseCheck/f17borrowerCheck/f17borrowerCheck"
                     schemaLocation="xsd/f17borrowerCheck.xsd"/>
            </schema>
            <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                <xsd:import namespace="http://xmlns.oracle.com/A43ICSEF" schemaLocation="xsd/a43cisef.xsd"/>
            </xsd:schema>
        </wsdl:types>
        <wsdl:message name="f17borrowerCheckRequestMessage">
            <wsdl:part name="payload" element="client:process"/>
        </wsdl:message>
        <wsdl:message name="f17borrowerCheckResponseMessage">
            <wsdl:part name="payload" element="client:processResponse"/>
        </wsdl:message>
        <wsdl:portType name="f17borrowerCheck">
            <wsdl:operation name="process">
                <wsdl:input message="client:f17borrowerCheckRequestMessage"/>
                <wsdl:output message="client:f17borrowerCheckResponseMessage"/>
            </wsdl:operation>
        </wsdl:portType>
    </wsdl:definitions>Edited by: Keith Fosberg on Oct 29, 2012 7:31 AM

  • Dynamic drill link is not working when i substitute some parameters in Plus

    Hi Gurus,
    Dynamic drill link is not working when i substitute some parameters in Discoverer plus(Tools--->Manage Links--->Edit links--->Parameters options), when i substitute some parameters it working when i click on drill value the link is popping up to go another worksheet.For some parameters link is not popping up. Could you please give any ideas.
    Thanks & Regards
    Vikram

    Hi Vikram
    Oh gosh, me and my big mouth!
    Patch 5381032 has two references to issues with links. You might want to discuss your scenario with Oracle and ask them if this patch would resolve your issue.
    Another solution would be to upgrade to 10.1.2.2 (available as a patch on MetaLink) which has most of the fixes from all of the patches applied. Again I would advise you speak with Oracle Support as they are the only one who can actually confirm whether this particular issue was fixed in this release.
    Are you by any chance seeing zero numbers display as 00 and are you seeing any graying out of icons? If so, then patch 5345595 (sometimes referred to as 5345528) fixes this and is a good patch to apply if you haven't already done so.
    All of these patches require a password which can only be obtained from Oracle by raising a service request to Support and stating the issues that you have.
    Hope this helps
    Regards
    Michael

  • A dynamic partner link for very distinct services.

    Hello,
    Is possible to create a dynamic partner link for very distinct services. for examples 10 services has different operation names, inputs, outputs.
    Thank you.

    Hello,
    You could use an Oracle Services Registry ( UDDI ) to store the WSDL and dynamically select the needed WSDL.
    Here is the general idea :
    http://chintanblog.blogspot.com/2008/04/performance-with-esb-and-bpel-run-time.html
    Cheers,
    Arnaud

  • Dynamic Url Link

    Hi,
    I want to generate a dynamic url link during the runtime (pick up fr database), which is to load an image from external source. How to do it programmatically?
    Any help would be much appreciated. Thanks.

    Hi Julius,
    Cant you use the LinkToURL element? For eg: like this,
    Create a LinkToURL element in your view. Give it a text like 'Click here to see photo'. The reference property of this element is bound to a context value attribute of type string. Bind the visibile property of this element to a context value attribute of type WDVisibility. This value is set to NONE in wdDoInit().
    When you know the value of the URL(for example , after a button click), form the URL value dynamically, set this value to the context attribute to which you have set the reference. At this point, set the visibility to true.
    Regards,
    Lm

  • Partner Link URL/WSDL or Dynamic Partner link

    We are using a service similar to CreditRatingService in orderBooking Tutorial as a partner link.
    The partner has different test vs production service.
    I was wondering during deplyment on production is it possible to specify the URL in config file or do I have to change the designtime location in jdev and then deploy it in prod.
    Can experienced folks here point me to deployment best practices ?
    Part2 : Where does dynamic partner link fit in ?

    JDeveloper is using ANT and is using a properties file during the compilation. You can change the properties when you want to deploy.
    http://orasoa.blogspot.com/2006/08/using-ant-in-bpel-environment.html
    Dyn PL are usefully when you want to call multiple/various web services that all take the same payload, but are using different end-points and operation. This reduces the code to make for every interface an PL.

  • Dynamic change link to data base

    Hello.
    I have project with 40 pages, in each page I have SQL request , like "select * from table@dbtest". I want dynamically change link to my test data base on to real data base.
    What should I do for that would when I selecting another base, link to data base changed in all SQL requests?

    Personally, I'd rather create a synonym yourtable=yourtable@dblink, and just use 'select * from yourtable' in Apex pages. You could also create view yourtable=select * from yourtable@dblink. I usually like to have a DB link named in a meaningful way, so that I know where it's pointing just by looking at the name.
    I usually start with a local table to get Apex to read the structure, and then just replace that with a synonym or view later.
    Edited by: maceyah on Jan 12, 2012 11:38 AM

  • Dynamically generated Link for View uFF1F

    i need dynamically create link,
    like HTML Code  <a href='URL'>text</a>
    public void wdDoInit()
    ArrayList al = .... (URL String List)
    for(int i =0;i<al.size(); i++)
    ..... HOW CODING??

    [How to dynamically insert UI to View|How to dynamically insert UI to View]
    duplicate thread
    Sarbjeet

  • Why we use Dynamic Partner Link in BPEL process

    hi,
    What is the purpose of using Dynamic Partner link in BPEL process ?

    Hi Shankari,
    apart of using the the config plan you can change the endpoint uri in runtime if you define the property "endpointURI" in your composite
    <binding.ws port="http://xmlns.oracle.com/bpel/workflow/taskService#wsdl.endpoint(TaskService/TaskServicePortSAML)"
    location="http://localhost:7001/integration/services/TaskService/TaskServicePortSAML?ORAWSDL"
    soapVersion="1.1">
    <property name="weblogic.wsee.wsat.transaction.flowOption"
    type="xs:string" many="false">WSDLDriven</property>
    <property name="endpointURI"
    type="xs:string" >http://localhost:7001/integration/services/TaskService/TaskServicePort</property>
    </binding.ws>
    then right click your composite in the enterprise manager and go to "Service/Reference Properties". There you can change the endpointURI property.
    You can also change the endpointURI inside your BPEL process. Go to the invoke inside the bpel process and go to the "properties" tab. There search for the property "endpointURI" and set a value.
    hope this helps
    cheers Nicolas

  • Crystal Reports XI R2 SP4 Dynamic Image link not shown through forward prox

    Hello,
    I've installed crystal reports XI R2 on a server which accesses the internet through a forward proxy.  I've created a sample report with a dynamic image link.  When I preview the report, the image shows up blank.  I am able to browse to the image using IE. 
    Further, using the same report on our lan machine (no proxy), works fine.  Any help you can provide is appreciated.
    Regards,
    Sujee

    Hi,
    It seems that Crystal Reports does not support accessing images through a proxy configuration.
    Hope this helps.

  • Dynamic Image Linking - HTTPS?

    Post Author: GPINC
    CA Forum: General
    We tried to use the dynamic image linking feature in Crystal 11 but it doesn't seem to like the links to our secure site (https). We moved the images to a non-secure http site and it worked fine. Since we don't want to keep the images on the http site, is there something we can do to make the https links work? Thanks in advance.

    Hi Ted,
    I'm not sure I understand your question fully but I'll try give more info.
    I have a parameter called Logo. The value of that parameter is a https url.
    The report loads and the image is not present.
    When I enter the url into a web browser the image loads correctly so the URL is correct.
    If I change the url to a http location it will display in the report.
    In Firebug I can see a request like this:
    https://localhost:8080/WebApp/CrystalReportViewerHandler?dynamicimage=crystal124058671923846987.png
    Firebug seems to think it has returned a blank image of size 262 * 262. The image I request is 113 * 113.
    When I use http the request is this:
    http://localhost:8888/WebApp/CrystalReportViewerHandler?dynamicimage=crystal12405854284818789047937565519495.png
    It returns the correct image.
    If I can give more info please let me know. I can just use a http location, that's no problem. Perhaps certs is causing it to not work.
    Regards,
    Patrick

  • Dynamic partner link for http binding

    Hi all,
    I'm writing BPEL code to call a web service with dynamic partner link.
    I'm succesful in soap binding but fail in http binding, it does not run with new given address.
    Could you please help me to solve this problem? Is the trouble coming from http binding?
    This is the successful part:
    - BPEL code:
    <assign name="assign-Address">
    <copy>
    <from>
    <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
    <Address>http://152.78.239.173/FusionWPS/Fusionservice.asmx</Address>
    </EndpointReference>
    </from>
    <to variable="partnerReference"/>
    </copy>
    <copy>
    <from variable="partnerReference"></from>
    <to partnerLink="WPS_Provider"></to>
    </copy>
    </assign>
    <invoke name="invoke-1" partnerLink="WPS_Provider" portType="nsxml0:FusionServiceSoap" operation="getCapabilities" inputVariable="getCapRequest" outputVariable="getCapResponse"/>
    - Binding and service:
    <wsdl:binding name="FusionServiceSoap" type="tns:FusionServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="getCapabilities">
    <soap:operation soapAction="http://www.opengis.net/wps/getCapabilities" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="FusionService">
    <wsdl:port name="FusionServiceSoap" binding="tns:FusionServiceSoap">
    <soap:address location="http://1acb152.78.239.173/FusionWPS/Fusionservice1.asmx" />
    </wsdl:port>
    </wsdl:service>
    This is the unsuccessful part:
    - BPEL code:
    <assign name="assign-Address">
    <copy>
    <from>
    <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
    <Address>http://153.96.8.132:80/52N-SOSv2-01-00/sos</Address>
    </EndpointReference>
    </from>
    <to variable="partnerReference"/>
    </copy>
    <copy>
    <from variable="partnerReference"></from>
    <to partnerLink="SOSProvider"></to>
    </copy>
    </assign>
    <invoke name="invoke-1" partnerLink="SOSProvider" portType="nsxml0:SOS" operation="GetObservation" inputVariable="getObservationREQ" outputVariable="getObservationRES"/>
    - Binding and service:
    <binding name="SOSBinding" type="tns:SOS">
    <operation name="GetObservation">
    <http:operation location=""/>
    <input>
    <mime:mimeXml part="parameters"/>
    <mime:content type="text/xml"/>
    </input>
    <output>
    <mime:mimeXml part="parameters"/>
    <mime:content type="text/xml"/>
    </output>
    </operation>
    </binding>
    <service name="SOS">
    <port name="SOS" binding="tns:SOSBinding">
    <http:address location="http://153.96.8.132:80/52N-SOSv2-01-00/sos1"/>
    </port>
    </service>
    Thanks for your help.
    An Le

    Dear all,
    Thanks for your pay attention on my question.
    I'm sorry, I have just taken my vacation, so I couldn't check your reply.
    c|3k: If the server is not available, it must be throw an error message. But in my case, it took the old address to run and give me a unexpected result.
    sashwat: I copied service name before, but it didn't work.
    But let me try again.
    Thank you all very much.
    An Le

  • Need Help Regarding Dynamic Partner Link

    Hi all
    I am new to this Oracle BPEL.
    I need to configure dynamic partner link.
    need help with this.........
    any useful links.. pls.

    Hi',
    Check this
    http://blogs.oracle.com/dasoa/entry/11g_dynamic_partnerlink_example
    there are plenty like this.
    -Yatan

  • Dynamic Partner Link.

    Hi,
    does anybody have an idea how to create a dynamic partner link.My requirement is that I recieve the service URL from database and then need to create a partner link to send message to that external service on that URL obtained.
    Anybody have any info on that .Please let me know.
    Thanks
    Deepthi.

    I haven't build this yet, so just some wild guesses.
    <variable name="partnerReference" element="wsa:EndpointReference"/>
    <assign>
    <copy>
      <from>
       <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
       <Address>http://localhost:9700/orabpel/default/UnitedLoan</Address>
       <ServiceName
         xmlns:ns1="http://services.otn.com">ns1:UnitedLoan</ServiceName>
       </EndpointReference>
      </from>
      <to variable="partnerReference"/>
    </copy>
    </assign>If i see this peace of code, you should be able to assign the address of the service.
    This value you will receive from the database service.
    This partnerReference variable you will use for the invoke of the partnerlink

  • Dynamic text link hover color change.

    I have some dynamic text in Flash and I have a link with the text. Is there a way I can change the hover color without CSS? Here is my code.
    thanks.
    data=EASTERN CANADIAN DISTRICT<br><a href='mailto:[email protected]'><font color="#51884B">Mike Linnen</font></a><br>905-430-0955<br>Cell: 905-409-7159

    Disable the "Show border around text" option of your dynamic
    text field.
    Draw a rectangle with the color you want, & locate it
    behind your dynamic text field.

Maybe you are looking for

  • Flash Builder 4 fails to compile Beta 2 code

    I just recently upgraded to FB 4 from Flash Builder 4 Beta 2. All my code worked in the Beta version, but stopped working in the released version. I was told to change my namespace declarations to mx from halo. I did this but problems remain. Now I'm

  • How do you synchroniz​e accesses to a LabVIEW Shared Variable?

    I would like to create an ad-hoc weather station program (I'll explain more in a bit).  I am using LabVIEW 8.0 Full Edition, and I would like to share data over a network between stations with the LabVIEW Shared Variable.  Here's what I want to be ab

  • Error while transfering condition adapter object

    In ERP I created new condition table A940 that uses also VKBUR (sales office). On CRM side I did all the steps according to Note 674538 - Copying conditions for sales office VKBUR into CRM. When I ran object DNL_CUST_CNDALL everything was transfered

  • Import text image  in Dreamweaver

    Hi All I have designed some text headings (which are in colour) with a transparent background  in fireworks and exported it (gif) to Dreamweaver. That is all good. But when I place the text image (as a background image) in Dreamweaver the text has (i

  • PE7 using Win7 64 bit Home Premium

    Hello I bought a new PC in April which has Win7 64-bit Home Premium on it. Although I had previously intended using this PC solely for music production, I've decided to also use it for some fairly basic AVCHD editing. Will I have any problems using P