Loading application contexts

I have removed the war from my ear. Now web.xml is not there to load the applicationContexts.
My application has the applicationContext files in EJB-jar file. Where in the application should I instantiate them from?
(applicationContext-scheduler.xml is in jweb-ejb.jar\spring directory)
Thanks
Reddy

A quick little test shows John's statement in action:
sql>create or replace procedure test_procedure
  2    (p_value in  pls_integer,
  3     p_rc    out sys_refcursor)
  4  is
  5  begin
  6    dbms_session.set_context('TEST_CONTEXT', 'VALUE', to_char(p_value));
  7    open p_rc for select sys_context('TEST_CONTEXT', 'VALUE') from dual;
  8  end;
  9  /
Procedure created.
sql>var rc1 refcursor
sql>var rc2 refcursor
sql>exec test_procedure(1, :rc1)
PL/SQL procedure successfully completed.
sql>exec test_procedure(2, :rc2)
PL/SQL procedure successfully completed.
sql>print rc2
SYS_CONTEXT('TEST_CONTEXT','VALUE')
2
1 row selected.
sql>print rc1
SYS_CONTEXT('TEST_CONTEXT','VALUE')
1
1 row selected.Note the original value (1) has not been stomped on by the second execution even though we fetched this after that second execution and fetch sequence.

