Call other DB from Form6i

Has anyone successfully set up Oracle Heterogeneous Services in Oracle 8.1.7 against MS Access on Windows 20000?
I modify tnsname.ora and listener.ora as documents in technet.oracle.com told me but it does not work. I receive errors that "ORA-02019: connection description for remote database not found".
How can I solve this problem? Any idea or anybody that success in set this thing up, please tell me.
Thanks in advance,
Oil
null

Has anyone successfully set up Oracle Heterogeneous Services in Oracle 8.1.7 against MS Access on Windows 20000?
I modify tnsname.ora and listener.ora as documents in technet.oracle.com told me but it does not work. I receive errors that "ORA-02019: connection description for remote database not found".
How can I solve this problem? Any idea or anybody that success in set this thing up, please tell me.
Thanks in advance,
Oil
null

Similar Messages

  • EJB 3.1 @Asynchronous and calling other methods from within

    Hey all,
    I am helping a friend set up a test framework, and I've turned him on to using JEE6 for the task. I am decently familiar with entity beans, session beans, and such. One of the new features is @Asynchronous, allowing a method to be ran on a separate thread. The test framework generally needs to spawn potentially 1000's of threads to simulate multiple users at once. Originally I was doing this using the Executor classes, but I've since learned that for some reason, spawning your own threads within a JEE container is "not allowed" or bad to do. I honestly don't quite know why this is.. from what I've read the main concern is that the container maintains threads and your own threads could mess up the container somehow. I can only guess that this might be possible if your threads use the container services in some way.. but if anyone could enlighten me on the details as to why this is bad, that would be great.
    None the less, EJB 3.1 adds the async capability and I am now looking to use this. From my servlet I use @EJB to access the session bean, and call an async method. My servlet returns right away as it should. From the async method I do some work and using an entity bean store results, so I don't need to return a Future object. In fact, my ejb then makes an HttpClient call to another servlet to notify it that the result is ready.
    My main question though, is if it's ok to call other methods from the async method that are not declared @Asynchronous. I presume it is ok, as the @Asynchronous just enables the container to spawn a thread to execute that method in. But I can't dig up any limitations on the code within an async method.. whether or not it has restrictions on the container services, is there anything wrong with using HttpClient to make a request from the method.. and making calls to helper methods within the bean that are not async.
    Thanks.

    851827 wrote:
    Hey all,.. from what I've read the main concern is that the container maintains threads and your own threads could mess up the container somehow. I can only guess that this might be possible if your threads use the container services in some way.. but if anyone could enlighten me on the details as to why this is bad, that would be great.
    Yes since the EE spec delegated thread management to conatiners, the container might assume that some info is available in the thread context that you may not have made available to your threads.
    Also threading is a technical implementation detail and the drive with the EE spec is that you should concentrate on business requirements and let the container do the plumbing part.
    If you were managing your own threads spawned from EJBs, you'd have to be managing your EJBs' lifecycle as well. This would just add to more plumbing code by the developer and typically requires writting platform specific routines which the containers already do anyway.
    >
    None the less, EJB 3.1 adds the async capability and I am now looking to use this. From my servlet I use @EJB to access the session bean, and call an async method. My servlet returns right away as it should. From the async method I do some work and using an entity bean store results, so I don't need to return a Future object. In fact, my ejb then makes an HttpClient call to another servlet to notify it that the result is ready.
    My main question though, is if it's ok to call other methods from the async method that are not declared @Asynchronous. I presume it is ok, as the @Asynchronous just enables the container to spawn a thread to execute that method in. But I can't dig up any limitations on the code within an async method.. whether or not it has restrictions on the container services, is there anything wrong with using HttpClient to make a request from the method.. and making calls to helper methods within the bean that are not async.
    Thanks.If you want to be asynchronous without caring about a return value then just use MDBs.
    The async methods have no restrictions on container services and there is nothing wrong with calling other non async methods. Once the async method is reached those annotations don't matter anyway (unless if you call thhose methods from a new reference of the EJB that you look up) as they only make sense in a client context.
    Why do you need to make the call to the servlet from the EJB? Makes it difficult to know who is the client here. Better use the Future objects and let the initial caller delegate to the other client components as needed.

  • Call other programs from Java

    There is this command line program I want to wrap with a Java class in order to make it available so that it can be transparently called.
    How can I call or execute external programs/commands from JAVA...
    is not native code that I want to run...
    Thank you

    Runtime.getRuntime().exec("your command line")... you could read more about it in the API documentation.

  • How to call other execs from java application

    What is the best way to make a call to execute an external executable written in another language (i.e. c++ or ada95) from within a java application?

    Hi,
    Runtime.getRuntime().exec(new String[]{"C:\\Office\\winword.exe"});
    you should catch IOException as well.
    Phil

  • Call other dc from dc

    Hi Experts,
    I created a PeoplePicker dc where I can search for portal users.
    Now I want to use this dc in other dc. I thought about using a button which calls/opens the peoplePicker where I can search for a user, select it and return/pass that user to the first dc. I tried component usage and embedded the Interface View into a UIContainerElement. So I am able to display the view and search for the user. But I want to get the selected User back to my first dc with context mapping, but I don't know how.
    Any ideas how I can resolve that
    Best regards Manuel

    Hi,
    To make a dc available in another one
    1) You have to have a public part
    2) You need to expose the methods and context (if needed) using interface controller.
    3) Expose views using interface views.
    Following article explains this in detail
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/800b7206-9c6d-2910-f78e-ce4034716c56
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f07c3625-c971-2910-3a9c-ce131487f82c
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=webDynproComponentization&adv=false&sortby=cm_rnd_rankvalue
    Regards
    Ayyapparaj

  • Calling other servlets from a servlet

    Hi!
    I'm new developing Servlets. I'm trying to include a request like this:
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter toAnotherServlet = response.getWriter();
    RequestDispatcher sejuiste = config.getServletContext().getRequestDispatcher("/AnotherServlet");
    if(sejuiste != null) {
    try {
    sejuiste.include(request, response);
    catch (Exception e) {
    System.out.println(e.getMessage());
    toAnotherServlet.println("</html>");
    toAnotherServlet.close();
    In the compilation I have the following message:
    config has private access in javax.servlet.GenericServlet
    What I'm doing bad?
    Thanks
    Jogom

    use getServletConfig() method instead of accessing the config object directly
    the config object has private access, you can use it within
    the GenericServlet class only.

  • Is it possible that vi form will remain contantly on screen even if I'm calling other vi's from testend test sequenc?

    I'm using testend 3.1 & labview
    7.1. For testing my UUT I'm using  RS232 comunication. I want to
    create a form using labview that will show all traffic via the rs232
    port.
    The problem is that the form is disappeared when I'm calling other vi from testend.

    Hi ofer_o,
    You could use the "Labview Utility/Run VI Asynchronously" Step to call your RS-232 vi.
    See attached.
    Charlie Rodway
    Test Design Engineer
    Rolls-Royce Controls and Data Services Ltd
    Attachments:
    cpr1.zip ‏19 KB

  • Is it possible to call other applet?

    Hi Friends..
    I want to know, is it possible to "CALL" other applet from one Applet?..
    And is it a good implementation or not?..
    Could you describe the Applet that call other Applet, perhaps through the example application maybe..
    Thanks in advance..

    Hi,
    You can call the process method on another applet if you wish (if it is in the same package) or you can use Sharable Object Interfaces (outlined in the user guide). We have used SOI extensively to share data between applets in different packages (and as such different contexts on the card).
    Cheers,
    Shane

  • Calling diff infotype from another infotype!!

    hi
    is ther anyway i can call other infotype from my current infotype for eg suppose i am in my custom infotype and then i do some activities and based on which the value will b calculated and needs to be put into infotype 8.
    regards
    gunjan

    Hi,
    I tried this some time ago and found out that it did not work!
    HR_INFOTYPE_OPERATION calls HR_MAINTAIN_MASTERDATA. This creats a batch-input which at the end calls dialog program SAPFP50P, which is already running to change the first infotype.
    In my tests, afterwards screens were messed up and program stopped with different error messages.
    I did following workaround:
    - call perform in customer program from dynamic action to do the calculations
    - when back from customer program to dynamic aciton do the infotype modification with data in structure RP50D
    dynamic action look like this:
    F   FORM_1(Z_CUSTOMERPROG)
    P   RP50D-FLAG1='X'
    I   DEL,0019,(RP50D-DATE2),,(RP50D-DATE1)/D
    hope this helps
    Herbert

  • Error when call javabean from form6i

    I try to call javabean from Form6i. I have downlaoded four excample from Oracle Sample Code. But I can't run the example whenever from Form Builder or browser. When I run the html in IE or Natscape browser, I meet a eorror message :
    java.lang.NoClassDefFound Error: sun/applet/AppletViewer
    I have copy all example classes into e:\orant\forms60\java\oracle\forms\demos\ directory and the jar file copy into e:\orant\forms60\java directory.
    Inside the html I set the codebase to e:\orant\forms60\java.
    Is there any error or I still need to set some anothers settings?
    Help please?
    null

    Hi Adnan
    I have configured my apps similary the example in
    \orant\tools\devdem60\web then it rans fine.
    Thanks,
    Ruy Chicaco.
    Adnan Imtiaz (guest) wrote:
    : Hi there,
    : I'm facing the same problem myself...but mine goes into doing
    : something & returns an "Internal Error" message in the
    : browser....
    : Try running the static HTML file from its directory & see
    whether
    : that even runs or not....
    : Any helpp would be greatly appreciated.....
    : Thanks.
    : Ruy chicaco (guest) wrote:
    : : I have used OAS 4.0.7 with yt40.dll upgraded, NT 4.0
    : : SP4 and Developer 6.
    : : I have configured application cartridge according Developer6
    : : Server doc instructions.
    : : When I call fmx from browser Netscape 4.6
    : : (http://hostname/webforms?module=fmx_name) the error "Applet
    : : oracle.forms.engine.Main class oracle.forms.engine.Main could
    : not
    : : be loaded".
    : : OAS inserts in file \orant\ows\website40\log the message
    : : "Parameter module is missing from URL and cartridge settings"
    : : Can anybody help me please?.
    : : Ruy Chicaco
    null

  • 3 iphones in household.All use same apple ID.But all contacts get mixed between phones and facetime calls come in from other contacts.Ho can we change this so our phone information isn't visible to each other?

    3 iphones in household.All use same apple ID.But all contacts get mixed between phones and facetime calls come in from other contacts.How can we change this so our phone information isn't visible to each other?

    Use separate Apple IDs for each family member and use Family Sharing features of those things (if any) that you do want to share. https://www.apple.com/ios/whats-new/family-sharing/

  • HI JUST COPYED CALL OF DUTY FROM ONE OF MY MACS TO OTHER IT WILL NOT WORK ON THE OTHER ONE?

    HI JUST COPYED CALL OF DUTY FROM ONE OF MY MACS TO OTHER IT WILL NOT WORK ON THE OTHER ONE?

    Are you saying that you bought the game from the App store and made another copy onto a dvd so you can play it on another computer too?  If so, you can not do that, you have to buy it again for the other computer.

  • I have recently upgraded to iPhone 5 from 4, call line identity doesn't work when call other iPhones.  It works when calling any other brand of cell phone.  Network carrier assures me problem is not on there side.  Any assistance will be appreciated.

    I have recently upgraded to iPhone 5 from 4, call line identity doesn't work when call other iPhones.  It works when calling any other brand of cell phone.  Network carrier assures me problem is not on there side.  Any assistance will be appreciated.

    I have recently upgraded to iPhone 5 from 4, call line identity doesn't work when call other iPhones.  It works when calling any other brand of cell phone.  Network carrier assures me problem is not on there side.  Any assistance will be appreciated.

  • How to Call HTTP Sender Adapter of Other Scenar from HTTP Receiver Adapter?

    Hi,
    I have a requirement to call HTTP Sender Adapter of Other Scenario from HTTP Receiver Adapter?
    or
    call SOAP Sender Adapter of Other Scenario from SOAP Receiver Adapter?
    i.e
    SOME SENDER - > PI - > HTTP Receiver - > calling -> HTTP Sender -> PI -> SOME RECEIVER
    SOME SENDER - > PI - > SOAP Receiver - > calling -> SOAP Sender -> PI -> SOME RECEIVER
    if any one can provide me the screen shot for those SOAP / HTTP Sender or Receiver ADAPTER.
    or Point me to Some article with Screenshots .
    That would be appreciated with Point.
    Regards
    PS.

    Solved .  .

  • Canu00B4t call an EJB from other EJB

    Hi developers,
    I need do the next task :
    I have a EJB in an EAR and i need call some functionality from other EJB in diferent EAR , when execute the code show the next message error:
    java.rmi.RemoteException: com.sap.engine.services.ejb.exceptions.BaseRemoteException: Exception in method generaMDMOutput.
         at com.sapconsulting.customer.inc.CustomerIncObjectImpl0.generaMDMOutput(CustomerIncObjectImpl0.java:135)
         at com.sapconsulting.customer.inc.CustomerIncObjectImpl0p4_Skel.dispatch(CustomerIncObjectImpl0p4_Skel.java:127)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java(Compiled Code))
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java(Inlined Compiled Code))
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Caused by: java.lang.ClassCastException: com.sap.engine.interfaces.cross.ObjectReferenceImpl
         at com.sapconsulting.customer.inc.CustomerIncBean.generaMDMOutput(CustomerIncBean.java:141)
         at com.sapconsulting.customer.inc.CustomerIncObjectImpl0.generaMDMOutput(CustomerIncObjectImpl0.java:119)
         ... 11 more
    the code to invoke the EJB is the next:
    ctx = new InitialContext();
    TestEJBLocalHome home = (TestEJBLocalHome) ctx.lookup("sap.com/TestEJB_ear/TestEJBBean");
                   TestEJB servicio=(TestEJB)home.create();
    the EJB are in the same server , please help,
    regards

    Hi Siarhei,
    thank's for your answers , i'll explain the scenario , i think i copied wrong the code that i have ,
    i have two EAR's applications , i want to call one EJB from the other EJB in other EAR , the call have to be remote , my code is the next :
    ctx = new InitialContext();
    Object obj = ctx.lookup("sap.com/TestEJB_ear/TestEJBBean");  
    TestEJBHome home = (TestEJBHome) PortableRemoteObject.narrow(obj,TestEJBHome.class);
    TestEJB servicio= home.create();
    i've confugured the ejb-xml.jar adding
    <ejb-ref>
    <ejb-ref-name>ejb/TestEJBBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.innovativesystems.onl.TestEJBHome</home>
    <remote>com.innovativesystems.onl.TestEJB</remote>
    </ejb-ref>
    I've configured the  ejb-j2ee-jar.xml adding
    <ejb-ref>
    <ejb-ref-name>ejb/TestEJBBean</ejb-ref-name>
    <jndi-name>sap.com/TestEJB_ear/TestEJBBean</jndi-name>
    </ejb-ref>
    I've configured the application-j2ee-engine.xml adding a hard reference
    <reference
    reference-type="hard">
    <reference-target
    provider-name="sap.com"
    target-type="application">TestEJB_ear</reference-target>
    </reference>
    with all this configuration still send me the message java.lang.classcast ,
    something is missing????  ,
    regards

Maybe you are looking for

  • Data Back Up: N70 me

    I have downloaded latest PC software for my N70 me. I had to as I am using Windows Vista. But I am facing a peculiar problem when I try to back up files on my phone. When I try to back up data, the back up process stops at 40-50 per cent. Then I get

  • TS3899 Mail usage, 570mb even though it's empty??

    Trying to save some space, have deleted all old messages and restarted, under usage, mail is biggest file : 570mb?? but nothing in there, any help to reduce it, thanks

  • Organisation structure-multiple plants miltiple POrg

    Hi, we have one company code 1000 which have three plants 2000, 3000, 4000. each plant has its independent Porg and purchasing activities, different master records and vendors. Porg are 1000 for plant 1000 Porg are 2000 for plant 2000 Porg are 3000 f

  • Macbook turns on but won't charge.

    Ok, so here's my quick story. Iced tea was spilled on part of my macbook about 2 weeks ago. It turned off and wouldn't turn back on. Later that day it turned on for about 30 mins and then turned back off. No noises were made, it turned off quietly. M

  • MB5S: Difference in GR qty and IR qty

    All SAP Gurus, We want a list of POs whose GR is done but IR (MIRO) not done and vice versa. For that we are referring the report MB5S. IN MB5S system shows the IR qty greater than GR qty (for custom's vendor). Can anyone please explain regarding thi