Removal of the model of the application via the API - 11 g
Hi allI try to delete a query template customized via API but is "outdated data Exception error".
Code:
{} public static void deleteCustomRequestTemplate (long requestTemplateKeyValue)
System.out.println ("inside deleteCustomRequestTemplate");
OIMClient oimClient = null;
try {}
oimClient = Utility.getConnection ();
RequestTemplateService requestTemplateService = (RequestTemplateService.class) oimClient.getService;
System.out.println ("before you remove the request template');
requestTemplateService.deleteTemplate (requestTemplateKeyValue, new Timestamp (new Date () .getTime ()));
System.out.println ("application model has been deleted");
} catch (StaleDataException sde) {}
sde.printStackTrace ();
} catch (Exception e) {}
e.printStackTrace ();
}
}
Error:
oracle.iam.platform.kernel.StaleDataException: stale data while editing or deleting the ID 123 of the application model.
at oracle.iam.request.repository.RequestTemplateManager.verifyStaleData(RequestTemplateManager.java:567)
at oracle.iam.request.repository.RequestTemplateManager.deleteTemplate(RequestTemplateManager.java:495)
at oracle.iam.request.impl.RequestTemplateServiceImpl.deleteTemplate(RequestTemplateServiceImpl.java:57)
at oracle.iam.request.api.RequestTemplateServiceEJB.deleteTemplatex (unknown Source)
It means I have to restart my DB server or am I in the wrong way?
Hello
Here is the code under test, it worked fine:
RequestTemplateService requestTemplateService = (RequestTemplateService.class) oimClient.getService;
RequestTemplate requestTemplate = requestTemplateService.getTemplate ("Testing");
System.out.println ("before you remove the request template');
System.out.println ("last modified Time" + requestTemplate.getLastUpdatedTimestamp ());
requestTemplateService.deleteTemplate (requestTemplate.getId (), requestTemplate.getLastUpdatedTimestamp ());
System.out.println ("successfully removed ::");
Kind regards
Raghav.
Tags: Fusion Middleware
Similar Questions
-
http connections fail after removing an application via the BES
This is consistent - happened on three different phones.
Measures taken since the BES
1 deploy an application that uses an HTTP (definition of a custom policy of IT) through the BES connection. Everything works fine
2 remove the app (by its configuration was rejected.)
3. assign the policy to the default device
4 configuration of the software place the device no
5 deploy
5. wait and check that app has been removed from the default value of advertising device it in place policy
Now, the unit measures
1. install the app even through Javaloader - now http connections fails
On the curve (Rogers)
java.io.IOException: Tunnel failed
on Tour (Verizon)
javax.microedition.io.ConnectionNotFoundException: Protocol not found: net.rim.device.cldc.io. "http. Protocol
Any ideas?
Turns out I had put extra quotes in my url string. It works fine now.
This diagnostic network (DB-00684) tool was very useful.
-
I just bought an Iphone 6s and not yet am possession of en from the Sim Card. Ook, do you know if I can use the phone including applications via Wifi and put the chip later? Thank you. Renault JL
No, because if you bought a new iPhone, then you need a SIM card to activate it before you can use the wifi applications.
This is a phone after all, you don't need a sim card any to be able to activate it.
-
Detect when an application is removed from the device.
Y at - it a mechanism that can help by asking the application when it is suppressed by the user, it may be necessary to do some accounting operations when the application is removed by the user. ?
-Thank you
At least for the moment, there is no way.
I wonder if there should be any of this necessary accounting though. If you store application-specific files in the shared folders, you are probably violating the design guidelines for the file system. Apps should always store their own data inside their files of sandbox.
If you store files readable by other applications in the shared folders, that's fine, but then you should not try to remove these when uninstalling.
I know I make generalizations without knowing your particular case... I wanted to just make sure that you do not have one of the most obvious things as 'bad'.
In the future, it is possible a uninstall hook will be available as part of the call, although I doubt that's going to be one of the first things they add in the next updates (10.2 or more). It's most probably not one that has even been asked yet, so I encourage you to file a feature request in the developer Issue Tracker if you really need this (and don't forget to explain in detail the use case).
-
Invoke the application via a custom protocol URL browser
With the new breed of OAuth2 API such as Pocket there is now more and more need for apps complement the OAuth2 flow in default browser OS outside the Application. It also means that once the Auth process is complete, there must be a way to invoke app or pass data to browser application via redirect URL.
Currently it seems achievable on platforms like android by registering a custom for an application URL protocol handler. This way browser can use redirection what custom URL with a Protocol and application would be invoked via redirects and the address bar of the browser.
I see that current invocation framework supports the URI patterns but I can't make it work, can someone point me to any example of code that allows the invocation of application via browser?
This sample project should show you what files are used for oauth2 https://github.com/kylefowler/foursquare
-
How to destroy an object persistent on the removal of the application
Is it possible to make an app that retrieves a persistent object and start when the application is removed by the user, the application also removes the object persistent (using PersistentStore.destroyPersistentObject (long key))
If you use a custom object (create persistable) it is deleted automatically to the application.
There is no way otherwise.
-
..
716769 wrote:
Please update your forum profile with a recognizable username instead of "716769": Video tutorial how to change username available
APEX packaged applications, it is possible to edit the models on the universal theme of the APEX 5. How can I enable editing of model on my applications?
APEX 5.0, application themes are announced to a default theme. As a result, the theme templates are locked and cannot be changed. To change the templates, unsubscribe the theme of the master.
-
There is an error when I try to download an application via the cloud
When I try to download an application via the cloud, there are 34 error:
Exit code: 34
Please see specific errors below for troubleshooting. For example, the ERROR:
-------------------------------------- Summary --------------------------------------
-fatal error 1, 0 error (s)
FATAL: Payload "Package Microsoft redistributable Visual C++ 2010 (x 64) 9.0.0.64 {9D2A060F-AC6B-11E0-8C00-00215AEA26C9}' information not found in Media_db."
-------------------------------------------------------------------------------------
Because of this fatal error, I'm not to download software cc,
I already see for this error but not found
I'm on PC
Hello
Please refer to get fatal exit Code 34 when installing an application
Concerning
-
I downloaded a trial version of Adobe DC but don't want I want just the free reader. I can't remove it as he advises Adobe application Manager and outlook use the files. I closed, restarted and set it up again, but it does not work. How can I remove the program
Use of the Adobe Creative Cloud cleaning tool to solve installation problems can help
-
ASP is removed during the updating of model
Hello
I have a strange problem that I can't seem to find an answer.
I use Dreamweaver templates, and on some of my individual pages, I also use the ASP code for contact forms.
In theory, this code is outside the model and should not be removed when I do an update of the model because codeOutsideHTMLIsLocked is set to false.
The bold code line is the ASP code on the pages of my child, and whenever I update the model of what this line of code is deleted. It seems that if I remove the @ symblo code isn't are deleted. But I don't think that it is no longer valid ASP.
< % @ Page Language = "VB" CodeFile = "default.aspx.cs" Inherits = "contact form" ResponseEncoding = "utf - 8" % > ' "
< ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
" < html xmlns =" http://www.w3.org/1999/xhtml " " > <!-InstanceBegin model = '... / Templates/Main.dwt.aspx ' codeOutsideHTMLIsLocked = 'false'->Now when I run an update on my main model and check the page of my child, the ASP code is deleted.
The strange thing is that if I use the placeholder instead of this text, it is not stripped/removed from the model.
The pain, is that I have about 10 pages (for now) to add this line whenever I update the model, what is happening actually more now.
Anyone know why this particular ASP code is deleted at any time update my hand model?
Thank you
M
/ edit: it seems that if I remove the @ eline, I can code for 'stick' and not be deleted.
Since you're using ASP.NET, it seems to me that you probably don't want to use Dreamweaver server behaviors. If you are happy for Dreamweaver lock code outside of theTags (both above) and add the following code inside the
in the Templates folder .dwt file:This will help keep your ASP.NET code at the top of the page in the pages, created from the template. However, you will not be able to add a new code above or below the HTML code without detaching the template page.
-
Extract the elements of the application via command line
Hi all
I can extract the application of the elements of the option extract-> elements of the application.
Is it possible that I can automate this command line or any other method
Thank you
Kind regards
TVMK
Yes, LCM is a command line utility that can be fully automated for these elements of snapshot off. Take a look at the document of LCM
http://docs.Oracle.com/CD/E17236_01/EPM.1112/epm_lifecycle_management.PDF
As mentioned, the API is another way too but who can take over installation but doable.
Thanos also gave some options you could look.
If the information provided to the clarity/confirmation that you are looking for be sure to close the thread for the other members of the community may be able to find the solution at the appropriate time in the future.
-
A site of mine was removed from the blacklist of Google, but he still has "Reported attack Page" even though I've updated for Firefox 18.0.1. (See the bug 820283 - https://bugzilla.mozilla.org/show_bug.cgi?id=820283)
This looks like a problem with the sponsor.
It occurs if the sponsor is disabled, so it seems that your server is still infected and redirects if it detects a godfather of Google.Forcing the godfather to Google and force a reload causes already forwarding.
http://www.Google.com.my/URL?SA=t & RCT = j & q = % 22minda % 20jaya % 20language % 20center % 22 & source = Web & CD = 1 & CAD = AJLN & ved = 0CC0QFjAA & URL=http%3A%2F%2Fmj.edu.MyYou will need to contact the host to look into this.
http://mj.edu.my/ GET / HTTP/1.1 Host: mj.edu.my User-Agent: Mozilla/5.0 (X11; Linux i686; rv:18.0) Gecko/20100101 Firefox/18.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: http://www.google.com.my/url?sa=t&rct=j&q=%22minda%20jaya%20language%20center%22&source=web&cd=1&cad=rja&ved=0CC0QFjAA&url=http%3A%2F%2Fmj.edu.my%2F&ei=zYkHUcn7BO-k0AXS1oCwBg&usg=AFQjCNFk9gMFEWhR1Sb6huleXTJlop0lOw Cookie: fff58b804557285b9ce67d60b784a3d9=fee645cf421d30ecdacd55bb0798e922; s5_qc=6346dc723395e1ee8ef57f4883be4cb4a4xn Connection: keep-alive HTTP/1.1 302 Moved Temporarily Server: Apache X-Powered-By: PHP/5.2.17 P3p: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM" Location: http://0001.2waky.com Content-Length: 0 Keep-Alive: timeout=3, max=10 Connection: Keep-Alive Content-Type: text/html
http://mj.edu.my/ GET / HTTP/1.1 Host: mj.edu.my User-Agent: Mozilla/5.0 (X11; Linux i686; rv:18.0) Gecko/20100101 Firefox/18.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Cookie: fff58b804557285b9ce67d60b784a3d9=fee645cf421d30ecdacd55bb0798e922; s5_qc=6346dc723395e1ee8ef57f4883be4cb4a4xn Connection: keep-alive HTTP/1.1 200 OK Server: Apache X-Powered-By: PHP/5.2.17 P3p: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM" Expires: Mon, 1 Jan 2001 00:00:00 GMT Cache-Control: post-check=0, pre-check=0 Pragma: no-cache Set-Cookie: s5_qc=3416a75f4cea9109507cacd8e2f2aefca4xn Last-Modified: Tue, 29 Jan 2013 08:37:43 GMT Keep-Alive: timeout=3, max=10 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8
-
I signed up for Windows live on Facebook. MY MISTAKE! How can I cancel it? I had my email account: * address email is removed from the privacy * for many years. NOW I CAN'T ACCESS IT. Now, he asks me my password which I do not remember. When I press the line (do not remember the password), he asks security question "what is the name of your favorite pet" that I have NEVER BEEN ASKED. Then he said: I'm wrong. WHEN YOU SAY YOU EMAIL, THE ANSWER WILL REMEMBER, I CAN'T ACCESS MY MSN ACCOUNT.
I want to just my old e-mail account back and none of the Windows Live JUNK!
I'm about to switch to Gmail.
Hello
You must include other information such as the make and model of the computer, the mail provider
(Hotmail or WLM - probably Hotmail since you said MSN) and other relevant information.How to ask a question
http://support.Microsoft.com/kb/555375=================================
Answers is a peer group supported and unfortunately has no real influence on Hotmail or MSN.
HotMail has its own Forums, so you can ask your questions there.
Windows Live Solution Center - HotMail - HotMail Forums Solutions
http://windowslivehelp.com/
Hotmail - Forums
http://windowslivehelp.com/forums.aspx?ProductID=1Hotmail - Solutions
http://windowslivehelp.com/solutions.aspx?ProductID=1How to contact Windows Live Hotmail Support
http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htmWindows Live Hotmail Top issues and Support information
http://support.Microsoft.com/kb/316659/en-usCompromised account - access unauthorized account - how to recover your account
http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41Hotmail hacked? Take these steps
http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspxI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">->
-
original title: missing file
Miss me the windows system32 rundll32.exe. I can't access the Add/Remove in the control panel.
I tried to start - run with my c/d operating system
I checked for viruses
I purchase software to remove etc and REG files.
Now that the devil do?
Thank you
If this
I tried to start - run with my c/d operating system
means that you have tried to use sfc/scannow from start > run, your experience is not surprising. This 'solution' is often suggested by people who don't really understand what this command does. It does not help to restore a missing rundll32.exe file.
For what is
I checked for viruses
What is the name and version of your anti-virus application? When (approximately) their subscription expires? What other antimalware applications installed? What other antimalware applications you used recently to scan your computer?
If you have not yet used the "software to remove the REG files and etc." return for refund or throw it out. "Registry cleaners", 'tuners', etc. are not useful. If you used to "clean" the registry, use its "undo" feature (if it has one) to restore the registry. Longtime MS MVP PA Bear:
TIP: If you still think again your registry database must be cleaned, repaired, amplified, to the point, healed, twisted, fixed, enlarged, "swept" or optimized (it isn't), read http://aumha.net/viewtopic.php?t=28099 and draw your own conclusions. See also http://blogs.technet.com/markrussinovich/archive/2005/10/02/registry-junk-a-windows-fact-of-life.aspx
What probably happened is that your antivirus application deleted or quarantined in your file rundll32.exe thinking he was infected. He could have, but probably not. In any case, read the post that begins, "That 'solution' is not on my list." in the following thread: http://answers.microsoft.com/en-us/windows/forum/windows_xp-performance/systemrundllexe-not-found/6e30aff2-a88e-4d86-a654-753d54f632d1 you can also read the rest of the posts in this thread.
Note that c:\windows\system32\dllcache is a hidden folder, but you who type in the address bar of Windows Explorer (or copy and paste), the folder should open anyway.
Assuming you manage to restore rundll32.exe, download, install, update and run full scans (not at the same time) with each of the following free tools.
-
How can I remove all the unused files to clear a space
How can I remove all the unused files from my computer
You can remove applications on the control panels. XP seems to me (im not on a XP ATM machine) programs cpanel
Files? you do not (or should not) delete separately
-
Original title: wrinkles in text
I regularly get wrinkles dividing the text which I cannot remove. The lines seem to occur after the typing of consecutive asterisks intended to divide the text segments.
Much appreciated assistance by removing the lines.
Thank you ~.
1. you must identify which application you use to create your documents.
2. in addition to the name of the application, you must specify its version.
3. Please ask your question in the appropriate forum. Assuming that you are dealing with a version of Microsoft Word, which would be the forum Microsoft Office Word.
4. Notwithstanding the foregoing, if you use Word 2003, 2007 or 2010, see--> http://www.techrepublic.com/blog/msoffice/add-horizontal-lines-to-a-word-document/3886
Maybe you are looking for
-
the HP z230 sm bus controller error
Hi Forum,I write the following question... I noticed a yellow exclamation next to my computer in the devices menu. I tried to update the driver and to help out... but nothing helps. I reinstalled the chipset driver and the drive of the AMT without su
-
Mail.app encryption does not work in El Capitan
I've been encryption of e-mails between colleagues and had years of this work on all OS x versions and it still works on the iPhone. However, I bought a new 12 "and did a fresh install and now cannot operate on El Capitan. My certificate is in Keycha
-
VISTA HOME PREMIUM COMPATIBLE OR NOT
CAN I DOWNLOAD AND USE THE NEW WINDOWS MEDIA PLAYER 12 ON MY VISTA HOME PREMIUM OPERATING SYSTEM
-
Does the HP 2311gt 23 "3D LED monitor support 120 Hz refresh rate?
I just want to know if the HP 23 inch diagonal screen 3D LED 2311gt supports 120hx refresh rate. I couldn't find anything in the specifications of the product, so I asked here. The data sheet says nothing at 120 Hz, but 3D monitors usually support 12
-
Messed up computer volume!
For awhile now, sometimes when I start my computer (Windows 7 Home Premium) it will work very well so I'll do something with audio, like reading a video and the video does not play. Hey... I start a game. No sound. I check the settings. 100% for the