Runtime security settings are lost after deployment

We develop Custom Webcenter framework the Portal Application.  And we have a requirement of creating pages on the time of execution and assigning of security to them on the time of execution using the admin screen.

But if we undeploy and deploy the application, all the security settings made at run time are lost - or the creation of new roles, new pages of mapping to existing roles.

We came to know of a workaround for the problem above, i.e. instead of undeploy and deploy, use to redeploy.  The concern is that in all cases if we do not have to the cancellation of the deployment, and to deploy the application, we will lose all the security information.

Any suggestion for this problem?

Thank you

Nitika

Hi simo.

By default, when the generation of the WebCenter EAR file, it adds security settings to weblogic - application.xml in order to know what to do with policies on the deployment, re-deployment and Undeploying.

These settings are from the properties of the Application (check boxes). However, the interface user of JDeveloper you cannot change its operation when the cancellation of the deployment of the application.

The solution is to add to your weblogic - application.xml following the parameter after the front :


    jps.policystore.removal
    OFF
  

What the EAR WebCenter file generation take a look inside to see all the application-settings associated with JP and roles.

Official documentation on these parameters: manually configure Java EE Applications to use OPSS - 11 g Release 1 (11.1.1)

If it does not just with the application-param then consider adding after the listener also:oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener

I hope that it solve your problem.

Kind regards.

Tags: Fusion Middleware

