Application context

Hello

I use under version

Connected to Oracle Database 11g Express Edition Release 11.2.0.2.0

I am trying to learn the context of the application...

SQL > CREATE OR REPLACE PROCEDURE SET_JETSON_CONTEXT

2 AS

3 L_CONTEXT_NAME VARCHAR2 (255): = "Jetson_Context";

4 BEGIN

5 IF SUBSTR(USER,1,1) = S"THEN

6 DBMS_SESSION. SET_CONTEXT (L_CONTEXT_NAME, 'Can_View', 'YES');

7 if the user = 'SYSTEM' and THEN

DBMS_SESSION 8. SET_CONTEXT(L_CONTEXT_NAME,'MAX_ID','100');

9 ELSE

10 DBMS_SESSION. SET_CONTEXT(L_CONTEXT_NAME,'MAX_ID','10');

11 END IF;

12 ON THE OTHER

13 DBM_SESSION. SET_CONTEXT (L_CONTEXT_NAME, 'CAN_VIEW', 'NO');

14 END IF;

15 END;

16.

CAUTION: Procedure created with compilation errors

I am trying to execute the procedure, but it there are compile errors

Please help me find a mistake

And is there any tool for PL/SQL where the exact line number will be mentioned for compile errors

Thank you

It is not DBM_SESSION. _SESSION SET_CONTEXT butSDBM. SET_CONTEXT.

SQL > CREATE OR REPLACE PROCEDURE SET_JETSON_CONTEXT

2 AS

3 L_CONTEXT_NAME VARCHAR2 (255): = "Jetson_Context";

4 BEGIN

5 IF SUBSTR(USER,1,1) = S"THEN

6 DBMS_SESSION. SET_CONTEXT (L_CONTEXT_NAME, 'Can_View', 'YES');

7 if the user = 'SYSTEM' and THEN

DBMS_SESSION 8. SET_CONTEXT(L_CONTEXT_NAME,'MAX_ID','100');

9 ELSE

10 DBMS_SESSION. SET_CONTEXT(L_CONTEXT_NAME,'MAX_ID','10');

11 END IF;

12 ON THE OTHER

13 DBMS_SESSION. SET_CONTEXT (L_CONTEXT_NAME, 'CAN_VIEW', 'NO');

14 END IF;

15 END;

16.

SY.

Tags: Database

