OC4J10g: demo webservice stored procedure on Windows

Hi,
I'm running OC4J10g locally on my pc (OS=Windows NT 4.0 SP6a). I'm trying to deploy the demo of a stored procedure web service but when I execute the command "java -jar %ORACLE_HOME%\webservices\lib\WebServicesAssembler.jar -config config.xml" I get an error:
Please wait ...
SCOTT.COMPANY
SCOTT.EMPLOYEE
SCOTT.ADDRESS
SCOTT."COMPANY.MANAGER_REC"
SCOTT."COMPANY.MANAGER_TABLE"
sp.company.CompanyUser_getEmpInfo_Out
sp.company.CompanyUser_changeEmpSalary_Out
J2T-138, NOTE: Wrote PL/SQL package JPUB_PLSQL_WRAPPER to file webservices9_wrapper.sql. Wrote the dropping script to file webservices9_dropper.sql
java.io.IOException: CreateProcess: javac -J-Djavac.pipe.output=true -d ./tmp\Company -classpath D:\oracle\OC4J_10g\webservices\lib\../../lib/xmlparserv2.jar;D:
\oracle\OC4J_10g\webservices\lib\../../oracle/lib/xmlparserv2.jar;D:\oracle\OC4J
_10g\webservices\lib\../../xdk/lib/xmlparserv2.jar;D:\oracle\OC4J_10g\webservice
s\lib\../../sqlj/lib/runtime12ee.jar;D:\oracle\OC4J_10g\webservices\lib\../../sq
lj/lib/translator.jar;D:\oracle\OC4J_10g\webservices\lib\../../dbjava/lib/classe
s12dms.jar;D:\oracle\OC4J_10g\webservices\lib\../../jdbc/lib/classes12dms.jar;D:
\oracle\OC4J_10g\webservices\lib\../../lib/dms.jar;D:\oracle\OC4J_10g\webservice
s\lib\../../dms/lib/dms.jar;D:\oracle\OC4J_10g\webservices\lib\../../soap/lib/so
ap.jar;D:\oracle\OC4J_10g\webservices\lib\../../j2ee/home/lib/ejb.jar;D:\oracle\
OC4J_10g\webservices\lib\../../webservices/lib/wsdl.jar;D:\oracle\OC4J_10g\webse
rvices\lib\../../webservices/lib/wsserver.jar;D:\oracle\OC4J_10g\webservices\lib
\../../j2ee/home/lib/mail.jar;D:\oracle\OC4J_10g\webservices\lib\../../j2ee/home
/lib/?
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:67)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:428)
at java.lang.Runtime.exec(Runtime.java:364)
at java.lang.Runtime.exec(Runtime.java:326)
at sqlj.tools.Sqlj.runCompilation(Sqlj.java:1157)
at sqlj.tools.Sqlj.statusMain(Sqlj.java:400)
at oracle.j2ee.ws.tools.DBJarGenerator.doIt(DBJarGenerator.java:293)
at oracle.j2ee.ws.tools.WsAssemblerConfig.parseStatelessJavaNode(WsAssem
blerConfig.java:201)
at oracle.j2ee.ws.tools.WsAssemblerConfig.parseDeploymentMainNode(WsAsse
mblerConfig.java:76)
at oracle.j2ee.ws.tools.WsAssemblerConfig.<init>(WsAssemblerConfig.java:
49)
at oracle.j2ee.ws.tools.WsAssembler.assemble(WsAssembler.java:91)
at oracle.j2ee.ws.tools.WsAssembler.main(WsAssembler.java:66)
Error in Java compilation: CreateProcess: javac -J-Djavac.pipe.output=true -d ./
tmp\Company -classpath D:\oracle\OC4J_10g\webservices\lib\../../lib/xmlparserv2.
jar;D:\oracle\OC4J_10g\webservices\lib\../../oracle/lib/xmlparserv2.jar;D:\oracl
e\OC4J_10g\webservices\lib\../../xdk/lib/xmlparserv2.jar;D:\oracle\OC4J_10g\webs
ervices\lib\../../sqlj/lib/runtime12ee.jar;D:\oracle\OC4J_10g\webservices\lib\..
/../sqlj/lib/translator.jar;D:\oracle\OC4J_10g\webservices\lib\../../dbjava/lib/
classes12dms.jar;D:\oracle\OC4J_10g\webservices\lib\../../jdbc/lib/classes12dms.
jar;D:\oracle\OC4J_10g\webservices\lib\../../lib/dms.jar;D:\oracle\OC4J_10g\webs
ervices\lib\../../dms/lib/dms.jar;D:\oracle\OC4J_10g\webservices\lib\../../soap/
lib/soap.jar;D:\oracle\OC4J_10g\webservices\lib\../../j2ee/home/lib/ejb.jar;D:\o
racle\OC4J_10g\webservices\lib\../../webservices/lib/wsdl.jar;D:\oracle\OC4J_10g
\webservices\lib\../../webservices/lib/wsserver.jar;D:\oracle\OC4J_10g\webservic
es\lib\../../j2ee/home/lib/mail.jar;D:\oracle\OC4J_10g\webservices\lib\../../j2e
e/home/lib/\u0094
Exception in thread "main" java.lang.NullPointerException: class sp.company.CompanyUser not found at oracle.j2ee.ws.tools.WsAssemblerConfig.toEAR(WsAssemblerConfig.java:5
19) at oracle.j2ee.ws.tools.WsAssembler.assemble(WsAssembler.java:92)
at oracle.j2ee.ws.tools.WsAssembler.main(WsAssembler.java:66)
It seems that the class sp.company.Comp is not found. But that class is generated during the command.
So what can I do to make this work?
Regards,
Vincent Botteman

