Problem releasing the application module after upgrade to 11.1.1.2

We have recently upgraded from JDeveloper 11.1.1.1 to 11.1.1.2.
In the "tearDown()" method in our Unit Tests, the Application Module is realeased using:
private ApplicationModule am;
Configuration.releaseRootApplicationModule(am, true);
Alter the upgrade, this produces the following error:
oracle.jbo.JboException: JBO-33025: Failed to release application module MapServiceGlobal. Cookie handle not found.
Please Help.
FYI - this is the code that is used to create the application module:
Hashtable env = new Hashtable(2);
env.put(JboContext.INITIAL_CONTEXT_FACTORY,JboContext.JBO_CONTEXT_FACTORY);
env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
try
InitialContext ic = new InitialContext(env);
ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(rootAM);
am = home.create();
catch (NamingException nex)
/* Handle the error here if you don't find it */
throw new NamingException("Application Module naming exception " + rootAM + " : " + nex.getMessage());
/* Connect the AM to a database connection */
am.getTransaction().connect(jdbcConnectionURL);
* Set the bundled exception mode so that exceptions are thrown in the
* same way as when we're running in the web application.
am.getTransaction().setBundledExceptionMode(true);
Thanks,
-Spiro

Hi,
I used OCEP 10.3.0.0 and upgraded the wlevs30 domain to PS6(11.1.1.7.0). and it worked without such error.
My experience is:
1) in OCEP 10.3.0.0 it needs not to add the security groups in atnstore.txt
2) you need to add <scratch-directory/> for Jetty in server's config.xml otherwise you will see the visualizer takes a long time to get up on Windows
Thanks
Junger

