error the applicant unit

I get this error when you apply for a virtual machine. anyone see this before?Capture.JPG

OK I found the problem on this one

http://KB.VMware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalID=2118557

the profile of storage as a service not started in vcenter

Tags: VMware

Similar Questions

  • Could not deploy blueprint: error the applicant unit. INTERNAL EXCEPTION: Nullable object must have a value.

    vRA 6.2.1 - 2543390

    Trying to deploy any plan of action in a tenant I get the following error as the author of the request:

    "A server error has occurred error the applicant unit. Nullable object must have a value. »

    Research in the newspaper the observer, I get:

    "Asking the device error. INTERNAL EXCEPTION: Exception was thrown by the target of a call. INTERNAL EXCEPTION: Error requesting device. INTERNAL EXCEPTION: Nullable object must have a value. »

    NullableObject01.PNG

    The journal of C:\Program Files (x 86) \VMware\vCAC\Server\Model Manager Web\Logs\Repository on the server of IaaS, I see the request for plan of action and the following stack trace:

    [UTC:2015 - 06-03 11:38:39 local: 2015-06-03 12:38] [Path]: Thread-Id: 25 - MachineRequest:? XML version = "1.0" encoding = "utf-16"? >

    " < = MachineRequest container ' http://www.w3.org/2001/XMLSchema "" xmlns: xsi = " " http://www.w3.org/2001/XMLSchema-instance ">

    < TemplateId > 2e2cc4cb-c867-4290-8419-77489755d0c0 < / TemplateId >

    f4ac2e16-8b0a-47ea-94BB-455d0155f44b < GroupId > < / GroupId >

    < RequestingUser > [email protected] < / RequestingUser >

    [email protected] < owner > < / owner >

    < reason > This is the reason why < / reason >

    Properties of <>

    < NameValue >

    < IsEncrypted > false < / IsEncrypted >

    < IsHidden > false < / IsHidden >

    < IsRuntime > false < / IsRuntime >

    < name > __Notes < / name >

    Tests of < value > < / value >

    < / NameValue >

    < NameValue >

    < IsEncrypted > false < / IsEncrypted >

    < IsHidden > false < / IsHidden >

    < IsRuntime > false < / IsRuntime >

    < name > provisioningGroupId < / name >

    < value > f4ac2e16-8b0a-47ea-94bb-455d0155f44b < / value >

    < / NameValue >

    < NameValue >

    < IsEncrypted > false < / IsEncrypted >

    < IsHidden > false < / IsHidden >

    < IsRuntime > false < / IsRuntime >

    < name > VirtualMachine.LeaseDays < / name >

    < value > 100 < / value >

    < / NameValue >

    < NameValue >

    < IsEncrypted > false < / IsEncrypted >

    < IsHidden > false < / IsHidden >

    < IsRuntime > false < / IsRuntime >

    < name > blueprintId < / name >

    < value > 2e2cc4cb-c867-4290-8419-77489755d0c0 < / value >

    < / NameValue >

    < NameValue >

    < IsEncrypted > false < / IsEncrypted >

    < IsHidden > false < / IsHidden >

    < IsRuntime > false < / IsRuntime >

    < name > VirtualMachine.CPU.Count < / name >

    < value > 1 < / value >

    < / NameValue >

    < NameValue >

    < IsEncrypted > false < / IsEncrypted >

    < IsHidden > false < / IsHidden >

    < IsRuntime > false < / IsRuntime >

    < name > VirtualMachine.Disk0.Size < / name >

    < value > 16 < / value >

    < / NameValue >

    < NameValue >

    < IsEncrypted > false < / IsEncrypted >

    < IsHidden > false < / IsHidden >

    < IsRuntime > true < / IsRuntime >

    < name > Custom.Domain < / name >

    < value > child.vrademo.local < / value >

    < / NameValue >

    < NameValue >

    < IsEncrypted > false < / IsEncrypted >

    < IsHidden > false < / IsHidden >

    < IsRuntime > false < / IsRuntime >

    < name > VirtualMachine.Memory.Size < / name >

    < value > 2048 < / value >

    < / NameValue >

    < NameValue >

    < IsEncrypted > false < / IsEncrypted >

    < IsHidden > false < / IsHidden >

    < IsRuntime > false < / IsRuntime >

    < name > VirtualMachine.Disk0.IsClone < / name >

    < value > true < / value >

    < / NameValue >

    < NameValue >

    < IsEncrypted > false < / IsEncrypted >

    < IsHidden > false < / IsHidden >

    < IsRuntime > false < / IsRuntime >

    < name > __api.request.id < / name >

    < value > 2116a8fc-cf07-4827-8841-70d2e8495b1a < / value >

    < / NameValue >

    < / properties >

    < / MachineRequest >

    [UTC:2015 - 06-03 11:38:39 local: 2015-06-03 12:38] [Path]: Thread-Id: 25 - AllocateMachineRequest: 25da3edf-7dfe-4582-ac6e-49464775d41a: started during initialization AllocateMachineRequest

    [UTC:2015 - 06-03 11:38:39 local: 2015-06-03 12:38] [Path]: Thread-Id: 25 - AllocateMachineRequest: 25da3edf-7dfe-4582-ac6e-49464775d41a: completed initialization of AllocateMachineRequest

    [UTC:2015 - 06-03 11:38:39 local: 2015-06-03 12:38] [Path]: Thread-Id: 25 - AllocateReservationService: 25da3edf-7dfe-4582-ac6e-49464775d41a: started GetAvailableReservations

    [UTC:2015 - 06-03 11:38:39 local: 2015-06-03 12:38] [Path]: Thread-Id: 25 - AllocateReservationService: 25da3edf-7dfe-4582-ac6e-49464775d41a: completed GetAvailableReservations

    [UTC:2015 - 06-03 11:38:39 local: 2015-06-03 12:38] [Path]: Thread-Id: 25 - AllocateReservationService: 25da3edf-7dfe-4582-ac6e-49464775d41a: implementation of available reserves 1

    [UTC:2015 - 06-03 11:38:39 local: 2015-06-03 12:38] [Path]: Thread-Id: 25 - AllocateReservationService: 25da3edf-7dfe-4582-ac6e-49464775d41a: finished loading 1 Reservations available

    [UTC:2015 - 06-03 11:38:39 local: 2015-06-03 12:38] [Path]: Thread-Id: 25 - AllocateReservationRequest: e78ecf77-025c-4cea-a322-fdfd1f5c4b21: started during initialization AllocateReservationRequest

    [UTC:2015 - 06-03 11:38:39 local: 2015-06-03 12:38] [Path]: Thread-Id: 25 - AllocateReservationRequest: e78ecf77-025c-4cea-a322-fdfd1f5c4b21: completed initialization of AllocateReservationRequest

    [UTC:2015 - 06-03 11:38:39 local: 2015-06-03 12:38] [Debug]: Thread-Id: 25 - began to remove virtual machine record for: [any]

    [UTC:2015 - 06-03 11:38:39 local: 2015-06-03 12:38] [Debug]: Thread-Id: 25 - finished deleting the virtual machine record for: [any]

    [UTC:2015 - 06-03 11:38:39 local: 2015-06-03 12:38] [Error]: Thread-Id: 25 - did not request. Inner exception: Nullable object must have a value.

    [UTC:2015 - 06-03 11:38:39 local: 2015-06-03 12:38] [Error]: Thread-Id: 25 - [email protected]

    System.InvalidOperationException: Nullable object must have a value.

    at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateStorageReservations (AllocateMachineRequest request, AllocateReservationRequest currentReservation, Boolean requireExactPolicy)

    at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateAvailableReservations (machineRequests from list 1, list 1 availableReservations, StringBuilder infoErrorMsg, Boolean requireExactPolicy)

    at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateStorageReservations (availableReservations from list 1, list 1 queries)

    at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateReservationByType (AllocateMachineRequest request)

    at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateReservations (AllocateRequest request)

    to DynamicOps.ManagementModel.Services.ProvisionMachineService. <>c__DisplayClasse. < AllocateMachine > b__c()

    DynamicOps.Common.RetryTransactionException.RetryIfNecessary (use)

    DynamicOps.ManagementModel.Services.ProvisionMachineService.AllocateMachine (model VirtualMachineTemplate, ProvisioningGroup group, owner of the channel, properties of list 1, isComponent Boolean, applyExpiresOverride Boolean, Nullable Nullable networkScopeId, VirtualMachine masterMachine 1, expiresOverride 1)

    DynamicOps.ManagementModel.Services.ProvisionMachineService.SubmitMachineRequestByType (model VirtualMachineTemplate, ProvisioningGroup group, owner of the chain, the list 1, list 1 originalRuntimeProperties properties)

    at DynamicOps.ManagementModel.Services.ProvisionMachineService.SubmitMachineRequest (MachineRequest request)

    [UTC:2015 - 06-03 11:38:39 local: 2015-06-03 12:38] [Error]: Thread-Id: 25 - System.Data.Services.DataServiceException: error the applicant unit. -> System.Reflection.TargetInvocationException: Exception has been thrown by the target of a call. -> System.Data.Services.DataServiceException: error the applicant unit. ---> System.InvalidOperationException: Nullable object must have a value.

    at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateStorageReservations (AllocateMachineRequest request, AllocateReservationRequest currentReservation, Boolean requireExactPolicy)

    at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateAvailableReservations (machineRequests from list 1, list 1 availableReservations, StringBuilder infoErrorMsg, Boolean requireExactPolicy)

    at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateStorageReservations (availableReservations from list 1, list 1 queries)

    at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateReservationByType (AllocateMachineRequest request)

    at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateReservations (AllocateRequest request)

    to DynamicOps.ManagementModel.Services.ProvisionMachineService. <>c__DisplayClasse. < AllocateMachine > b__c()

    DynamicOps.Common.RetryTransactionException.RetryIfNecessary (use)

    DynamicOps.ManagementModel.Services.ProvisionMachineService.AllocateMachine (model VirtualMachineTemplate, ProvisioningGroup group, owner of the channel, properties of list 1, isComponent Boolean, applyExpiresOverride Boolean, Nullable Nullable networkScopeId, VirtualMachine masterMachine 1, expiresOverride 1)

    DynamicOps.ManagementModel.Services.ProvisionMachineService.SubmitMachineRequestByType (model VirtualMachineTemplate, ProvisioningGroup group, owner of the chain, the list 1, list 1 originalRuntimeProperties properties)

    at DynamicOps.ManagementModel.Services.ProvisionMachineService.SubmitMachineRequest (MachineRequest request)

    -End of the exception stack trace internal-

    at DynamicOps.ManagementModel.Services.ProvisionMachineService.SubmitMachineRequest (MachineRequest request)

    to DynamicOps.ManagementModel.ManagementModelOperations. < SubmitVirtualMachineRequest > b__c (r, ManagementModelEntities d MachineRequest)

    in DynamicOps.Common.Entity.OperationInvoke'1.Execute [TRequest] (Func 3 operation)

    -End of the exception stack trace internal-

    at System.RuntimeMethodHandle.InvokeMethod (Object target, sig Signature constructor Boolean, object [] arguments)

    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal (Object obj, Object [] parameters, Object [] arguments)

    at System.Reflection.RuntimeMethodInfo.Invoke (Object obj, BindingFlags invokeAttr, Binder binder, Object [] parameters, CultureInfo culture)

    to System.Data.Services.Providers.BaseServiceProvider.InvokeServiceOperation (ServiceOperation serviceOperation, Object [] parameters)

    -End of the exception stack trace internal-

    to System.Data.Services.ErrorHandler.HandleTargetInvocationException (TargetInvocationException exception)

    to System.Data.Services.Providers.BaseServiceProvider.InvokeServiceOperation (ServiceOperation serviceOperation, Object [] parameters)

    at System.Data.Services.Providers.DataServiceProviderWrapper.InvokeServiceOperation (OperationWrapper serviceOperation, Object [] parameters)

    at System.Data.Services.RequestUriProcessor.ComposeExpressionForServiceOperation (SegmentInfo, IDataService service, checkRights Boolean, SegmentInfo lastSegment segment)

    to System.Data.Services.RequestUriProcessor.ComposeExpressionForSegments (IList 1 segments, IDataService service, Boolean isCrossReferencingUri)

    at System.Data.Services.RequestUriProcessor.ProcessRequestUri (Uri absoluteRequestUri, IDataService service, Boolean internalQuery)

    to System.Data.Services.DataService'1.HandleRequest)

    INTERNAL EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of a call. -> System.Data.Services.DataServiceException: error the applicant unit. ---> System.InvalidOperationException: Nullable object must have a value.

    at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateStorageReservations (AllocateMachineRequest request, AllocateReservationRequest currentReservation, Boolean requireExactPolicy)

    at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateAvailableReservations (machineRequests from list 1, list 1 availableReservations, StringBuilder infoErrorMsg, Boolean requireExactPolicy)

    at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateStorageReservations (availableReservations from list 1, list 1 queries)

    at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateReservationByType (AllocateMachineRequest request)

    at DynamicOps.ManagementModel.Services.AllocateReservationService.AllocateReservations (AllocateRequest request)

    to DynamicOps.ManagementModel.Services.ProvisionMachineService. <>c__DisplayClasse. < AllocateMachine > b__c()

    DynamicOps.Common.RetryTransactionException.RetryIfNecessary (use)

    DynamicOps.ManagementModel.Services.ProvisionMachineService.AllocateMachine (model VirtualMachineTemplate, ProvisioningGroup group, owner of the channel, properties of list 1, isComponent Boolean, applyExpiresOverride Boolean, Nullable Nullable networkScopeId, VirtualMachine masterMachine 1, expiresOverride 1)

    DynamicOps.ManagementModel.Services.ProvisionMachineService.SubmitMachineRequestByType (model VirtualMachineTemplate, ProvisioningGroup group, owner of the chain, the list 1, list 1 originalRuntimeProperties properties)

    at DynamicOps.ManagementModel.Services.ProvisionMachineService.SubmitMachineRequest (MachineRequest request)

    -End of the exception stack trace internal-

    at DynamicOps.ManagementModel.Services.ProvisionMachineService.SubmitMachineRequest (MachineRequest request)

    to DynamicOps.ManagementModel.ManagementModelOperations. < SubmitVirtualMachineRequest > b__c (r, ManagementModelEntities d MachineRequest)

    in DynamicOps.Common.Entity.OperationInvoke'1.Execute [TRequest] (Func 3 operation)

    -End of the exception stack trace internal-

    at System.RuntimeMethodHandle.InvokeMethod (Object target, sig Signature constructor Boolean, object [] arguments)

    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal (Object obj, Object [] parameters, Object [] arguments)

    at System.Reflection.RuntimeMethodInfo.Invoke (Object obj, BindingFlags invokeAttr, Binder binder, Object [] parameters, CultureInfo culture)

    to System.Data.Services.Providers.BaseServiceProvider.InvokeServiceOperation (ServiceOperation serviceOperation, Object [] parameters)

    [UTC:2015 - 06-03 11:38:41 local: 2015-06-03 12:38] [Path]: Thread-Id: 25 - Guid: <? XML version = "1.0" encoding = "utf-16"? >

    2e2cc4cb-c867-4290-8419-77489755d0c0 < guid > < / guid >

    [UTC:2015 - 06-03 11:38:47 local: 2015-06-03 12:38] [Path]: Thread-Id: 25 - Guid: <? XML version = "1.0" encoding = "utf-16"? >

    2e2cc4cb-c867-4290-8419-77489755d0c0 < guid > < / guid >

    Any ideas on what could be the nullable object that requires a value?

    Yes, this seems to be the problem, you can update using query below and see if it works for you.

    UPDATED [HostReservation] set StorageAllocationPolicyID = 4, CurrentStorageAllocationIndex = 0, CurrentNetworkAllocationIndex = 0

    WHERE HostReservationName = '. '

  • change the text unit-error bounds 1128

    Hey everybody,

    I develop a VI that uses the native power of LabVIEW units to do all the conversions of my numbers.

    Here my question, once variables are defined for a control when editing can I change the text of unity to something not related to execution in order to prepare my indicator for a different signal? For example, lets say channel 1 is a temperature for Test1 so programmatically feray Cdeg conversion and back without problem for LabVIEW. For Test2, the same VI is used, but now the channel 1 is a pressure. Programmatically change my of feray indicator units now a unit of pressure psi, atm or bar? I am getting error 1128 "input unit is not compatible with the device current." even if the device is correct when it is entered at the time of publishing.  Any thoughts?

    Thank you
    Craig

    Hi Lucie,.

    No, you cannot change the type of unit when running. This will be fixed at compile time. You can modify other representations of the same physical property (as the Pa to the bar or some obscure lb/po2 of pressure).

    An old trick when using units:

    You can use '$1' as a control unit. Using a function to "Convert the unit" also set to "$1"you can then strip the unit." If your Subvi accepts any control unit connected-, but that does not solve your problem of perticular

  • Cannot open programs and files error: windows cannot access the file or the path of the specified unit. you don't have the appropriate permissions to access the item

    Original title: Search programs and files will not let me

    I get no response from the search - when I hit to see more results I request = aa indicating that windows cannot access the file or the path of the specified unit.  you don't have the appropriate permissions to access the item

    Hello

    1. don't you make changes to the computer until the problem occurred?

    2 when was the last time it was working fine?

    3 are you facing this problem only with Web sites or other sites also?

    I suggest you try the steps below and check if it helps

    Step 1:
    Try to start the computer in safe mode with network and check if the same error message, here is the link:

    http://Windows.Microsoft.com/en-us/Windows-Vista/advanced-startup-options-including-safe-mode

    Step 2:
    However, to work around the problem, try the step below:

    a. right click on the program file, select Properties.

    b. on the general tab, at the bottom, you will see listed in the issue of safety: this file came from another computer and might be blocked to help protect this computer.

    c. unlock.

    d. click on apply.
    e. click OK.

    Hope this information is useful.

  • DVD player does not appear error - the driver may be corrupted or missing. Code 39, fix the driver installation fails, virtual drives don't work - same results if the material under tension

    Original title: drive does not appear, difficulty he pilot installation fails, virtual drives don't work - same results if the material under tension

    A few weeks ago, as my two DVD players (the two Samsung Lightscribe SH-S223Q of) disappeared after a repair installed, I did for the other problems (not sure if it was directly after installation because I don't notice it right away, but it was no doubt). In Device Manager, it gives the message:

    "Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39) »

    I tried the Microsoft Fix It tool (Mats_Run.dvd.exe) that detects the problem and says "Install device driver" in a popup, but then he says "software device driver failed to installed. At the end it says under the issue, the "CD/DVD drive is not detected" and the status of Fix 'not set '. Note that, when I boot from another hard drive (with Vista 64 on it installed from the same DVD, just a new installation) disks appear very well. Also I can boot from the drive as well.

    I can't do a repair installation, since it must initiate Windows, and I can't load the disc. I tried to update my BIOS but that has no effect.

    Recently I actually moved this hard drive to another one, with another brand of hard drive and all the rest. Just like before, if I boot from another hard drive (this one with Windows 7), the drive unit-a Optiarc AD-7230 s - looks and works, and I can also boot from the drive at startup. But since the drive hard as I want to use, the drive does not appear. Fix it, etc. Device Manager gives the same messages as before.

    I tried virtual drives - Daemon Tools Lite and Virtual Clonedrive. When I try to add virtual devices to help, nothing happens. The new drive will be displayed in the Manager of devices, but with the same error Code 39 as the real drive.

    What are my options at this point? How can I get the drive to appear or to fix my copy of Windows?

    I could solve this problem. I started in Ubuntu and deleted the existing cdrom.sys, cdrom.inf etc. files (as in Windows, they were protected and I couldn't delete them), then I copied the files from another installation of Vista I had on another hard drive. After having done that, I updated the drivers in device, disabled/enabled readers and readers management that presented themselves.

  • HP C7280 not duplex print. Possibility to choose the duplex unit installed is grayed out.

    I am running Windows 7, 64 bit. The duplexer is installed and worked recently when printing a web page. That's why I know it works but I can't print two against any other time. I am not even able to choose the duplex unit installed in the menu options. all the drivers are up to date. In addition, they had a driver update that came out in 2010 for the duplexer and when I tried to install, I got an error saying that it was not compatible Windows 7. Any ideas?

    The duplexer must be selected in the desdcribed for Vista/Windows 7 Duplex Printing Guide here.

  • The Multiple Unit call manager Clusters

    Installation program:

    2 x Unit 1 x PRI 1 x dry failover servers.

    Unity 4.0.3 sr 1

    Unified on the box store. Exchange 2000 Server cluster.

    Install new 4.0.3 no upgrade, without double integration.

    UTIM

    Teaspoon 7.0.3b

    Group 1 - connect to the 1/2 Site A CM 3.3.3 CM sr4a

    1-50 answer calls only ports

    51-65 all ports.

    MWI 3300/3301

    Group 2 - connect to the CM 1 Site B CM 4.0.1 sr 1 has

    66-68 answer calls only ports

    MWI 700/701

    * Might turn not 66-68 for any service unit started using lower ports for TRAP etc.

    Group 3 - connect the CM 1 Site C cm 3.3.3 sr 2

    ThePort 69-72 answer calls only.

    MWI 700/701

    * Might turn not 66-68 for any service unit started using lower ports for TRAP etc.

    Question:

    The primary unit reported the following in the application event log:

    Event ID 1041

    Cisco Unity_Notifier

    Cannot set the lamp to wait for message for , ext XXXX, switch 0, group 2, reason: not appropriate port. Check the configuration of the port MWI.

    Same error event for all clusters/users on the same switch/cluster combination.

    MWI, notification of MSG and traps work properly.

    But the unit is still reported a problem.

    FYI: Seems to start after 1. Service release 2 has been installed. Failover was configured.

    THX.

    The unit still tries to send MWI to each cluster. If it does not you will see this error. I would say to just allowing the Message Notification on port 68 and 72. Given that the unit does not know what CCM a Subscriber is located at, it should send the MWI to each cluster. If you have at least one port for MWI, who should take care of errors.

  • The rights of the applicant, change of context (PL/SQL-&gt; SQL-&gt; PL/SQL) and ORA-00904

    Hello

    I'm doing a validation test of principle with regard to the rights of the applicant. I created 2 diagrams of Test (DEFINER1 and INVOKER1) for the same thing. When I call a procedure in the Invoker1 Definer1 and the procedure has, in turn, a SQL statement inside that a PL/SQL function calls, so he get ORA-00904 "" is not a valid identifier. All procedures/packages in the scheme of Definer1 are created as the rights of the applicant. Simplified script below for the same, kindly let me know if I make a mistake, it's the expected behavior, or miss me something.

    set line 10000

    Set feedback off

    ------------------------------------------------------------------------------------------------------------------------------

    QUICK problem: error ORA-00904: "object name": invalid identifier

    CALLS while the use of the appellant's rights, procedure call PL/SQL that has a SQL that calls a PL/SQL function.

    ------------------------------------------------------------------------------------------------------------------------------

    ------------------------------------------------------------------------------------------------------------------------------

    GUEST

    GUEST

    ------------------------------------------------------------------------------------------------------------------------------

    Creating patterns DEFINER1 and INVOKER1 QUICK...

    GUEST

    ------------------------------------------------------------------------------------------------------------------------------

    CREATE DEFINER1 USER IDENTIFIED BY DEFINER1

    TEMPORARY TEMP TABLESPACE

    /

    GRANT CREATE SESSION TO DEFINER1

    /

    GRANT CREATE PROCEDURE FOR DEFINER1

    /

    CREATE INVOKER1 USER IDENTIFIED BY INVOKER1

    TEMPORARY TEMP TABLESPACE

    /

    GRANT CREATE SESSION TO INVOKER1

    /

    GRANT CREATE PROCEDURE FOR INVOKER1

    /

    ------------------------------------------------------------------------------------------------------------------------------

    GUEST will now connect to the DEFINER1 schema...

    GUEST

    CONNECT DEFINER1/DEFINER1

    ------------------------------------------------------------------------------------------------------------------------------

    Creating QUICK package (with rights of Summoners) with 2 functions simple (one with PRAGMA RESTRICT_REFERENCES another without him.)...

    GUEST

    ------------------------------------------------------------------------------------------------------------------------------

    CREATE or REPLACE PACKAGE global_pkg

    AUTHID CURRENT_USER

    AS

    FUNCTION add2 (NUMBER of p1

    NUMBER of p2

    )

    RETURN NUMBER;

    FUNCTION add2_rr (NUMBER of p1

    NUMBER of p2

    )

    RETURN NUMBER;

    PRAGMA RESTRICT_REFERENCES (add2_rr, WNDS, WNPS, NSOR, RNP);

    END global_pkg;

    /

    ---------------------------------------------------------------

    CREATE OR REPLACE PACKAGE BODY GLOBAL_PKG

    AS

    ---------------------------------------------------------------

    FUNCTION add2 (NUMBER of p1

    NUMBER of p2

    )

    RETURN NUMBER

    IS

    BEGIN

    RETURN (p1 + p2);

    END add2;

    ---------------------------------------------------------------

    FUNCTION add2_rr (NUMBER of p1

    NUMBER of p2

    )

    RETURN NUMBER

    IS

    BEGIN

    RETURN (p1 + p2);

    END add2_rr;

    ---------------------------------------------------------------

    END global_pkg;

    /

    ------------------------------------------------------------------------------------------------------------------------------

    ENCOURAGE creating stand-alone simple function (with rights of Summoners)...

    GUEST

    ------------------------------------------------------------------------------------------------------------------------------

    FUNCTION to CREATE or REPLACE add2 (NUMBER of p1

    NUMBER of p2

    )

    RETURN NUMBER

    AUTHID CURRENT_USER

    IS

    BEGIN

    RETURN (p1 + p2);

    END ADD2;

    /

    ------------------------------------------------------------------------------------------------------------------------------

    PROMPT creation of procedure (with rights of Summoners) who calls the Package and functions...

    GUEST

    ------------------------------------------------------------------------------------------------------------------------------

    CREATE OR REPLACE PROCEDURE pr_tester

    AUTHID CURRENT_USER

    IS

    l_num NUMBER (2);

    BEGIN

    dbms_output.put_line (1 + 1 = ' | global_pkg.add2_rr (1,1));

    BEGIN

    SELECT global_pkg.add2_rr (1.1)

    IN l_num

    FROM DUAL;

    dbms_output.put_line ('worked..');

    EXCEPTION

    WHILE OTHERS

    THEN

    dbms_output.put_line ('global_pkg.add2_rr wo' |) SQLERRM);

    END;

    dbms_output.put_line (1 + 1 = ' | global_pkg.) ADD2 (1,1));

    BEGIN

    SELECT global_pkg.add2 (1.1)

    IN l_num

    FROM DUAL;

    dbms_output.put_line ('worked..');

    EXCEPTION

    WHILE OTHERS

    THEN

    dbms_output.put_line ('global_pkg.add2 wo' |) SQLERRM);

    END;

    dbms_output.put_line (1 + 1 = ' |) ADD2 (1,1));

    BEGIN

    SELECT add2 (1.1)

    IN l_num

    FROM DUAL;

    dbms_output.put_line ('worked..');

    EXCEPTION

    WHILE OTHERS

    THEN

    dbms_output.put_line ('add2 wo' |) SQLERRM);

    END;

    END;

    /

    ------------------------------------------------------------------------------------------------------------------------------

    Grant QUICK overlooking the procedure to INVOKER1 scheme...

    GUEST

    ------------------------------------------------------------------------------------------------------------------------------

    GRANT EXECUTE ON pr_tester TO invoker1

    /

    ------------------------------------------------------------------------------------------------------------------------------

    Test QUICK 1: Define schema works...

    GUEST

    ------------------------------------------------------------------------------------------------------------------------------

    SET SERVEROUTPUT ON

    BEGIN

    pr_tester;

    END;

    /

    ------------------------------------------------------------------------------------------------------------------------------

    GUEST

    GUEST

    GUEST

    GUEST will now connect to the INVOKER1 schema...

    GUEST

    CONNECT INVOKER1/INVOKER1

    ------------------------------------------------------------------------------------------------------------------------------

    Test FAST 2: Fails with ORA - 00904 define schema

    ------------------------------------------------------------------------------------------------------------------------------

    SET SERVEROUTPUT ON

    BEGIN

    definer1.pr_tester;

    END;

    /

    ------------------------------------------------------------------------------------------------------------------------------

    GUEST

    GUEST

    GUEST

    INVITE to drop the two schemas, enter the password for the sys

    ------------------------------------------------------------------------------------------------------------------------------

    CONNECT SYS AS SYSDBA

    DROP USER CASCADE DEFINER1

    /

    DROP USER INVOKER1

    /

    ------------------------------------------------------------------------------------------------------------------------------

    GUEST

    GUEST has dropped to users...

    ------------------------------------------------------------------------------------------------------------------------------

    Thank you

    Marie.

    Basically, you know the answer...

    Why you call procedure Tester pr_tester with the name of schema prefix (definer1.pr_tester) during his call of the schema of the invoker?

    Now... Imagine the following query runs under the scheme of the appellant:

    SELECT global_pkg.add2_rr (1.1)

    IN l_num

    FROM DUAL;

    the schema of the invoker 'knows' global_pkg?

    HTH

  • Why the DR unit does not trigger schema when it is called remotely?

    Hi all

    I have a question about the triggers of oracle schema and I would be grateful if you could kindly give me a helping hand.

    Oracle version: 11 GR 2 (11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit)

    OS:                      Linux Fedora Core 17 (X86_64)

    I was reading the online documentation on schema triggers where oracle says:

    Assume that users user1 and user2 own schema triggers and user1 invokes a DR unit owned by user2. Inside the DR unit, User2 is the current user. Therefore, If the DR unit triggers the triggering event of a trigger schema that User2 owns, while the trigger is activated.

    I wanted to see this behavior in practice, so I made the following test case:

    -There are two schemas:

    • testuser where I create a procedure with AUTHID DEFINE (a unit of the Dr. therfore) named createTab. This procedure takes a table name as a parameter and if no table with this name exists already in the testuser schema, it will create a new table with the same name with a single column of type NUMBER (well, it's just an example to this issue, in practice I never create my tables this way)

    • training is therefore another scheme to which we grant the privilege EXECUTE on the above mentioned procedure createTab so that it may be possible to create tables on schema testuser by calling the remote procedure.

    The idea behind the test is to create a schema for testusertrigger, so that whenever he is, for example, a creation of the table, a message is inserted into a table of newspaper (just an example to show proof that trigger the diagram has been drawn on the table creation event). Now assuming I admit the EXECUTE privilege on the procedure of createTab for the trainingscheme, then any creation of the remote table must trigger the schema trigger, because according to the documentation inside the unit of the DR, the user is not considered appellant user (= training) but actually the owner (= testuser) that created the trigger and procedure.

    The problem is that I cannot see it in my test. Therefore I will write here my test case so that you can have a look at it and to indicate where I did wrong, and what I misunderstood in the documentation.

    So here's what I created on the schema testuser

    Code

    SET SQLBLANKLINES

    ALTER SESSION SET PLSQL_WARNINGS = ' ENABLE: ALL ';

    SET SERVEROUTPUT ON;

    -A table of newspaper in which the schema trigger inserts messages


    -indicating that the schema trigger was triggered (as proof)

    CREATE TABLE tablog (logMsg VARCHAR2 (100));

    -Here is the procedure that updates the above defined log table (tablog)

    -This procedure (autonomous transaction) is called by the schema trigger

    CREATE OR REPLACE PROCEDURE updateLog (p_logMsg IN tablog.logMsg%TYPE)

    DEFINE AUTHID

    IS

    PRAGMA AUTONOMOUS_TRANSACTION;

    BEGIN

    INSERT INTO tablog (logMsg) VALUES (p_logMsg);

    COMMIT;

    END updateLog;

    /

    DISPLAY ERRORS;

    -This is the procedure we use to create tables (which will be called so

    -remotely from another schema-> training)

    -As stated above, the procedure takes a table
    -name as a parameter and creates a table with a single column of type NUMBER

    -that if no table with this name exists already

    CREATE OR REPLACE PROCEDURE createTab

    (

    p_tabName IN user_tables.table_name%TYPE

    )

    AUTHID DEFINE - Therefore a unit DR that we explicitly specify AUTHID DEFINE

    IS

    BEGIN

    < < bk > >

    DECLARE

    tabName user_tables.table_name%TYPE;

    BEGIN

    -Check to see if a table with the name p_tabName
    -already exists

    T1.table_name SELECT INTO bk.tabName

    FROM user_tables t1

    WHERE t1.table_name = upper (p_tabName);

    EXCEPTION

    -No table with this name exists, so we create now

    WHEN NO_DATA_FOUND THEN

    IMMEDIATELY RUN 'CREATE TABLE ' |

    p_tabName | '(NUMÉRO n) ';

    END;

    END createTab;

    /

    DISPLAY ERRORS;

    - And finally it is the schema for the schema 'testuser '.

    -Any appeal of the above mentioned procedure createTab (if the procedure)
    -creates a new table) fires the following trigger

    CREATE OR REPLACE TRIGGER testuser_schema_tr

    Before you CREATE on testuser.schema

    BEGIN

    -Just insert a message into the table of the newspaper showing the evidence
    -that our schema trigger wiped of CREATE TABLE
    -statements

    updateLog

    (

    TO_CHAR (sysdate, ' ' MON-DD-YYYY HH24:Mi:ss) |

    ' ': Schema for testuser trigger pulled.

    );

    END testuser_schema_tr;

    /

    DISPLAY ERRORS;

    -I grant the privileges required for the formation of the user/schema
    -may also be able to remotely run my procedure

    GRANT EXECUTE ON createTab to training;

    GRANT SELECT ON tablog to training;

    First, I tested the procedure createTab locally (so be etre connecte connected as drawing testuser , in other words, the owner of the procedure and the relaxation). Everything worked pretty well and created table, that table the journal has been updated by the trigger which showed that in fact after each CREATE TABLE statement, the trigger was activated.

    However, when I opened a new SQL * Plus term, this time in being connected as a training scheme, I have observed that, once again, it was possible to create tables on schema testuser remotely, but the log table has been updated no more, which means that the trigger has not wiped CREATE TABLE statements that were issued remotely (by remote createTab procedure call).

    Code

    SQL > EXECUTE testuser.createTab ('tmptab');

    PL/SQL procedure successfully completed.

    SQL > SELECT * FROM testuser.tablog;

    no selected line

    SQL > USER to see THE

    The USER is 'TRAINING'


    SQL >

    Any idea? Why unity DR (createTab procedure) does not have the schema trigger, unlike what documents said, when it is called remotely?

    Thanks in advance,

    Dariyoosh

    It works for me on Oracle 11.2.0.3

    August 21, 2013 18:10:12: trigger pulled schema

    But not on 11.2.0.1

    It looks like a bug.

  • Check alert event ends in error, the log file has no error message

    Hello

    We are 11.5.10 in 12.1.3 reclassification. Check alert event ends in error, the log file does not have any information. This alert is on. oe_order_headers_all alert works well in 11i.

    12.1.3
    Database 10g

    Enjoy all the entries.

    I noticed that the operating unit parameter is passed as NULL, don't know if this is causing the problem.

    K

    926765 wrote:
    Hello

    We are 11.5.10 in 12.1.3 reclassification. Check alert event ends in error, the log file does not have any information. This alert is on. oe_order_headers_all alert works well in 11i.

    12.1.3
    Database 10g

    Enjoy all the entries.

    I noticed that the operating unit parameter is passed as NULL, don't know if this is causing the problem.

    K

    Please see if (OE_ORDER_HEADERS_ALL (check event Alert) ends in error for all orders introduced [1322052.1 ID]) help.

    Thank you
    Hussein

  • planning of workflows - 11.1.2.2 reset of the planning units

    Hello

    a question about wf hyperion planning. How to reset the planning units? I still know that I must use the hollow administrator user, then:
    Log in as administrator
    Select file, process management, can manage the process.
    Select a scenario.
    Select a version.
    Select the superior entity > and select exclude cycle.

    but I can't perform this last action (exclude) because it displays on the secondary status column-> error: any defined by azione regola (error no rule not defined for the action).
    This way Iam not able to exclude plannign units. (some tests have been completed, change of owner of the PUs and actions: distribution...) Is it possible that a conflict has caused this error? )
    Right now, I see that auser (test) is the owner of all of the PUs. But also if I have access to one or another user, I'm not able to exclude CPU or change the status (no cell change status is indicated) how can I do?

    Thank you

    See also http://docs.oracle.com/cd/E17236_01/epm.1112/hp_admin_11122/ch09s05s05.html
    Error thrown when deleting the PUH is maybe not correct. If so you can try to remove the dependencies before PUH and try again

  • Unable to overcome error - "the startup disk cannot be partitioned or restored to a single partition.

    Hello!

    I'm trying to install Windows on my iMac (late 2013, running 10.11.6) without success.  I created the ISO to a flash drive, but when I try to use the Assistant Boot camp, I am referred to the following screen:

    I did my best to study solutions. The cause, by apple support discussions, is that there is another partition of pre-empting (stop) the wizard boot camp partitioning the hard drive.  I studied the partitions on my HDD after unplugging all devices and found this:

    This shows the main partition: Macintosh HD, the bootcamp partition: BOOTCAMP; and 2 unknown partitions: "Apple HDD ST100DM003 Media" and the same * M004.  I was able to delete the first Apple ST100DM003 HARD disk partition and ran first aid on the fusion drive after that the second he would not remove.  Also, I can't delete the boot camp partition.  I keep getting the same message when I try to install windows on a partition of the fuser unit using Boot Camp Assistant - "Startup disk cannot be partitioned or restored to a single partition".

    Any suggestions?

    Please after the release of the following OSX Terminal commands.

    diskutil list

    Cs diskutil list

    A reader of merger should have underlying EFI, OSX, Recovery HD on each of the physical disks. If your previous Windows installation attempts have failed, the disks can leave in a State where BCA use/will not change them.

  • How to fix the error, "the procedure entry point PK11_PubDerive could not be found in the dynamic link library nss3.dll

    I use windows 7 and Firefox 39.0. Recently, when I open Firefox it gives this error, 'the entrance of procedure point PK11_PubDerive could not be located in the dynamic link library nss3.dll'. I click on the OK button, and then Firefox load without any other side effects. But this becomes quite annoying and I would not get an error message to me. I tried to uninstall Firefox (all the same when I search for it, nothing comes up) and re-install. But the message is still there. I'm lost for what to do to get rid of him. Any help would be great!

    Thank you!

    BlindingFog said

    I use windows 7 and Firefox 39.0. Recently, when I open Firefox it gives this error, 'the entrance of procedure point PK11_PubDerive could not be located in the dynamic link library nss3.dll'. I click on the OK button, and then Firefox load without any other side effects. But this becomes quite annoying and I would not get an error message to me. I tried to uninstall Firefox (all the same when I search for it, nothing comes up) and re-install. But the message is still there. I'm lost for what to do to get rid of him. Any help would be great!

    Thank you!

    I thought about it. I had Cyrstal Reports XI on my machine and when I uninstalled it the error disappeared.

  • How to change the sound unit?

    In IE 10 I right click the speaker icon to change the sound unit, which doesn't seem to work the same way with Mozilla?
    How can I change my his outside post?

    Firefox defaults to the audio of the computer that you are using it from.
    If you have more problems with this, the following article will help solve problems.
    Difficulty common audio and video questions

  • tried to re set now I can't get past a loading error "the proxy server refuses connections."

    I tried the "reset Firefox" button and now I can't get Firefox it loads. Get error "the proxy server refuses connections." I'm not on a LAN, just a computer at home, how can I fix?

    If you do not keep the changes after a reboot or have problems with preferences, see:

Maybe you are looking for