Deploy with error and execute succesfully

I have a Mapping and if I deploy and execute it in the Deployment Manager it is executed succesfully but If I debug it I received these error:
ROWKEY: 702
TABLE: DBG$$$DIM_INSTALACIO_VIEW_0
STATEMENT: TRACE 112: SELECT
ORA-01403: no data found
ROWKEY: 701
TABLE: "DBG$$$_DIM_INSTALACIO_GRP1_0"
STATEMENT: TRACE 113: INSERT
ORA-22160: element at index [1] does not exist
ROWKEY: 701
TABLE: DBG$$$DIM_INSTALACIO_VIEW_0
STATEMENT: TRACE 111: TRACE 114: "DIM_INST_1_COD_CONCESIONAR$2"("DBG$$$_DIM_INSTALACIO_GRP1_0_i") :="DIM_INST_1_COD_CONCESIONAR$0"("IJ_DBG$$$_EXPR_4_GRP1_0_i");
ORA-01403: no data found
ORA-06512: at "ODS_CLIENTES.DBG$$$_RT8_MAP_GILYCARBAJAL", line 11422
ORA-22160: element at index [1] does not exist
How Can it be?

Things to check:
1. You can be using a different target schema for you Debugging sessions than for your deployed map execution.
2. There can be a mistake defining Test Data for the debugging session http://download.oracle.com/docs/html/B12146_01/debug.htm#i1004902
Nikolai Rochnik