Similar Messages

  • Problems with the Application Module Pool

    Hello,
    We have an Oracle ADF Application working in a production enviroment. The application module pool seems to work properly during the first days, but after a few days, the application module pool seems not to work properly. We start to get some errors like JBO-30003: the application pool failed to checkout an application module.
    We have included in the application a DumpPoolStatistics servlet, and what we have observed is:
    1. When the application is restarted in the server, the "total number of application modules in the pool" is equal to "maximum number of application modules in the pool".
    2. Several days after, the "total number of application modules in the pool" starts to decrease.
    We don't know why the "total number of application modules in the pool" starts to decrease, but we think this is the reason of the errors. In fact, "total number of application modules in the pool" is lower than the "jbo.ampool.minavailablesize" parameter value.
    The management of the application module pool is not a task of the developer, so we don't undestand where is the problem.
    We have configured the application module with the next parameters:
    <jbo.ampool.initpoolsize>10</jbo.ampool.initpoolsize>
    <jbo.ampool.maxpoolsize>100</jbo.ampool.maxpoolsize>
    <jbo.ampool.minavailablesize>10</jbo.ampool.minavailablesize>
    <jbo.recyclethreshold>15</jbo.recyclethreshold>
    <jbo.ampool.maxinactiveage>600000</jbo.ampool.minavailablesize>
    <jbo.ampool.monitorsleepinterval>600000</jbo.ampool.monitorsleepinterval>
    <jbo.initpoolsize>15</jbo.initpoolsize>
    <jbo.maxpoolsize>30</jbo.maxpoolsize>
    <jbo.poolminavailablesize>15</jbo.poolminavailablesize>
    <jbo.poolmaxavailablesize>25</jbo.poolmaxavailablesize>
    <jbo.poolmonitorsleepinterval>30000</jbo.poolmonitorsleepinterval>
    <jbo.poolmaxinactiveage>30000</jbo.poolmaxinactiveage>
    <jbo.dofailover>true</jbo.dofailover>
    <jbo.ampool.resetnontransactionalstate>true</jbo.ampool.resetnontransactionalstate>
    <jbo.ampool.doampooling>true</jbo.ampool.doampooling>
    We are working with JDeveloper 10.1.3.4.
    Thanks in advance!

    Sorry, you are right, the number of application modules created whe the application starts is given by the jbo.ampool.initpoolsize. But what it is sure is that the "total number of application modules in the pool" starts to decrease. The number of days is not always the same. But we have to restart the application occasionally.
    I think the time parameters are ok, I would like for example 10 minutes for pool resoruce cleanup, and 10 minutes for considering an inactive AM instance in the pool as a candidate for removal during the next resource cleanup.
    <jbo.ampool.monitorsleepinterval>600000</jbo.ampool.monitorsleepinterval> --> 10 minutes
    <jbo.ampool.maxinactiveage>600000</jbo.ampool.minavailablesize> --> 10 minutes
    Is this right?

  • Problem with the USB-connection after upgrade to P...

    Hello to everybody!
    After upgrading PC-suite, I can't establish a USB-connection with the phone.
    Here are the facts:
    1) My phone is the E90. Latest software installed (300.34.84)
    2) PC-Suite version 7.0.9.2 english. I also tried the greek version, same problem with it also.
    3) Nokia Connectivity Cable Driver 7.0.2.1. I also installed manually a previous version of the driver (7.0.2.0), but this didn't solve the problem.
    4) I didn't have any problem with the older version of PC-suite.
    5) I don't have a problem with the cable because the data-transfer-mode works fine.
    6) Prior to any installation attempt, I always first uninstalled PC-suite and Cable-driver manually with the windows-xp uninstall program. This was not the fact, only in my first attempt, where I upgraded the pc-suite from inside the program itself.
    Please help, because I can't backup and this is very important for me!
    Solved!
    Go to Solution.

    Thank you all for your suggestions but nothing of the above worked for me.
    After of hours and hours of installing and uninstalling of several versions of the pc-suite I solved the problem as following:
    1) Uninstall manually (windows - control panel - add/remove programs)Nokia-PC-Suite, Nokia Connectivity Cable Driver AND PC Connectivity Solution!
    2) Restart PC
    3) Download and install the new version of Nokia-PC-Suite.
    The tricky part is that you have to uninstall the application called "PC Connectivity Solution" manually and since the title of the application dosn't include the Nokia-Name you have first to find out that this program is Nokia-related!
    Once again, thanks to everybody who took the time to make suggestions and especially to cricfancy who made me aware of the fact that PC Connectivity Solution is a nokia application!
    Finally, I would like to make a statement for Nokia:
    People, if you are not sure about an update then keep it in beta and don't make it available to the public!!! I lost hours and hours on search and made countless installs and uninstalls to find out what was wrong. Under the line, I had made no mistakes in my update from the start and the whole problem was based on your software! This is not acceptable!

  • Problem in the BI system after upgrade

    Hi,
    We had EHP1 upgrade for BI 7.0 system.
    After upgrade to SAPKW70107, we are facing error in mapping units to the keyfigures in transformation.
    Before upgrade those objects were perfectly alright.
    Please help us with some solution other than implementing SAP Notes.
    Thanks in advance,
    Geetha.

    I'm not sure but have you checked following note?
    [1490927 - UNIT CHECK from Note 1366474 too restrictive, RSTRAN 312|https://service.sap.com/sap/support/notes/1490927]

  • Can't find the Applications folder after upgrading to Yosemite

    I was successful in upgrading my Macbook from Snow Leopard to Yosemite.  So I installed Photoshop Elements 13.  It seemed to work until I closed out of Photoshop.  I couldn't find the Applications folder or the Photoshop program.  Would like to know any hints on what I could try in order to bring up my Applications folder, where Photoshop is likely still stored.

    Have you tried Spotlight?
    Ciao.

  • Problem with the "from" field after upgrading to IOS 7

    Dear list members,
    For years I have been using multiple e-mail accounts with my iPhone 4 without any trouble. However, after I upgraded to IOS 7, a strange bug is happening.
    When I try to send an e-mail from my iPhone, using my iCloud account, to another person or another account of mine, every time I type an address in the "to" field, the "from" field changes automatically to some of my other accounts (most of them from Google). Then I have to correct the "from" field every time, which is very annoying.
    Is there a way to solve this bug?
    Thank you for your attention.

    I have a similar problem, using iPhone 4 and iPad 3. I can connect to the iPhone hotspot (iPhone show the blueish bar on top of its screen and says 1connection is active). So far so good, BUT, the iPad gets no symbol (the chain showing its linked) nor internet access. Sometimes the symbol comes but still no internet. By resetting the iPhones network settings I get it to work immidiately after, but after putting my iPad to sleep there will be the same issue over again. Please come up with a solution. Maybe I need to restore both devices? I don't like the idea though. It just works, huh?!?!?

  • Does Anyone Have Problems with the Ear Speaker After upgrading to iOS7, 8 or 8.1?

    HI. When ther's a voice call, the speaker for the ear has no sound (the mic is good) but they can hear and when I use the speakerphone the speakerphone works. Is this a bug with iOS 8 or 8.1 (or even 7)? or there's a setting I accidentally enabled that only allows the speakerphone with voice calls (for those who can't hold the phone like those who're injured)?
    Thank you in advance. Have a great upcoming weekend.
    God bless, Rev. 21:4

    LOTS of people reporting a range of similar issues.
    https://discussions.apple.com/thread/6648856
    https://discussions.apple.com/thread/6574287

  • Aperture is asking to upgrade library every time I open the application, even after it has already been upgraded.  I just ran the update and it is still not fixed.  What can I do???

    Aperture is asking to upgrade library every time I open the application, even after it has already been upgraded.  I just ran the update and it is still not fixed.  What can I do???  My plug are asking me to re-register them too.  This is annoying.  Please help!!!!!

    How do you try to start the repair dialogue? By starting Aperture or by opening the Library?
    If you not already have tried it with directly opening the library: 
    reveal your Aperture Library in the Finder
    Whilst holding down Command(⌘)- option (⌥) double click on the Aperture Library.
    Select "repair library" from the dialogue.
    What about Frank Caggiano's questions above?
    It would be really helpful to know, how many libraries you have, and if this problem is restricted to one of them.

  • Problems to reconize the sim card after upgrade itunes, what should I do???

    Problems to reconize the sim card after upgrade itunes, what should I do???

    Get a SIM card from the carrier to whom the phone is legitimately locked.

  • Hello! Help me please, I have a problem with the program occurred after the upgrade to version 3. 6. 16, namely by pressing the button 'Open a new tab' nothing happens. ?

    Hello! Help me please, I have a problem with the program occurred after the upgrade to version 3. 6. 16, namely by pressing the button 'Open a new tab' nothing happens. ?

    This issue can be caused by the Ask<i></i>.com toolbar (Tools > Add-ons > Extensions)
    See:
    * [[Troubleshooting extensions and themes]]

  • Problem with Application Login after upgrading to Oracle 11g

    I have a home-grown application with Oracle 10g database running under Windows XP Pro. Recently, I installed Oracle 11g and imported the application database from 10g to 11g (still want to keep the 10g running for a while). However, I now having problem with the application logging into the new 11g database. (Keep getting invalid user/name message).
    BTW, I have no problem accessing the 11g database through SQLPlus (logging in with the same name and password that I use for the application), and the connection test of NetManager (again using the same name and password that I use for the application) was successful.
    The application itself uses the old Borland BDE (Borland Database Engine) to access the 10g and 11g database. Testing confirms that BDE can access Oracle 11g with no problems.
    Any idea about the probable cause(s) of the problem?
    Thanks in advance,
    sg2000

    11g by default is case sensitive username/password.
    You can disable that with setting parameter SEC_CASE_SENSITIVE_LOGON to false.
    SQL> SHOW PARAMETER SEC_CASE_SENSITIVE_LOGON
    SQL> ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;

  • Help!! - Unable to use the Application Module Deployed as Corba Object in Oracle 8i

    I have been able to successfully deploy an Application Module in Oracle 8i but i am un able to get a reference to the Application Module from the database the code used by me is -
    package client;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import java.util.Hashtable;
    import oracle.jbo.*;
    import org.omg.CORBA.*;
    public class Corba8IClient{
    Hashtable env = new Hashtable();
    ApplicationModule appMod = null;
    String theAMDefName = "test/jd/freshJBO.FreshJBOModule";
    public Corba8IClient() {
    System.out.println("Started...");
    // Load the Application Module
    try{
    // Component deployed to Oracle8i CORBA Server.
    // Set up the 8i environment
    System.out.println("Setting up initial Context...");
    env.put(Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
    env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_ORACLE8I);
    env.put(Context.SECURITY_PRINCIPAL, "jd");
    env.put(Context.SECURITY_CREDENTIALS, "jd");
    env.put(JboContext.HOST_NAME, "Dev51");
    env.put(JboContext.CONNECTION_PORT, "2481");
    env.put(JboContext.ORACLE_SID, "ORA8I");
    // env.put(JboContext.APPLICATION_PATH, "test/jd/");
    System.out.println("Getting initial Context.");
    Context ic = new InitialContext(env);
    System.out.println("Doing Lookup...");
    ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(theAMDefName);
    System.out.println("Calling create...");
    // home
    System.out.println("Home Class Name : "+home.getClass().getName());
    oracle.jbo.client.remote.corba.aurora.AuroraApplicationModuleHome am = (oracle.jbo.client.remote.corba.aurora.AuroraApplicationModuleHome)home;
    System.out.println("DefName "+am.getDefName());
    appMod = home.create();
    System.out.println("Setting up connetion from AppMod to database...");
    appMod.getTransaction().connect("jdbc:oracle:thin:jd/jd@dev51:1521:ORA8I");
    }catch(Exception e) {
    e.printStackTrace();
    System.out.println("AppMod full Name "+ appMod.getFullName());
    public ApplicationModule getAppMod(){
    return appMod;
    public static void main(String args[]){
    Corba8IClient c8c = new Corba8IClient();
    after running the output is -
    Started...
    Setting up initial Context...
    Getting initial Context.
    Doing Lookup...
    Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to see it)
    Calling create...
    Home Class Name : oracle.jbo.client.remote.corba.aurora.AuroraApplicationModuleHome
    DefName null
    oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
    at oracle.jbo.client.remote.corba.CORBAApplicationModuleHomeImpl.create(CORBAApplicationModuleHomeImpl.java:63)
    at client.Corba8IClient.<init>(Corba8IClient.java:39)
    at client.Corba8IClient.main(Corba8IClient.java:53)
    java.lang.NullPointerException
    at client.Corba8IClient.<init>(Corba8IClient.java:45)
    at client.Corba8IClient.main(Corba8IClient.java:53)
    Corba Object is deployed as -
    ObjectName = /test/jd/freshJBOModule
    Server Class = freshJBO.server.o8.FreshJBOModuleServerO8
    Helper Class = oracle.jbo.common.remote.corba.RemoteApplicationModuleHomeHelper
    The Application Module conatians an entity object and a view object for Dept Table in schema jd(Username -jd, Password -jd).

    Moneesh,
    I believe there is a problem with the way you set the variable theAMDefName. It should be:
    String theAMDefName = freshJBO.FreshJBOModule";
    Then you need to reinstate the line you commented out, to set the application path (but remove the trailing / from the path, as shown):
    env.put(JboContext.APPLICATION_PATH, "test/jd");
    If that doesn't work, and for future reference, I suggest testing your deployed application module from the Business Component Browser (aka the tester) before trying your hand-coded client. Start the tester, select Oracle8i as the middle tier server type, make sure the other information in the connect window is correct, then click Connect.
    Good luck
    Blaise

  • Problems with your HP printer after upgrading to Windows 8.1

    If you are experiencing problems with your HP printer after upgrading to Windows 8.1 please click on the below link and install the HP Print and Scan Doctor and run the utility to fix the issue.
    www.hp.com/go/tools.
    I was an HP employee
    If I have helped you solve your issue please mark it as solved
    **Say Thanks By Clicking on the Kudos Star**

    Hi.....my laserjet 1536dnf mfp was working perfectly with win 8 pro....then I installed win 8.1 pro and now the computer ,which is part of a network,can not communicate with the scanner of the printer--it prints just fine. On another computer (running win 7 ) on the same network, the scanner and all other printer functions  work just fine.
          I have tried installing the latest drivers from HP......scanner still not "communicating" with computer.....also temporarily disabled firewall.....please help...all the best -David G (gossat)

  • Unable to  get the login page after upgrade from 11.5.10.2 to R12

    Hi ,
    We are unable to get the login page after upgrade from 11.5.10.2 to R12, all the services are up and running.
    Pls let me know if someone has come across this issue.
    Thanks&Regards,
    Apps DBA

    Hi ,
    After compile JSP files manually , now we are facing problem after logging.
    Error : You have encountered an unexpected error.
    Thanks&Regards,
    Apps DBA

  • Problems with set up disc after upgrading hard drive

    I am having problems starting up my Macbook after upgrading the hard drive from 80GB to 160GB.  The new hd is SATA, a WDScorpio.  The pins on the end look the same, and I've had no problem with the physical install.  When I go to start up the Macbook, I get a gray screen and the "flashing manila file w/a question mark" icon.  I load the disc while holding down the "C" key, and all that happens is the disc gets ejected.  What am I doing wrong?  I also have my hd backed up w/time machine in an external hd.  Any ideas?

    Turns out, my problem is a malfunctioning optical drive. My Macbook couldn't read the set up disc. This is the second time in a week that I have had this Macbook into the apple store for warranty repair work. Last week, It was a defective VGcable. Each trip to the Applestore is 115 miles round trip from where I live. I tried to get Apple to give me a new computer, but no dice. I even had a district manager in Boise Idaho hang up on me. It's too bad when they know they have a product which everyone loves, and wants to use. They can set the terms. How many things must go wrong before they just replace the @#$# thing? I bought the Macbook Feb 12th, so it's not that old. I have handled it with the utmost care. Anyway, I've tasted the forbidden fruit, and will continue to use Apple products. Thanks for your help. I'll probably have a much easier time with a computer that works. (knock on wood)

Maybe you are looking for