Problem with compiling a procedure in debug-mode

ahoj all together!
i have a small pl/sql function, which made big troubles yesterday, when i compiled it with debug-info. toad didn't finish compiling and when i canceled it, i got the following two error-messages in the oracle-trace file again and again till the harddisk was full. (file is now 17 gb)
Probe:read_pipe: receive failed, status 3
Probe:S:debug_loop: timeout. Action 0
oracle-version: 9.2.0.4.0
can someone tell me what's the problem? thx!
bye,
christian

Hello,
You may get more help raising this with Toad support, or on a Toad forum.
Regards,
AG

Similar Messages

  • Problem with compilation of HelloWorld.java

    hi,
    getting problem with compilation of HelloWorld.java
    CLASSPATH--- C:\java
    PATH--- C:\j2sdk1.4.2_04\bin
    HelloWorld.java source code in: C:\java
    On cmd prompt:
    C:\java>javac HelloWorld.java
    error: cannot read: HelloWorld.java
    1 error
    pls help me with this
    rgds,
    sanlearns

    What does this command yield?
    dir HelloWorld.java

  • What is the problem with this Stored Procedure

    Hi ,
    What is the problem with this Stored Procedure ?Why is it giving errors ??
    CREATE or replace  PROCEDURE getEmpName
    *(EMP_FIRST OUT VARCHAR2(255))*
    BEGIN
    SELECT ename INTO EMP_FIRST
    FROM Emp
    WHERE EMPNO = 7369;
    END ;
    */*

    You don't specify precision in procedure arguments.
    (EMP_FIRST OUT VARCHAR2(255))should be
    (EMP_FIRST OUT VARCHAR2)Since you asked what's wrong with it, I could add that it needs formatting and the inconsistent use of upper and lower case is not helping readability.

  • Problems with date in procedure on Oracle 11g

    Hi gurus,
    I have some problems with the date format on Oracle 11g.
    Let me explain the situation:
    When I am starting a request like
    select to_number(to_char(to_date('01.04.2009','dd.mm.yyyy'), 'yyyy'))
    from sys.dual
    I got as result 2009 as number.
    When I do the same in a procedure of a package like this
    my_year := to_number(to_char(to_date('01.04.2009','dd.mm.yyyy'), 'yyyy'));
    the variable my_year contains the value 9 instead of 2009.
    Can someone explain me what's going wrong?
    I have just tested with changing the environment variable nls_date_format for the session and for the complete database with no success.
    Regards,
    Björn

    Thank you all for your replies so far:
    @Alex: You are right, using your short script in sqlplus gives me also 2009 as result
    So, I am now posting the essential excerpts of the procedure because the whole one is to large:
    function insert_szrl (my_fremd_name varchar, my_elementadresse varchar,
    my_zeitstempel varchar, my_wert float,
    my_status varchar, my_zyklus varchar,
    my_offset integer,
    my_quelle varchar, my_nzm_daten integer) return integer is
    begin
    my_date := to_date (substr (my_zeitstempel, 1, 10), 'dd.mm.yyyy') + my_tageswechsel +1/24;
    if my_zyklus = 'mm' then
    my_zeitstempeldate := add_months(to_date(last_day(to_date(my_date, 'dd.mm.yyyy')), 'dd.mm.yyyy'),-1) +1 + (my_tageswechsel+1/24);
    my_days := to_date(last_day(to_date(my_date, 'dd.mm.yyyy')), 'dd.mm.yyyy') - add_months(to_date(last_day(to_date(my_date, 'dd.mm.yyyy')), 'dd.mm.yyyy'),-1);
    my_year := to_number(to_char(to_date(my_date,'dd.mm.yyyy'), 'yyyy'));
    ptime.umschalttage_tuned (my_year, my_ws, my_sw);
    end if;
    While debugging the complete procedure I see since the start only a date which looks like '01.04.2009 07:00:00'
    Edited by: user10994305 on 19.05.2009 15:58
    Edited by: user10994305 on 19.05.2009 15:58

  • Problem with java source procedure

    Hello everyone, I've set up a simple example that is supposed to create an fdf file on the server. I tested my program and it works fine.
    Now I'm trying to do the same thing except that I would like to have my java code in the database. Here's what I've done:
    # on database in opus schema
    create or replace and compile java source named testpdf as
    import java.io.*;
    import com.adobe.fdf.*;
    import com.adobe.fdf.exceptions.*;
    public class TestPDF
         public static void Test()
    try
         FDFDoc outputFDF = new FDFDoc();
         outputFDF.SetValue("status", "En traitement!");
         outputFDF.SetValue("Date", "01-01-2006");
         outputFDF.SetValue("Name", "Alexandre Folgueras");
         outputFDF.SetValue("Address", "12 Saratoga Ave");
         outputFDF.SetValue("City", "Saratoga");
         outputFDF.SetValue("State", "CA");
    outputFDF.SetFile("/tmp/java_pdf/GenerateFDF.pdf");
    outputFDF.Save("/tmp/java_pdf/alex.fdf");
    catch (Exception e)
    e.printStackTrace();
    create or replace procedure pdf_doc
    AS LANGUAGE JAVA
    NAME 'TestPDF.Test()';
    commit;
    Everything seems to be OK by when I run it, my file does not get created even though I don't get any errors.
    Anybody knows why?
    Thanks in advance!

    Hello,
    I'm also creating a class with static functions and putting it as a Java source in Oracle but I have problems with imports. In my case, I use MQSeries JAR files and when I put my code in Oracle, I have warnings "Java created with compilation errors". It's just about the lines where I create/use MQSeries objects, because when I comment them, I have no more errors.
    I see you also use specific imports with PDF, so I would like to know where you put the JAR files so that the Java source can be compiled correctly.
    Thanks in advance,

  • Problem with SQL,udfs & procedures

    I have couple of problems with my database. Please suggest solution.
    We are basically a web product With a Quite large Database
    1. I am using functions both User Defined and Built in Functions in
    SQL Statement. I want to optimize the query how do i do it.
    why the usage of function in sql statements suppresses,the
    usage of indexes internally. How to forceable make use of
    the index even though function is used.
    2. Whenver The Client makes a request to the Database server with a
    Sql Query What are the steps we can take at the
    client side to enhance the performance of the Query.
    (i.e the Data Request ). How to optimize the usage of CPU at
    client site?
    3. what is the increase in the performance ration by having
    separate table spaces for user data,system data and indexes.
    4. Why the procedures are getting invalided
    after some time. The procedure is
    not getting executed at the front end.
    Once the procedure is getting invalidated.
    However even though the status of the
    procedure is invalid the same is getting
    executed at the back end.
    Can anybody help me
    Request for reply ASAP.
    Regards
    Koshal
    null

    1. In Oracle 8i, one can create function-based indexes, where instead of indexing a column, one can index upper() of that column.
    2. Optimizing client performance is trickier. One can tune the queries being
    submitted by the client, but if getting the first row back -- which is how response time is generally perceived -- set the OPTIMIZER_MODE parameter in init.ora to FIRST_ROWS.
    3. There is minimal benefit to having data, index, rollback, and temp tablespaces all separated unless all the datafiles for each tablespace reside on different disks (data on disk 1, index on disk 2, etc). It's recommended regardless, but unless the files are on separate volumes, there won't be a great performance benefit.
    4. A procedure is invalidated whenever DDL is issued against any object that that procedure depends upon. For example, if you add a column to a table, any procedures which reference that table will be invalidated. Any procedures which reference views which reference that table will be invalidated, because the view will be invalidated. It's best to run a compile script which looks for and attempts to recompile any invalid objects on a daily basis.
    Adam

  • Problem with Adobe Flash Player in fullscreen mode

    Hi everybody, I have noticed a problem with flash player while I'm watching streaming programs in fullscreen mode.
    The problem is that when I'm watching something in fullscreen mode and the quality is set to "high" I have a stammer in both sound and image.
    When I 'm watching in "medium" quality everything is fine in fullscreen mode.
    The default selection is "high", how can I change this to "medium" ?
    It's very annoying to change this all the time manually.
    thxx in advance
    p.s. I use windows 7 64bit ultimate and the latest version of both firefox and adobe flash player

    So, you didn't need help with anything, you just wanted to rant?

  • Problem get the parameter ID using debug mode

    Hi Expert,
    I got problem for tracking the problem which is using GET PARAMETER ID under debug mode. the scenario is like that, I go and run the BDC transaction and want to use GET PARAMETER ID 'KUN' to populate data customer code to some variable. but when I using the debug mode sometimes my variable is came from GET PARAMETER ID was missing. but if running not using the debug mode all is populated perfectly. is there any SAP notes or code I can use to continue my debuging instead using GET PARAMETER ID ? Thank you
    Regards,
    Koho koho

    Hi BreakPoint,
    Thanks for the replay, I really don't know and how to configure again. this morning I am running upload program using the BDC using the get paramater ID from posting FB03. I loading 10 documents upload. and 2 is failed to take the "get parameter id 'BLN' field var1" and var1 is blank, the other 8 document posted I can get the paramter id as well. any solution for this case. Thanks
    Regards,
    Koho koho

  • Problem when trying to run in "Debug Mode" in JDeveloper9i

    Hello All ,
    i have a problem to debug my application using
    JDeveloper9i .
    i get an error: "fdebug.exe could not be read "
    and Application error box appears .
    i did the following steps in the instalation:
    1) i installed the JDK 1.3
    2) installed the Jdev9i from base installation zip
    3) In <jdeveloper_root>\jdev\bin\ i executed the command
    InstallOJVM.bat c:\jdk1.3
    and get message:
    "InstallOJVM successfully"
    4) i wrote simple program and put a breakpoint ,
    when i'm trying to run the program in "Debug mode" i get an error box message
    "fdebug.exe Application Error"
    The memory instruction could not be read
    please help ,me to fix the problem i need the debuger option .
    thanks in advance.

    Do you have the file c:\jdk1.3\jre\bin\fdebug.exe, if you don't, you
    need it. Look for the file in the base install directory, it should be
    there and then copy it to the location above.
    Michel

  • Problems with manually renaming files in List Mode

    I have an iMac 24" 2.4 Ghz with 4 Gb of RAM. Sometimes when I try to rename a file in a folder in List mode, I get unexpected and strange behavior. It is intermittent. It might be that I cannot get the highlighted current name to unhighlight (in cases where I only want to change a portion of the name), or the filename box might disappear, or the folder seems to lockup, or I get blocks every other space instead of letters. Weird, strange results. I do know that I can minimize the problem, if when first entering the filename box (by hitting 'return') I move the cursor via the cursor keys to the right over the extension and then back to the left. When I do that, it seems like I have less problems.
    All I can say is that it doesn't seem to be a robust as what I was used to in the Windows world. I'm new to Mac and this is the only complaint I have. I'm ecstatic about my Mac and can't believe I waited this long to convert over to it. If I could get this little glitch fixed, I'll be a 'happy camper'! (the problem's certainly not enough to make me go back to the misery I was in with Microsoft.)
    Has anyone else experienced any problems such as this? Or, is there a possibility that there is something wrong with my Mac?
    Or, am I doing something wrong?
    Thanks for any kind help I receive.
    Matt

    Finder for Intel is the same as Finder for PPC. Its the same code, sans some endian conversions.
    As for the renaming problem. Two things come to mind. In Tiger if you selected a file and pressed return, no matter what view style you were in, it would bring up the edit field and the entire name would be highlighted. In Leopard, this was changed slightly where it will now highlight everything up to the file extension. So if you have a file called 'foo.txt', it will highlight just 'foo'. This is a nice feature IMO because more often then not I don't want to change the file extension, only the 'body' of the file name.
    The Edit box disappearing is a bug that has been around for a couple OS releases where if something causes the view to update (more specifically the HIDataBrowser control List View is made of) while your renaming something, it will cancel the rename session. This can be caused by a bunch of things, like the size of a file changing or mod date changing or file being added to the directory etc. It has been around for a while, but has only become more prominant due to the addition of Icon Thumbnails in Leopard. When the thumbnail is created for the file by the Finder, List View updates to show the new thumbnail which cancels the edit session. There are a couple workarounds for this:
    1) Switch to Icon or Column View
    2) Wait for all the thumbnails to be created before starting to edit file names. Thumbnails appear pretty quickly, and only for the files that are currently visible in the window, so you shouldn't have to wait very long, and it only happens the first time you view that folder.
    3) Press Command-J while in List View and uncheck "Show Icon Previews" and then click the "Use as Defaults" button. That will turn off the icon thumbnails for all windows in List View.
    I haven't seen a problem with "blocks showing up every other space" though. I assume you mean a solid black square, right? Sounds like an invalid character in the file name. Renaming the file to something else should cure that one.
    Message was edited by: petrock

  • If you have problems with Yahoo, start FF4 in safe mode and see if it works. If yes, you have a problem with one of your add-ons.

    Apparently some of your "good" add-ons do not work right with FF4. If you have a problem with YAHOO MAIL, start FF4 in Safe Mode (Restart with add-ons disabled from the Help menu). Then try your Yahoo again. If everything works, then the problem is with one of your add-ons. You can selectively work out which add-on is the problem. For a lot of these user problems, this should help... worth a try anyway.

    Anything?

  • Problem with text determination procedure

    here we r finding text determinations procedures for purchase order in spro - img conflagration as follows materialmanagement-purchasing-messages-text for messages-define text for po.by going here i had a view where both header and item text for different po is maintained.
    now i want this text to be printed in my purchase order every time with different item selected there should be different item text should be selected.
    1. the major problem when inserting into medruck form as  insert-text-standard text, here it selecting the text object as TEXT BUT FOR DIFFERENT MATERIALS IT SHOULD SELECT MATERIAL as text object then only i can retrieve the material text's.
    if any one can forward a document r help to solve this problem and solution suggestions.
    this is a very important requirement.pls forward it as early as possible,
    thanx with regards...
    hareesh tadepalli

    Raj,
    Thanks for your suggestion.  This would be a possiblity going forward, but we have existing tickets that would still be missing the interaction text.  This apparently worked before we upgraded to SP 14, so I don't think there is a problem with our configuration.
    I created some new test tickets, and found that the interaction text is still being copied and saved in the ticket log, even after text is added to the ticket.  The problem is that the interaction text is not visible from IC Web.  It is visible when looking at the ticket in the SAP GUI (transaction CRMD_ORDER).
    For example, here is the contents of the Log text as seen in SAP GUI (I use "TICKET" or "INTERACTION" in the text to indicate where the text originated):
    General Note
    06/03/2009          11:14:36            M305755
    TICKET - general note
    General Note
    06/03/2009          11:13:59            M305755
    INTERACTION - general note
    Technical Problem
    06/03/2009          11:13:59            M305755
    INTERACTION - technical problem
    Here is the contents of the Log text as seen in IC Web:
    General Note
    06/03/2009          11:14:36            M305755
    TICKET - general note
    Martin

  • Performance problem with java stored procedure

    hi,
    i developped a java class, then I stored it in Oracle 8.1.7.
    This class contains several import of other classes stored in the database.
    It works, but the execution perfomances are disappointing. It's very long. I guess, that's because of the great number of classes to load that are necessary for my class execution.
    I tried to increase the size of the java pool (I parameter 70 Mo in the java_pool_size parameter of the init.ora), but the performance is not much better.
    Has anyone an idea to increase the performance of this execution of my class ?
    In particular, is there a way to keep permanently in memory the java objects used by my class ?
    Thanks in advance
    bye
    [email protected]
    null

    before running Java, the database session needs to be Java enabled; this might be the reason why it is taking so long. If this is the case, you should see an improvement in subsequent calls, once a database session is Java enabled, other users can benefit from it.
    Kuassi
    I have some performance issue with java stored procedure. Hope some one will be able to help me out. I'm using java stored procedures in my application and basically these procedures are used to do some validation and form the XML message of the database tables. I have noticed that when I call the PL/SQL wrapper function, it is taking time to load the java class and once the class is loaded the execution is faster. Most of the time is spent for loading the class rather than executing the function. if I reduce the class load time, I can improve the performance drastically. Do any one of you know how to reduce the class load time. The following are the platform and oracle version.
    O/S: IBM AIX
    Oracle: 8.1.7

  • How to run trigger/procedure into debug mode

    Hi,
    I have created trigger. i would like to run this into debug mode. Please suggest that how to do through sqldeveloper or sql command prompt.
    Regards,
    Venkat

    - install PL/SQL developer (trial available at www.allroundautomations.com)
    - connect to your DB
    - in the tree on your left right click your trigger and select "Add debug information"
    - open a new test window (file - new - test window)
    - -- Created on 20-2-2012 by RMARTENS
    declare
      -- Local variables here
      i integer;
    begin
      -- Test statements here
      insert into table (col1, col2) values ('cal1', 'val2');
    end;- now click the "Start debugger" button and you'll be able to step into all the steps.
    - the idea is that you do a "step into" on your insert statement (which offcourse you need to alter according to your table)
    good luck!
    Regards,
    Richard
    blog: http://blog.warp11.nl
    twitter: @rhjmartens
    If this question is answered, please mark the thread as closed and assign points where earned..
    Edited by: rima on 20-feb-2012 11:37

  • Problems with compilation of a Simple JSP

    Hello!
    This is a typical newbie problem with starting off on JDeveloper 3.0 (JDK 1.1.8) and Oracle 8i (8.1.1). When I create a simple JSP (The "Hello World" Jsp given in the File | New | Web Objects option) and try to run it - it gives me the following error :
    java.io.IOException CreateProcess : cmd.exe /C start "" "C:\PROGRAM FILES\ORACLE\JDEVELOPER 3.0\myprojects\WebAppRunner.html" error = 0
    Obviously the JSP does not run.
    Any pointers about what might be wrong?
    Regards
    Mona

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Mona Marathe ([email protected]):
    Hello!
    This is a typical newbie problem with starting off on JDeveloper 3.0 (JDK 1.1.8) and Oracle 8i (8.1.1). When I create a simple JSP (The "Hello World" Jsp given in the File | New | Web Objects option) and try to run it - it gives me the following error :
    java.io.IOException CreateProcess : cmd.exe /C start "" "C:\PROGRAM FILES\ORACLE\JDEVELOPER 3.0\myprojects\WebAppRunner.html" error = 0
    Obviously the JSP does not run.
    Any pointers about what might be wrong?
    Regards
    Mona<HR></BLOCKQUOTE>
    The above error message is likely due
    to JDeveloper looking for the NT command
    interpreter named CMD.EXE .
    I was able to run servlets with JDeveloper
    and Windows 98 by copying COMMAND.COM to
    C:\CMD.EXE, which was much easier to do
    than putting a new OS on my machine.
    Cheers,
    David

Maybe you are looking for