Pls906 compiler error for on_logon trigger

Hello,
I wrote a PL/SQL program for on_logon trigger. But it has compiler error(no message file, ora-06540 error and pls906 error). The program is as follow:
DECLARE un VARCHAR2(80);
pw VARCHAR2(80);
cn VARCHAR2(80);
BEGIN
/* ** Bring up the logon screen */
Logon_Screen;
/*** Get the username, password and connect string. */
un=Get_application_property(username);
pw=Get_application_property(password);
cn=get_application_property(connect_string);
/*** Log the user onto the database */
IF cn IS NOT NULL THEN
LOGON(un,pw| |'@'| |cn);
ELSE
LOGON(un,pw);
END IF;
END;
Any help is appreciated
null

I tried following
================================================================
SQL> create or replace trigger after_logon_audit
2 AFTER LOGON ON DATABASE
3 WHEN (USER not in ('SYS','SYSTEM')
4 BEGIN
5 INSERT INTO LOGON_AUDIT
6 (log_time,log_user,LOG_IPADDR,LOG_TERMINAL,LOG_MACHINE,LOG_SESSIONID,LOG_OSUSER)
7 ( select SYSDATE, USER, SYS_CONTEXT('USERENV','IP_ADDRESS'), SYS_CONTEXT('USERENV','TERMINAL'),
8 a.machine, SYS_CONTEXT('USERENV','SESSIONID'), a.OSUSER
9 from V$SESSION a, dual
10 where
11 SYS_CONTEXT('USERENV','SESSIONID') = a.AUDSID
12 and SYS_CONTEXT('USERENV','SESSION_USERID') = USER#);
13 COMMIT;
14 RAISE_APPLICATION_ERROR(-20002,'The DB is unavailable');
15 END;
16
17 /
===============================================================
but got the following error message.
========================
AFTER LOGON ON DATABASE
ERROR at line 2:
ORA-04072: invalid trigger type
========================
Problem still persists. :(

Similar Messages

  • Compilation Error for import classes not found in generated Proxy Class

    Hi,
    We are generating java classes for the COM dll using JCOM com2java compiler.
    We are getting a compilation error for import class not found when compiling the
    generated Proxy java source code. It can't find the com.bea.jcom.Dispatch class that
    the generated Proxy java source code extends. It also can't find com.bea.jcom.Variant
    or com.bea.jcom.Param. These are interfaces or data types or classes used by COM
    library.
    I added weblogic.jar to my class path and the only Dispatch class i found inside
    the weblogic.jar is com.linar.jintegra.Dispatch;
    We have com objects for which we want to develop an EJB client to interface with
    the COM object using JCOM with Native Mode disabled.
    Any help on the compilation error..I tried changing the extends for Dispatch to com.linar.jintegra.Dispatch
    but the other errors are still there.
    To begin with, I think the generated code should not refer to any of the COM data
    types.
    Any help please.
    Thank you in advance,
    Regards,
    Rahul Srivastava
    [email protected]

    Hi,
    I resolved the other errors by changing all references from com.bea.jcom.Variant
    etc to com.linar.jintegra.class name..all were present under the com.linar.jintegra
    package.
    Thank you all anyways,
    Regards,
    rahul
    "Rahul Srivastava" <[email protected]> wrote:
    >
    Hi,
    We are generating java classes for the COM dll using JCOM com2java compiler.
    We are getting a compilation error for import class not found when compiling
    the
    generated Proxy java source code. It can't find the com.bea.jcom.Dispatch
    class that
    the generated Proxy java source code extends. It also can't find com.bea.jcom.Variant
    or com.bea.jcom.Param. These are interfaces or data types or classes used
    by COM
    library.
    I added weblogic.jar to my class path and the only Dispatch class i found
    inside
    the weblogic.jar is com.linar.jintegra.Dispatch;
    We have com objects for which we want to develop an EJB client to interface
    with
    the COM object using JCOM with Native Mode disabled.
    Any help on the compilation error..I tried changing the extends for Dispatch
    to com.linar.jintegra.Dispatch
    but the other errors are still there.
    To begin with, I think the generated code should not refer to any of the
    COM data
    types.
    Any help please.
    Thank you in advance,
    Regards,
    Rahul Srivastava
    [email protected]

  • [svn:fx-trunk] 5353: * Added compiler error for Halo Navigators containing non-Containers

    Revision: 5353
    Author: [email protected]
    Date: 2009-03-17 12:59:06 -0700 (Tue, 17 Mar 2009)
    Log Message:
    * Added compiler error for Halo Navigators containing non-Containers
    as their first level child.
    tests Passed: checkintests
    Needs QA: YES
    Needs DOC: NO
    Bug fixes: SDK-19317
    API Change: NO
    Reviewer: Pete F.
    Code-level description of changes:
    compiler/mxml/lang/StandardDefs.java
    Added getContainerPackage(), isHaloNavigator(), CLASS_VIEWSTACK,
    CLASS_ACCORDION, and PACKAGE_MX_CONTAINERS.
    compiler/mxml/builder/ComponentBuilder.java
    Modified
    ComponentBuilder.ComponentAttributeHandler.nestedDeclaration() to
    report an error if a non-container is declared as a child of a
    Halo navigator.
    compiler_en.properties
    Added HaloNavigatorsRequireHaloContainerChildren message.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19317
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties

  • Java compile error for removed API

    Hi,
    What are the Java compile errors for API that has been removed?
    As I understand it, API elements are deprecated and not removed from the API immediately, but will be removed in future releases or after so many years.
    When Java code is compliled in a higher Java version, and the API has finally been removed - what are the errors that will be ouput in the log?
    Thank you for your time.

    WalterLaan wrote:
    And if you recompile one with a method removed that the other use and then run the other you would get a NoSuchMethodError (or more generally just an error sub class of LinkageError).
    Not that you should be catching those unless you accept classes from the user (as plugins).Presumably you mean he should not be catching them?
    @OP: In general, you should not catch unchecked exceptions. These are RuntimeException, Error, and their descendants. There are exceptions, such as at "layer boundaries," or when you don't want errors in one module/application/plugin/etc. to affect or prevent processing in others.

  • [svn:fx-trunk] 10766: Re-commit compiler errors for other theme' s styles feature.

    Revision: 10766
    Author:   [email protected]
    Date:     2009-09-30 15:55:55 -0700 (Wed, 30 Sep 2009)
    Log Message:
    Re-commit compiler errors for other theme's styles feature. If Style metadata has a "themes" attribute, the style is only valid if that theme is applied.
    The Spark theme is applied by default. The halo theme can be specified as a compiler argument or by selecting the "MX Only" component set in Builder.
    All other themes need to be applied using theme+= instead of theme=. If you use theme= you will get warnings about styles used in CSS selectors, and errors if you use any theme-specific style as an attribute on an MXML tag.
    By default, styles that aren't valid for the current theme are errors. These can be changed to warnings with the report-invalid-styles-as-warnings compiler option.
    QE notes: Expect test breakage
    Doc notes: The new policy for themes needs to be documented.
    Bugs: none yet, but I'm sure there will be some...
    Reviewer: Ryan
    Tests run: checkintests, cyclone
    Is noteworthy for integration: Yes
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/defaults.css
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPan el.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManager.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ToolTipBorder.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SkinStyles.as
        flex/sdk/trunk/frameworks/projects/halo/defaults.css
        flex/sdk/trunk/frameworks/projects/spark/defaults.css
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin .mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/SparkSkinsClasses.as
        flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FXGCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/AttributeHandler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/DeclarationHandler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java
    Added Paths:
        flex/sdk/trunk/frameworks/themes/Spark/spark.css
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ApplicationBackground.as

    Revision: 10766
    Author:   [email protected]
    Date:     2009-09-30 15:55:55 -0700 (Wed, 30 Sep 2009)
    Log Message:
    Re-commit compiler errors for other theme's styles feature. If Style metadata has a "themes" attribute, the style is only valid if that theme is applied.
    The Spark theme is applied by default. The halo theme can be specified as a compiler argument or by selecting the "MX Only" component set in Builder.
    All other themes need to be applied using theme+= instead of theme=. If you use theme= you will get warnings about styles used in CSS selectors, and errors if you use any theme-specific style as an attribute on an MXML tag.
    By default, styles that aren't valid for the current theme are errors. These can be changed to warnings with the report-invalid-styles-as-warnings compiler option.
    QE notes: Expect test breakage
    Doc notes: The new policy for themes needs to be documented.
    Bugs: none yet, but I'm sure there will be some...
    Reviewer: Ryan
    Tests run: checkintests, cyclone
    Is noteworthy for integration: Yes
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/defaults.css
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPan el.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManager.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ToolTipBorder.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SkinStyles.as
        flex/sdk/trunk/frameworks/projects/halo/defaults.css
        flex/sdk/trunk/frameworks/projects/spark/defaults.css
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin .mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/SparkSkinsClasses.as
        flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FXGCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/AttributeHandler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/DeclarationHandler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java
    Added Paths:
        flex/sdk/trunk/frameworks/themes/Spark/spark.css
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ApplicationBackground.as

  • Why does plsql give compilation error for select statement?

    When I run following plsql program, it gives compilation error. Could somebody please point me out what could be wrong here? I am running it from system user.
    create or replace procedure drop_user_proc (iname in varchar2) is
    uname varchar2(100);
    begin
    select username into uname from dba_users where username = upper(iname);
    end drop_user_proc;
    select username from dba_users where username = upper('newuser');
    When I run it, I get following error. dba_users is there that is the reason it works outside plsql block, but it doesn't from inside block.
    SQL> @t4
    Warning: Procedure created with compilation errors.
    USERNAME
    NEWUSER
    SQL> show err
    Errors for PROCEDURE DROP_USER_PROC:
    LINE/COL ERROR
    4/3 PL/SQL: SQL Statement ignored
    4/35 PL/SQL: ORA-00942: table or view does not exist

    Role based grants are not available within the stored procedures.
    Only explicit grants are recognized when compiling stored code.
    You need to grant select on that table to the user where you are creating this procedure.

  • Compile error for 2.6.16.9

    I"m trying to compile my custom kernel 2.6.16.9 and I'm getting the following comile error:
    CC kernel/sched.o
    kernel/sched.c: In function 'sched_init':
    kernel/sched.c:6034: error: 'array' undeclared (first use in this function)
    kernel/sched.c:6034: error: (Each undeclared identifier is reported only once
    kernel/sched.c:6034: error: for each function it appears in.)
    kernel/sched.c:6034: error: 'struct runqueue' has no member named 'arrays'
    kernel/sched.c:6035: error: 'k' undeclared (first use in this function)
    make[1]: *** [kernel/sched.o] Error 1
    make: *** [kernel] Error 2
    I'm using the latest con kolivas patch with the kernel.  Any suggestions as to how to fix this?

    bostoniman wrote:Ok, I sort of feel like an idiot, but I cant seem to find 2.6.16 base on kernel.org.  It's been a while since I made my custom kernel, so am I ooking in the wrong place?  It  should just be on kernel.org, right?
    You were so close, it was just a few clicks away 
    It's in here: http://www.kernel.org/pub/linux/kernel/v2.6/

  • Compilation Error for userdisp.aspx page

    Any ideas what would cause this?
    Compilation Error
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
    Compiler Error Message: CS1069: The type name 'UserProfileManager' could not be found in the namespace 'Microsoft.Office.Server.UserProfiles'. This type has been forwarded to assembly 'Microsoft.Office.Server.UserProfiles, Version=15.0.0.0,
    Culture=neutral, PublicKeyToken=71e9bce111e9429c' Consider adding a reference to that assembly.
    Source Error:
    Line 18: {
    Line 19: Microsoft.Office.Server.ServerContext cntx = Microsoft.Office.Server.ServerContext.GetContext(HttpContext.Current);
    Line 20: Microsoft.Office.Server.UserProfiles.UserProfileManager profileManager = new Microsoft.Office.Server.UserProfiles.UserProfileManager(cntx);
    Line 21: bool userExists = profileManager.UserExists(this.UserListForm.Item["Account"].ToString());
    Line 22:
    Paul Riker

    Hi Paul,
    Glad that you resolved the issue and thanks for sharing, this would be helpful to others who have the similar issue in the future.
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • Compilation Error for prvtbkrs.plb execution

    I tried to solve the issue for RMAN connection and i run this script
    prvtbkrs.plb
    Warning: Package Body created with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY DBMS_BACKUP_RESTORE:
    LINE/COL ERROR
    3975/7 PL/SQL: SQL Statement ignored
    3976/31 PL/SQL: ORA-00942: table or view does not exist
    4054/6 PL/SQL: SQL Statement ignored
    4054/35 PL/SQL: ORA-00942: table or view does not exist
    4072/6 PL/SQL: Statement ignored
    4072/6 PLS-00201: identifier 'SYS.DBMS_SYS_ERROR' must be declared
    5457/11 PL/SQL: SQL Statement ignored
    5459/18 PL/SQL: ORA-00942: table or view does not exist
    I cant connect using RMAN...Please help me with this issue.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-04063: package body "SPS.DBMS_BACKUP_RESTORE" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SPS.DBMS_BACKUP_RESTORE"
    RMAN-04015: error setting target database character set to WE8MSWIN1252

    I run the script and
    SQL> @C:\app\Administrator\product\11.1.0\SPS\RDBMS\ADMIN\utlrp.sql
    SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    DOC> The following PL/SQL block invokes UTL_RECOMP to recompile invalid
    DOC> objects in the database. Recompilation time is proportional to the
    DOC> number of invalid objects in the database, so this command may take
    DOC> a long time to execute on a database with a large number of invalid
    DOC> objects.
    DOC>
    DOC> Use the following queries to track recompilation progress:
    DOC>
    DOC> 1. Query returning the number of invalid objects remaining. This
    DOC> number should decrease with time.
    DOC> SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
    DOC>
    DOC> 2. Query returning the number of objects compiled so far. This number
    DOC> should increase with time.
    DOC> SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
    DOC>
    DOC> This script automatically chooses serial or parallel recompilation
    DOC> based on the number of CPUs available (parameter cpu_count) multiplied
    DOC> by the number of threads per CPU (parameter parallel_threads_per_cpu).
    DOC> On RAC, this number is added across all RAC nodes.
    DOC>
    DOC> UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
    DOC> recompilation. Jobs are created without instance affinity so that they
    DOC> can migrate across RAC nodes. Use the following queries to verify
    DOC> whether UTL_RECOMP jobs are being created and run correctly:
    DOC>
    DOC> 1. Query showing jobs created by UTL_RECOMP
    DOC> SELECT job_name FROM dba_scheduler_jobs
    DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
    DOC>
    DOC> 2. Query showing UTL_RECOMP jobs that are running
    DOC> SELECT job_name FROM dba_scheduler_running_jobs
    DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
    DOC>#
    utl_recomp.recomp_parallel(threads);
    ERROR at line 4:
    ORA-06550: line 4, column 4:
    PLS-00201: identifier 'UTL_RECOMP.RECOMP_PARALLEL' must be declared
    ORA-06550: line 4, column 4:
    PL/SQL: Statement ignored
    SELECT dbms_registry_sys.time_stamp('utlrp_end') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    PL/SQL procedure successfully completed.
    DOC> The following query reports the number of objects that have compiled
    DOC> with errors (objects that compile with errors have status set to 3 in
    DOC> obj$). If the number is higher than expected, please examine the error
    DOC> messages reported with each object (using SHOW ERRORS) to see if they
    DOC> point to system misconfiguration or resource constraints that must be
    DOC> fixed before attempting to recompile these objects.
    DOC>#
    select COUNT(*) "OBJECTS WITH ERRORS" from obj$ where status = 3
    ERROR at line 1:
    ORA-00942: table or view does not exist
    DOC> The following query reports the number of errors caught during
    DOC> recompilation. If this number is non-zero, please query the error
    DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
    DOC> are due to misconfiguration or resource constraints that must be
    DOC> fixed before objects can compile successfully.
    DOC>#
    select COUNT(*) "ERRORS DURING RECOMPILATION" from utl_recomp_errors
    ERROR at line 1:
    ORA-00942: table or view does not exist
    PL/SQL procedure successfully completed.
    ERROR:
    ORA-04067: not executed, package body "SPS.DBMS_OUTPUT" does not exist
    ORA-06508: PL/SQL: could not find program unit being called: "SPS.DBMS_OUTPUT"
    ORA-06512: at line 1
    BEGIN dbms_registry_sys.validate_components; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'DBMS_REGISTRY_SYS.VALIDATE_COMPONENTS' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ERROR:
    ORA-04067: not executed, package body "SPS.DBMS_OUTPUT" does not exist
    ORA-06508: PL/SQL: could not find program unit being called: "SPS.DBMS_OUTPUT"
    ORA-06512: at line 1
    SQL>

  • Compilation error for code in Solaris 8 which was compiled in SUNOS 4.1.3

    Hi,
    I compiled the C source files in Solaris 8 which was earlier compiled in SUNOS 4.1.3(Solaris 1.1).
    On compiling I get following discrepencies: 1. Executable size are considerably different.
    2. I am using some X windoes system library, it gives compilation error like "prototype mismatch 2 arguments passed when 3 required". "improper member use: fd " fd is the member od display structure.
    3. "identifier redeclared: shmat current : function() returning pointer to char
    previous: function(int, pointer to const void, int) returning pointer to void : "/usr/include/sys/shm.h""
    4. Also I am getting "cg error :..: Disk quota exceeded " while compiling one of the modules.
    Please let me know solution of all/any of these.
    Thanks in advance!!
    Edited by: SmithaIVR on Dec 3, 2008 2:20 AM

    Sounds like ancient code that no longer matches current API's.
    Theres not much option except to rewrite those bits.

  • Compile error for DragManager.acceptDragDrop(event.target)

    This line
    DragManager.acceptDragDrop(event.target);
    seems to be giving me the following compile error:
    Implicit coercion of a value with static type Object to a
    possibly unrelated type mx.core:IUIComponent.
    (There is an arrow pointing to "target", I guess indicating
    that that is the Object causing the problem.)
    I'm not sure why this is giving me an error since the
    official Adobe document describing how to migrate applications from
    Flex 1.5 to Flex 2 says that
    DragManager.acceptDragDrop(event.target) is what's supposed to
    replace event.handled=true.

    Hi.
    The problem is that DragManager.acceptDragDrop expects a
    UIComponent but Event.target is typed as Object. You need to cast
    the target as a UIComponent. Try this:
    DragManager.acceptDragDrop(UIComponent(event.target));

  • Why dont we get a compilation error for converting a collection into array?

    Why don't we get a compilation error but get a runtime error while explicit casting of Object[] into a String[]?
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.Map;
    public class SampleMap {
      public static void main(String[] args) {
        Map<Integer, String> temp = new HashMap<Integer, String>();
        temp.put(new Integer(1), "cat");
        temp.put(new Integer(2), "rat");
        Collection coll = temp.values();
        String[] arr = (String[]) coll.toArray();
        System.out.println(arr.length);
    } Thanks,
    Harish Srinivasan

    Infiniti wrote:
    Why don't we get a compilation error but get a runtime error while explicit casting of Object[] into a String[]?
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.Map;
    public class SampleMap {
    public static void main(String[] args) {
    Map<Integer, String> temp = new HashMap<Integer, String>();
    temp.put(new Integer(1), "cat");
    temp.put(new Integer(2), "rat");
    Collection coll = temp.values();
    String[] arr = (String[]) coll.toArray();
    System.out.println(arr.length);
    } Thanks,
    Harish SrinivasanAn explicit cast's job is to tell the compiler that even though it cannot guarantee that the conversion will work, allow the code anyway and let the runtime handle an error if it occurs.

  • Compilation error for First Servlet program

    Hi,
    I have go the following program from a book bu is giving me a long list of errors maybe I have no imported the proper package.
    import java.servlet.*;
    import java.io.*;
    public class Brat extends GenericServlet
    public void init (ServletConfig sc)
    throws ServletException
    System.out.println("I don wana wake up");
    public void service (ServletRequest req, ServletResponse res)
    throws ServletException
    try{
    ServletOutputStream sos=res.getOutputStream();
    sos.println("I dont wanna do anyhing");
    sos.close();
    catch(IOException ioe) {ioe.printStackTrace();}
    public void destroy()
    System.out.println("I dont wana go to bed");
    Its giving me symbol not resolve errors for the
    following symbols
    ServletException, ServletConfig, ServletResponse etc.
    How can I get around with these errors?
    Zulfi.

    Sorry, but i handled with Servlets some time ago.
    Servlets are not contained in the standard SDK.
    There has been a servlet development kit, but it seems not to exist any more. (I cant't find it)
    But servlet technology is included in java server pages and other web applications, so you have to download i.g. J2EE SDK and to install it, to find the classes you need.
    (It's included in other packages too, i think.)
    http://java.sun.com/products/jsp/download.html
    If you've installed the used packages, then include only the packages you need. (Doc's should help)
    Make shure that the packages are included in your classpath.
    (Have been the files server.jar and servlet.jar in "former" times.)
    Sorry, but i can't give more advice, 'cause im not up to date with this subject.
    Maybe someone else can help?
    Good luck again.

  • Compile Error for Import com.sun.javadoc.*;

    I need to write some simple doclets and found some beginner code on the Sun website. The first line of the sample app is:
    import com.sun.javadoc.*;However, I get a compile error:
    C:\JavaDoc\Doclet\ListClass.java:1: package com.sun.javadoc does not exist
    import com.sun.javadoc.*;I found the com.sun.javadoc package in the tools.jar file in the lib directory of my sdk. So I added the following to my classpath:
    C:\j2sdk1.4.2_08\lib;Then I recompiled but received the same error. What have I done wrong? I'm on Windows XP.
    TIA.

    > C:\j2sdk1.4.2_08\lib;
    C:\j2sdk1.4.2_08\lib\tools.jar;

  • Compile error for BPEL process

    I am attempting to compile the second BPEL tutorial (the one that connects to a service) using Jdeveloper. I am running into the following error:
    Error: C:\Oracle\jdeveloper\webservices\lib\jaxr_api.jar (The system cannot find the file specified)
    This file is clearly there and I even tried adding it explicitly to the properties for included jars.
    Any thoughts??
    Search here and on the web resulted in zero hits.

    <?xml version = '1.0' encoding = 'UTF-8'?>
    <jpr:project xmlns:jpr="http://xmlns.oracle.com/ide/project">
    <hash n="component-versions">
    <value n="oracle.adf.dt.migration.ProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.adfdt.controller.jsf.addin.JSFProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.adfdt.controller.struts.addin.db.ADFStrutsProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.adfdt.controller.struts.addin.StrutsProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.adfdtinternal.view.faces.addin.ADFFacesLibraryMigrator" v="10.1.3.2.0"/>
    <value n="oracle.bm.commonIde.ProjectUpgrader" v="10.1.3.2.0"/>
    <value n="oracle.ide.model.Project" v="10.1.3.2.0"/>
    <value n="oracle.ide.model.ResourcePathsMigrator" v="10.1.3.2.0"/>
    <value n="oracle.jbo.dt.jclient.migrator.JCProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.jbo.dt.jdevx.ui.appnav.APProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.jdeveloper.dbmodeler.migration.ProjectMigratorHelper" v="10.1.3.2.0"/>
    <value n="oracle.jdeveloper.ejb.EjbMigrator" v="10.1.3.2.0"/>
    <value n="oracle.jdeveloper.offlinedb.migration.OfflineDBProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.jdevimpl.jsp.JsfLibraryMigrator" v="10.1.3.2.0"/>
    <value n="oracle.jdevimpl.jsp.JspMigrator" v="10.1.3.1.0"/>
    <value n="oracle.jdevimpl.runner.RunConfigurationsMigrator" v="10.1.3.2.0"/>
    <value n="oracle.jdevimpl.webservices.WebServicesMigratorHelper" v="10.1.3.2.0"/>
    <value n="oracle.tip.tools.ide.pm.addin.PMProjectMigrator" v="10.1.3.2.0"/>
    <value n="oracle.toplink.addin.migration.TopLinkProjectMigrator" v="10.1.3.1.0"/>
    </hash>
    <list n="contentSets">
    <string v="oracle.jdeveloper.model.PathsConfiguration/javaContentSet"/>
    <string v="oracle.ide.model.ResourcePaths/resourcesContentSet"/>
    <string v="oracle.jdeveloper.offlinedb.model.OfflineDBProjectSettings/offlineDBContentSet"/>
    <string v="oracle.jdeveloper.model.J2eeSettings/webContentSet"/>
    <string v="oracle.toplink.addin.TopLinkProjectSettings/toplinkContentSet"/>
    <string v="oracle.bm.commonIde.data.project.ModelerProjectSettings/modelersContentSet"/>
    <string v="oracle.tip.tools.ide.pm.addin.PMProjectSettings/Integration_Content"/>
    </list>
    <value n="defaultPackage" v="BusinessProcess"/>
    <value n="Namespace" v="http://xmlns.oracle.com/CtmPocDciSyncBpel"/>
    <hash n="oracle.bm.commonIde.data.project.ModelerProjectSettings">
    <hash n="modelersContentSet">
    <list n="url-path">
    <url path="model/"/>
    </list>
    </hash>
    </hash>
    <hash n="oracle.ide.model.ResourcePaths">
    <hash n="resourcesContentSet">
    <list n="pattern-filters">
    <string v="+*"/>
    </list>
    <list n="url-path">
    <url path="."/>
    </list>
    </hash>
    </hash>
    <hash n="oracle.ide.model.TechnologyScopeConfiguration">
    <list n="technologyScope">
    <string v="WebServices"/>
    <string v="XML"/>
    <string v="Java"/>
    <string v="Integration"/>
    </list>
    </hash>
    <hash n="oracle.jdeveloper.compiler.OjcConfiguration">
    <list n="copyRes">
    <string v=".gif"/>
    <string v=".jpg"/>
    <string v=".jpeg"/>
    <string v=".png"/>
    <string v=".properties"/>
    <string v="-apf.xml"/>
    <string v=".ejx"/>
    <string v=".xcfg"/>
    <string v=".cpx"/>
    <string v=".dcx"/>
    <string v=".wsdl"/>
    <string v=".ini"/>
    <string v=".tld"/>
    <string v=".tag"/>
    </list>
    <value n="internalEncoding" v="Cp1252"/>
    </hash>
    <hash n="oracle.jdeveloper.model.J2eeSettings">
    <value n="j2eeWebAppName" v="PocExtension-CtmPocDciSyncBpel-webapp"/>
    <value n="j2eeWebContextRoot" v="PocExtension-CtmPocDciSyncBpel-context-root"/>
    <hash n="webContentSet">
    <list n="url-path">
    <url path="public_html/"/>
    </list>
    </hash>
    </hash>
    <hash n="oracle.jdeveloper.model.PathsConfiguration">
    <hash n="javaContentSet">
    <list n="pattern-filters">
    <string v="+**"/>
    </list>
    <list n="url-path">
    <url path="src/"/>
    </list>
    </hash>
    </hash>
    <hash n="oracle.jdeveloper.offlinedb.model.OfflineDBProjectSettings">
    <hash n="offlineDBContentSet">
    <list n="pattern-filters">
    <string v="+**"/>
    </list>
    <list n="url-path">
    <url path="database/"/>
    </list>
    </hash>
    </hash>
    <hash n="oracle.jdeveloper.runner.RunConfigurations">
    <hash n="runConfigurationDefinitions">
    <hash n="Default">
    <value n="custom" v="false"/>
    <value n="name" v="Default"/>
    </hash>
    </hash>
    <list n="runConfigurationList">
    <string v="Default"/>
    </list>
    </hash>
    <hash n="oracle.jdevimpl.config.JProjectLibraries">
    <list n="exportedReferences">
    <hash>
    <value n="id" v="Jaxr-api.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oracle XML Parser v2"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="J2EE"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="JAX-RPC Client"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Commons Logging 1.0.3"/>
    <value n="isJDK" v="false"/>
    </hash>
    </list>
    <hash n="internalDefinitions">
    <list n="libraryDefinitions">
    <hash>
    <list n="classPath">
    <url path="../../../../oracle/jdeveloper/webservices/lib/jaxr-api.jar" jar-entry=""/>
    </list>
    <value n="deployedByDefault" v="true"/>
    <value n="description" v="Jaxr-api.jar"/>
    <value n="id" v="Jaxr-api.jar"/>
    <value n="locked" v="true"/>
    </hash>
    </list>
    </hash>
    <list n="libraryReferences">
    <hash>
    <value n="id" v="Jaxr-api.jar"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Oracle XML Parser v2"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="J2EE"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="JAX-RPC Client"/>
    <value n="isJDK" v="false"/>
    </hash>
    <hash>
    <value n="id" v="Commons Logging 1.0.3"/>
    <value n="isJDK" v="false"/>
    </hash>
    </list>
    </hash>
    <hash n="oracle.jdevimpl.config.JProjectPaths">
    <url n="outputDirectory" path="output/"/>
    </hash>
    <hash n="oracle.tip.tools.ide.pm.addin.PMProjectSettings">
    <hash n="Integration_Content">
    <list n="pattern-filters">
    <string v="+**"/>
    </list>
    <list n="url-path">
    <url path="bpel/"/>
    </list>
    </hash>
    </hash>
    <hash n="oracle.toplink.addin.TopLinkProjectSettings">
    <hash n="toplinkContentSet">
    <list n="pattern-filters">
    <string v="+**"/>
    </list>
    <list n="url-path">
    <url path="toplink/"/>
    </list>
    </hash>
    </hash>
    <value n="ProcessName" v="CtmPocDciSyncBpel"/>
    <value n="Template" v="BPEL_SYNC_PROCESS"/>
    <value n="Version"/>
    </jpr:project>

Maybe you are looking for

  • How do I transfer ITunes library from old hard drive to new hard drive

    I got a new computer and trying to transfer my ITunes library ( Apps, Music, video's). How do I go about this. I copied the library to my backup drive. I can't transfer the files. What am I missing ?

  • Deletion of parked invoices after carry forward of open items in FM

    Hi, We have Funds management activated in our client.The MIRO invoices are parked for the year 2008.We follow calendar year.Open item are carried forward to 2009 without posting/deleting  the parked invoices.We are now unable to delete the parked inv

  • No commitment when create PR from MRP

    Hi SAP expert, I create PR convert from planned order (PR from MRP). I found no commitment item and funds centre on the PR number. It means no commitment update in FM through PR created from MRP. How i could handle it? Regards, Dewi

  • How soon will DW CS5 Live View Webkit support CSS3?

    See above.  I just tried CSS3's text-shadow (although I don't believe it's totally CSS3) and while the shadow works well in Chrome, in Opera and in Safari, DW's Live View does not render the shadow, but rather an offset black copy of the text.  Webki

  • ORACLE 8.0 Local DB connect error

    I have issue with connecting to my local DB on my laptop. If I am connected thru LAN, I cannot log in to my local DB. If I unplug the LAN, and log in, I am able to connect. Not sure what LAN connection has to do with login. here are my tnsnames.ORA,