Similar Questions

  • Firefox Sync settings are lost when you restart the Android device, is this normal?

    I use Firefox Beta v14 for Android.

    After a restart of the Android device, synchronization settings are lost, nothing in the settings 'account and synchronization '.

    Sorry to hear that Firefox is losing your sync account. You have installed Firefox for Android onto an SD card? We are tracking the reports like yours to https://bugzilla.mozilla.org/show_bug.cgi?id=768102. We believe that Android itself is deleting accounts when the Firefox application is installed on the SD card. Can you check if Firefox is installed on an SD card?

  • All my tabs are lost after downloading an add on. The tabs start showing my default homepage.

    All my tabs are lost after you download an add-on. The tabs start showing my default homepage. Do I have to have all closed tabs before you download an add-on Firefox? Even the site of add-on Firefox restarts as my default homepage. Is there an add-on to prevent that from happening?

    This has happened

    Each time Firefox opened

    Is always

    Diito. Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6. en-US; RV:1.9.2.6) Gecko/20100625 Firefox/3.6.6

  • Windows Security Center: all my security settings are turned off, and no matter what I click I cant get them light up

    All my security settings are turned off, and no matter what I click I get they cant turn on

    All my security settings are turned off, and no matter what I click I get they cant turn on

    Your Security Center work at all?
    Go to Services to discover...
    Start button > Search box, of type services > press ENTER > uac prompt > scroll down to find the Security Center.
    Under status, it should read: started
    Under Startup Type, it should read: automatic (d...)
    If it is not...
    Right click on Security Center > properties >
    Change the Startup Type to automatic (delayed start),
    change of status to start >
    Apply/OK

    The settings are back on?

    t-4-2

  • Security settings are missing

    I use windows 8, but a few days ago, nothing is downloading windows store, when I go through this issue I found that some security settings are missing or have been modified and the problems arises installation of recent updates.

    I also used windows troubleshooting, but problems continue to rise.

    and so windows Defender does not work also.

    Please, someone fix this...

    I use windows 8, but a few days ago, nothing is downloading windows store, when I go through this issue I found that some security settings are missing or have been modified and the problems arises installation of recent updates.

    I also used windows troubleshooting, but problems continue to rise.

    and so windows Defender does not work also.

    Please, someone fix this...

    Hello

    If Windows Defender is your unique security program:

    Scan your machine Windows 8.1 for Malware, if necessary using the safe mode with networking:

    "How to start Windows 8 and 8.1 in Mode safe '

    http://www.eightforums.com/tutorials/2757-safe-mode-start-Windows-8-a.html

    Download, install, update and scan your system with the free version of Malwarebytes AntiMalware and if necessary do in Mode safe mode with networking:

    http://www.Malwarebytes.org/products/malwarebytes_free

    ______________________________________

    And also scan with the free version of SUPERAntiSpyware

    http://www.SUPERAntiSpyware.com/download.html

    SUPERAntiSpyware Free Edition is 100% free and will detect and remove thousands of Spyware, Adware, Malware, Trojans, KeyLoggers, Dialers, Hi-Jackers, and worms. SUPERAntiSpyware features many unique and powerful technologies and removes spyware threats that other applications fail to remove.

    SUPERAntiSpyware Free Edition does not include blocking in real time or scheduled scan.

    ______________________________________

    It is a very good program to scan your system to remove adware, etc.:

    http://www.bleepingcomputer.com/download/adwcleaner/

    AdwCleaner is a program that finds and removes the Adware, toolbars, potentially unwanted programs (PUP) and browser hijackers from your computer.  Using AdwCleaner you can easily more of these types of programs for a better user experience on your computer delete and while browsing the web.

    _____________________________________

    And just to be sure, nothing is lurking in the background:

    'TDSSKiller Rootkit Removal Utility download for free'

    http://USA.Kaspersky.com/downloads/TDSSKiller

    See you soon.

  • Illustrator will not store my settings. When I re - open the program, my settings are lost. How can I get the program to save my settings?

    Illustrator will not store my settings. When I close and reopen the program, some of my settings are lost; persistent color palettes, type of unit. How can I get the program to save these settings? We have several computers through Adobe CC and one of them has this issue. We have tried to reinstall the program, does not. Looking for someone who has had this experience and has an idea about a solution AND what is the problem.

    Jason

    Check the permissions on your user files. Looks like you have not allowed to save there who HAVE requires that the last thing that made when closing is to write the current version of the preferences.

  • Satellite L500-13D: all programs & settings are gone after upgrade to Windows 7

    Hello.

    My laptop is Satellite L500-13D

    I've upgraded to WINT in VISTA using official TSB upgrade disk.
    It seems that something was wrong. Win7 installed properly, but unfortunately all installed programs and settings are gone.
    I see also that when the upgrade $directories on C: and E partitions have been created; programs and older files are there.

    A few questions:

    1. is there a way to return return programs?
    2. how to create the recovery disks now under WIN7, because there is no CREATOR of TOSHIBA RECOVERY more?
    3. download TOSHIBA RECOVERY CREATOR?

    Hi mate

    Have you read the manual that came with the laptop and Windows 7 upgrade disc?

    After an upgrade to Windows 7 you need additional disk with the upgrade tools that came with the Windows 7 upgrade disk.

    > 2. How to create the recovery disks now under WIN7, because there is no CREATOR of TOSHIBA RECOVERY more?
    This is not possible because the recovery disk must be created at first running the operating system preinstalled by Toshiba.

    > 3. Download TOSHIBA RECOVERY CREATOR?
    If I know that cannot be downloaded.

  • My security settings are not allowing me to download an itunes file, all the solutions?

    Whenever I try to download latest iTunes the computer said that security settings does not allow the file to download. I tried everything including turning off the firewall. I contacted Itunes and they told me to completely uninstall Itunes, which I did, but it still does not work. They said to contact microsoft.

    Hello

    1. what browser do you use?
    2. are you able to download other software?

    If you use internet explorer, then try to adjust the default setting and check security.

    a. open Internet Explorer by clicking the Start button, and then click Internet Explorer.
    b. click on tools and then click Internet Options.
    c. click on the Security tab.
    d. click on the Internet icon.
    e. to set Internet Explorer to the default security level, click default level.
    f. When you have finished making changes to the security settings, click OK.

  • Display settings are lost

    Whenever the Windows Setup program is running, I restart the system, and sometimes when I go out to explore and iexplorer, the display settings on my computer are lost and come back on a blue background and no screen saver.  This has happened for the last month and I have no idea of what was processing when it began, since I am not the only user.  I use Windows XP SP3 and current with the updates.

    Hello Forrrest,

    Just to tell you it's Vista forums. You should redirect your question in the forums XP here: http://www.microsoft.com/windowsxp/expertzone/newsgroups/reader.mspx?dg=microsoft.public.windowsxp.general


    Make it a great day!

    "In the end the love you take is equal to The Love You Make" (The Beatles last song from their latest album, Abbey Road.)

  • Unable to open a downloaded program because the security settings are to block it.

    Whenever I want to open a program downloaded, I get a message that the security settings allow it to open it.  I have windows 7 home and mcafee security. My system will inform either 30 updates of windows. Any suggestions?

    Hi Sue,

    For the following update test runs the tool update of the system located here:

    http://Windows.Microsoft.com/en-GB/Windows7/what-is-the-system-update-readiness-tool

    For the other question - what kind of programs are you download and what is the exact error you see?

  • Animations in the taskbar are lost after the installation of Windows 7 Service Pack 1!

    Hello

    Today I installed Windows 7 Service Pack 1. After you install the service pack, all the animations in the taskbar are lost! I tried to restart the computer 2 times, always the same.
    Then, I uninstalled SP1. The animations are back! Now I tried to reinstall SP1, and the animations are lost again! I want to have the SP1 and animations.

    Help, please!

    Marko Calasan.

    Hello

    ·         Are you referring to the Aero features in Windows 7?

    I suggest you run the aero Troubleshooter and check if that helps resolve the issue.

    See the link below to open utility troubleshooting Aero.

    Open the Aero Troubleshooter

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Aero-Troubleshooter

    See also:

    Guided Help: Troubleshoot aero in Windows 7

    http://support.Microsoft.com/kb/976170

  • Why the index are lost after recovering from a REPLICATE_PERSISTENT region?

    GemFire Version V7.0.1.3 for region below specifications. java.lang.String com.foo.bar.Positon after recovery of the store persistent it is no markings on the region. All indexes are lost. CacheFactory cacheFactory = new CacheFactory(); cache = cacheFactory.create (); Ins ByteArrayInputStream = new ByteArrayInputStream (cachexmlstring); cache.loadCacheXml (ins);

    OK I understood why the index get lost. Is that the way cache is initialized.

    CacheFactory cacheFactory = new CacheFactory();

    cache = cacheFactory.create (); Cache is created here without consideration of persistence pdx

    Ins ByteArrayInputStream = new ByteArrayInputStream (cachexmlstring);

    cache.loadCacheXml (ins); Now loading data it has no definition pdx index data.

    So now even if I get the data loaded in the regions, when I probe through gfsh, there's no index.

    I just changed the code of

    FileOutputStream ops = new FileOutputStream ("cache.xml");

    OPS. Write (cachexmlstring. GetBytes());

    CacheFactory cacheFactory = new CacheFactory();

    cache = cacheFactory.create ();

    The indexes are coming fine...

  • Whenever Firefox is closed and reopend, all settings (home page, security settings) are reset to zero by default.

    I opened the menu, select the option and the change of things like my homepage, I track my preferences and advanced settings. Every time I close Firefox and then reopen it, my settings are returned to the default settings. Maybe I'm missing a box 'Reset all settings on reboot' I accidentally checked, but I do not. Any help will be great.

    I appreciate it.
    Paul

    Hello

    Make sure that you have no third-party application, such as an antivirus, preventing your preferences to be saved. Some protection software have a feature that protects your preferences be changed by malicious software, but also you can change your own settings. For more information, see How to repair preferences that will not save.

  • Printers are lost after installing updates and could not start get error 1053 service print spooler service message has failed to demand launch or control in a timely

    Original title: print spooler does not - error 1053 - Windows 7

    I have a HP Pavilion dv4-511 with Windows 7.  2 weeks ago I ran a Windows Update and all my printers installed have disappeared after a reboot.  I did a system restore and they were all back.  Yesterday, I installed an update to a software (Soonr) and it's the same thing.  I clicked on the print spooler service to see if I was able to restart and got the error 1053 saying "service did not respond to demand launch or control in a timely." If I click on "Add a printer" in the menu devices and printers, I get the following message: "Windows can't open add printer."  The local print spooler service is not running.  Please restart the spooler or restart the machine. "I rebooted the computer and the same thing continues to happen.  I did a system restore and the printers are all back.  It seems that every time there is a change to any software, it creates this problem.  Help, please! Thank you.

    Hello

    Welcome to the Microsoft community!

     

    When the updates are installed, the printers will be lost and when you try to start the print spooler service, you get the service saying error 1053 has failed to demand launch or timely control.

     

    The problem may occur if some system files are corrupted or because of malicious content.

     

    I suggest you follow the steps mentioned below:

     

    Method 1: File system (CFS) Scan Checker

    SFC scan will find all missing or incorrect system files and repairs them.

     

    See the site:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

     

    Method 2: Scan the computer to remove all possible malicious content

     

    See the site:

    Microsoft safety scanner

    http://www.Microsoft.com/security/scanner/en-us/default.aspx .

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

     

    I hope this helps. If the problem persists, let know us and we would be happy to help you.

     

  • I get a message that says that my security settings are not let activex update page, I have validated before but something has been removed and he said: I may be wrong xp.

    I am running xp, I updated to sp3, but now he says sp2. He let me use auto. updated, when I try to load the update page, it says that my settings do not allow activex loading. If I compare this computer with my other, on the Add/Remove Program page a lot is missing and disordered. most of the programs work, but internet is slow and I fear of not getting updates. all this happened after I got viris and installed the paid version of avg antiviris, but at the same time, I installed the advanced system of care 4. looking among the error logs, I think that part of the System 32 is missing.    PS my name is Pope of maury and im in texas

    Hello

    · What is the exact error that you receive when you try to install updates?

    Change Internet Security in the middle. Follow the steps below:

    a. start Internet Explorer.

    b. click on tools, click on Internet Options and then click Security.

    c. make sure that Internet Zone is selected in the box.

    d. Select the medium security setting, and then click on apply.

    e. close and restart Internet Explorer to apply the changes.

    f. disable your anti-virus software before accessing Windows Update.

    g. start Windows Update and then accept the ActiveX controls.

    In addition, follow the steps in the links below and check if it helps: you can not turn on automatic updates on a Windows XP Service Pack 2: http://support.microsoft.com/kb/916261

    You can not turn on automatic updates when you try to configure the automatic updates of Windows in Windows XP: http://support.microsoft.com/kb/922374

Maybe you are looking for