Package Compilation Hangs

Hi,
I want to compile a package. But it hangs, i wait long time but unable to compile it. Any session does not use that package. Do you have any idea? Where to start to check? How can i analyze it?
Thanks...

I cehecked from the script. Noone has executed the package. And then i tried to compile the package.
SQL> alter package p compile;it hangs again.
When i run the script i saw some packages that is called inside the package p
TYPE      OWNER                     NAME                             SID  SERIAL
PACKAGE   SYS                       DBMS_LOCK                        269      21
PACKAGE   SYS                       DBMS_OUTPUT                      269      21
PACKAGE   SYS                       DBMS_STANDARD                    269      21
PACKAGE   SYS                       STANDARD                         269      21
PACKAGE   SYS                       STANDARD                         269      21
PACKAGE   MENNAN                    E                                269      21
PACKAGE   MENNAN                    U                                269      21
PROCEDURE MENNAN                    A                                269      21Then i checked from unix, relevant oracle process has take %99 of CPU
  PID USERNAME PRI NICE  SIZE   RES STATE   TIME    CPU COMMAND
103889 oracle    51    0  399M   31M run     9:11 99.90% oracleThen i try to kill the session; but unfortunately i could not.
SQL> alter system kill session '269,21';
alter system kill session '269,21'
ERROR at line 1:
ORA-00031: session marked for killDo you have any idea?
Thanks...