Similar Messages

  • How to load objects in web application context during oc4j startup?

    Hi
    How I can put some objects in application context during oc4j application startup?
    I'm using oracle as10g j2ee and web cache edition.
    Thanks

    An idea would be to write your own OC4JStartup implementing class and have this thing create the objects you want and bind them to JNDI.

  • Swtiching between different application context

    Hi All,
    In my application we have use BSP framework as web application context say app1 . In this we have used flex code (swf file )as an application UI. Now we have another application context is app2 which provides the HTTP service on implementing the interface IF_HTTP_EXTENSION .  The requirement is the first incoming call from browse should always point to app1 using url http://host:port/appl1/index.html which would send the swf file as a response to the browser.
    This would load the swf on client i.e on browser . User does some action which should now call the application context app2 . If we go with this approach there are 2 session which gets created . What we want is to have application context swtiching from app1 to app2 is it possible ? Is this the right approach ??
    Best Regards,
    Mitul

    Xtanto,
    actually you can't if these are separate J2EE application deployments. The session is not shared and thus the authentication is lost. I heard that OracleAs is planning to implement a feature that allows you to share the session and thus a context between two J2EE deployments. I am not 100 % sure this is the case and will check with OC4J Product Management
    Frank

  • Host: Unable to load application configuration + wrong install version on download

    i am using 64 bit windows 7 ... when unable to playing video, it redirects me to the adobe download pages to get flash player ... the page says i am about to download flashplayer for win7 64 bit, of 9MB approximately, but the file i get has name "install_flashplayer11x32_mssd_aih.exe" (NOTE THE NUMBER 32) and this file just wont install it ends with error message: HOST: Unable to load application configuration ...
    By google i found also file install_flashplayer11x64_mssd_aih.exe (NOTE THE NUMBER 64) ... this file runs the install, i get the final screen saying "installation completed" but after clicking the "finish" button i get an error message saying "an error occured while sending a command to the program" ...
    I am just getting mad ... its 3 days i am trying to figure aout this problem ...
    i also tryed files as "install_flash_player_11_plugin.exe" , "install_flash_player_11_plugin.msi" , "install_flash_player_11_active_x.exe" and "install_flash_player_11_active_x.msi" ... those files actually proceeds with the install, but at the end, the videos are still not displaying ...
    When i am checking the plugins statuses in my firefox addons manager, it says Shockwave Flash is all right ...
    The precedent version of flash player was working just fine, i do not understand why you must make such a mess every 2 months ...
    How do i get work this?

    yes, the pages is http://get.adobe.com/flashplayer/
    the page says:
    Adobe Flash Player 11.3.300.257 (9.36 MB)
    Your system: Windows 64-bit , English, Firefox
    but when i click the "Download now" button i get the file named "install_flashplayer11x32_mssd_aih.exe" (NOTE THE NUMBER 32) which wont start and after few seconds i get the message "HOST: Unable to load application configuration"
    but finaly i solved the problem ... i just installed the file found by google on some private page "install_flashplayer11x64_mssd_aih.exe" (NOTE THE NUMBER 64)
    (the page is here: http://www.ziddu.com/download/16693235/install_flashplayer11x64_mssd_aih.exe.html)
    and after that i disabled the protected mode of flashplayer by adding a line in the cfg file
    the howto is here: http://forums.adobe.com/thread/1018071
    i must say its quite shameful one must get this torture to have movies playing on websites ... this cant happen at open source stuf, at least not for 3 days ...
    and being already here and complaining, i must say also (i hope some adobe emploee will read this) i am quite disgusted (and i believe not only me) by adobes bad habit to provide other software than flashplayer, when they include mcafee antivir into the install ...
    it is literally taking the user as a stupid one ...
    if i will need an antivir, i will look for it ...
    i just hate when some society tries to infiltrete in my comp some crap software counting on possibility that at the download i will not pay enough attention
    its just ridiculous and shameful behavior

  • Getting values from application context

    I want to set an input box with the value from the jsp getRemoteHost() in jsf page..
    In my page i have this
    <h:inputText value="#{sok.Searchstring}">...
    where the reference sok is a java bean
    public class sok
         private String Searchstring;
         public sok()
              // I want to set the Searchstring = getRemoteHost()
         public String getSearchstring()
            return this.sokVerdi;
        public void setSearchstring(String data)
            this.sokVerdi = data;
    }How can this be done? Should I avoid using http request.. couldn't I get it from the application context, and how do I do that?? I'am kinda empty on ideas to solve this very issue.

    I getting the getRemoteHost to work perfectly.. and as for getParameter() too.. but when I try doing getRemoteUser(), it gives me null.. I also did getRemoteUser() in the jsf file, and there I do get the right output..
    How come? Why do I not get the correct value from the java bean?
    public sok()
              ExternalContext externalContext = FacesContext.getCurrentInstance().getExternalContext();
              HttpServletRequest httpServletRequest = (HttpServletRequest)externalContext.getRequest();
              sokVerdi = "h: " + httpServletRequest.getRemoteUser();
              //sokVerdi = "g: " + httpServletRequest.getParameter("fardin");
                   //sokVerdi = "g: " + httpServletRequest.getRemoteHost();
         }

  • Unable to load application configuration?

    All of a sudden, a couple of weeks ago, adobe flash stopped working in Internet Explorer 10. I've gone through all the steps I can find on the forum to try to get it
    to load. I even uninstalled it and the plug in for firefox, but it still wouldn't download, even directly. The error message that boinks and shows up as the exe file is installing it is:
    Unable to load application configuration.
    I'm running windows 7 pro 64 bit, service pack 1
    Internet Explorer 10, 10.0.9200.16635   v 10.0.7
    Adobe Flash version is gone, now that I uninstalled it to try to install, but was trying to install the update that it alerted me to, that is version 11.8.800.94, I think.
    I went away from IE when there was no adobe flash for 64 bit, but came back and have enjoyed it. I see others have had similar problems, seemingly around installing an update.
    Thanks for anyone's help.

    Download and run the offline installers from http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_header (nder the heading Progress bar hangs...).

  • Multiple values in 1 application context

    All, I'm trying to return multiple values from a query and store them in an application context.
    I have an employee that can be a part of multiple divisions. I already captured emp_id:
    dbms_session.set_context('COMPANY', 'emp_id', emp_id);
    but also want to capture division_id for the person. Most people will only have 1 division_id, but some will have multiple division_id's.
    What's the best way for me to capture multiple numeric values and store them in an application context like this.
    I'm trying to set up VPD policies and don't have to have to reissue a query every time I need to access the division_id.
    Thanks,
    Jon.

    One option would be to store a comma-delimited list of the division_ids in the context and then your VPD filter can use this and the TABLE function to limit the rows:
    sql>create or replace type NumberTable as table of number;
      2  /
    Type created.
    sql>create or replace function f_number_table(
      2    p_list       in  varchar2,
      3    p_delimiter  in  varchar2 default ',')
      4    return numbertable
      5  is
      6    v_string  long := p_list || p_delimiter;
      7    v_pos     pls_integer;
      8    v_data    numbertable := numbertable();
      9  begin
    10    loop
    11      v_pos := instr(v_string, p_delimiter);
    12      exit when (nvl(v_pos, 0) = 0);
    13      v_data.extend;
    14      v_data(v_data.count) := trim(substr(v_string, 1, v_pos - 1));
    15      v_string := substr(v_string, v_pos + 1);
    16    end loop;
    17    return (v_data);
    18  end f_number_table;
    19  /
    Function created.
    Then, in your VPD package:
    -- build a list of the division_ids by looping through a cursor
    -- set the context using this list of division_ids:
    dbms_session.set_context('company', 'div_id', '10,20');
    -- later, you would replace the literal value below with a call to sys_context to retrieve it
    sql>select empno, ename, deptno
      2    from emp
      3   where deptno in (select *
      4                      from table(f_number_table('10,20')));
        EMPNO ENAME         DEPTNO
         7782 CLARK             10
         7839 KING              10
         7934 MILLER            10
         7369 SMITH             20
         7876 ADAMS             20
         7902 FORD              20
         7788 SCOTT             20
         7566 JONES             20
    8 rows selected.

  • Error while loading application

    Hi,
    I'm not sure this is the right forum, but I try anyway.
    I'm trying to use a 3rd party Java application Unico (just use it, I don't develop anything of that) that after working for weeks, suddenly refuses to load at startup, and returns an error like "Error while loading application" (no error code number no other hint about the problem).
    The tests that did not work: 1. I installed the Unico again, 2. I created a new login and installed Unico in that login, 3. I started in safe mode (pressing shift at startup) - I always had the same message and loading aborted.
    The only workaround I found is to use an external startup disk, that I fortunately had available to face cases like this: when starting the system up from that disk Unico WORKS, not only, but I can even use the same application in my internal disk that does not load otherwise.
    My first conclusion is that something wrong happened to my system on the startup disk that prevents loading a Java application. The user Library seems to make no difference.
    So my questions to the Java experts are:
    - what in the system could suddenly block the loading of a Java application ? where should I look in the system (I can use the terminal and know something about UNIX) to fix this ? could this be caused by a permission problem ? (it looks a lot alike, but repairing permissions in Disk Utility didn't help) if so where are the Java support files stored in the Library and System Library to check and compare between the good and the bad system ?
    - is there a better workaround to this problem, other than starting up from a different disk ?
    Some additional info:
    - the application Unico is freely provided by the Italian tax organization, so there is basically no support to use it...
    - Unico requires Java 1.3.1: my system is constantly updated/upgraded and it runs the most recent release that is 1.4.0 (I guess...) and anyway worked very well till a week ago.
    - since the last time the application had worked I installed two (non Apple) packages: the TomTom (GPS navigator) setup application, and new Epson printer drivers for my new printer.
    - in all cases I repaired permissions and I also verified the disk with the disk utility
    - Unico does not uses printers (it creates pdf files instead) and does not use USB, which in turn is used by both the Epson driver and the TomTom app.
    So I cannot connect the Unico malfunctioning to this new SW except for the fact that I cannot find any other answer...
    Thanks to anybody having any suggestion about
    Piero

    I made some research: it seems to me that most (if not all) the Java machine is in the /System/Library/Framework/JavaVM.framework folder: but I found no evident difference in the file permissions between the good and the bad system (see my previous posts).
    There are other locations where there are java related files: eg in Javaconfig.plist (in /System/Library/Java) that seems to name the locations for all components of the java machine. I checked some files in /usr/bin referenced in the .plist: again no difference.
    Something "could" be a clue; just before the crashing point the Unico (java) program causes a message in the Console:
    "[JavaAppLauncher Warning] Specifying a specific version for JVMVersion 1.3.1 is deprecated. Use the more general 1.3* instead."
    This would be a clue... except that this message appears also when the program loads without problem (in the "good" system where it works). So it is more a warning.
    Another clue is the message that appears in the console in the "good" system when the Unico loads correctly; and this seems really an error message (whateve it means):
    "Index 1 for 'pxm#' 2062 out of range (must be between 0 and 0)
    Attempted to read past end of 'pxm#'(2062) resource"
    The funny thing is that when this message appears, Unico loads with no probem, while in the "bad" system it doesn't even get to this point.
    So in my opinion both messages are irrilevant to identify the problem.
    Or not ?
    And again my main question is: what in the system could suddenly block the loading of a Java application ?
    Thanks for any hint
    Piero

  • Download Error - Contact customer support. Indesign wont load application have gone from the control panel. CS photoshop loads and wants a serial number - and my serial number dosent work?

    Download Error - Contact customer support. Indesign wont load application have gone from the control panel. CS photoshop loads and wants a serial number - and my serial number dosent work?

    Hello Bradley,
    sometimes the "opm.db file" is the culprit. In this case you should delete it.
    But as much as I regret it and as strange as it may seem I fear it's a challenge for Adobe's Creative Cloud Cleaner Tool.
    Sometimes - for whatever reasons - CC doesn't "want" to work. In this case you should CC completely delete and reinstall by help of Adobe Creative Cloud Cleaner Tool. (A try to uninstall by own resources is not enough!)
    I quote: ... helps resolve installation problems for Adobe Creative Cloud and Adobe Creative Suite (CS3-CS6) applications. The tool removes installation records for prerelease installations of Creative Cloud or Creative Suite applications. It does not affect existing installations of previous versions of Creative Cloud or Creative Suite applications.
    Please use: http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html   and follow the prescribed sequence of operations
    If necessary and for further questions click through http://helpx.adobe.com/contact.html or http://helpx.adobe.com/de/contact.html and if "open" please use chat, I had the best experiences.
    Good luck!
    Hans-Günter

  • Failed to load application instance publishLive/live.

    Complete log error is (_defaultRoot_, _defaultVHost_) : Failed to load application instance publishLive/live..  Flash Admin Server and Flash Media Server are running on local machine.  When testing I get [object NetConnection]: NetConnection.Connect.Failed.  When I remove the main.asc file it works...what's going on there?  I had this working at one point...my main.asc is below.
    var nc;
    var ns;
    var nsr;
    // Called when a client connects
    application.onConnect = function(client) {
        // accept the new client's connection
         application.acceptConnection(client);
         // send a message
         trace(client.id + " is connected");   
    // Called when a client disconnects
    application.onDisconnect = function(client) {
        trace(client.id + "disconnecting at " + new Date());
    // Called when the client publishes
    application.onPublish = function(client, livestream) {
        trace(livestream.name + " is publishing into application " + application.name);
        // This is an example of using the multi-point publish feature to republish
        // streams to another application instance on the local server.
        if (application.name == "publishLive/live"){
            trace("Republishing the stream into ustream");
            nc = new NetConnection();
            nc.connect( "rtmp://1.616528.fme.ustream.tv/ustreamVideo/616528" );
            ns = new NetStream(nc);
            // called when the server NetStream object has a status
            ns.onStatus = function(info) {
                trace("Stream Status: " + info.code)
                if (info.code == "NetStream.Publish.Start") {
                    trace("The stream is now publishing");
            ns.setBufferTime(2);
            ns.attach(livestream);
            ns.publish( livestream.name, "live" );
    application.onUnpublish = function( client, livestream ) {
        trace(livestream.name + " is unpublishing");
    // RECORDING
    application.onAppStart = function() {
        this.nsr = Stream.get("livestreamSS");  " <-- this is the server-side instance name
        this.nsr.play("livestream", -1, -1);          " <-- this is the published instance name
        this.nsr.onStatus = function(info){
            if(info.code == "NetStream.Play.PublishNotify"){
                application.startRecording();
            if(info.code == "NetStream.Play.UnPublishNotify"){
                application.stopRecording();
            for(var i in info){
                trace("i: " + i);
                trace("info[i]: " + info[i]);
    application.startRecording = function() {
        var infoObject = Stream.getOnMetaData("livestream");
        trace("Metadata for myVideo.flv:");
        for( i in infoObject ){
            if infoObject[i] == "record" {
                trace("start recording");
                this.nsr.record();
    application.stopRecording = function() {
        trace("stop recording");
        this.nsr.record(false);

    that is my main.asc...if you mean in my client, then yes, here is the publish code for the client
    private function publishCamera():void {
                cam = Camera.getCamera();
                cw = cam.width;
                ch = cam.height;
                switch (cw) {
                    case 160:
                    cam.setMode(320, 180, 10);
                    break;
                    case 320:
                    cam.setMode(640, 360, 5);
                    break;
                    default:
                    cam.setMode(160, 90, 15);
                    break;
                cam.setQuality(0, 0);
                mic = Microphone.getMicrophone();
                ns = new NetStream(nc);
                ns.client = this;
                ns.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
                ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
                ns.attachCamera(cam);
                ns.attachAudio(mic);
                ns.publish("livestream", "live");
    is that what you are referring to?  Thank you for the reply.

  • Application Context - VPD

    APEX: 2.0.0.00.49
    DB: 10R2
    I am using table based security. Upon login, I am setting a number of different context variables (e.g., sessionid, userid, name, etc). They are also being set in my application (F100_SESSIONID, F100_USERID, etc).
    Recently, our company decided to host another company's data. Not having EE, I decided to add a column to the appropriate tables and then create views accessible through the application. Each view would have a predicate:<BR>
    WHERE companycode = SYS_CONTEXT( 'PFS_CTX', 'COMPANYCODE' )<br>
    Now, after submit, (I haven't tested every single page), session state seems to be lost.<br>
    Debug info before Submit:<br>
    0.00: S H O W: application="100" page="26" workspace="" request="" session="12483598699829578467"
    0.00: ...Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    0.00: alter session set nls_language="AMERICAN"
    0.00: alter session set nls_territory="AMERICA"
    0.00: NLS: CSV charset=WE8MSWIN1252
    0.00: ...Setting NLS Decimal separator="."
    0.00: ...Setting NLS Group separator=","
    0.00: ...Setting NLS date format="DD-MON-RR"
    0.00: NLS: Language=en-us
    0.00: Application 100, Authentication: CUSTOM2, Page Template: 653625525474071
    0.02: ...Supplied session ID can be used
    0.02: ...Application session: 12483598699829578467, user=USER_PFS
    0.02: ...Determine if user PFS_ADMIN with SGID 635206529335328 can develop application 100 in workspace 635206529335328
    0.02: Fetch session state from database
    0.02: Fetch session header information
    0.02: ...fetch page attributes: f100, p26
    0.02: Branch point: BEFORE_HEADER
    0.03: Fetch application meta data
    0.03: Computation point: BEFORE_HEADER
    0.03: Processing point: BEFORE_HEADER
    0.03: Show page template header
    0.03: Computation point: AFTER_HEADER
    0.03: Processing point: AFTER_HEADER<br>
    The Select List I have renders correctly. The query behind the Select List is:<br>
    SELECT projectname, projectid
    FROM pnet_projects<br>
    The view text is:<br>
    SELECT projectid, projectname,...
    FROM vw_projects
    WHERE companycode = SYS_CONTEXT( 'PFS_CTX', 'COMPANYCODE' )<BR>
    After Submit, the Select List is empty and here is the Debug info:<br>
    0.00: A C C E P T: Request="SUBMIT"
    0.00: Fetch application info
    0.00: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
    0.00: alter session set nls_language="AMERICAN"
    0.00: alter session set nls_territory="AMERICA"
    0.00: NLS: CSV charset=WE8MSWIN1252
    0.00: ...Setting NLS Decimal separator="."
    0.00: ...Setting NLS Group separator=","
    0.00: ...Setting NLS date format="DD-MON-RR"
    0.02: Fetch session state from database
    0.02: ...Check instance 12483598699829578467 owner
    0.02: ...Fetch iconbar, page, computation, process, ...
    0.02: Fetch session header information
    0.02: ...fetch page attributes: f100, p26
    0.02: ...Check security schemes
    0.02: Save form items and p_arg_values
    0.02: ...P26_PROJECTID session state saving same value: "NONE"
    0.02: ...P26_TIMEIN session state saving same value: ""
    0.03: ...P26_PERSONID session state saving same value: ""
    0.03: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    0.03: Branch point: BEFORE_COMPUTATION
    0.03: Computation point: AFTER_SUBMIT
    0.03: Perform Branching for Tab Requests
    0.03: Branch point: BEFORE_VALIDATION
    0.03: Perform validations:
    0.03: Display inline error messages that are a result of failed validations.
    0.03: S H O W: application="100" page="26" workspace="" request="" session="12483598699829578467"
    0.03: NLS: Language=en-us
    0.03: Application 100, Authentication: CUSTOM2, Page Template: 653625525474071
    0.05: ...Supplied session ID can be used
    0.05: ...Application session: 12483598699829578467, user=USER_PFS
    0.05: ...Determine if user PFS_ADMIN with SGID 635206529335328 can develop application 100 in workspace 635206529335328
    0.05: ...fetch page attributes: f100, p26
    0.05: Branch point: BEFORE_HEADER
    0.05: Fetch application meta data
    0.05: Computation point: BEFORE_HEADER
    0.05: Processing point: BEFORE_HEADER
    0.05: ......do not perform process because inline validation condition found.
    0.05: ...Recompute field lables for fields in error.
    0.05: Show page template header   
    0.05: Computation point: AFTER_HEADER
    0.05: Processing point: AFTER_HEADER<br>
    In the ACCEPT portion, there's a line "Fetch session state from database" which I am guessing gets the Application Context. There is no such line in the SHOW section.<br><br>
    I have used Branch to Page Identified by Item and a Branch to Page or URL. Same result.<br><br>
    Does anyone have a suggestion as to how I should proceed? Can I use APEX/Application Context in this manner?<br><br>
    chet

    FUNCTION login
      (p_username IN VARCHAR2,
       p_password IN VARCHAR2,
       p_systemcode IN VARCHAR2 DEFAULT 'PFS') RETURN NUMBER
    IS
      l_sessionid NUMBER(15);
      l_password PERSON_SYSTEMS_TAB.PASSWORD%TYPE;
      l_personsystemid PERSON_SYSTEMS_TAB.PERSONSYSTEMID%TYPE;
      l_personid PERSON_SYSTEMS_TAB.PERSONID%TYPE;
      l_passwordexpires PERSON_SYSTEMS_TAB.PASSWORD_EXPIRES%TYPE;
      l_accountlocked PERSON_SYSTEMS_TAB.ACCOUNTLOCKED%TYPE;  
      l_expiredate DATE;
      l_entityid ENTITY_TAB.ENTITYID%TYPE;
      l_companyname VARCHAR2(150);
      l_companycode VARCHAR2(30);
    BEGIN
      SELECT password, personsystemid, personid, password_expires, accountlocked, date_expired, companycode
      INTO l_password, l_personsystemid, l_personid, l_passwordexpires, l_accountlocked, l_expiredate, l_companycode
      FROM vw_person_systems
      WHERE systemcode = p_systemcode
        AND date_expired IS NULL
        AND UPPER( username ) = UPPER( p_username );
      IF l_password = p_common.hash(p_username, p_password) THEN --successful login
      --1 create session
      --2 set app context
      --3 return sessionid
        l_sessionid := create_session( l_personsystemid );
        l_companyname := p_common.get_company_name( l_personid ); 
        l_entityid := p_common.get_entityid( l_personid );
        p_ctx.set_sessionid( l_sessionid );        
        p_ctx.set_context( 'NAME', p_login.get_name( l_personid ) );
        p_ctx.set_context( 'PERSONSYSTEMID', l_personsystemid );
        p_ctx.set_context( 'PERSONID', l_personid );
        p_ctx.set_context( 'COMPANYID', SUBSTR( l_companyname, 1, INSTR( l_companyname, ':' ) - 1 ) );
        p_ctx.set_context( 'COMPANYNAME', SUBSTR( l_companyname, INSTR( l_companyname, ':' ) + 1, LENGTH( l_companyname ) ) );
        p_ctx.set_context( 'SESSIONID', l_sessionid );
        p_ctx.set_context( 'EMAILADDRESS', p_username );
        p_ctx.set_context( 'ENTITYID', l_entityid );
        p_ctx.set_context( 'COMPANYCODE', l_companycode );
      END IF;
      RETURN l_sessionid;
    EXCEPTION
      WHEN no_data_found THEN
        raise_application_error(-20002, 'invalid username');
    END login;<br>
    None of this code has changed in quite some time. The only thing that changed was the view reference from APEX. This seems to occur only when the page is submitted (with or without validations).

  • How to define JAXP Parsers and Transformer in a Web Application Context

    Hi
    I need to define JAXP Parsers and Transformer in a Web Application Context where I can deploy this application in any J2EE Application Server without modifying the server. That means that I can't set System properties or set the jaxp.properties file. I tried to use the META-INF/services/javax.xml.transform.TransformerFactory file but it didn't work.
    Any ideas?

    Hi
    I need to define JAXP Parsers and Transformer in a Web Application Context where I can deploy this application in any J2EE Application Server without modifying the server. That means that I can't set System properties or set the jaxp.properties file. I tried to use the META-INF/services/javax.xml.transform.TransformerFactory file but it didn't work.
    Any ideas?

  • Deployment of OA Project in R12.2 - Could not load application module

    I have deployed a project that is working without issue in JDeveloper to a R12.2 environment, but I am receiving the following error on loading of the page.  This seems to be a common problem as I have another issue with deploying OA Framework projects in R12.2  Is anyone else using R12.2 or has seen this in any other R12 instance?  Anything developed in 11.5.10 first and "upgraded" to the latest JDeveloper is working fine, but so far nothing developed directly in R12.2 JDeveloper works in the environment.
    <!--StartFragment--> oracle.apps.fnd.framework.OAException: Could not load application module 'xxaai.oracle.apps.inv.bptrequest.server.BPTRequestCreateAM'.
    at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:279)
    at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1313)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:556)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:444)
    at _pages.__oa._jspService(__oa.java:233)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:159)
    at _pages.__rf._jspService(__rf.java:239)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.apps.fnd.security.WLFilter.doFilter(WLFilter.java:203)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:429)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.execute(Unknown Source)
    at weblogic.servlet.internal.ServletRequestImpl.run(Unknown Source)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Matias
    Try bouncing your server and then test it again.Generally this error comes due to uncompiled jsp files.Bounce Apache Server and then check.
    You may check Metalink Note: 465812.1
    Thanks
    AJ

  • How to access the function in loaded application using swfloader?

    Hi,
    I have a main flex application which has a view stack, panel
    and swfloader in the below hierarchy.
    Flex main app --> Canvas1(Viewstack) --> Panel1 -->
    Swfloader
    Please view
    http://www.probe7.com/flex_ques.gif
    for better understanding.
    I have a function in the loaded application which has to be
    called from a function within the main application. I am not sure
    of the syntax to access the swfloader content which is placed in a
    canvas -> panel.
    I tried this example (
    http://livedocs.adobe.com/flex/3/html/help.html?content=controls_15.html),
    it works when the swfloader is placed in the main application
    without the viewstack or panel. How can I do this, Is there a way
    to access all the running applictaions, regardless of the
    hierarchy? Any help will be greatly appreciated.
    Also any links for quick reference on various components and
    their access will be helpful.
    Thanks for your time.

    You are probably seeing the deferred instantiation behavior
    which is the default for ViewStack.
    The Swfloader component does not exist until a user navigates
    to the View that contains it.
    Use events to determine when the swfloader content is ready
    for interaction. Here is an example:
    http://www.cflex.net/showFileDetails.cfm?ObjectID=690
    Tracy

  • JBO-33008 Error finding application context

    Can anyone explain what causes JBO-33008 or where I can find more information on the exception. I have been unable to find any documentation (even the help in JDev goes from 34001 to 55001). Any information would be greatly appreciated.
    Thanks in advance.
    Deb
    oracle.jbo.JboException: JBO-33008: Error finding application context
    at oracle.jbo.server.ContextMetaObjectManager.getCurrentApplicationMap(ContextMetaObjectManager.java:73)
    at oracle.jbo.server.ContextMetaObjectManager.findLoadedObject(ContextMetaObjectManager.java:55)
    at oracle.jbo.mom.DefinitionManager.getDynamicObjectsContainer(DefinitionManager.java:604)
    at oracle.jbo.mom.DefinitionObject.isDynamicDefinitionObject(DefinitionObject.java:141)
    at oracle.jbo.server.DefObject.isDynamic(DefObject.java:46)
    at oracle.jbo.server.ComponentDefImpl.unsetDefForComponent(ComponentDefImpl.java:200)
    at oracle.jbo.server.ComponentObjectImpl.setDef(ComponentObjectImpl.java:53)
    at oracle.jbo.server.ViewObjectImpl.setDef(ViewObjectImpl.java:498)
    at oracle.jbo.server.ApplicationModuleImpl.removeChild(ApplicationModuleImpl.java:649)
    at oracle.jbo.server.ComponentObjectImpl.remove(ComponentObjectImpl.java:225)
    at oracle.jbo.server.ViewObjectImpl.remove(ViewObjectImpl.j[i]Long postings are being truncated to ~1 kB at this time.

    Evidently the 'Search Forum' is not catching everything. I did find this discussion by scrolling through.
    JBO-33008 error finding application context

Maybe you are looking for

  • Transfer of GL a/cs manually from legacy system to SAP

    How do you transfer GL a/cs manually from Legacy system to SAP,  what offset a/c would you use.  Also how would you open AR and AP transactions manually in SAP.  Please help my email id is [email protected] Thanks

  • F-28 Manual Clearing

    Good Afternoon, I'm clearing partially, through F-28, a few documents selecting Open Items by Document Number. When I clear the residual amount eventhough the balance is zero, they are not getting cleared. Can I change this configuration? Where? Than

  • IOS 7 and the 'greyed out' WiFi problem

    Hi, Looking for any solutions to this: I upgraded to iOS 7 with no problems initially After about 24-36 hrs I noticed I could no longer access websites via the WiFi connection, so I restarted the phone (a 4S on the Bell Canada network). Since then, t

  • Stolen Macbook found with Prey, only files, NOT folders, are missing

    Prey worked perfectly to get the cops to go to the thief's house! My Macbook Air OS X Lion is safe now. All the programs I installed are still there, and my folders are still exactly in the same positions. Even the subfolder in a folder I named my eb

  • New 2014 MacBook Pro Charger Not Working

    I just recently bought a brand new MacBook Pro from my local Apple store a little less than a month ago. Ever since I first bought it, the charger only sometimes works. I'll plug it into my laptop and the light won't come on and it won't charge. I th