Similar Questions

  • Device from the Application context context

    I am a beginner to programming of Blackberry and I'm trying to understand the different between developing countries in the device against the Application context.

    My development so far has just been messing around with the listeners and figureing on their functioning on the eclipse Simulator

    My current test project consists of a phonelistener that simply writes to console when a phonelistener event is fired. I think that my project as a module system, where this is not really an app its just something that I want, running in the background. But perhapse I think about evil.

    I have my project to "autorun". Now, what are the benefits to my project to extend the Application?

    at the moment I just:

     CustomPhoneListener extends AbstractPhoneListener
    

    It works fine and I can see the console outputs when I simulate phone calls. I know that my sample program is very simple, but can someone shed some light on what problems might come with not extending "application"?

    Thank you

    Stephanie

    Device vs. request context has no meaning for me.

    Each Application has its own context, says Simon if you use a listener usually perform you in the streamed Application context too.

    Re the difference between

    CustomPhoneListeners extends the Application Implements PhoneListener
    and

    CustomPhoneListeners implements PhoneListener
    I would ask you to think about this:

    CustomPhoneListeners extends String Implements PhoneListener

    What is the advantage of the extension of string?  Not really, except in certain circumstances, you need to treat your CustomPhoneListeners as a string!  Same thing with Application, if you want to treat like your own Application, then you might want to code

    CustomPhoneListeners extends the Application Implements PhoneListener
    Personally, I think that you don't want to have an Application also act as a PhoneListener, this does not seem a useful merger.

    About the benefits of creating an Application, it has no value extending the Application If you can work in the listener.  But you can do a treatment long, or perhaps a network call.  Or maybe you are not sure of the reliability of your code.  If you run this in the context of the phone, then if he dies or hangs, it is the phone that is killed.  Not good.  Then you can consider extending the Application, it is started (enterEvent Dispatcher), and then you can pass things for her to run.

    Personally, I do as little as possible in the headphones.

  • Global Application contexts - where to set the identifier of the customer?

    Hello



    I try to use contexts of global application in the context of an implementation of fine-grained access control.
    It is an e-Business Suite environment, more precisely of CRM, is a multilevel environment.
    Users access the two screens and OA framework based forms.

    I think I need to use the global application contexts because users can have multiple database sessions.
    In addition, all users login using the same database connection account.

    As much I can define a unique identifier for a user who persists throughout all their sessions I do use set_context settings, username and client_id below: -.


    DBMS_SESSION.set_Context (namespace = > 'XXUOM_CONTEXTS',)
    attribute = > "EXEMPT_FROM_VPD_POLICIES"
    VALUE = > l_exempt,
    username = > USER,
    client_id = > pi_user_id);


    The problem I have is to find a suitable place to set the client identifier.

    I don't know if the value is to be eliminated by another code or if the value is not used in all sessions.


    I use: -.


    DBMS_SESSION. Set_Identifier (pi_user_id)


    The tables that I call after insert triggers either icx_sessions or fnd_logins.


    However, the identifier of the customer is always null when I question him within the application, through: -.


    SELECT SYS_CONTEXT ('USERENV', 'CLIENT_IDENTIFIER') of double


    If I put the value via a rule of customizing a form, the value remains.




    I would be very happy if someone can advise me on where I'm wrong.




    Andy

    Thanks a lot for the pointers. Add DBMS_SESSION. SET_IDENTIFIER (FND_GLOBAL. User_name) does the work.

    Good.

    I want to say that this is the solution to my problem, but I am hesitant on the change in package FND_GLOBAL that there is no guarantee that it will not be overwritten by Oracle as part of a future patch/upgrade.

    It is not supported and it will be overwritten for sure.

    The patch proposed in [ID 1130254.1] is no longer exists.

    Log an SR to get this fix (or a replacement).

    Thank you
    Hussein

  • Problem with the definition of the Application context Variable

    Hi all

    In our application, we use political VPD. We use the app context variables to store session level settings. When I'm trying to set the value of context separately through SQL PLUS he started after the exception.

    ORA-01031: insufficient privileges
    ORA-06512: at "SYS." DBMS_SESSION", line 90

    But the same works very well a procedure. When I am executing the procedure it works fine.

    Can anyone of you pls help me?

    user12097713 wrote:
    Hi all

    In our application, we use political VPD. We use the app context variables to store session level settings. When I'm trying to set the value of context separately through SQL PLUS he started after the exception.

    ORA-01031: insufficient privileges
    ORA-06512: at "SYS." DBMS_SESSION", line 90

    But the same works very well a procedure. When I am executing the procedure it works fine.

    Can anyone of you pls help me?

    I assume that you have created the context related to the packaging?

    Create context SOME_CONTEXT using SOME_PACKAGE;
    

    When you do this, the ONLY place you can set the values of context is the specified package. If you cannot change it directly, you must call the package (whatever the process change it and is available).

    This is a safety mechanism, so you can't do whatever it is that you're probably trying to do :)

  • Availability of the Web Application context failed

    Gurus,

    I'm getting the following as an error in the Validation report after you apply the hotfix for the service of the provider (11.1.2.3.505)

    It comes before applying patches on the EPM system

    Before Patch.png

    This is after you have applied the patches on the EPM system

    After Patch.png

    I don't know what went wrong. When you try to access the URL in the browser I get "Error 404 - not found" error.

    This is the screenshot of the registry for the AnalyticProviderServices0 Web Application and the validationContext shows the same URL

    registry_report.png

    Should I reconfigure the service provider-> deploy to the application server, to get rid of this error message?

    Any help will be much appreciated.

    There is nothing to worry, have a read of more to life than that...: APS 11.1.2.3.502 diagnosis failure report

    See you soon

    John

  • [JS CS5.5] Complex application context want current script was called from

    I am trying to create a somewhat sophisticated application that spans multiple script files.  Call some functions in these files is another.  Here's what I want to imitate:

    A.jsx

    --------

    {if(mainScript=="A.jsx")}

    doA();

    }

    function A() {}

    B.jsx

    ---------

    #include A.jsx

    {if(mainScript=="B.jsx")}

    doB();

    }

    function {B()

    a few things

    A() ;

    stuff more

    }

    C.jsx

    #include A.jsx

    #include B.jsx

    #include D.jsx

    main() {}

    D() ;

    A() ;

    etc...

    }

    Basically I want a script to act differently depending on whether it's the only be called or if it is called also. I thought I could do it quite easily using global variables and something like:

    {if(mainScript==undefined)}

    var mainScript = $. Filename;

    }

    But global variables persistent between script calls if it does not work. I'm kinda stuck.  Someone knows how to do this?  app.activeScript does not work because I am running through the extendScript Toolkit.

    I'm offended.

    #targetengine "session".

    #strict on

    Yes, they cause your script runs in a persistent engine called 'session', which means global variables will persist (it must be a * much * more careful with them), and also windows and hooks and eventListeners can persist after the execution of the script appears to complete.

    If you do not need these things, and then deleting the targetengine line can be a good idea.

    But on the other hand, the discipline, you get persistent global vars should be good for you. But probably not good enough to outweigh the problems that you have...

  • MEV using the context of the Application

    I need to set up an EVP by using a context of Appplication but I still have problems despite the use of the Oracle's Web site examples.
    That's what I'm doing:

    I have 2 tables in the schema of the system. One of them is a table of customers and the other is the supervisors table.
    When a supervisor connects, he should be able to read each row in the customer table, which is attributed to him.
    The supervisors table has essentially superv_id and client_id;

    So, I have a package that retrieves the ID of the supervisor during his connection. But I have'nt not been able to implement a work
    Function VPD with the application context.

    Any help would be greatly appreciated.

    Published by: user8541826 on November 20, 2011 10:11

    Hello

    user8541826 wrote:
    Thank you both for your responses. but I have another question:
    You can use a query nested as a predicate in the DPV service?

    Of course; what you can use in a WHERE clause that you type yourself can also be used in the predicate. A good way to do it in a regular query would be:

    WHERE   client_id  IN  (
                         SELECT  client_id
                      FROM        clients
                      WHERE   superv_id     = SYS_CONTEXT ('MYCONTEXT', 'sup_id')
                     )
    

    so, according to the policy, you can say something like:

    stpredicate := Q'{client_id  IN  (
                                         SELECT  client_id
                             FROM    clients
                             WHERE   superv_id     = SYS_CONTEXT ('MYCONTEXT', 'sup_id')
                                   )}';
    

    Note that you don't need NVL in this case. If SYS_CONTEXT returns NULL, then the IN-sup-query will return no rows, the predicate will be FALSE, but no error is raised.

  • CookieManager and application specific context.

    Hello

    I'm trying to understand how the CookieManager are managed by HttpURLConnection.

    Reading the javadoc:
    public static void CookieManager.setDefault (CookieManager myManager);
    Sets (or destroys) the system-wide cookie Manager. Note: non-standard http protocol managers can ignore this parameter.
    I understand that there is a way to control the CookieManager used by java.net.

    I don't want to use only a single CookieManager for the JVM, I want to move from a CookieManager according to a specific application context.
    Back to the javadoc: Note: non-standard http protocol managers may ignore this parameter.
    The right way to JavaSE API to control the CookieManager is to write my own HttpURLConnection and use java.net.URL #setURLStreamHandlerFactory (URLStreamHandlerFactory) as a bootstrap.

    So what are the solutions to implement this functionality:
    * Rewrite the entire mechanism HttpURLConnection: too complicated/code rewrite.
    * Set the default CookieManager with a ThreadLocal CookieHandler wrapper: some hackers.

    Am I missing something?

    Thanks a lot for your suggestions.

    user13683384 wrote:
    So what are the solutions to implement this functionality:
    * Rewrite the entire mechanism HttpURLConnection: too complicated/code rewrite.
    * Set the default CookieManager with a ThreadLocal CookieHandler wrapper: some hackers.

    Yes, those who are pretty much your options. Unfortunately, there are still a few corners of the jdk that have not truly designed for "shared" Java virtual machines There are a few net API with jvm settings (authenticator is another problem).

    I can't imagine that re-write HttpURLConnection would never a good idea, except in extreme scenarios. at the very least, I would first check other third-party http, such as apache commons http client clients.

    personally, I would try the ThreadLocal approach (I have it considered other APIs that need similar, but never finished). However, the one caveat is that you must be careful that the other threads do not have under the hood. If the used HttpURLConnection another thread internally, your solution may not work.

  • Our AJAX application intercepts F9 to provide contextual assistance. It works in IE7 +, Chrome, Safari, and Opera, but not in Firefox. Help!

    We did the IE, Firefox, Chrome, Safari and Opera - research looking for a touch of common function which was unused to use to help our application context key - and settles on the F9 key.
    Is there a way to ensure that the key F9 key can be passed to the page - it seems doing nothing in Firefox, but is not passed to the page. -Thanks!

    Firefox does not window.event as IE does. He never has. Modern browsers can pass the event handler inline object. Here is an example. I don't know if older browsers support this (it works in IE8):

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
    <title>Test F9 keydown inline handler</title>
    </head>
    <body>
    <p>Try F9<br><input type="text" name="textinput" size="25" value="sample value" onkeydown="keys(event,100)"></p>
    <script type="text/javascript">
    function keys(evt, arg){
      if (evt.which == 120 || evt.keyCode == 120){ // F9 key
        alert("Function passed: "+arg);
      }
      return false;
    }
    </script>
    </body>
    </html>
    
  • Pull on the notification of the application

    Hello

    I have another point entry application. context in which thread will start when the power is on. and when I press the icon of the application ui it will launch the application. so far so good.

    but when I get object preferably application ui in the background thread right now that I am getting the run-time exception

    "application already running in this process"

    How to solve this error?

    I have a helper class that is defined in the application user interface and I want to use in the background thread, how do I do?

    and I want to get the value of object preferably UI application how can I access?

    Please share idea to slove this problem...

    Thank you

    JaM321

    Thank you simon

    have a good time.

    Thank you

    JaM321

  • How to display the dialog box before uninstalling an application?

    Hello

    I want to display an alert dialog box before an application is uninstalled, has no idea how to do this?

    If not how can I detect a first run of an application after the installation?

    I have not tried out, just an idea.

    (A) there is a class called CodeModuleManager can check his stats module.

    So, in your application context thread to check his stats module.

    If it is marked as deleted, you can extract a global dialog box.

    (B) to implement SystemListener2, when the fastReset event occurs, you can check the stats module, if it is marked as deleted.

    you pop up GlobalDialog and force the user to interrupte.

    See you soon.

  • Financial falied to application Web data quality management (FDM)

    Hello

    I just installed Foundation, CM, LDCS, R & A (Server1) Essbase (Server2) HFM (Server3) planning (Server4) FDM (classic) and DRM (Server5) in a distributed environment. configuration and everything went very well no problem. How ever when I try to access the web application FDM that nothing comes, I ran the diagnostic report in the Foundation and FDM Server and I get below error. I tried relative to setting up web application Server FDM and re configured the Web server and logical address on Foundation.

    Don't know what I'm missing here from point of configuration, if anyone can guide me in the proper papers or suggestions would be greatly appreciated

    Foundation:

    FAILEDHTTP: HTTPCheck availability of HTTP context http:// < FoundationServer >: 19000/HyperionFDM
    Error: Codes bad response with the GET and POST methods both: 404 and 404
    Recommended action: Check that the application is started

    FDM:

    FAILEDWEB: Web ApplicationThe availability Web application context http:// < FDM Server >: 80/HyperionFDM
    Error: Codes bad response with the GET and POST methods both: 404 and 404
    Recommended action: Check that the application is started

    Thanks for any help

    Thank you

    So, if you go to http://fdmwebserver/HyperionFDM , then you get a 404 error?

    Are you sure that all the FDM components have been set up outside the EMP Configurator for example config Manager web, Application Server Config Manager, Configuration of load balancing

    The HyperionFDMAppPool was created, it is started, is IIS running ok, if the HyperionFDM has been created can see you in IIS

    See you soon

    John

  • Impossible to submit a new application in the catalog

    Hi all

    After creation, a new blue print publication. and the entire process of creating a catalog item can be used for the action plan, as well as the right. Im not able to request a new virtual machine from the catalog, it's because I always encounter this error when you click on the bottom to submit "elements specified in the request is not valid." java.lang.IllegalStateException: should BEGIN_OBJECT but a STRING".» Anyone know the reason? I have


    the show LOG catalina.out following error:

    2014-09-23 19:30:46, 049 vcac: [component = "" coffee: iaas - proxy "priority = thread"ERROR"=" http tomcat - 24 ' holding = "vsphere.local"] com.vmware.vcac.iaas.gateway.impl.BaseGatewayImpl.mapIaasGatewayException:55 - Exception thrown endpoint IaaS: https://Vcac-IAAS.mstrprime.com/wAPI/

    2014-09-23 19:30:46, 050 vcac: [component = "" coffee: iaas - proxy "priority = thread"ERROR"=" http tomcat - 24 ' holding = "vsphere.local"] com.vmware.vcac.iaas.gateway.impl.BaseGatewayImpl.mapIaasGatewayException:69 - [error code: 50505]-[Error Msg: error provider for Infrastructure as a service]

    " 2014-09-23 19:30:46, vcac 052: [component ="coffee: catalog"priority ="NOTIFY"thread =" tomcat http - 55 ' holding = "vsphere.local"] com.vmware.vcac.platform.rest.RestTemplateIpv6.handleResponseError:581 - GET request for " https://vcac-appliance.mstrprime.com/iaas-proxy-provider/api/services/3e1e0128-8347-4fd1-8cbb-bbe3c0325004/forms/Infrastructure.Virtual-Blueprint.Details/00d0625e-44bc-4c3b-a9ca-5fa5b580b4e8/?subtenantId=8878a4f4-6ad0-4e7c-bba6-31ee7fb98520 'resulted in 400 (bad request); error handler call

    2014-09-23 19:30:46, 055 vcac: [component = "coffee: catalog" priority = "ERROR" thread = "tomcat http - 55 ' holding ="vsphere.local"] com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.handleError:55 - [error rest]: {status code: 400}, {error code: 50505}, {error Source: null}, {Error Msg: java.lang.IllegalStateException: BEGIN_OBJECT planned, but has been STRING}, {System Msg: provider for Infrastructure as a service error}

    2014-09-23 19:30:46, 056 vcac: [component = "coffee: catalog" priority = "ERROR" thread = "tomcat http - 55 ' holding ="vsphere.local"] com.vmware.vcac.platform.service.rest.resolver.ApplicationExceptionHandler.handleServiceException:237 - [error code: 20128]-[Error Msg: cannot extract form provider to e7f07bf5-f8c8-4ab7-adbe-35d0f3d8b446.]

    2014-09-23 19:30:46, 187 vcac: [component = "coffee: shell" priority = "ERROR" thread = "tomcat http - 30" tenant = ""] com.vmware.vcac.shell.ErrorManagerImpl.logToApacheCommons:59 - < 65ff6a99 > unexpected exception has been taken

    2014-09-23 19:31:34, 340 vcac: [component = "" coffee: iaas - proxy "priority = thread"INFO"=" tomcat http - 49 ' holding = "vsphere.local"] com.vmware.vcac.iaas.controller.BlueprintFormController.getForm:72 - {request form: [serviceId: 3e1e0128-8347-4fd1-8cbb-bbe3c0325004], [formId: Infrastructure.Virtual - Request.Submit], [bindingId: 00d0625e-44bc-4c3b-a9ca-5fa5b580b4e8]}

    2014-09-23 19:31:34, 341 vcac: [component = "" coffee: iaas - proxy "priority = thread"INFO"=" tomcat http - 49 ' holding = "vsphere.local"] com.vmware.vcac.iaas.controller.BlueprintFormController.getSubtenantId:160 - {application context Params: [subtenantId: 8878a4f4-6ad0-4e7c-bba6-31ee7fb98520] for [blueprintId: 00d0625e-44bc-4c3b-a9ca-5fa5b580b4e8]}

    2014-09-23 19:31:34, 342 vcac: [component = "" coffee: iaas - proxy "priority = thread"INFO"=" tomcat http - 49 ' holding = "vsphere.local"] com.vmware.vcac.iaas.controller.BlueprintFormController.getForm:102 - {form successful for response: [serviceId: 3e1e0128-8347-4fd1-8cbb-bbe3c0325004], [formId: Infrastructure.Virtual - Request.Submit], [bindingId: 00d0625e-44bc-4c3b-a9ca-5fa5b580b4e8]}

    2014-09-23 19:31:35, 382 vcac: [component = "coffee: shell" priority = "INFO" thread = "tomcat http - 65 ' holding ="vsphere.local"] com.vmware.vcac.shell.proxy.service.impl.ProxyServiceImpl.proxy:209 - Proxy get FROM: /vcac/services/p/Leases/NewRequest.aspx to: https://vcac-IAAS.mstrprime.com/vcac/leases/NewRequest.aspx?BlueprintID=00d0625e-44bc-4C3B-a9ca-5fa5b580b4e8 & MachineID = & GroupID = 8878a4f4-6ad0-4e7c-bba6-31ee7fb98520 & ExtensionID = csp.places.iaas.forms ReadOnly = 0 & RequestedFor=cperalta%40mstrprime.com

    2014-09-23 19:31:36, 153 vcac: [component = "coffee: shell" priority = thread "INFO" = "tomcat http - 65 ' holding ="vsphere.local"] com.vmware.vcac.shell.proxy.service.impl.ProxyServiceImpl.proxy:209 - Proxy POST from: /vcac/services/p/Leases/NewRequest.aspx to: https://vcac-IAAS.mstrprime.com/vcac/leases/NewRequest.aspx?BlueprintID=00d0625e-44bc-4C3B-a9ca-5fa5b580b4e8 & MachineID = & GroupID = 8878a4f4-6ad0-4e7c-bba6-31ee7fb98520 & ExtensionID = csp.places.iaas.forms ReadOnly = 0 & RequestedFor=cperalta%40mstrprime.com

    2014-09-23 19:31:36, 363 vcac: [component = "coffee: shell" priority = "INFO" thread = "tomcat http - 65 ' holding ="vsphere.local"] com.vmware.vcac.shell.proxy.service.impl.ProxyServiceImpl.proxy:209 - Proxy get FROM: /vcac/services/p/Leases/ConfirmNewRequest.aspx to: https://vcac-IAAS.mstrprime.com/vcac/leases/ConfirmNewRequest.aspx?TemplateID=00d0625e-44bc-4C3B-a9ca-5fa5b580b4e8 & GroupID = 8878a4f4-6ad0-4e7c-bba6-31ee7fb98520 & ReadOnly = 0 & [email protected]a4f4-6ad0-4e7c-bba6-31ee7fb98520 & ReadOnly = 0 & [email protected]

    2014-09-23 19:31:42, 743 vcac: [component = "coffee: shell" priority = "INFO" thread = "tomcat http - 65 ' holding ="vsphere.local"] com.vmware.vcac.shell.proxy.service.impl.ProxyServiceImpl.proxy:209 - POST of Proxy from: /vcac/services/p/Leases/ConfirmNewRequest.aspx to: https://vcac-IAAS.mstrprime.com/vcac/leases/ConfirmNewRequest.aspx?TemplateID=00d0625e-44bc-4C3B-a9ca-5fa5b580b4e8 & GroupID = 8878a4f4-6ad0-4e7c-bba6-31ee7fb98520 & ReadOnly = 0 & [email protected]a4f4-6ad0-4e7c-bba6-31ee7fb98520 & ReadOnly = 0 & [email protected]

    2014-09-23 19:31:44, 455 vcac: [component = "coffee: component - register" priority = thread "INFO" = "tomcat http - 4 ' holding =" vsphere.local"] com.vmware.vcac.core.extensibility.controller.PluginServiceController.getExtensions:140 - up extensions for the [[csp.catalog.resource.operations, cafe.forms.extensions]] extension point

    2014-09-23 19:31:44, 732 vcac: [component = "" coffee: iaas - proxy "priority = thread"ERROR"=" tomcat http - 20 "holding =" vsphere.local"] com.vmware.vcac.iaas.gateway.impl.BaseGatewayImpl.mapIaasGatewayException:55 - Exception thrown IaaS endpoint: https://Vcac-IAAS.mstrprime.com/wAPI/

    2014-09-23 19:31:44, 733 vcac: [component = "" coffee: iaas - proxy "priority = thread"ERROR"=" tomcat http - 20 ' holding = "vsphere.local"] com.vmware.vcac.iaas.gateway.impl.BaseGatewayImpl.mapIaasGatewayException:69 - [error code: 50505]-[Error Msg: error provider for Infrastructure as a service]

    " 2014-09-23 19:31:44, 736 vcac: [component ="coffee: catalog"priority ="NOTIFY"thread =" tomcat http - 7 ' holding = "vsphere.local"] com.vmware.vcac.platform.rest.RestTemplateIpv6.handleResponseError:581 - POST request for " https://Vcac-appliance.mstrprime.com/IAAS-proxy-provider/API/services/3e1e0128-8347-4fd1-8cbb-bbe3c0325004/requestValidations 'resulted in 400 (bad request); error handler call

    2014-09-23 19:31:44, 738 vcac: [component = "coffee: catalog" priority = "ERROR" thread = "tomcat http - 7 ' holding ="vsphere.local"] com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.handleError:55 - [error rest]: {status code: 400}, {error code: 50505}, {error Source: null}, {Error Msg: java.lang.IllegalStateException: BEGIN_OBJECT planned, but has been STRING}, {System Msg: provider for Infrastructure as a service error}

    2014-09-23 19:31:44, vcac 738: [component = "coffee: catalog" priority = "NOTIFY" thread = "tomcat http - 7 ' holding ="vsphere.local"] com.vmware.vcac.catalog.provider.gateway.impl.ProviderRequestGatewayImpl.validateRequest:83 - [3e1e0128-8347-4fd1-8cbb-bbe3c0325004] provider has determined this [null] request was invalid

    Thank you!!

    Screen Shot 2014-09-23 at 14.45.12.png

    Screen Shot 2014-09-23 at 15.32.24.png

    My two cents,

    I follow these steps:

    • take a snapshot of server IaaS
    • apply the SP1 for windows 2008
    • Restart the IaaS box

    Just with SP1 in vCAC 6.1 the error disappears.

    Kind regards!

    vRay

  • Generation of context reg on db file layer in R12

    Hello

    In R12, there are 2 utilities to generate the context on DB level file: adbldxml.pl and adclonectx.pl. Which one to use and when? What is the difference between 2 files. Creation of files where the search context information.


    Kind regards
    Purnima Johari

    I'm still not very clear. Suppose that my context file is lost. According to metalink note I should use adclonectx.pl to retrieve the context on db file. Why can't I use adbldxml.pl to recover my lost files of context? SIM card if I create the file context for the 1st time so why I can't use adclonectx.pl?

    Use 'recover adclonectx.pl' to recreate the application context file. For reconstruction/recreate the context of database file you can either use adbldxml.pl or 'adclonectx.pl recover. "

    Thank you
    Hussein

  • Change of context parameter

    Hello world


    If I change a context using OEM parameter, will be this parameter comtext get updated at the same time the context stored in the data base and top appl file.


    Some could help me on this.


    Thank you
    Silver

    My doubt is a context file is stored in the database (I'm not refereing the context file for the node database here)
    and the other in the file sytem. If I update a context parameter (for example, file context for the appliciaton node) using OAM, then it will update the context file stored in the database and file system or just the contextparametes in the datababse.

    Update the application via OAM context file will update only the application context file or the server. You need to run the automatic configuration, and then update the context variables that are stored in the database.

    Thank you
    Hussein

Maybe you are looking for