Similar Messages

  • Calendar keeps popping up with errors and I cannot clear it?

    SInce a recent Update I keep getting a Calender popping up with errors and I am not able to clear it.
    PLease help.

    Please take each of the following steps that you haven't already tried. Stop when the problem is resolved. Back up all data before making any changes.
    Step 1
    In the Internet Accounts preference pane, delete any calendar accounts you don't use.
    If there's no improvement, delete all calendar accounts and add them back. With an iCloud account, all you have to do is uncheck and recheck the box marked Calendars & Reminders in the iCloud preference pane.
    Step 2   
    You may be trying to access an invited event that you declined, or one that was rescheduled after you accepted it. The error message should give you a clue as to what it is. If the calendar is on iCloud, you can bring up the Calendar on the website and select
              Show Declined Events
    from the popup menu with the gear icon in the upper right corner of the page. The declined events will appear in gray, and one of them should match what's shown the error message. [Credit for this solution to ASC member Psi.]
    Step 3
    If you get the error when trying to accept an invitation in an email attachment, it's because the organizer didn't properly create the event.
    Step 4
    Follow the instructions in this support article. Modify as necessary for a calendar that's not on iCloud.

  • PXIe deployment with errors

    Hello,
    I have been trying to run a program on my PXIe-1065 without success. I think I may be missing a driver or software, especifically LabVIEW Real-Time module on the host and DAQmx on the target which I both tried to install following this steps for DAQmx http://digital.ni.com/public.nsf/allkb/79CB44F7E228AED88625756E00445151?OpenDocument. Is Run-Time module the same as Real-Time?. Do I really need to insert a CD when installing the Real-Time Module? This is where I tried to download it from: http://www.ni.com/download/labview-real-time-module-2014/4832/en/. You can check the list of software I have installed on each device on the MAX screenshots.
    Also, I got this error when trying to deploy my VI on the target:
    Initializing...
    Calculating dependencies...
    Checking items for conflicts. This operation could take a while...
    Preparing items for download. This operation could take a while...
    Deploying NI-PXIe8135-2F144366(successfully deployed target settings)
    Deploying whitespace.ctl (1.32 K)
    Deploying Error Code Database.vi (4.39 K)
    Deploying DAQmx Timing (Sample Clock).viDAQmx Timing (Sample Clock).vi loaded with errors on the target and was closed.
    LabVIEW: Failed to load shared library nilvaiu.*:setTimingTerminalAP:C. Ensure that the library is present on the RT target. Use either MAX to install NI software or FTP to transfer custom libraries to the RT target.
    LabVIEW: Failed to load shared library nilvaiu.*:setTimingI32EnumAP:C. Ensure that the library is present on the RT target. Use either MAX to install NI software or FTP to transfer custom libraries to the RT target.
    LabVIEW: Failed to load shared library nilvaiu.*:setTimingF64U64AP:C. Ensure that the library is present on the RT target. Use either MAX to install NI software or FTP to transfer custom libraries to the RT target.
    LabVIEW: Failed to load shared library nilvaiu.*:setTimingF64AP:C. Ensure that the library is present on the RT target. Use either MAX to install NI software or FTP to transfer custom libraries to the RT target.
    Deploying NI-PXIe8135-2F144366 Container
    Deployment completed with errors
    On the screenshots it shows that I have the library but I cannot open it. And in MAX every slot on the PXIe has a waring symbol, why is that?
    Thank you very much!
     

    Hello glovato,
    The run-time is not the same as the Real Time module, and shouldn't have to use a CD to install it necesarilly, what happened when you tried to install the one you downloaded from the link you mentioned?
     

  • Cisco Prime Collaboration Deployment with BE7K and VMWare license

    Hello, I am looking for some help trying to figure out if Cisco Prime Collaboration Deployment can be used to upgrade our existing 7.1.5 cluster.  From what I have read there is a API problem with the VMWare license that comes with the BE7K.  But after reviewing the BOM/quote from my VAR it lists the foundation license which based of the release notes is supported.
    UCSS-U-VMW-FND-5-1
    UCSS Cisco UC Virt. Foundation  Five Year - 1 server
    Has anybody out there had expericne with PCD and BE7K'?
    This is from release notes of PCD
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/rel_notes/10_5_1/CUCM_BK_P139675A_00_pcd-rns-1051/CUCM_BK_P139675A_00_pcd-rns-1051_chapter_010.html
    Search for “Business Edition 7000” and it will state it is not supported with PCD.  It is because the licenses that the BE 6k and 7K are shipped with don’t enable certain VMware APIs that PCD needs.
    “Virtualization Software License Compatibility
    Cisco Prime Collaboration Deployment is not compatible with all license types of VMware vSphere ESXi, as some licenses do not enable required VMware APIs.
    The following are compatible with Cisco Prime Collaboration Deployment:
    Cisco UC Virtualization Foundation (appears as "Foundation Edition" in vSphere Client)
    VMware vSphere Standard Edition, Enterprise Edition, or Enterprise Plus Edition
    Evaluation mode license
    The following are not compatible with Cisco Prime Collaboration Deployment:
    Cisco UC Virtualization Hypervisor (appears as "Hypervisor Edition" in vSphere Client)-preloaded on Cisco Business Edition 6000 and Business Edition 7000
    VMware vSphere Hypervisor Edition
    Any help would be appreacted.
    JP

    Thanks Jamie for repsonding, we haven't made any purchase's yet but I wanted to ensure we are purchasing a solution that won't lead to a lot of frustration.  We only have 1000 phones so we are pretty small and the BE7K seems to be a good fit and value.
    Cheers,

  • SCCM: Application deployment vs Package deployment with requirements and prerequisits.

    Hey,
    My organization is in the process of implementing a new remote networking solution for all employees, however some employees require additional software vs others. What I am trying to find out is if there is a way to have one package with supersedes and
    requirements that we can use to do a massive deployement. 
    Here are the different scenarios with order of installation:
    Financial group Desktop:
    1.Install New solution
    2.Install Configuration
    3.Install Token Authentication 
    (nothing crazy)
    Financial Group Laptops
    1.Install Token Authentication
    2.Install New Solution
    3.Install COnfiguration
    4.Un-uninstall Old Solution
    5.Un-install Tunnel Guard application (requires a reboot, that's why it's last). (this is the application that would be deployed with requirements to go back up the chain of supersedes (meaning, deploy 5, but do 4, when 4 is triggered, it does 3 first, etc...)
    All other laptops
    1.Install New Solution
    2.Install COnfiguration
    3.Un-uninstall Old Solution
    4.Un-install Tunnel Guard application (requires a reboot, that's why it's last).(this is the application that would be deployed with requirements to go back up the chain of supersedes (meaning, deploy 4, but do 3, when 3 is triggered, it does 2 first, etc...)
    Because of the different requirements, is there a way to have one deployment with multiple deployment types to say based off:
    1. Computer types (we have a naming convention that identifies laptops and desktops.
    2. Only install certain pieces of software (Token validator in this case if financial application is detected on the machine).
    Or should I create different applications for each case with different collections or go with 3 different packages and collections with install this package first set in the package deployment
    Thanks for your help.

    The problem is the last uninstall, because it's not applicable to all machines. That means that if you would deploy that with all it's dependencies, it wouldn't do anything on the desktops as it's not applicable to them.
    In this case, if you want to use one deployment, the easiest solution is a task sequence. That way you can target everything in one time and still build some logic to prevent some (un-)installs.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • How to edit data from an IDOC with errors and reprocess it

    Hi,
    We are working with SAP XI for communicate with an external systems by files (external) to IDOCS (SAP R/3).
    Sometimes we need to edit the data from an inbound IDOC, because the external system generates wrong information and that can't be processed directly.
    We had seen posts like:
    But we wanna to do it with no ABAP editor.
    ¿Can we change the data from the IDOC in other way (transaction) and reprocess it?
    We tried with /WE05, pushing EDIT button, but can't edit the data from the IDOC.
    Thanks in advance for your help
    Regards,
    Federico Martin

    Keep Looking at forums i founded:
    change idoc data
    To change the Inbound IDoc,
    1)Go to WE05/WE02, enter the Inbound IDoc number and Execute.
    2)Double Click on the segment (Page Icon) where you want to change the Data.
    3)In the Screen 'Display data record for IDoc' , Go to menu 'Data record' and click on 'Display - > Change'. Then it display a popup information 'Changes to the IDoc are written to the database' , then press enter .
    To Process the Edited Inbound Idoc , execute the program 'RBDAGAIE' in SE38 and enter the IDoc number.
    Thanks
    Sekhar
    AND
    /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
    Also if you have something to say about it will be appreciated
    thanks

  • Error during EAR deployment with EJB and web service

    I created a simple stateless EJB with one method called echo that returns a string.  I created a web service using the wizard, did a build and deployed.  The deployment did not report an error, but the logs in the visual administrator showed the follwoing message, and the web service did NOT deploy.
    Am I missing something related to EJB and web service security?
    PLEASE HELP ME.
    >>> Warning: delete security configuration [apps/com.areva/ear/ejb/security/com.areva~ejb.jar]
    [EXCEPTION]
    java.lang.Exception
         at com.sap.engine.services.security.server.PolicyConfigurations.unregisterPolicyConfiguration(PolicyConfigurations.java:153)
         at com.sap.engine.services.ejb.EJBAdmin.remove(EJBAdmin.java:2538)
         at com.sap.engine.services.deploy.server.application.RemoveTransaction.removeApplication(RemoveTransaction.java:294)
         at com.sap.engine.services.deploy.server.application.RemoveTransaction.prepare(RemoveTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:299)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:321)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3028)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:820)
         at com.sap.engine.services.deploy.server.DeployRuntimeControlImpl.remove(DeployRuntimeControlImpl.java:271)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
         at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
         at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
         at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
         at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
         at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
         at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157)
         at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220)
         at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803)
         at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

    I have the same message. I am running sp11.
    Does anyone have an answer for this?????
    >>> Warning: delete security configuration [apps/avalero.com/rtfa-ear/contextRoot]
    [EXCEPTION]
    java.lang.Exception
         at com.sap.engine.services.security.server.PolicyConfigurations.unregisterPolicyConfiguration(PolicyConfigurations.java:153)
         at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.removeSecurityResources(WebContainerHelper.java:905)
         at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.remove(WebContainerHelper.java:447)
         at com.sap.engine.services.servlets_jsp.server.container.RemoveAction.remove(RemoveAction.java:50)
         at com.sap.engine.services.servlets_jsp.server.container.WebContainer.remove(WebContainer.java:150)
         at com.sap.engine.services.deploy.server.application.RemoveTransaction.removeApplication(RemoveTransaction.java:294)
         at com.sap.engine.services.deploy.server.application.RemoveTransaction.prepare(RemoveTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:299)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3033)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:821)
         at com.sap.engine.services.deploy.server.DeployRuntimeControlImpl.remove(DeployRuntimeControlImpl.java:271)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
         at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
         at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
         at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
         at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
         at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
         at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:255)
         at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
         at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157)
         at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220)
         at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803)
         at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

  • Possible bug with TREAT and EXECUTE IMMEDIATE

    Hello, i experienced a strange behavior which seems to be a bug.
    Consider following definitions:
    CREATE OR REPLACE TYPE T_Base FORCE AS OBJECT (
      DummyProperty NUMBER
    ) NOT FINAL;
    CREATE OR REPLACE TYPE T_Child UNDER T_Base (
      AnotherDummyProperty  NUMBER
    CREATE OR REPLACE FUNCTION SpecificValidation (iValue T_Child) RETURN NUMBER IS
    BEGIN
      -- some specific validation is done here, not important for the example
      RETURN NULL;
    END;
    CREATE OR REPLACE PROCEDURE ValidateIt (iValue T_Child) IS
      lResult NUMBER;
    BEGIN
      -- The principle used here is that each client can have its own implementation of validation function, and when it does not exist, we do not care.
      -- In reality we put functions and procedures into packages, I narrowed it to a minimal working example.
      BEGIN
        EXECUTE IMMEDIATE 'BEGIN :lResult := SpecificValidation(:iValue); END;'
          USING OUT lResult, IN iValue;
      EXCEPTION WHEN OTHERS THEN
        IF INSTR(SQLERRM, 'PLS-00201') = 0 THEN
          RAISE;
        END IF;
      END;
    END;
    CREATE OR REPLACE PROCEDURE Process (iValue T_Base) IS
    BEGIN
      -- in fact we know that iValue must be of typ T_Child, it is checked using IS OF ( ) operator and exception is raised if this check fails
      -- This does not work for some reason.
      -- It fails in EXECUTE IMMEDIATE with PLS-00306. I don't really get why, because ValidateIt accepts a value of type T_Child and it passes it to the validation procedure, which also expects value of type T_Child.
      ValidateIt(TREAT(iValue AS T_Child));
    END;
    CREATE OR REPLACE PROCEDURE Process2 (iValue T_Base) IS
      lChild  T_Child;
    BEGIN
      -- The only difference here is that result of TREAT is saved to a variable.
      -- This works as expected.
      lChild := TREAT(iValue AS T_Child);
      ValidateIt(lChild);
    END;
    In reality it is much more complex, I narrowed it to a minimal working example.
    Now when running this:
    DECLARE
      lItem T_Base := T_Child(5, 2);
    BEGIN
      BEGIN
        -- This call will end up with PLS-00306 error.
        Process(lItem);
        dbms_output.put_line('Process completed successfully.');
      EXCEPTION WHEN OTHERS THEN
        dbms_output.put_line('Exception when calling Process.');
        dbms_output.put_line(SQLERRM);
        dbms_output.put_line(DBMS_UTILITY.FORMAT_ERROR_BACKTRACE);
      END;
      BEGIN
        Process2(lItem);
        dbms_output.put_line('Process2 completed successfully.');
      EXCEPTION WHEN OTHERS THEN
        dbms_output.put_line('Exception when calling Process2.');
        dbms_output.put_line(SQLERRM);
        dbms_output.put_line(DBMS_UTILITY.FORMAT_ERROR_BACKTRACE);
      END;
    END;
    then call to Process fails with PLS-00306 on EXECUTE IMMEDIATE.
    The only difference between Process and Process2 is that in Process2, result of TREAT is saved to a variable of type T_Child.
    Is this behavior documented somwhere or is it a bug?

    That's interesting. I would say it is, or should be, a bug.
    Also interesting is, when I re-write your example to eliminate dynamic SQL and instead rely on dynamic method dispatch, the problem goes away... first, the changes:
    drop type T_Child;
    drop type T_Base
    CREATE OR REPLACE TYPE T_Base FORCE AS OBJECT ( 
      DummyProperty NUMBER 
    ) NOT FINAL
    CREATE OR REPLACE TYPE T_Child UNDER T_Base ( 
      AnotherDummyProperty  NUMBER 
    create or replace type T_Base_Processor as object (
      dummyProperty    number
    , static FUNCTION GetClientProcessor(iClientId varchar2) RETURN T_Base_Processor
    , member FUNCTION SpecificValidation (iValue T_Child) RETURN NUMBER
    , member PROCEDURE ValidateIt (iValue T_Child)
    , member PROCEDURE Process (iValue T_Base)
    , member PROCEDURE Process2 (iValue T_Base)
    ) NOT FINAL
    create or replace type T_Another_Processor under T_Base_Processor (
      overriding member FUNCTION SpecificValidation (iValue T_Child) RETURN NUMBER
    create or replace type body T_Base_Processor
    is
      static FUNCTION GetClientProcessor(iClientId varchar2) RETURN T_Base_Processor IS
    BEGIN
      return    case
            when upper(iClientId) = 'ADMINISTRATOR' then
                new T_Another_Processor(null)
            else
                new T_Base_Processor(null)
            end;
    END;
      member FUNCTION SpecificValidation (iValue T_Child) RETURN NUMBER IS 
    BEGIN 
      -- some specific validation is done here, not important for the example 
      dbms_output.put_line('T_Base_Processor.SpecificValidation');
      RETURN NULL; 
    END; 
      member PROCEDURE ValidateIt (iValue T_Child) IS 
      lResult NUMBER; 
    BEGIN 
      -- No more need for dynamic SQL, instead rely on dynamic dispatch
      lResult := SpecificValidation(iValue);
    END; 
      member PROCEDURE Process (iValue T_Base) IS 
    BEGIN 
      -- in fact we know that iValue must be of typ T_Child, it is checked using IS OF ( ) operator and exception is raised if this check fails 
      -- This does not work for some reason. 
      -- It fails in EXECUTE IMMEDIATE with PLS-00306. I don't really get why, because ValidateIt accepts a value of type T_Child and it passes it to the validation procedure, which also expects value of type T_Child. 
      ValidateIt(TREAT(iValue AS T_Child)); 
    END; 
      member PROCEDURE Process2 (iValue T_Base) IS 
      lChild  T_Child; 
    BEGIN 
      -- The only difference here is that result of TREAT is saved to a variable. 
      -- This works as expected. 
      lChild := TREAT(iValue AS T_Child); 
      ValidateIt(lChild); 
    END;
    end;
    create or replace type body T_Another_Processor
    is
      overriding member FUNCTION SpecificValidation (iValue T_Child) RETURN NUMBER
    is
    begin
      -- some other specific validation is done here, not important for the example 
      -- You could even call the overridden method as well using
      --   treat(self as T_Base_Processor).SpecificValidation(iValue)
      dbms_output.put_line('T_Another_Processor.SpecificValidation');
      RETURN NULL; 
    end;
    end;
    And again with slight modifications, your test block:
    DECLARE 
      lProcessor T_Base_Processor := T_Base_Processor.getClientProcessor('JOE');
      lItem T_Base := T_Child(5, 2); 
    BEGIN 
      BEGIN 
        -- This call no longer throws a PLS-00306 error. 
        lProcessor.Process(lItem); 
        dbms_output.put_line('Process completed successfully.'); 
      EXCEPTION WHEN OTHERS THEN 
        dbms_output.put_line('Exception when calling Process.'); 
        dbms_output.put_line(SQLERRM); 
        dbms_output.put_line(DBMS_UTILITY.FORMAT_ERROR_BACKTRACE); 
      END; 
      -- Demonstrate dynamic dispatch by choosing a different processor
      lProcessor := T_Base_Processor.getClientProcessor('ADMINISTRATOR');
      BEGIN 
        lProcessor.Process2(lItem); 
        dbms_output.put_line('Process2 completed successfully.'); 
      EXCEPTION WHEN OTHERS THEN 
        dbms_output.put_line('Exception when calling Process2.'); 
        dbms_output.put_line(SQLERRM); 
        dbms_output.put_line(DBMS_UTILITY.FORMAT_ERROR_BACKTRACE); 
      END; 
    END; 
    T_Base_Processor.SpecificValidation
    Process completed successfully.
    T_Another_Processor.SpecificValidation
    Process2 completed successfully.
    Gerard

  • A simple Java program to be compiled with ojc and executed with java.exe

    Hi ,
    This thread is relevant to Oracle Java Compiler (file ojc) and jave.exe file.
    I have written a simple java program which consists of two simple simple classes and using the JDev's 10.1.3.2 ojc and java files , i'm trying to execute it after the successful compilation....
    The problem is that trying to run it... the error :
    Exception in thread "main" java.lang.NoClassDefFoundError: EmployeeTest
    appears.
    How can i solve this problem...????
    The program is as follows:
    import java.util.*;
    import corejava.*;
    public class EmployeeTest
    {  public static void main(String[] args)
       {  Employee[] staff = new Employee[3];
          staff[0] = new Employee("Harry Hacker", 35000,
             new Day(1989,10,1));
          staff[1] = new Employee("Carl Cracker", 75000,
             new Day(1987,12,15));
          staff[2] = new Employee("Tony Tester", 38000,
             new Day(1990,3,15));
          int i;
          for (i = 0; i < 3; i++) staff.raiseSalary(5);
    for (i = 0; i < 3; i++) staff[i].print();
    class Employee
    {  public Employee(String n, double s, Day d)
    {  name = n;
    salary = s;
    hireDay = d;
    public void print()
    {  System.out.println(name + "...." + salary + "...."
    + hireYear());
    public void raiseSalary(double byPercent)
    {  salary *= 1 + byPercent / 100;
    public int hireYear()
    {  return hireDay.getYear();
    private String name;
    private double salary;
    private Day hireDay;
    For compilation... i use :
    D:\ORACLE_UNZIPPED\JDeveloper_10.1.3.2\jdev\bin\ojc -classpath D:\E-Book\Java\Sun_Java_Book_I\Corejava EmployeeTest.java
    For execution , i issue the command:
    D:\ORACLE_UNZIPPED\JDeveloper_10.1.3.2\jdk\bin\java EmployeeTest
    NOTE:I tried to use the jdk of Oracle database v.2 but the error :
    Unable to initialize JVM appeared....
    Thanks , a lot
    Simon

    Hi,
    Thanks god....
    I found a solution without using Jdev.....
    C:\oracle_files\Java\Examples>SET CLASSPATH=.;D:\E-Book\Java\Sun_Java_Book_I\Corejava
    C:\oracle_files\Java\Examples>D:\ORACLE_UNZIPPED\JDeveloper_10.1.3.2\jdk\bin\javac EmployeeTest.java
    C:\oracle_files\Java\Examples>D:\ORACLE_UNZIPPED\JDeveloper_10.1.3.2\jdk\bin\java EmployeeTest
    What does Ant has to do with this?Sorry, under the Ant tree a classpath label is found....I'm very new to Java and JDev...
    You need to include the jar file that has the Day method in it inside project properties->libraries.I have not .jar file.. just some .java files under the corejava directory.... By the way , I have inserted the corejava directory to the project pressing the button Add Jar/Directory.... , but the problem insists..
    Thanks , a lot
    Simon

  • I can't download to the io5 to my iphone as it comes up with error and now i can't even open any of my downloaded app or even make a phone call. Someone help me

    I have updated Itunes to 10.5 and was told my iphone has a new update so i did this until i got a message saying error i cannot update iphone. itunes then disconnected my phone and  has now left me with a phone i can't use.
    apps i have downloaded will not open
    i cant make phone calls
    phone turns itself off.
    will someone please help me.

    A wet phone is out of warranty. This is considered user damage. Even if you were able to get it to start now, the chances of it working for long are slim. I suggest going to Apple and see about an OOW replacement. One for the iPhone 4 is only $149USD and it would come with a short warranty. It is a refurbished device and you would not be worried about encountering additional problems.

  • Migration Working with Errors and Taking Very Long Time: Transient error MapiExceptionNetworkError, StalledDueToMailboxLock

    So, I am migrating mailboxes to a 2013 EXC from a 2010 EXC. Both in same subnet on same domain. Firewall on WIndows disabled: 
    Setup batch move on 2013 box. But users logs are getting 
    StalledDueToMailboxLock in the status as well as 
    Transient error MapiExceptionNetworkError has occurred. The system will retry (1/60).
    also, The mailboxes eventually migrate over 2-3 days. some quicker some with out error. Error comes up with mailboxes that users do not use. I have a lot of users to migrate and cannot migrate as such a slow pace. 
    Any Ideas of the error??
    RunspaceId : 6c688e69-8ba8-4044-9807-7f56d35be440
    MailboxIdentity : bwa.local/BWA/UK/UK User Redirect/Angie Dolan
    DistinguishedName : CN=Angie Dolan,OU=UK User Redirect,OU=UK,OU=BWA,DC=bwa,DC=local
    DisplayName : Angie Dolan
    Alias : adolan
    ExchangeGuid : 4c60f493-e5f5-46bb-adf1-9bea9790f5ca
    ArchiveGuid :
    Status : InProgress
    StatusDetail : StalledDueToMailboxLock
    SyncStage : CopyingMessages
    Flags : IntraOrg, Pull
    RequestStyle : IntraOrg
    Direction : Pull
    IsOffline : False
    Protect : False
    DoNotPreserveMailboxSignature : True
    Priority : Normal
    WorkloadType : Local
    Suspend : False
    SuspendWhenReadyToComplete : False
    IgnoreRuleLimitErrors : False
    RecipientTypeDetails : UserMailbox
    SourceVersion : Version 14.3 (Build 123.0)
    SourceDatabase : Mailbox Database 1691384683
    SourceServer : CLOUD-EXC-01.bwa.local
    TargetVersion : Version 15.0 (Build 775.0)
    TargetDatabase : Mailbox Database 0192305397
    TargetServer : CLOUD-EXC-02.bwa.local
    SourceArchiveDatabase :
    SourceArchiveVersion :
    SourceArchiveServer :
    TargetArchiveDatabase :
    TargetArchiveVersion :
    TargetArchiveServer :
    RemoteHostName :
    RemoteGlobalCatalog :
    BatchName : MigrationService:b
    StartAfter :
    CompleteAfter :
    RemoteCredentialUsername :
    RemoteDatabaseName :
    RemoteDatabaseGuid :
    RemoteArchiveDatabaseName :
    RemoteArchiveDatabaseGuid :
    TargetDeliveryDomain :
    ArchiveDomain :
    BadItemLimit : 0
    BadItemsEncountered : 0
    LargeItemLimit : 0
    LargeItemsEncountered : 0
    AllowLargeItems : True
    QueuedTimestamp : 3/23/2014 1:06:19 PM
    StartTimestamp : 3/23/2014 1:06:27 PM
    LastUpdateTimestamp : 3/23/2014 1:25:13 PM
    InitialSeedingCompletedTimestamp :
    FinalSyncTimestamp :
    CompletionTimestamp :
    SuspendedTimestamp :
    OverallDuration : 00:22:38
    TotalFinalizationDuration :
    TotalDataReplicationWaitDuration :
    TotalSuspendedDuration :
    TotalFailedDuration :
    TotalQueuedDuration : 00:00:03
    TotalInProgressDuration : 00:22:34
    TotalStalledDueToCIDuration :
    TotalStalledDueToHADuration :
    TotalStalledDueToMailboxLockedDuration : 00:13:47
    TotalStalledDueToReadThrottle :
    TotalStalledDueToWriteThrottle : 00:02:14
    TotalStalledDueToReadCpu :
    TotalStalledDueToWriteCpu : 00:00:04
    TotalStalledDueToReadUnknown :
    TotalStalledDueToWriteUnknown :
    TotalTransientFailureDuration : 00:01:36
    TotalProxyBackoffDuration :
    TotalIdleDuration : 00:04:45
    MRSServerName :
    TotalMailboxSize : 3.534 GB (3,795,059,862 bytes)
    TotalMailboxItemCount : 20741
    TotalArchiveSize :
    TotalArchiveItemCount :
    BytesTransferred : 59.82 MB (62,723,648 bytes)
    BytesTransferredPerMinute :
    ItemsTransferred : 412
    PercentComplete : 25
    CompletedRequestAgeLimit : 7.00:00:00
    PositionInQueue :
    InternalFlags : SkipFolderPromotedProperties, WordBreak
    FailureCode :
    FailureType :
    FailureSide :
    Message : Informational: The request has been temporarily postponed because the mailbo
    is locked. The Microsoft Exchange Mailbox Replication service will attempt t
    continue processing the request after 3/23/2014 1:30:13 PM.
    FailureTimestamp :
    IsValid : True
    ValidationMessage :
    RequestGuid : 55c14015-1bca-48eb-bb79-25b480464bfb
    RequestQueue : Mailbox Database 0192305397
    Identity : bwa.local/BWA/UK/UK User Redirect/Angie Dolan
    DiagnosticInfo :
    Report : 3/23/2014 1:06:19 PM [CLOUD-EXC-02] '' created move request.
    3/23/2014 1:06:26 PM [CLOUD-EXC-02] The Microsoft Exchange Mailbox
    Replication service 'CLOUD-EXC-02.bwa.local' (15.0.775.35 caps:3F) is
    examining the request.
    3/23/2014 1:06:26 PM [CLOUD-EXC-02] Connected to target mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    0192305397', Mailbox server 'CLOUD-EXC-02.bwa.local' Version 15.0 (Build
    775.0).
    3/23/2014 1:06:26 PM [CLOUD-EXC-02] Connected to source mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    1691384683', Mailbox server 'CLOUD-EXC-01.bwa.local' Version 14.3 (Build
    123.0).
    3/23/2014 1:06:27 PM [CLOUD-EXC-02] Request processing started.
    3/23/2014 1:06:27 PM [CLOUD-EXC-02] Source mailbox information:
    Regular Items: 17941, 3.509 GB (3,767,437,011 bytes)
    Regular Deleted Items: 2435, 26.34 MB (27,622,851 bytes)
    FAI Items: 365, 0 B (0 bytes)
    FAI Deleted Items: 0, 0 B (0 bytes)
    3/23/2014 1:06:27 PM [CLOUD-EXC-02] Mailbox signature will not be preserved
    for mailbox 'Primary (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)'. Outlook client
    will need to restart to access the moved mailbox.
    3/23/2014 1:06:29 PM [CLOUD-EXC-02] Stage: CreatingFolderHierarchy. Percent
    complete: 10.
    3/23/2014 1:06:36 PM [CLOUD-EXC-02] Initializing folder hierarchy from
    mailbox 'Primary (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)': 370 folders total.
    3/23/2014 1:06:36 PM [CLOUD-EXC-02] Folder creation progress: 0 folders
    created in mailbox 'Primary (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)'.
    3/23/2014 1:06:53 PM [CLOUD-EXC-02] Folder hierarchy initialized for mailbox
    'Primary (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)': 369 folders created.
    3/23/2014 1:06:53 PM [CLOUD-EXC-02] Stage: CreatingInitialSyncCheckpoint.
    Percent complete: 15.
    3/23/2014 1:07:58 PM [CLOUD-EXC-02] Initial sync checkpoint progress: 0/370
    folders processed. Currently processing mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)'.
    3/23/2014 1:07:59 PM [CLOUD-EXC-02] Transient error MapiExceptionNetworkErro
    has occurred. The system will retry (1/60).
    3/23/2014 1:08:31 PM [CLOUD-EXC-02] The Microsoft Exchange Mailbox
    Replication service 'CLOUD-EXC-02.bwa.local' (15.0.775.35 caps:3F) is
    examining the request.
    3/23/2014 1:08:31 PM [CLOUD-EXC-02] Connected to target mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    0192305397', Mailbox server 'CLOUD-EXC-02.bwa.local' Version 15.0 (Build
    775.0).
    3/23/2014 1:08:31 PM [CLOUD-EXC-02] Connected to source mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    1691384683', Mailbox server 'CLOUD-EXC-01.bwa.local' Version 14.3 (Build
    123.0).
    3/23/2014 1:08:33 PM [CLOUD-EXC-02] Relinquishing job because the mailbox is
    locked. The job will attempt to continue again after 3/23/2014 1:13:33 PM.
    3/23/2014 1:13:36 PM [CLOUD-EXC-02] The Microsoft Exchange Mailbox
    Replication service 'CLOUD-EXC-02.bwa.local' (15.0.775.35 caps:3F) is
    examining the request.
    3/23/2014 1:13:37 PM [CLOUD-EXC-02] Connected to target mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    0192305397', Mailbox server 'CLOUD-EXC-02.bwa.local' Version 15.0 (Build
    775.0).
    3/23/2014 1:13:37 PM [CLOUD-EXC-02] Connected to source mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    1691384683', Mailbox server 'CLOUD-EXC-01.bwa.local' Version 14.3 (Build
    123.0).
    3/23/2014 1:13:38 PM [CLOUD-EXC-02] Request processing continued, stage
    CreatingInitialSyncCheckpoint.
    3/23/2014 1:13:39 PM [CLOUD-EXC-02] Initial sync checkpoint progress: 0/370
    folders processed. Currently processing mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)'.
    3/23/2014 1:13:47 PM [CLOUD-EXC-02] Initial sync checkpoint completed: 354
    folders processed.
    3/23/2014 1:13:47 PM [CLOUD-EXC-02] Stage: LoadingMessages. Percent complete
    20.
    3/23/2014 1:14:34 PM [CLOUD-EXC-02] Messages have been enumerated
    successfully. 20738 items loaded. Total size: 3.535 GB (3,795,484,545 bytes)
    3/23/2014 1:14:34 PM [CLOUD-EXC-02] Stage: CopyingMessages. Percent complete
    25.
    3/23/2014 1:14:34 PM [CLOUD-EXC-02] Copy progress: 0/20738 messages, 0 B (0
    bytes)/3.535 GB (3,795,484,545 bytes), 12/370 folders completed.
    3/23/2014 1:16:45 PM [CLOUD-EXC-02] Transient error MapiExceptionNetworkErro
    has occurred. The system will retry (1/60).
    3/23/2014 1:17:17 PM [CLOUD-EXC-02] The Microsoft Exchange Mailbox
    Replication service 'CLOUD-EXC-02.bwa.local' (15.0.775.35 caps:3F) is
    examining the request.
    3/23/2014 1:17:17 PM [CLOUD-EXC-02] Connected to target mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    0192305397', Mailbox server 'CLOUD-EXC-02.bwa.local' Version 15.0 (Build
    775.0).
    3/23/2014 1:17:17 PM [CLOUD-EXC-02] Connected to source mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    1691384683', Mailbox server 'CLOUD-EXC-01.bwa.local' Version 14.3 (Build
    123.0).
    3/23/2014 1:17:17 PM [CLOUD-EXC-02] Relinquishing job because the mailbox is
    locked. The job will attempt to continue again after 3/23/2014 1:22:17 PM.
    3/23/2014 1:22:39 PM [CLOUD-EXC-02] The Microsoft Exchange Mailbox
    Replication service 'CLOUD-EXC-02.bwa.local' (15.0.775.35 caps:3F) is
    examining the request.
    3/23/2014 1:22:39 PM [CLOUD-EXC-02] Connected to target mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    0192305397', Mailbox server 'CLOUD-EXC-02.bwa.local' Version 15.0 (Build
    775.0).
    3/23/2014 1:22:39 PM [CLOUD-EXC-02] Connected to source mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    1691384683', Mailbox server 'CLOUD-EXC-01.bwa.local' Version 14.3 (Build
    123.0).
    3/23/2014 1:22:39 PM [CLOUD-EXC-02] Request processing continued, stage
    LoadingMessages.
    3/23/2014 1:22:40 PM [CLOUD-EXC-02] Messages have been enumerated
    successfully. 20738 items loaded. Total size: 3.535 GB (3,795,484,545 bytes)
    3/23/2014 1:22:40 PM [CLOUD-EXC-02] Stage: CopyingMessages. Percent complete
    25.
    3/23/2014 1:22:40 PM [CLOUD-EXC-02] Copy progress: 0/20738 messages, 0 B (0
    bytes)/3.535 GB (3,795,484,545 bytes), 12/370 folders completed.
    3/23/2014 1:24:41 PM [CLOUD-EXC-02] Transient error MapiExceptionNetworkErro
    has occurred. The system will retry (1/60).
    3/23/2014 1:25:13 PM [CLOUD-EXC-02] The Microsoft Exchange Mailbox
    Replication service 'CLOUD-EXC-02.bwa.local' (15.0.775.35 caps:3F) is
    examining the request.
    3/23/2014 1:25:13 PM [CLOUD-EXC-02] Connected to target mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    0192305397', Mailbox server 'CLOUD-EXC-02.bwa.local' Version 15.0 (Build
    775.0).
    3/23/2014 1:25:13 PM [CLOUD-EXC-02] Connected to source mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    1691384683', Mailbox server 'CLOUD-EXC-01.bwa.local' Version 14.3 (Build
    123.0).
    3/23/2014 1:25:13 PM [CLOUD-EXC-02] Relinquishing job because the mailbox is
    locked. The job will attempt to continue again after 3/23/2014 1:30:13 PM.
    ObjectState : New

    How Many CAS Servers do you have?
    Did you changed the web.config file of MRS on both exchange 2010 and 2013 CAS servers?
    http://thoughtsofanidlemind.com/2010/12/03/tweaking-the-mailbox-replication-service-configuration-file/
    Question:
    How much time does it takes for 100 MB mailbox to move from 2010 to 2013?
    Cheers,
    Gulab Prasad
    Technology Consultant
    Blog:
    http://www.exchangeranger.com    Twitter:
      LinkedIn:
       Check out CodeTwo’s tools for Exchange admins
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Mac-to-Mac Migration in Leopard with errors and residual, vanished HD space

    I am trying to migrate from one MacBook Pro to another (both new). In doing so, the migration works until the final 1 or 2%, then lists an error. If choose to skip, OS X boots and the HD (297 GB) is reduced by the amount it supposedly transferred (e.g. to 120 GB free), but there are no indications that those files exist on any drive. Where can I look for this data?
    Unfortunately the only way around this, I have found, is to re-install OS X after wiping the drive (Erase and Install). I really need the files and settings to transfer so I am experimenting with different conditions, though each failure means 1) reinstalling OS X on the new machine and 2) waiting for another migration of > 100 GB.
    As an interesting aside, one of the errors appears to deal with a guest user account setup on the old machine. I am going to delete this and re-attempt migration following erase/install on the new machine again.

    Reboot from the Mac OS install disk on the source machine, switch to Disk Utility and repair the disk and repair permissions.

  • Bought adobe acrobat X standard. downloaded. Wouldn't run without application manager. downloaded application manager. Came up with error and still can't use x standard. What do i do now?

    Bought adobe acrobat X standard. Downloaded. wouldn't run without application manager. Downloaded application manager. came up with an error. Still can't use x standard program. What do I do now?

    Where did you purchase Acrobat X, it is discontinued?

  • New UC540W deployment with conference and ip phone

    Hi All,
    I'm preparing solution for UC540W with conference station phone and other ip-phone for small company.
    My current selected bill of material is consisting of following.
    5 x CP-7942G IP phones
    2 x CP-7937G Conference station phones
    1 x UC540W-FX0-K9 appliance
    I have few doubts to ask:
    1. Is everything included for working complete solution?
    2. CP-7942G has CP-7942G-CH1 model also. Which model should I use?
    3. Can I use PoE for CP-7937G s/phones or should I use CP-PWR-CUBE-3 ?
    Please let me know anything missing please.
    Thanks

    1 yes.
    2 they are the same exact hardware.
    3 PoE
    Note: if you want sure and fast results, and save yourself a lot of frustration, do not try yo do yourself, engage an UC certified Cisco Partner, or persone withh equivalente knowledge and expereince.

  • TS3694 I tried to update my wifes iPod and it would not do it so I tried agaig and this time it came back with error and the sereale number disaperd and I cant do anything

    I tried to update iPod and it didnt work so I tried again and I lost everythig including the serial number now it wont load anything

    What did the error message say?

Maybe you are looking for