Unable to execute a remote proc

Hi I am unable to execute a remote procedure from forms6i, and that procedure runs coolly form sql plus console. I just dont get any exception or error. Thats really pathetic for me now.
I need help.
thanx Rajeev

Hi ,
Remote procedure means the procedure in database. My database is in solaris, d2k on win2k and other database on win2k. I am executing a remote procedure on solaris Oracle db to poll data from win2k db using forms, i.e. on button click. The form user and the solaris db users are same. I am using dblink here.
Hope this helps in clarifying my query further.
thanx

Similar Messages

  • Help needed in executing a remote batch file

    I need to execute a batch file which is located on a remote machine through my machine. I have no idea to go about with. Please can someone help me out with can be used to execute the remote bat file. I am at present using Runtime.exec() to execute it on my machine.. But i cant use it to execute teh bat file on teh remote machine.Please help

    Below is an example server that would run on the remote host. You can connect to it using telnet from DOS prompt, it takes a Y/N to run your command in the cmd variable. I haven't included code for a client as it's really not needed for the example below.
    Change the cmd and port variables to what you need. You may need to setup firewall rules to allow your chosen port.
    Once it's running, you can test it by using "telnet localhost 1234" on your machine, localhost would obviously become the remote computer's hostname or IP.
    I am incredibly new to Java (using the forums to learn bits), so excuse any bad coding practises, I'm sure people will point them out.
    Keep in mind that this is totally insecure, so if you're using it on an untrusted network, you may want to look into encryption and providing some kind of password authentication, that, for the moment is out of my league.
    Screenshot here.
    import java.io.*;
    import java.net.*;
    class RemoteServer {
         public static int    port = 1234;           // Port to listen on
         public static String cmd  = "C:\\Test.bat"; // Command to run
         public static void main(String[] args)
              System.out.println("Waiting for connection...");
              try {
                   /* If you want the server to run forever, uncomment the while
                      loop */
                   // while (true)
                        startServer();
              } catch (IOException e) {
                   e.printStackTrace();
                   System.exit(1);
         /* Starts the server */
         private static void startServer() throws IOException
              ServerSocket server = null;
              Socket       client = null;
              String input;
              try {
                   server = new ServerSocket(port);
              } catch (IOException e) {
                   System.err.println("Unable to list on port " + port);
                   System.exit(1); // Can't listen, nothing else to do
              try {
                   client = server.accept();
                   System.out.println("Client connected... awaiting Y/N");
              } catch (IOException e) {
                   System.err.println("Unable to accept connection.");
                   System.exit(1);
              PrintWriter out = new PrintWriter(client.getOutputStream(), true);
              BufferedReader in = new BufferedReader(new InputStreamReader(
                                                     client.getInputStream()));
              out.println("You are connected, ready to launch command: <y/n>");
              while ((input = in.readLine()) != null)
                   if (input.equalsIgnoreCase("y"))
                        Runtime rt = Runtime.getRuntime();
                        rt.exec(cmd);
                        out.println("Command executed... disconnecting.");
                        System.out.println("Command executed... disconnecting client.");
                        break;
                   } else if (input.equalsIgnoreCase("n")) {
                        break;
                   } else {
                        out.println("Please enter Y/N.");
              out.close();
              in.close();
              client.close();
              server.close();
    }

  • Remote proc execution

    Is there any way to execute a stored proc (with DML on remote objects) of remote Oracle/TimesTen from TimesTen?
    I know DB links not supported in TimesTen, but how do we access remote objects without Cache Grid ?

    TimesTen does support distributed transactions through use of an external transaction manager that provides support for XA or JTA protocols (e.g. Tuxedo, WebLogic Server etc.). TimesTen does not implement its own distributed transation protocol.
    The primary use case for TimesTen is to deliver extreme performance. Distributed transactions are by their very nature pretty slow. You should think carefulyl about using them if you are trying to build a high performance system.
    Chris

  • How execute a remote shell script

    Hi,
    i'm in the instance A and i need to execute a shell script in the instance B.
    It's possible?
    my db is in 10.2.0.4
    tnx

    davyp74 wrote:
    i'm in the instance A and i need to execute a shell script in the instance B.
    It's possible?
    my db is in 10.2.0.4Yes. Fairly easy - but there are functionality and security issues that must be considered.
    Executing remote shell scripts are the easiest done using ssh and RSA key authentication. On server A, in the oracle user, you need to generate a RSA key for the account using "+ssh-keygen -t rsa+".
    A private and public key will be generated in the +/home/oracle/.ssh+ directory. The contents of the public key needs to be copy and pasted into the oracle account on server B, into file +/home/oracle/.ssh/authorized_keys+.
    Next you need to accept the signature of server B on server A (thiswill be stored in A in +/home/oracle/.ssh/known_hosts+ ). Simply ssh from A to B using command "+ssh oracle@B+" and accept the signature. The ssh attempt should work and not prompt for a password as RSA authentication is used (server B trust server A and accepts its private key as authentication).
    Now you can execute the remote script (fully automated in the background) as follows: ssh oracle@B /software/scripts/foo.sh".
    The next step is running this command from within the Oracle instance on A - this can be done using a custom Java stored proc (for accessing the command line) or via +DBMS_SCHEDULER+ as an external program.

  • Text Message: Unable to execute file for security ...

    Whenever I'm viewing a text message, when I try to open up the "Options" menu, I see the above message, "Text Message: Unable to execute file for security reasons". This doesn't seem to impact the functionality of the menu at all, everything seems to work.
    Anyone ever come across this before?
    I've updated the phone (Nokia E66) to the latest software, and I've only got one application installed other than the default base install (Google calendar sync utility), removing that doesn't change the problem.
    Thanks in advance!

    I get the same error after SW update to latest version when I try to run some apps 

  • Unable to execute SDT request JAVA_EE during the JAVA---Input_adm_user_pwd

    Dear Friends
    I am stuck in CONFIGURATION PHASE of EHP5 Upgrade.
    The ABAP phase has been completed but stuck in the Java processing  INPUT_ADM_USER_PWD
    "unable to execute the SDT request Java_EE operation configure on
    hostname dbserver1 instance 02 Modules execution failed.
    Execution of the unit PREPARE failed. Connection to the Upgrade Tool was closed."
    TROUBLE TICKET LOG
    Trouble Ticket Report
    Installation of enhancement package 1 for SAP NetWeaver 7.0
    SID................: $(/J2EE/StandardSystem/SAPSystemName)
    Hostname...........: $(/J2EE/SAPGlobalHost)
    Install directory..: $(/J2EE/StandardSystem/SAPSIDDirectory)
    Upgrade directory..: $(/JUMP/DIR/MAIN)
    Database...........: $(/J2EE/DBSystem/DBInfoName)
    Operating System...: $(/J2EE/StandardSystem/ServiceInstance/BCCentralServicesInstanceHost/OpSysType)
    JDK version........: $(/SystemProperties/JavaVersion) $(/SystemProperties/JavaVendor)
    SAPJup version.....: $(/MAIN_VERSION)
    Source release.....: $(/ER_CODE)
    Target release.....: $(/J2EE/ShadowSystem/Version)
    Start release SP...: $(/J2EE/StandardSystem/SPLevel)
    Target release SP..: $(/J2EE/ShadowSystem/SPLevel)
    Current usages.....: $(/J2EE/StandardSystem/Usages/StrCurrentUsages)
    ABAP stack present.: $(/J2EE/StandardSystem/BCSystemPresent)
    The execution of  ended in error.
    Could not perform operation on secure store. See previous messages.
    Could not perform operation on secure store. See previous messages.
    Class com.sap.security.core.server.secstorefs.SecStoreFS method createStoreWithEncryption has thrown the exception com.sap.security.core.server.secstorefs.FileIOException
    com.sap.security.core.server.secstorefs.FileIOException: I/O error on file "e:\usr\sap\PRD\SYS\global\security\data\JUpgrade.key".
    java.io.FileNotFoundException: e:\usr\sap\PRD\SYS\global\security\data\JUpgrade.key (The system cannot find the path specified)
    More information can be found in the log file .
    Use the information provided to trouble-shoot the problem. There might be an OSS note providing a solution to this problem. Search for OSS notes with the following search terms:
    com.sap.sdt.util.secstore.SecureStoreException
    Could not perform operation on secure store. See previous messages.
    INPUT_ADM_USER_PWD
    INIT
    PREPARE
    NetWeaver Enhancement Package Installation
    SAPJup
    Java Enhancement Package Installation
    Regards
    Anwer Waseem
    Edited by: Anwer Waseem on Nov 9, 2011 11:48 PM

    TROUBLE TICKET LOG
    Trouble Ticket Report
    Installation of enhancement package 1 for SAP NetWeaver 7.0
    The execution of ended in error.
    Could not perform operation on secure store. See previous messages.
    Could not perform operation on secure store. See previous messages.
    Class com.sap.security.core.server.secstorefs.SecStoreFS method createStoreWithEncryption has thrown the exception com.sap.security.core.server.secstorefs.FileIOException
    com.sap.security.core.server.secstorefs.FileIOException: I/O error on file "e:\usr\sap\PRD\SYS\global\security\data\JUpgrade.key".
    java.io.FileNotFoundException: e:\usr\sap\PRD\SYS\global\security\data\JUpgrade.key (The system cannot find the path specified)*
    its locating on drive e:\ which is wrong directory, the global directory are avaiable on drive S:\; this is the reasons that processing are ending with error.
    Please advise how to resolve ASAP.
    More information can be found in the log file .
    Use the information provided to trouble-shoot the problem. There might be an OSS note providing a solution to this problem. Search for OSS notes with the following search terms:
    com.sap.sdt.util.secstore.SecureStoreException
    Could not perform operation on secure store. See previous messages.
    CHECK_PREPARE_UNIT
    Regards
    Anwer Waseem

  • Unable to Execute a Report to send PAN XML messages out of SNC

    Hi All,
    We are unable to Execute a Report /SCA/DM_TIMESERIES_OUT to send Product Activity Notifications in the form of XML messages out of SNC. We have manitained some Planned Reciepts data in SNC and would like to transfer it out to ECC.
    Could anyone help in understanding if we have to maintain mandatory settings before executing this report.
    Thanks & Regards,
    Sadiq

    Hi Pravin,
    As per the documentation(http://help.sap.com/saphelp_snc70/helpdata/EN/48/6bdb4767a431cbe10000000a42189d/frameset.htm), we have tried both the manual and automatic features to configure the output from SNC in the form of XML messages.
    The manual method gave a message "Time series data for selection is empty" and the Automated method could trigger the XML messages on every incoming message from ECC but we are unable to see the Planned Receipts in that XML messages.
    Was just wondering if we can see the Planned Receipt info by changing the settings of this report or by using any other simillar report as the PR info is very important for our development.
    Thanks & Regards,
    Sadiq

  • How to Execute a Remote Procedure in Portal using Database Link

    Hi,
    I followed the instructions to create a Portal form for a remote procedure. But I am encountering the following error. Can someone advise what may be the cause?
    Failed to execute - Missing string(create_package_body) language(us) domain (wwv) sub_domain (wwv_builder) (WWV-04300)
    ORA-04020: deadlock detected while trying to lock object PUBLIC.PORTLET_SCHEMA (WWV-11230)
    Failed to parse as PORTAL - (WWV-08300)
    PURPOSE
    How to execute a remote procedure in Portal using Database Link.
    DESCRIPTION
    This procedure assumes that you have two databases, one of which is remote, and Portal is configured in the other.
    Remote Database A:
    ==================
    1) Create a procedure as follows: Create or Replace PROCEDURE SCOTT.ADD_TWO_VALUES ( v_one IN NUMBER, v_two IN NUMBER, v_result OUT NUMBER) as begin v_result :=v_one+v_two; end; 2) Grant execute privileges to PUBLIC on the procedure.
    Database B (where Portal is configured): ========================================
    1) Create a public database link and choose to connect as a specific user (say SYSTEM). By default, in an Oracle 8i database, the "global_names" parameter in initSID.ora (or init.ora) file is set to "true". This Global Naming parameter enforces that a dblink has the same name as the database it connects to. Therefore, if the remote global database (A) name is "ora8.acme.com" then the database link should also be named as "ora8.acme.com".
    2) Create a synonym for the procedure in Database A. Make sure you fully qualify the procedure name in the remote database (like SCOTT.ADD_TWO_VALUES).
    3) Create a dynamic page to execute the procedure. The ORACLE tags in the dynamic page will look similar to the following: <ORACLE> DECLARE v_total NUMBER; BEGIN ADD_TWO_VALUES(:v_one,:v_two, v_total); htp.p('The total is => '); htp.p('<input type="TEXT" VALUE='||v_total||'>'); htp.para; htp.anchor('http://<machine.domain:port#>/pls/portal30/SCOTT.DYN_ADD_TWO_VALUES.show_parms', 'Re-Execute Procedure'); END; </ORACLE>
    4) Portal does not have an option to create a form based on a synonym. Therefore, if you want to create a form instead of a dynamic page, create a wrapper procedure and then create a form based on this procedure. For example: Create or Replace PROCEDURE PORTAL30.ADD_TWO_VALUES_PR ( v_one IN NUMBER, v_two IN NUMBER, v_total OUT NUMBER) as begin add_two_values(v_one, v_two, v_total); end;
    5) Grant execute privileges to PUBLIC on the procedure.

    hello...
    any input will welcomed... Thanks..

  • Error while checking in a document: Unable to execute service

    Hi,
    I am using oracle UCM 11g. When i am checking in a document, i am getting error as "Unable to execute service CHECKIN_NEW_SUB and function validateCheckinData."
    In stacktrace found this is caused by:
    "Unable to find query or idc data source with 'DdeletedRows'. "
    How to resolve this?
    Thanks in advance

    Please refer to this thread ...may be u get ur answer out of it...........................
    Error while checking in and storing: C:\ ..... (Message no. 26253)
    regards,
    Tushar Dave

  • Error executing DB2 stored proc

    Hi,
    We are trying to execute a Stored Proc in Mainframe DB2. We've prepared a PreparedStatement. The problem the stored proc works fine in some cases, but in some it fails even thouhg the data passed is same. Even the whole JVM crashes and there is no log in error.log file.
    Do you have any idea as to what might be the problem. We are using IBM WebSpehere5.0 and DB2v7.0
    Regards,
    Rohit

    For starters you should be using CallableStatement and not PreparedStatement.
    And if the VM goes down and no errors are thrown anywhere than it's time to talk to the vendor or consult the docs because that is beyond the scope of help you could be given here.

  • Unable To Execute Files In The Temporary Directory. Setup Aborted. Error 5: Access Is Denied.

    Hi Everyone,
    Whenever I install some new software in my new laptop I get this error:-
    Unable To Execute Files In The Temporary Directory. Setup Aborted. Error 5: Access Is Denied.
    I have tried synchronizing the clocks but it doesn't remove the problem.
    These softwares work on another laptop that i have, which also runs windows 7.
    Can someone please tell me the solution as this is extremely urgent.
    Thanks In Advance.
    -Michael

    In short:
    ============
    My permissions were all fine, so if anyone has trouble resolving the issue after sorting permissions then make sure you try fully disabling your anti-virus / anti-spyware / firewall applications, because that was the cause for me.
    In detail:
    ============
    Problem:
    Failed to install this application
    - http://www.ssware.com/cryptoobfuscator/download.htm
    - on Windows 8.1 x64
    - Get error message "Unable To Execute Files In The Temporary Directory. Setup Aborted. Error 5: Access Is Denied."
    First Candidate Solution
    The issue turns out to NOT be security rights on the Temp folder
    ESET Smart Security HIPS Advanced Memory Scanner is the cause
    http://kb.eset.com/esetkb/index?page=content&id=SOLN2908&actp=search&viewlocale=en_US&searchid=1392804914417
    Instead, I went and turned off all the ESS protections one by one and it turned out to be HIPS that is causing this false positive.
    In fact, it is the Advanced Memory Scanner option under HIPS that is causing the error, while the application in question is legit (using Inno Setup and presumably trying to write to the user temp folder, not sure whether just logs or to execute from there)
    Furthermore, Smart Security logs have no entries under HIPS even though I ticked "Log all blocked operations" under the HIPS "Advanced setup" - it was quite a journey to find out the cause :)
    Thank you. I have the same OS and installed ESET Smart Security as well. And it is resolved now.
    I just want to add, that by "Temporarily disable protection" and "Temporarily disable firewall", it doesn't work. You have to disable HIPS, as KristjanL said. 

  • Unable to execute rules twice after applying Planning 9.3.1.1.11

    Hi All,
    Just wondering whether someone has come across this issue.
    We have just applied Planning 9.3.1.1.11 on a Windows platform.
    As a result, we are unable to execute the same rule twice from within the AAS console on any client machine and get the following error:
    "You must be connected to database to execute a rule."
    Once we get this error we cannot exeucte any other business tules and need to log back in to the AAS console to fix the problem.
    If we open up the AAS console on the AAS server, we can rule the rules as many times as we like. The error only comes up when executing a same rule from a client machine.
    In Planning web we can execute any business rules multiple times. However, if a user gets the above error in the AAS console, he/she is then unable to execute rules in Planning web unless he/she logs out and logs back in.
    We are using Planning 9.3.1.1.11, AAS 9.3.1.3.07 and HBR 9.3.1.1.11 on the server.
    However the AAS version on the client side is 9.3.1.1.9 and I think this may be what s causing the issue.
    The HBR patch for 9.3.1.1.11 is a server patch and cannot be installed on client machines. I am therefore unable to upgrade the AAS console on client machines to 9.3.1.1.11.
    Has anyone come across this?
    Thanks for your help.
    Seb

    Hi John,
    I worked it out last night... The readme for 9.3.1.1.11 is not very clear and I dont think it mentions patching each client.
    Below are the steps:
    1 - Close down the AAS console
    2 - Copy the newly deployed easclientplugin.jar, cmdlnlauncher.jar and identitymigration.jar from the AAS server and paste them under Hyperion\AnalyticAdministrationServices\console\lib on your client machine. Overwrite existing files if necessary.
    3 - Copy the new MigrateIdentities.bat from the AAS server and paste it under Hyperion\AnalyticAdministrationServices\console\bin on your client machine. Overwrite existing files if necessary.
    4 - Log on to the AAS console and go to Help - About and ensure that the HBR version is now 9.3.1.1.11
    5 - From the AAS console try and execute the same HBR twice.
    Thanks for your help.
    Seb

  • Unable to execute the substitution variable in calc scripts in essbase 11.1

    Unable to execute the substitution variable in calc scripts in essbase 11.1.3
    FIX(&CURRVERSION,COLA)
    Unit=units*Listprice;
    dataexport "file" "," "E:\NEW.TXT";
    ENDFIX
    Error: 1200471 Error parsing formula for FIX STATEMENT (line 1): expression expected before [)]
    This is error it throws when executing the calculation script
    I wonder whether its a problem with substitution variable i want to know wat went wrong inside the fix statement
    I have created substitution variable use maxl
    Installed the essbase in custom manner and standlone mode nt register with the shared services ,
    Is this problem with the custom installation of essbase
    Regards
    shenna

    If you remove the substitution variable and replace it with the actual value (whatever that is), does the code work? That will tell you if the issue is around the substitution variable or not.
    John -- First you race Glenn, then you race me -- and you always win. :)
    Regards,
    Cameron Lackpour

  • Unable to alter the process. Unable to execute action start and stop

    Hi,
    I have setup a UCM CMS server on Linux. In the UCM instaance I setup If I go to Admin Server, the Genral configuration page contains no entry. While the file Config.cfg present in the directory Oracle/UCM/Server/Config/ contains all the entries I provided during the setup.
    Now when I am trying to start/stop the UCM instance, it is giving me error " Request Failed : Unable to alter the process. Unable to execute action 'stop' on server 'EBIZ_UCM'." While If I try to restart the server using IdcServer present at the location Oracle/UCM/Server/bin/, it is getting started.
    While clicking on the Component Manager, its giving error like :
    " Unable to retrieve component data. Components.hda exists, but contains no data. ".
    Please suggest.

    I know this is an old thread, but I ran across this while having a similar problem. It turned out that I had started the admin server incorrectly (e.g. running /apps/oracle/ucm/server/admin/bin/IdcAdmin instead of /apps/oracle/ucm/server/admin/etc/idcadmin_start). Once I corrected that the problem went away.

  • An error occurred when executing a REMOTE FUNCTION CALL.

    Dear all,
    We have two syetms called DXD and GRD , we have a remote enabled function module in the DXD system , when i am trying to call this Function module from
    GRD system it is going for the short dump, and giving the follwing error,
    <b>Error analysis
        An error occurred when executing a REMOTE FUNCTION CALL.
        It was logged under the name "RFC_NO_AUTHORITY"
        on the called page.</b>
    But i do have the access for the DXD system also, i am really struggling to solve this problem, if any lights are there to help me , i will be thank full for then,
    some body suggested for me that we need to maintain the Trusted system tables in the target system.
    Thanks & regards
    Satya.

    first u( user id ) have to get the Authorizations to use RFC ?
    object will be  like S_RFC or some thing like this.
    when u get this kind of error just call /NSU53 then u will come to know which Authorization Object is missing from ur User Profile.
    Regards
    Prabhu

Maybe you are looking for

  • Getting error while creating SPSite object in console application

    Hi, I am getting error "The Web application at http://myWebApp/sites/siteCol could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL m

  • Confirmation on Date = Standard Date migration

    Our 1st test upgrade from 11.0.3 to 11.5.9 is underway and I'm trying to understand the "Convert flexfield Data and DateTime value sets" step. This step deals with the Date format to Standard Date format in relation to Flexfields and/or Concurrent Pg

  • Moving a totally messed up iPhoto library

    Hello, I hope someone here can provide me with some guidance on this, as I'm about at my wit's end. I have a client who has recently purchased a new iMac to replace her aging ~2008 iMac. The old iMac had at some point been serviced by a third-party c

  • I have a English firefox 6 but i am getting all chinese apps on App Centre?

    Firefox 6 English but chinese language on tab page and app centre.

  • Newbie to mac - need help with idvd

    heya people. i'm hoping someone can help me with my problem i have created a dvd using i dvd 6 with the one step dvd once it finished burning it ejected the dvd. however i accidentally closed the software. and i can't seem to find where its put the t