Similar Messages

  • Suppose in a Package Spec there are 3 functions and Package Body there are 5 functions will the package compile?

    Suppose in a Package Spec there are 3 functions and Package Body there are 5 functions will the package compile?

    Rather than asking these basic one-liner questions (When a package is created how many database objects are created?) why don't you explain what issues you are experiencing after you've read the documentation and tried things yourself.
    The forums are for people to help when they experience issues, not when they can't be bothered to read the documentation or searcht the web for the basic information that's already explained.
    Re: 2. How do I ask a question on the forums?
    Re: 1. Where can I find Oracle Documentation?

  • Hanging package compile

    Hi,
    We have a large schema and packages that compile find on Oracle 11.1.
    When I try the same procedure to build our schema and packages on a
    new Oracle 11.2 on a new box it hangs during the compilation of a
    package:
    sqlplus -S xxx/[email protected]:1521/sid @xxx_body.sql
    SELECT DECODE(request,0,'Holder: ','Waiter: ')||sid sess,
    id1, id2, lmode, request, type
    FROM V$LOCK
    WHERE (id1, id2, type) IN
    (SELECT id1, id2, type FROM V$LOCK WHERE request>0)
    ORDER BY id1, request
    shows nothing and
    select * from v$sql where users_executing > 0
    shows:
    BEGIN EMD_NOTIFICATION.QUEUE_READY(:1, :2, :3); END;
    select TIME_WAITED_MICRO from V$SYSTEM_EVENT where event = 'Shared IO
    Pool Memory'
    select 1 from obj$ where name='DBA_QUEUE_SCHEDULES'
    Any ideea?
    Regards
    Sandeep

    query v$sess_io, v$session_events and v$session_waits
    Sybrand Bakker
    Senior Oracle DBA

  • Package compiling error

    Hello,
    So I"m continuing to study java and I've been trying to create my first package but I keep getting problems whenever compiling via my java editor (JGrasp) and when trying to compile via the command prompt. I was hoping somebody could help me understand what I'm doing wrong with the code or compilation process. Thanks in advance for any help anybody could provide. (oh as one other sidenote these problems started happening after i'd done this at the command prompt to try to compile as well javac -d C:\ Entertainment.java)
    Josh
    JGrasp compiler problems
    ----jGRASP exec: javac -g C:\Entertainment.java
    ----at: Jun 23, 2006 7:35:32 AM
    ----jGRASP wedge: pid for wedge is 2788.
    ----JGRASP wedge2: pid for wedge2 is 3476.
    ----JGRASP wedge2: CLASSPATH is ".;;.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip;C:\Program Files\jGRASP\extensions\classes".
    ----jGRASP wedge2: working directory is [C:\] platform id is 2.
    ----jGRASP wedge2: actual command sent ["C:\javac.exe" -g C:\Entertainment.java].
    ----JGRASP wedge2: pid for process is 3496.
    Can't determine application home
    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.
    Actual program
    import javax.swing.*;
    package com.eventhandlers.entertainment2;
    public abstract class Entertainment
    protected String entertainer=("");
    protected int fee=0;
    public Entertainment()
    setEntertainerName();
    setEntertainmentFee();
    public String getEntertainerName()
    return entertainer;
    public double getEntertainerFee()
    return fee;
    public void setEntertainerName()
    entertainer=JOptionPane.showInputDialog(null,
    "Enter Name of entertainer ");
    public abstract void setEntertainmentFee();
    }

    Actual program
    import javax.swing.*;
    package com.eventhandlers.entertainment2;I don't know if it will solve your problem, but these two lines should be
    the other way around, like this:package com.eventhandlers.entertainment2;
    import javax.swing.*;IOW, the package statement (if present) should be the first statement
    in your compilation unit (.java file).
    kind regards,
    Jos

  • Package compilation error

    Hi all,
    Just tried to compile a package in which the package definition and package body did not match. I was expecting an error. However I didnt get any. The "Script Output" windows states that the package and its body have been compiled successfully. Can anyone guide me if I am missing out something or is this a bug?
    Thanks in advance.

    The package definition has the stored procedure as below
    PROCEDURE spu_uTest(
    p_inot           IN NUMBER);
    The package body is as below
    PROCEDURE spu_Test(
    p_inot           IN NUMBER)
    IS
    --Updating Namo
    BEGIN
    UPDATE TEMPO
    SET NAMO = p_inot;
    END spu_Test;
    If you can see the procedure names do no match in the defintion and the body. However on compilation I do not get any error. Can you outline the steps for compiling a package sql file?

  • SSIS Package compiled successful, in SQL Server Integration Service package executed sucessful, But fail to run in MS SQL Job Scheduler

    Hi Everyone,
    I having a problem to transfer data from MS SQL 2005 to IBMAS400. Previously my SSIS was running perfectly but there is some changes I need to be done in order for the system to work well. Considers my changes are minimal & just for upgrades (but I did
    include DELETE statements to truncate AS400 table before I insert fresh data from MS SQL table to the same AS400 table), so I compile my SSIS package & it run successfully & I passed it into MS SQL Integrated Service as 1 of the packages & manually
    executed the package & the result is the same, that mean it was successful again but when I try to run it in a MS SQL Job Scheduler, the job failed with these message shown below as extracted from the job View history. 
    Date today
    Log Job History (MSSQLToAS400)
    Step ID 1
    Server MSSQLServer
    Job Name MSSQLToAS400
    Step Name pumptoAS400
    Duration 00:00:36
    Sql Severity 0
    Sql Message ID 0
    Operator Emailed
    Operator Net sent
    Operator Paged
    Retries Attempted 0
    Message
    Executed as user: MSSQLServer\SYSTEM. ... 9.00.4035.00 for 32-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    
    Started:  today time  
    Error: on today time     
    Code: 0xC0202009     Source: SSISMSSQLToAS400 Connection manager "SourceToDestinationOLEDB"     
    Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. 
    Error code: 0x80004005.  An OLE DB record is available.  
    Source: "IBMDA400 Session"  
    Hresult: 0x80004005  
    Description: "CWBSY0002 - Password for user AS400ADMIN on system AS400SYSTEM is not correct ".  End Error  
    Error: today     
    Code: 0xC020801C     
    Source: Data Flow Task OLE DB Destination [5160]     
    Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "DestinationClearData" failed with error code 0xC0202009.  There may be error messages posted before
    this with more information on why the AcquireConnection method ca...  The package execution fa...  The step failed.
    So I hope somebody can shed some hints or tips for me to overcome time problem of mine. Thanks for your help in advance. As I had scoured thoroughout MSDN forums & found none solution for my problem yet. 
    PS: In the SQL Integrated Services when I deployed the package I set the security of the packages to Rely on server... 
    Hope this will help.

    Hi Ironmaidenroxz,
    From the message “Executed as user: MSSQLServer\SYSTEM”, we can see that the SQL Server Agent job ran under the Local System account. However, a Local System account doesn’t have the network rights natively, therefore, the job failed to communicate with
    the remote IBMAS400 server.
    To address this issue, you need to create a proxy account for SQL Server Agent to run the job. When creating the credentials for the proxy account, you can use the Windows domain account under which you executed the package manually.
    References:
    How to: Create a Credential
    How to: Create a Proxy
    Regards,
    Mike Yin
    TechNet Community Support

  • No modules found in kernel26 package compiled via ABS

    Hi,
    I have been experiencing problems building kernels recently.  I've used ABS and AUR pkgbuilds to build kernels since 2.6.30, mostly to enable the proper USB scheduler for my hub and to try outside kernel patches, see kernel26-ck.  However, since the release of 2.6.35.2, more likely a mere coincidence, I've been compiling small kernels (~4MB) from the default .configs without any modifcations to the PKGBUILDs or the config files.  Looking at the compiled packages, I noticed the omission of the kernel modules that are normally located in /lib/modules/[kernelname]/kernel.  The missing kernel modules obviously causes my machine to be unable to boot (https://bbs.archlinux.org/viewtopic.php … 15#p872215).  My makepkg.conf is below.  Any explanation on what is going on?  Thanks
    ~$ cat /etc/makepkg.conf
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
    'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
    'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/curl
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Exclusive: will only run on x86_64
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
    CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
    LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
    #-- Make Flags: change this for DistCC/SMP systems
    MAKEFLAGS="-j2"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    BUILDENV=(fakeroot !distcc color !ccache)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs libtool emptydirs zipman purge)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries in STRIP_DIRS
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    OPTIONS=(strip docs libtool emptydirs zipman purge)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Directories to be searched for the strip option (if strip is specified)
    STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.xz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Last edited by ssri (2011-01-15 05:56:17)

    Ran linpack and noticed that my CPU temp peaked at 74C, well below the critical threshold of 100C (according to intel).  Usually, my CPU runs at arounr 48-55C unless I am doing some CPU-intensive task.  When that happens, it will run up to the upper 70s.
    ~ $ cat /etc/lininput_xeon64
    Sample Intel(R) LINPACK data file
    Intel(R) LINPACK data
    1 # number of tests
    21000 # problem sizes
    21000 # leading dimensions
    20 # times to run a test
    4 # alignment values (in KBytes)
    # Change the problem sizes and leading dimensions to suite your free physical memory
    # Memory use = 8 x (problem size)^2
    # or
    # Problem size = sqrt (memory use / 8)
    # For 1 GB use a problem size and leading dimensions of 7000
    # For 2 GB use a problem size and leading dimensions of 13700
    # For 4 GB use a problem size and leading dimensions of 21000
    # For 8 GB use a problem size and leading dimensions of 29600
    ~ $ cat lin_xeon64.txt
    Fri Dec 31 21:30:38 PST 2010
    Intel(R) LINPACK data
    Current date/time: Fri Dec 31 21:30:38 2010
    CPU frequency: 1.800 GHz
    Number of CPUs: 1
    Number of cores: 2
    Number of threads: 2
    Parameters are set to:
    Number of tests : 1
    Number of equations to solve (problem size) : 21000
    Leading dimension of array : 21000
    Number of trials to run : 20
    Data alignment value (in Kbytes) : 4
    Maximum memory requested that can be used = 3528424096, at the size = 21000
    ============= Timing linear equation system solver =================
    Size LDA Align. Time(s) GFlops Residual Residual(norm)
    21000 21000 4 666.408 9.2659 3.591869e-10 2.884103e-02

  • PLS-00907 Error but referenced package compiled

    Hi I am experiencing some problems with Database Link.
    In DEV Environment,
    I have two database, DB A and DB B.
    In DB A I have package name SUPPORT_PKG and inside it I have a function named HISTORY_UPDATE.
    Package is compiled correctly in DB A and working fine.
    I created a procedure CALL_HIST_UPD in DB B to execute SUPPORT.PKG.HISTORY_UPDATE@A through DB LINK.
    and it gave me PLS-00907 error.
    UAT environment has the same setup of user and package as DEV.
    then I tried to copy the CALL_HIST_UPD to DB B in UAT and it can be compiled sucessfully in UAT.so I do the following
    Back to Dev again
    I tried to figure what's going on until I decided to replace the header specification SUPPORT.PKG.HISTORY_UPDATE
    with the declaration part from the body and recompiled the whole package again, and this time I can compile the procedure in DB B.
    I am curious and check the header in UAT and found that UAT Headers is the same exactly with the DEV Headers
    before I replaced it with the new one by copying from the body. I am curious why the DEV environment give the PLS-00907 error at the first time, even at that time package in A are compiled nicely.
    Let me know if the question is not clear.
    thanks for your help

    Try this -
    CREATE OR REPLACE PACKAGE data_mgmt AUTHID CURRENT_USER
    IS
       FUNCTION hy_name (in_dt DATE, in_option_txt VARCHAR2)
          RETURN VARCHAR2;
    END data_mgmt;
    CREATE OR REPLACE PACKAGE BODY data_mgmt
    IS
       FUNCTION hy_name (in_dt DATE, in_option_txt VARCHAR2)
          RETURN VARCHAR2
       IS
          return_txt   VARCHAR2 (25);
       BEGIN
          RETURN return_txt;
       END hy_name;
    END data_mgmt;
    /

  • Support Package SAPKB71101 hangs while applying

    Hi,
    I am applying basis support package SAPKB71101, it is getting hanged in Main Import. I was trying to import from last 4 days. But still it is hanged in the Main Import only. When i try to check the log in Slog, i am getting the warning as /usr/sap/trans/tmp/SAPKKB711001.PI7 is already in use (1890), I'm waiting 1 sec  (20100325184152). My name: Pid 26022.
    WARNING: /usr/sap/trans/tmp/SAPKKB71101.PI7 is already in use (1850), I'm waiting 3 sec (20100325183950). My name: pid 26022
    WARNING: /usr/sap/trans/tmp/SAPKKB71101.PI7 is already in use (230), I'm waiting 5 sec (20100325184000). My name: pid 8531 o
    WARNING: /usr/sap/trans/tmp/SAPKKB71101.PI7 is already in use (830), I'm waiting 5 sec (20100325184001). My name: pid 11084
    WARNING: /usr/sap/trans/tmp/SAPKKB71101.PI7 is already in use (1860), I'm waiting 1 sec (20100325184022). My name: pid 26022
    WARNING: /usr/sap/trans/tmp/SAPKKB71101.PI7 is already in use (240), I'm waiting 4 sec (20100325184031). My name: pid 8531 o
    WARNING: /usr/sap/trans/tmp/SAPKKB71101.PI7 is already in use (840), I'm waiting 3 sec (20100325184031). My name: pid 11084
    WARNING: /usr/sap/trans/tmp/SAPKKB71101.PI7 is already in use (1870), I'm waiting 3 sec (20100325184054). My name: pid 26022
    WARNING: /usr/sap/trans/tmp/SAPKKB71101.PI7 is already in use (850), I'm waiting 1 sec (20100325184056). My name: pid 11084
    WARNING: /usr/sap/trans/tmp/SAPKKB71101.PI7 is already in use (250), I'm waiting 4 sec (20100325184100). My name: pid 8531 o
    WARNING: /usr/sap/trans/tmp/SAPKKB71101.PI7 is already in use (1880), I'm waiting 4 sec (20100325184119). My name: pid 26022
    WARNING: /usr/sap/trans/tmp/SAPKKB71101.PI7 is already in use (860), I'm waiting 5 sec (20100325184125). My name: pid 11084
    WARNING: /usr/sap/trans/tmp/SAPKKB71101.PI7 is already in use (260), I'm waiting 5 sec (20100325184131). My name: pid 8531 o
    WARNING: /usr/sap/trans/tmp/SAPKKB71101.PI7 is already in use (1890), I'm waiting 1 sec (20100325184152). My name: pid 26022
    I am getting this warning continously. Please suggest me the solution.
    Regards
    Karunakar

    Hi,
    Could you check if a (tp or R3trans)  still exists  for the same PID.
    If this process does, exist, you can
    1. wait for a time when no normal transports (STMS, tp, ...) run.
    2. wait for a time when nothing is done in SPAM or SAINT.
    3. also no client exports or imports should be done, so no tp or  R3trans process should run on the System.
    4. If then still tp or R3trans processes run, kill the R3trans  processes at Operating system level.
    5. wait a bit and then also the tp processes should end with an error.
    6. check again tht no tp and no R3trans process exists on the  server.
    7. Go to /usr/sap/trans/tmp and check whether there is file names SAPKKB71101.PI7.
        rename the file SAPKKB71101.PI7 to SAPKKB71101.PI7.old
       The system will create a file again in DIR_TRANS/tmp when new TP process is trigger later.
    Read note #12746.
    Best Regards
    Niraj

  • "program too large" on package compile

    Hi,
    I am trying to compile a package (which has around 3000+ lines), and I am getting an error "program too large".
    I believe I would need to split into 2 packages, but is there any other solution than splitting the code?
    I am building a dynamic package from here using system.ad_ddl. Can I use system.ad_ddl in two different packages and in the end create the object in one of the packages? (will it take the statements added from both the packages?)
    Thanks,
    Sharad

    system.ad_ddl is not a Oracle documented program unit name. How did it get into the SYSTEM schema?
    Can you post a Oracle doc link to this code unit where it is available?

  • Package compilation problem in WinXP

    I am creating a simple program to throw a dice but have some problem with packages.
    I have 2 files, in the directory, C:\Dgame\Dgame\Dice.java and C:\Dgame\Dgame\Dealer.java .
    I packaged both of them into a package called Dgame (using "package Dgame;" at the first line of the file).
    The Dealer class creates a few NTDice instances. I tried to compile both a whole load of errors came out.
    Something like:
    cannot resolve symbol
    class NTDice
    location Dgame.Dealer
    Dice A = new Dice(1,2,3,4,5,6);
    any ideas on how to solve this problem will be greatly appreciated =)
    nb:i did not set any classpath settings

    Look up your error message here
    http://www.mindprod.com/errormessages.html and review
    the possible causes.
    If you still have problems post relevant portions of
    the code for review.Heres the code:
    I changed the file names abit. Dice == NTDice
    Any idea on how to solve the problem?
    Dealer.java
    package Dgame;
    import Dgame.*;
    import java.util.*;
    public class Dealer{
    //set the values for the dice
    NTDice A = NTDice( "A", 5, 6, 7, 38, 39, 40);
    NTDice.java
    package Dgame;
    import java.util.*;
    public class NTDice{
    //data members
    private String name;
    private ArrayList faceValues = new ArrayList();
    private Integer throwResult;
    static private int NTDiceCounter=0;
    //constructor
    public NTDice(String aName, Integer f1, Integer f2, Integer f3, Integer f4, Integer f5, Integer f6){
    name = aName;
    faceValues.add(f1);
    faceValues.add(f2);
    faceValues.add(f3);
    faceValues.add(f4);
    faceValues.add(f5);
    faceValues.add(f6);
    ++NTDiceCounter;
    public void roll(){
    ArrayList theDice = new ArrayList(faceValues);
    Collections.shuffle(theDice);
    setThrowResult(theDice);
    public void setThrowResult(ArrayList aDice){
    throwResult = (Integer) aDice.get(0);
    public Integer getThrowResult(){
    return throwResult;

  • Java package compile errors

    I use a batch file to compile a java package. And I got the following errors:
    TabPages: Java: 29: Cannot solve symbol
    Symbol: class JSPFactory
    Location: package JSP
    JSPFactory = javax.Servlet.jsp.JSPFactory.getDefaulfFactory();
    Note: Some input files use or override a deprecated APT.
    Note: Recompile with -deprecation for details.
    I am using New Atlanta servletExec 3.1 and IIS server. Can anyone help me figure our the above errors? Thanks!

    if I add the "set classpath=".,C:/javax" to the begining of the batch file, will this override the classpath that I set in the Environment window? I am worried about this since we have a bunch of environment variables already been set there.
    I tried to add the ";c:\javax" at the end of the classpath on my Environment window, and rebooted the server, but still got the same error message. Did I have some syntax error? What does the dot before ";C:/javax" mean? I deleted it when I added them to the classpath.
    It will cause too much trouble to add the "javac XXX.java -classpath=".;C"/javax" to each file that needs this package because we don't have a single command for compiling a single java file. We have a huge amount of java files and we just use a single "javac -d" to compile every file under several folders. Our batch file is as follows:
    del /F/Q ..\classes
    javac -d ..\classes *.java htmltool\html\*.java ises\*.java DropDown\*.java frmselection\*.java grid\*.java treeView\*.java reportTreeMenu\*.java hs\types\*.java
    del /F ..\lib\grid.jar
    del /F ..\lib\TreeView.jar
    cd ..\classes
    jar cf ..\lib\grid.jar grid
    rmdir /S/Q grid
    jar cf ..\lib\TreeView.jar treeView
    rmdir /S/Q treeView
    cd ..\javasrc
    Another thing is that: we have exact the same classpath and batch file on another server which works fine, and its classpath doesn't include explicitly stuff like";c:\javax", but we never have prolbem compiling the java source. So do I miss something else?

  • XlC compilation hangs when calling createEnvironment()

    Let me first say I am posting this message for a developer as I myself don't have much C/C++ development experience. My developer states he is trying to compile using xlC compiler and the -g -pg flags. He states it hangs when it gets to the OCCI call createEnvironment(). However, he says he can successfully compile when he ONLY uses the -g flag. Does anyone know what might be causing this? He also stated that they used to use the -g and -pg flags together BEFORE they tried compiling using the OCCI calls.
    IBM 5.3 ML4
    xlC 8.0
    Oracle 10.2.0.3

    Let me first say I am posting this message for a developer as I myself don't have much C/C++ development experience. My developer states he is trying to compile using xlC compiler and the -g -pg flags. He states it hangs when it gets to the OCCI call createEnvironment(). However, he says he can successfully compile when he ONLY uses the -g flag. Does anyone know what might be causing this? He also stated that they used to use the -g and -pg flags together BEFORE they tried compiling using the OCCI calls.
    IBM 5.3 ML4
    xlC 8.0
    Oracle 10.2.0.3

  • Package Compiler Issues

    Hey
    I am trying to compile a simple as3 file
    [code]
    package {
    import flash.display.MovieClip;
    class Test extends MovieClip{
    public function Test(){
    trace("Hello");
    [/code]
    It compiles ( with a warning) but I get this runtime error
    TextReferenceError: Error #1065:
    Variable Test is not defined.
    The compile time warning was
    C:\Applications\AS3Examples\Test\tst\Test.as(5): col: 8
    Warning: class 'Test' will be scoped to the default namespace:
    internal
    class Test extends MovieClip{
    So I decided to create a package
    I created a directory tst and put the class Test.as in that
    directory
    [code]
    package tst{
    import flash.display.MovieClip;
    class Test extends MovieClip{
    public function Test(){
    trace("Hello");
    [/code]
    Now I try to compile using mxmlc
    mxmlc actionscript-classpath tst\ Test.as
    I get this
    Loading configuration file
    C:\Applications\Flex_sdk_2_0_beta3\frameworks\flex-config.xml, root
    element flex-config
    Error: unable to open 'Test.as'
    Can someone point out where I am going wrong ??
    thanks
    cheers :)
    firdosh

    put "public" in this line:
    public class Test extends MovieClip{

  • Packages  compiled with debug info

    Hi,
    How do we check if a package has been compiled with DEBUG information or not?
    The package could have been compiled like this:
    ALTER PACKAGE pk1 COMPILE DEBUG
    Is there any table that I can check?
    Thanks in advance.
    Sanal Krishnan

    Is this a 10g feature?It seems only user_plsql_object_settings is new in 10g.
    all_plsql_object_settings is available in 9i:
    michaels>  select * from dict where table_name like '%PLSQL%'
    TABLE_NAME                     COMMENTS                               
    ALL_PLSQL_OBJECT_SETTINGS      Compiler settings of stored objects acce
                                   ssible to the user                   
    1 row selected.
    michaels>  select name, type,plsql_debug from sys.all_plsql_object_settings where owner = 'SYSTEM'
    NAME                           TYPE         P
    DEF$_PROPAGATOR_TRIG           TRIGGER      
    REPCATLOGTRIG                  TRIGGER      
    michaels>  select * from v$version
    BANNER                                                         
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    PL/SQL Release 9.2.0.8.0 - Production                          
    CORE     9.2.0.8.0     Production                                      
    TNS for HPUX: Version 9.2.0.8.0 - Production                   
    NLSRTL Version 9.2.0.8.0 - Production                          

Maybe you are looking for