1) Can you be more specific than "it does not execute"? Does the scheduler indicate that the job was run? Is there an error?
2) Depending on what you are trying to do, it may be easier to use the DBMS_JOB or DBMS_SCHEDULER packages to schedule a job to run within the database. If the goal is to generate a text file on the local machine, though, that may not be practical since PL/SQL can't write to client files.
Justin

Similar Messages

  • Calling Stored Procedure with Windows Authentication SSIS 2012

    We are upgrading to SQL Server 2012 and our SSIS Packages are failing with: "The operation cannot be started by an account that uses SQL Server Authentication. Start the operation with an account that uses Windows Authentication. Error on line 215:
    (SQR 3913) Could not EXECUTE stored procedure."
    I understand that we need to change over to Windows Authentication but not sure how to authenticate with windows. Our stored procedures are called from an SQR (
    Structured Query Reporter)
    Here is the code:
    begin-procedure Download-Data
    EXECUTE DO=LT_REPORT_SSIS_MSG
    LT_INTERFACE..LT_AR_CUSTOMER_SSIS $business_unit
    INTO &SSIS_MSG char(120)
    end-procedure Download-Data
    Any help would be greatly appreciated!

    The question is how SQR allows it. Thus it becomes not SSIS related
    Arthur My Blog

  • Passing parameter to stored procedure from windows form getting error

    I've written a procedure which shows the data in a table according to the table flag selected from the windows form. My code is:
    --- stored procedure ------
    CREATE PROC [dbo].[PROC_SELECT_TABLES]
    @TBL_FLAG INT
    AS
    BEGIN
    SET NOCOUNT ON;
    IF (@TBL_FLAG = 1)
    SELECT * FROM MHT_APPUSER ;
    IF (@TBL_FLAG = 2)
    SELECT * FROM MHT_ISA11 ;
    IF (@TBL_FLAG = 3)
    SELECT * FROM MHT_ISA22 ;
    SET NOCOUNT OFF;
    END
    GO
    Now, the module for calling the above procedure
    namespace DAL;
    public class DisplayData
    SqlLayer layer = new SqlLayer();
    public int tblFlag { get; set; }
    public DataTable GetData(int tblFlag)
    SqlParameter[] p = new SqlParameter[1];
    p[0] = new SqlParameter("@tblFlag", this.tblFlag);
    return layer.ExecuteDataSet("PROC_SELECT_TABLES", p).Tables[0];
    Now the SQL LAYER, containing the ExecuteDataSet and database connection code:
    namespace DAL;
    public class SqlLayer
    // sql connection code
    public DataSet ExecuteDataSet(string commandText, SqlParameter[] sqlParameter)
    SqlCommand cmd = new SqlCommand(commandText, this.conn);
    cmd.CommandType = CommandType.StoredProcedure;
    cmd.Parameters.AddRange(sqlParameter);
    SqlDataAdapter sda = new SqlDataAdapter(cmd);
    DataSet ds = new DataSet();
    sda.Fill(ds);
    return ds;
    Now the windows form layer:
    using DAL;
    namespace BookKeepingSystem
    public partial class DisplayDataForm : Form
    DisplayData view = new DisplayData();
    private void GetData()
    view.tblFlag = 3;
    DataTable dt = view.GetData(view.tblFlag);
    dgvDisplayData.DataSource = dt;
    public DisplayDataForm()
    InitializeComponent();
    private void DisplayData_Load(object sender, EventArgs e)
    GetData();
    private void btnExit_Click(object sender, EventArgs e)
    Application.Exit();
    When I run the code I got the error:
    "Unhandled exception has occurred in your application...
    Procedure or function 'PROC_SELECT_TABLES' expects parameter @TBL_FLAG, which was not supplied"
    I can not figure what is missing with my code. Please can any one point out please.
    Thank You!!!

    Try something like this for starting -- do just this procedure to see if it works first.
    private DataTable GetDataTable(SqlConnection conn1)
    SqlDataAdapter daS1 = new SqlDataAdapter();
    daS1.SelectCommand = new SqlCommand();
    daS1.SelectCommand.Connection = conn1;
    if (conn1.State == ConnectionState.Closed) conn1.Open();
    daS1.SelectCommand.CommandType = CommandType.StoredProcedure;
    daS1.SelectCommand.CommandText = "yourStoredProcedureName";
    daS1.SelectCommand.Parameters.Add("@ParamName", SqlDbType.Int, 4);
    DataSet DS1 = new DataSet();
    daS1.Fill(DS1, "tbl1");
    return DS1.Tables["tbl1"];
    Note:  in the CommandText part place the name of your stored procedure.  In the Parameter part put the name of your parameter exactly as it is in the actual stored procedure.  Also, (if you have not done this already) make sure your stored
    procedure runs OK -- first -- test out your stored procedure in Sql Server Management Studio.  If the procedure runs OK in SSMS, then try it from you app.  Just create a simple form with one button .  Place GetDataTable() code under
    the button and call it something like this:
    private void button1_Click(object sender, EventArgs e)
    int i = GetDataTbl().Rows.Count;
    Console.WriteLine("i is {0}", i);
    Rich P

  • How to write a PL/SQL stored procedure in Oracle to call Webservice

    Can any one pelase send me a code on how to write a PL/SQL stored procedure in Oracle database to call the Webservice ?
    Thanks,
    Rajesh

    Were you able to solve this problem

  • Calling Stored Procedure from APEX window

    Hopefully someone will be able to help me. I have a stored procedure that generates a csv of time worked from our system. When I hard code the values in the procedure and call it from a button, the popup window opens excel and displays the time worked.
    When I call it with session variables, the window opens, but no values are listed for time worked.
    This is the first line of the proc.
    create or replace procedure "PRC_EXP_HOURS_TO_CSV"
    (p_name IN VARCHAR2,
    p_wk_end_dt IN DATE).....
    This is how the button calls the proc
    javascript:popupURL('#OWNER#.prc_exp_hours_to_csv?p_name=&P20513_NAME.,&p_wk_end_dt=&P20513_ACTIVITY_DATE.');
    Both P20513_NAME and P20513_ACTIVITY_DATE show a session status of 'I' so I am not sure what is going wrong here. As stated if I hard code values in the proc for name and '06-APR-08' for date the proc runs.
    Kevin

    Kevin
    Is it possible that :P20513_NAME value has "special" characters (space, comma, etc)?
    If it has then you have to "escape" it or you can get values with V functions in your stored procedure:
    <pre>
    declare
    l_name varchar2(4000);
    l_date date;
    begin
    l_name := v('P20513_NAME');
    l_date := v('P20513_ACTIVITY_DATE');
    </pre>
    Lev

  • Problem while calling webservice from a plsql stored procedure

    Hi everybody,
    I need to call a webservice from a plsql stored procedure.
    I was following documentation published in the otn at the following link.
    "http://www.oracle.com/technology/tech/webservices/htdocs/samples/dbwebservice/DBWebServices_PLSQL.html"
    I am encountering the following error on my sql prompt-
    SQL> exec dbms_output.put_line(time_service.get_local_time('94065'));
    BEGIN dbms_output.put_line(time_service.get_local_time('94065')); END;
    ERROR at line 1:
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1022
    ORA-12545: Connect failed because target host or object does not exist
    ORA-06512: at "APPS.DEMO_SOAP", line 65
    ORA-06512: at "APPS.TIME_SERVICE", line 13
    ORA-06512: at line 1
    Has anybody worked on the same example. Please direct me.
    Thanks & Regards
    Kiran Kumar

    Kiran, were you able to solve this?
    I am facing the same error.
    Oracle Server is Unix and webservice is .NET.
    I am able to connect to Java web service.

  • CR2008 - How to run a Stored Procedure using Command Window

    Hi everybody,
    To generate my reports, I always adopted the foll. strategy:
      (a) Create a SQL Stored Procedure (with Input parameters) in Management Studio
      (b) Design a report in Crystal Report using the SP as datasource
    I want to experiment something different.
    Instead of using the SP as datasource, I wish to use the SQL Command window in CR2008.
    I have never succeeded to make it work.
    So, I am giving a simple example below , listing all my steps, so you can spot where my problem is:
    (A) Create a simple Stored Procedure in SSMS called [dbo].[usp_2014]
    USE [SIMUL02]
    GO
    /****** Object:  StoredProcedure [dbo].[usp_2014]    Script Date: 07/21/2014 12:40:22 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[usp_2014] @Project nvarchar(15)
    AS
    SELECT DocEntry, DocDate, U_ShipDept, DocTotalSy FROM ORDR
    WHERE U_ShipCode = @Project
    (B) Create a Crystal Report called TEST.rpt
          I typed the following in the Command Window (see Capture.jpg)
              {CALL "SIMUL02"."dbo"."usp_2014";1({?Project1})}
    (C) I verify the database. I get this error message:
          Failed to retrieve data from the database
            Invalid character value for cast specification
    I am blocked from here.
    Please let me know what has gone and what I must do to continue my tests.
    Thanks
    Leon Lai

    Hi Abhilash
    I copied and pasted your formula:
    Exec "SIMUL02"."dbo"."usp_2014" '{?Project}'
    Now it works!
    So, probably I typed something wrong, and did not notice
    Thanks a lot for your patience and great reply
    Closing
    Leon Lai

  • Create composite/webservice using stored procedure

    Hi,
    I want to create a webservice which will execute the stored procedure and return me the resultset. I have to use this webservice in my ADF applicaiton to create Data control (DC) and furthter implementation.
    I have gone through few videos demonstrating how to create DC and use it in UI. However, I am not able to locate any documentation or video on creating composite/webservice.
    Can someone expalin how to do it or point me to any helpful documentation for this? I really appreciate any help on this as I am stuck here.
    Thanks
    Amit

    Hi Amit,
    As ADF Datacontrol abstracts the service implementation layer, you can create your service using any technology (Oracle SOA Suite may be your good choice).
    For creating a simple composite, see the Cue Cards in your Jdeveloper as Help > Cue Cards >  Work with SOA Technologies.
    Once you know how to create a composite, you can create the one that returns the result set as REF cursor after executing the SQL procedure. The following link should help you do that.
    http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_db.htm#BGBFDDGC
    Now transform the resultset into the response variable of the service. This completes the composite development
    You can create a DC of this service now and consume it in your ADF process. You can also see some more demonstrations if you like.
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/CreatingCompositeUIs/CreatingCompositeUIsAudio.html
    For any issue this point onwards, put your question in ADF forum.
    Regards,
    Neeraj Sehgal

  • CS4 won't expand Command (Stored Procedure) in Bindings window

    Hi, I am having an annoying issue with DW CS4 and Stored
    procedures
    I have a created a command to run a stored procedure in our
    MS Sql 2005 server. I can run it on the server under the
    appropriate user. I can see the stored procedure in the DW CS4
    command dialog box using the correct Schema, I can successfully
    test the stored procedure in The DW CS4 command dialog box. But as
    soon as i click on the + to expand it in the Bindings window it
    gives the following error.
    Could not find stored procedure
    'greathage_database.rep_daily_orders_by_email'.
    This is very strange as I can see it and run it in DW CS4
    command dialog box.
    Can anyone help?

    I am having this same issue.  I've recently upgraded from DW8 (where this functionality worked fine) to DW CS4.  I can see the Command in the Bindings panel as well, however the only attribute or field available says 'Return Value' ... none of the fields from the Command are being returned.  If I go into the command and check the box for return recordset and I give the recordset a name and click okay, things 'seem' okay.
    However, I cannot seem to create an object such as a list box and bind the results of the command to the list box.  DW CS4 does not seem to recognize the command I just created.  In addition, if I go back into the same command form server behaviors, the check box for return recordset is no longer checked and the name I provided for the recordset is blanked out.
    I've experienced this on existing pages and a pre-existing DW site that all worked in DW8.  I tried opening a ticket with the Adobe support and they politely withdrew my ticket.  They said they do not support the Server Behavior portion of thier product and that I had to try the 'developer section' to find support.

  • Broken Java Stored Procedure Demo

    The link to download HotelBookingsSample.jar does not work. It is located on http://otn.oracle.com/sample_code/tech/java/jsp/samples/jsptrigger/Readme.html

    Do as follows:
    Define a JDBC Connection to your DB - use this name only.
    Create a Deployment profile (Java Stored Procedure )(with [x]Publish option) to the same connection.
    Then in the deployment tab of the Message View (View | Message View), you will see the deployment.
    Then you can call your procedures, functions using SQL*Plus by
    Expand Connection Folder
    Right Click on the JDBC Connection
    Select Invoke SQL*Plus...
    This will invoke SQL*Plus with the info from this connection.
    In SQL*Plus enter various statements to invoke your Java Stored Procedure.
    For grins, try:
    In JDeveloper, select
    File | New ... Class / JavaStoredProcedure
    Add the following methods to the bottom:
    =============
    public static String getJDBTime( ) {
    return (new Date()).toString();
    private static int nSeq = 0;
    public static int getNextSequence( ) {
    return nSeq++;
    ===========
    Then Create a deployment profile and deploy it.
    Then Invoke SQL*Plus and call it as:
    select <PackageName>.FunctionName() from dual;
    In my case, my SQL*Plus window looked as:
    SQL>
    SQL>
    SQL> select MYPROJECT5.GETJDBTIME() from dual;
    MYPROJECT5.GETJDBTIME()
    Wed Dec 20 16:12:16 CST 2000
    SQL> select MYPROJECT5.GETJDBTIME() from dual;
    MYPROJECT5.GETJDBTIME()
    Wed Dec 20 16:12:22 CST 2000
    SQL> select MYPROJECT5.GETNEXTSEQUENCE() from dual;
    MYPROJECT5.GETNEXTSEQUENCE()
    0
    SQL> select MYPROJECT5.GETNEXTSEQUENCE() from dual;
    MYPROJECT5.GETNEXTSEQUENCE()
    1
    SQL> select MYPROJECT5.GETNEXTSEQUENCE() from dual;
    MYPROJECT5.GETNEXTSEQUENCE()
    2
    SQL>
    I hope this helps,
    -John
    null

  • Invoke/Return Dataset from WebService in CLR Stored Procedure

    Hello,
    I am running SQL Server 2008 R2 or 2012 and Visual Studio 2010 Premium sp1. I have a stored procedure which currently returns a dataset which is used via SQLDataReader within a C# code-behind module in an ASP.NET application. This application uses the .NET
    4.0 framework. 
    I need to join the results from an external webservice (but within the same network) to this dataset. Instead of getting the data and putting it into a data table in code-behind (probably a HashTable which I could join with key/value pairs), I would like
    to get all of the data in the same stored procedure. I was thinking I could invoke the webservice and pass the input parms to the webservice then put the results into a temp table which I could then join with the query to the physical table.
    So, I have done quite a bit of researching online but have been unable to find any definitive answer or solution. I read the related forum thread "CLR Stored procedure consume webservice" but this does not address my versions of SQL Server / .NET
    framework.
    If someone could offer any suggestions or point in the right direction I would greatly appreciate it. Perhaps what I am trying to do is simply not possible?
    Regards,
    Buster

    Hello,
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

  • Using Oracle Stored Procedure to call a webservice

    Hi,
    I am using this version of Oracle:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE     11.2.0.1.0     Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    Requirement: I have to write a stored procedure that calls a webservice and get the result from webservice and show it on sqlplus.
    I have read some articles, and am confused as to where to start. I have come across UTL_DBWS and UTL_HTTP. But to use them, I have to set up my database accordingly allocating pool size etc.
    Is there an alternative?
    I am reading through a lot of stuff, but I am honestly not getting a hold of anything. Please advice, how I can go step by step.
    Thank you!!

    934451 wrote:
    Hi,
    I am using this version of Oracle:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE     11.2.0.1.0     Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    Requirement: I have to write a stored procedure that calls a webservice and get the result from webservice and show it on sqlplus.
    I have read some articles, and am confused as to where to start. I have come across UTL_DBWS and UTL_HTTP. But to use them, I have to set up my database accordingly allocating pool size etc.
    Is there an alternative?
    I am reading through a lot of stuff, but I am honestly not getting a hold of anything. Please advice, how I can go step by step.
    Thank you!!don't use Oracle to complete any non-DB related task.
    while a shovel is a great tool for producing a hole in the ground,
    it is sub-optimal when the wrong end of the shovel is used to move the dirt.
    You are using the "wrong end" of Oracle.

  • Using SQL stored procedures How to get the list of .rar files from e:\Tempbackup directories from the different remote desktop windows server and delete the .rar files which contains the current month and date

    Concept:
    Every month i need to find the list of .rar files from the
    E:/TempBackup directory from the different environments (remote desktop servers) and i need to delete the current month
    .rar files alone from the respective (E:/TempBackup) directory. below is example files structure inside the
    E:/TempBackup.
    example:
    zDROP_2014_08_31_Backups.rar
    zDROP_2014_09_31_Backups.rar
    zDROP_2014_10_31_Backups.rar
    from the above list i need to delete the zDROP_2014_08_31_Backups.rar(current month) file alone and also logs should be capture for this deletion.
    key words for this are zDROP and Current month and date.
    i need a stored procedure for this concept. could you please help on this.

    Hello,
    You can schedule an operating system task (Control Panel -> Schedule task) to either call a batch file or a PowerShell script.
    Please read the following resources for examples:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/61373719-fffb-4d94-bdbe-7d8ed8620b44/delete-filesfolders-on-remote-servers-using-powershell?forum=winserverpowershell
    http://www.networknet.nl/apps/wp/archives/943
    http://jeffwouters.nl/index.php/2011/10/powershell-script-to-delete-files-older-that-a-week/
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • 3.0 EA1 - DB Connection in Stored Procedure Windows

    I don't know if anybody else has encountered this, or if it was fixed in EA2 (been way too busy to check it out). When I click on a stored procedure in the tree, it doesn't always open for the database connection that I'm selecting it from. Rather, it will use the connection of the last worksheet I had open.
    It doesn't affect me too much since my permissions in our Prod server keep me from breaking too many things. I would be lying if I said I hadn't tried to compile/save a procedures without looking to see what link it was opened with.

    While we can debate about whether it should be on or off by default, and we've had both in the product over the years, we found that the biggest complaint was when you selected a procedure/package and you could not edit. It seemed that most people wanted to be able to edit from the outset. So we changed the behavior to a single set of tabs and in SQL Developer 2.1 you are in edit mode by default. It was an oversight that it was changed for 3.0 and so for consistency the decision has been made to place you in edit mode by default. For those who find this a little scary, there is a the preference to turn this off.
    Sue

  • 8i Lite and Java Stored Procedure

    Has anyone had success running the Java
    Stored Procedure examples with 8i LIte.
    My SQLPLus window alwways dies when the demo sql script triest to attach the stored procedure to the table.
    The line causing error is:
    ++++++++++++++++++++++++++++++++++++++++++
    alter table inventory attach java source "Oracle.lite.INVENTORY" in '.'
    with constructor args(PID,QTY,THRESHOLD);
    +++++++++++++++++++++++++++++++++++++++++++
    I am using Sun JDK1.3 on Windows2000.
    Any help will be highly appreciated.
    null

    Found the issue. jvm.dll was not in the path.
    Bhaven
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Bhaven Avalani ([email protected]):
    Has anyone had success running the Java
    Stored Procedure examples with 8i LIte.
    My SQLPLus window alwways dies when the demo sql script triest to attach the stored procedure to the table.
    The line causing error is:
    ++++++++++++++++++++++++++++++++++++++++++
    alter table inventory attach java source "Oracle.lite.INVENTORY" in '.'
    with constructor args(PID,QTY,THRESHOLD);
    +++++++++++++++++++++++++++++++++++++++++++
    I am using Sun JDK1.3 on Windows2000.
    Any help will be highly appreciated.
    <HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • Ubuntu 8.04 on Satellite L500-12P problems

    There are display/video problems installing Ubuntu 8.04 on L500-12P. Ubuntu 9.04 works perfect, but I need to work only with 8.04 Please help me to solve this problem, where to get display drivers? I tried to install chipset utility for windows, and

  • Query of Query Error

    This is the error I get - Query Of Queries syntax error. Encountered ". Query Of Queries runtime error. The Cold Fusion server is running MX 7,0,1,116466. The sql is "Select * from Invlotquery2 where lotnum = '2011-61-12' ". (The extra space after th

  • Viewing wish list and password needed more often

    I have noticed that viewing wish list in itunes asks for passwords more often. Two other users in my household have noticed that on their accounts as well. Is this a change to the way iTunes store works?

  • Videos don't play the sound/music on my iPod.

    Hi, I converted my videos, and everything, and when I try to play it on my iPod the video will play, but no music/sound to it.

  • A strange hang

    I am using Visual C++ .NET 2003. The code takes up approximately 600K of disk space (so you have any idea of the size). First, I compiled, builded, and executed this program using exclusively floats for all precision computing. However, I realized fo