How to run a script on Oracle server from isqlplus

Hi I am trying to run a script on my workstation from Oracle server through isqlplus workarea. I entered following command and get the following error. i have enabled isqlplus URL by editing web.xml file already. Can please someone help how to run the script?
@http://myaixserver.com:5560/scripts/Databasestartupstages.sql;
SP2-0920: HTTP error 'page not found (505)' on attempt to open URL

So far, you haven't specified your rdbms version and isqlplus behaved differently on a 9iR1, 9iR2 from the one release on 10gR1/R2. on 9i it was a servlet based on a JServ servlet executor machine, meanwhile on 10g it is a J2EE compliant application deployed on an OC4J container, so configuration is different.
You may want to take a look at these references -->
* Starting iSQL*Plus from a URL
* Creating Reports using iSQL*Plus
~ Madrid

Similar Messages

  • How to Run Indesign Script in a file from plugin code in CS4?

    Hi,<br />I have the code to execute the InDesign script stored in external file for InDesign CS3.<br /><br />InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss)); <br />InterfacePtr<IScriptRunner> scriptRunner(scriptManager, UseDefaultIID()); <br />     IDFile scriptFile(scriptFilePath); <br />     if (scriptRunner->CanHandleFile(scriptFile)) <br />     { <br />       ScriptData returnValue; <br />       PMString errorString; <br />       ErrorCode error = scriptRunner->RunFile(scriptFile); <br />         ASSERT(error == kSuccess); <br />     } <br /><br />But the RunFile() method is cs4 expects an additional argument of the type RunScriptParams. <br />Someone please show me with a code snippet on how to excute a script file in CS4??

    Dear Ian
      Here I'm used the below coding in CS3, Its working fine....
    //In CS3 Coding
      PMString jsFullPath("c:\\windows\\sample.jsx"); // a path to my java script file
    do
    const
    IDFile outFile(jsFullPath);InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss));
    ASSERT( scriptManager ) ;
    InterfacePtr<IScriptRunner> scriptRunner(scriptManager,UseDefaultIID());
    ASSERT( scriptRunner ) ;
    if(scriptManager){
    InterfacePtr<IScriptRunner>scriptRunner(scriptManager,UseDefaultIID());
    RunScriptParams params(scriptRunner);
    ErrorCode err = scriptRunner->RunFile(outFile, kTrue, kFalse);
    while(kFalse);
    But the same time I used this coding in CS4, Its not woking
    //In CS4 Coding
    PMString jsFullPath("c:\\windows\\MacID\\BIN\\sample.jsx"); // a path to my java script file
    do
    const
    IDFile outFile(jsFullPath);InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss));
    ASSERT( scriptManager ) ;
    InterfacePtr<IScriptRunner> scriptRunner(scriptManager,UseDefaultIID());
    ASSERT( scriptRunner ) ;
    if
    (scriptManager){
    InterfacePtr<IScriptRunner>scriptRunner(scriptManager,UseDefaultIID());
    RunScriptParams params(scriptRunner);
    ErrorCode err = scriptRunner->RunFile(outFile, params);
    while(kFalse);
    I changed the "RunFile" arguments also
    RunScriptParams params(scriptRunner);
    ErrorCode err = scriptRunner->RunFile(outFile, params);
    But Still I'm facing the problem in InDesign CS4.  That's mean  "Adobe InDesign CS4" shout down for serious error happend.
    Please kindly help me, for solving this problem.
    Thanks & Regards
    T.R.Harihara Sudhan
    Message was edited by: Adobe-InDesign CS4

  • Execute sql script in oracle server

    hi how can i run an SQL script in oracle server in every first day of the month? i dont want to run that script manually every first day of the month.

    What OS and version are you running?
    You can schedule this from the OS side as well if you don't want to use the scheduler.
    In linux you can make use of the crontab:
    crontab -e
    #then paste the following lines with the path to your scripts
    #.---------------- minute (0 - 59)
    #|   .------------- hour (0 - 23)
    #|   |   .---------- day of month (1 - 31)
    #|   |   |   .------- month (1 - 12) OR jan,feb,mar,apr ...
    #|   |   |   |  .----- day of week (0 - 7) (Sunday=0 or 7)  OR sun,mon,tue,wed,thu,fri,sat
    #|   |   |   |  |
    #*   *   *   *  *  command to be executed
    00 01 1 * * /<path to your scripts>/script_name.shThe above script will run on the 1st day of every month at 01h00.
    your script (the one you are calling in the cron) will have to call the sql script and should look similar to this:
    #export all your environment variables here
    # for example
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/<your path>
    export ORACLE_SID=ORCL
    export PATH=$ORACLE_HOME/bin:$PATH
    sqlplus user/password@DB @/path/your_sql_script.sqlHope this helps

  • How to run others application in Oracle Forms on the web version?

    How to run others application in Oracle Forms on the web version?

    Pang,
    guess that you want to start client side programs from Forms on the Web. There is a sample on OTN (host bean) that allow you to acces sthe client and start executables.
    Frank

  • How to run a script from Calculation Manager

    Hi All,
    I would like to know how to run a script made by using Calculation Manager. I have converted a simple rule script which has just one statement(HS.EXP "A#Sales = 100") in "Sub Calculate()" by using FMRulesMigrator.exe and then imported, deployed to an application. when I execute "Calculate" from a Data Grid, the rule didn't take effect to application data. If I load the script by using classic rule editor, it works fine.
    Is there anything I have to know to run a rule script which is made by using Calculation Manager?
    Thanks in advance.
    CY.

    Hi,
    Refer the following the link for calling logic from new custom buttons using VBA.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f085dd92-a40c-2c10-dcb1-a7c24476b23a
    hpe this ll help.
    thnks.

  • How to run Java program as Daemon Server in linux

    How to run Java program as Daemon Server in linux
    i would like to run the java program on system start up in a redhat linux system
    can any one provide rc.status file

    http://wrapper.tanukisoftware.org/

  • Connecting to remote oracle server from asp

    Hi All
    How can I access remote oracle server from asp?. I'm using the following connection string.
    " Provider=MS Remote;Remote Provider=MSDAORA;Data Source=XYZ;Remote Server=http://DBServersIP;User Id=id;Password=pw"
    Both the web server and DB server has oracle client. I can tnsping, connect using sql * plus from the webserver.
    But when I try to do simple connection & query , I get the following error.
    " Microsoft ADO/RDS(0x80072EFD)
    Internet Client Error: Cannot Connect to Server.
    All the permission settings are given correctly (after referring Microsoft & Oracle websites)
    Can someone throw some links or help.?
    Your replies much appreciated.
    Thank you
    Arum

    why do you have http://DBServersIP as the remote server?
    Your connection string should look like:
    "Driver={Microsoft ODBC for Oracle};Server=MY_SID;Uid=my_user;Pwd=my_pwd;"
    There are other variations, but none of them should include HTTP anywhere.

  • How can I connect to a windows server from a mac book pro

    How can I connect to a windows server from a mac book pre?

    I have a Dell Power Edge T110 ii in the office that has files and software I need to access when away from the office, when I am on the road I use a mac book pro and an iPad.
    I am sorry if I am being a bit vague but this is all new to me, I have tried 3 IT guys but they can not find a way.
    Any help is greatly appeciated.

  • How can I find out the mail server from email address?

    Hi:
    How can I find out the mail server from email address?
    for example: If I know the email address is [email protected],
    how to find the pop3 and smtp mail server?
    THANK YOU

    You can't tell by the email address since you can pretty much put whatever you want in there (especially if the SMTP server is not filtering anything).
    The header may be able to tell you something. There is a Received header value which looks like it has the routing information although I am not sure if this is a complete trace or just the last hop the message took.
    Sean

  • My one DAG fail then how to run e-mails in my organisation from another DAG that is located another Location.

    Hi
    DAG Failed then how to run e-mails in my organisation from another DAG.
    means the another DAG work automatically or i will do something for outside the DAG.
    Regards
    Anil kumar Gangwar

    Hi,
    In order to resolve the problem more efficiently, I need to clarify some information.
    1. Do you have two AD sites in your environment?
    2. If you have two AD site, do you have active users in these two AD sites?
    3. Does each AD site have a DAG which is cross-site?
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • How to login as DBA in oracle 9i from sql plus .

    how to login as DBA in oracle 9i from sql plus . ???

    First you need to check whether your HR schema is still unlocked or not? If it is locked - then you have to unlock it. And, then you can connect the Hr schema.
    But, i'm not sure - why you need system to log into the HR schema?
    Regards.
    Satyaki De.

  • Connect to 10g oracle server from 9i client

    Hi All,
    Is it possible to connect to 10g oracle server from 9i client or Should i install 10g client on my machine?
    Regards,
    Seena

    Depend of what releases you are talking about.
    The client 9iR1 has never been supported against a 10gR2 server.
    Find out more in the metalink note : Client / Server / Interoperability Support Between Different Oracle Versions - 207303.1
    Nicolas.

  • How to access JNDI tree of Admin Server from Managed Server

    Hello,
    I created Managed and Admin Server for Domain.
    On Managed Server I use:
    InitialContext con = new InitialContext()
    It points to Managed Server local JNDI tree and
    Managed Server can't find JNDI tree of Admin Server.
    Looks like Managed Server is regular remote client of Admin Server.
    How to access JNDI tree of Admin Server from Managed Server?
    Thanks.
    Oleg.

    Hello,
    I created Managed and Admin Server for Domain.
    On Managed Server I use:
    InitialContext con = new InitialContext()
    It points to Managed Server local JNDI tree and
    Managed Server can't find JNDI tree of Admin Server.
    Looks like Managed Server is regular remote client of Admin Server.
    How to access JNDI tree of Admin Server from Managed Server?
    Thanks.
    Oleg.

  • How to run a remote application (Non Java) from a Java program

    Could you please tell me how to run a remote application (Non-Java) from a Java program without using RMI. Please tell me know the procedure and classes to be used.
    Cheers
    Ram

    what do you mean remote application.In the other pc or in your pc just apart from you application?
    If the application is in your pc,the method which the upper has mentioned is
    a good one!
    But if the application you want to run is not in your computer,the method can't do. And you can use socket with which you can build an application listening some port in the pc which contains the application you want to run .When you want to run that application ,send the Start_Command to the listening application.Then listening application will run the application with the help of the method the upper mentioned.

  • Reg: How to Run a Script File in WebLogic Server 10.3.3

    Hi WebLogic Experts,
    In our project we are using WebLogic Serve 10.3.3. I need to run one script file. could you please suggest me where should i need to place that script file in WebLogic Server 10.3.3 and How to run & stop that Script file.?
    please experts i waiting for your's reply..
    Thanks & Regards,
    Induja..

    1. You can put a command line into startWebLogic.sh to start your script file.
    2. In your proyect you can create a java class to run the script file.
    3. You can create a java class to run the script file an setup it like a startup class into weblogic server.
    4. You can create a java class to run the script file an setup it like a job scheduler into weblogic server.
    In what time you need run this script file?

Maybe you are looking for

  • Is there a way for EDI 820 (remittance advice) to identify proforma invoice

    Hi,   We have certain customers who pay by proforma invoices. These customers send remittances through EDI 820 which we create as payment advice in SAP. When the cash comes in, the payment advice is not being applied since the document number has the

  • HTTPS with APEX and Orace XE

    I looked into it and I cant really get a clear image on how this works and if it is possible with my current situation. What do I want? I want make HTTPS calls from my pl/sql like: UTL_HTTP.SET_WALLET('location', 'pw'); req := utl_http.begin_request(

  • [Solved] Makepkg fails on all Mercurial (*-hg) packages

    Hello, I'm not sure if this is a result of recent updates, but I noticed that makepkg now fails on all mercurial packages. I attempted to install both the dillo browser and pytyle, and received the following messages (this is for pytyle2-hg, but the

  • A few questions about internet sharing and security

    Hi, I have an iMac connected to my aparment complexes' wireless network. I realize this isn't the safest way to be online so I was wondering what I could do to protect my computer. When I open a finder window I see all the other computers listed in t

  • Installing Flash Player 9 on Mac OSX 10 system

    Can someone please help me to download the latest version of Flash Player 9. I am unable to view video on MySpace, I get a popup saying I have to install the latest version of Flash Player. I downloaded the latest version, got the icon on my desktop,