VPD issue affecting scalability of Application
Hi all --
Our reporting application is using VPD to limit access to the data a user can see. Unfortunately, we are seeing scalability issues when using VPD, so we are wondering if any of you have any insight on what we're doing incorrectly. Here's the scenario:
Users may have access to multiple stores, so the VPD policy is returning a predicate that looks like this: branch_code in ('MNWIN','WIMAD'). Unfortunately with each predicate change we are getting a hard parse of the statement leading to degraded performance.
We have been playing with using sys_context to set the predicate and returning a predicate that looks like: branch_code in sys_context('BRANCH_CTX','BRANCH_CODE') but errors get returned from the policy predicate or the context doesn't get set correctly.
So a few questions:
1. Is this the appropriate forum in which to post this?
2. Is it possible to use sys_context in this way
3. What is the preferred method for using VPD in a nonunique environment (ie: users have access to multiple values)
Thanks!
Leigh Johnson
Fastenal Company
You are correct to use bind variables to expedite the SQL processing. From your code, it is failing because you need to double the single quotes:
RETURN 'branch_code in sys_context (''BRANCH_CTX'',''BRANCH_CODE'')';
Similar Messages
-
I can't seem to get my iMac (late 2009 model) into automatic sleep mode. If I manually put it into sleep I don't have any issues.
I used to solve the issue by running "PleaseSleep" application but that doesn't work anymore since Lion. I now want to fix the underlying problem.
I'm not running any weird background processes and in my energy saver settings I've tagged "put the hard disk to sleep when possible:, "allow power button to put computer to sleep" and "automatically reduce brigthness". All pretty standard.
Is there anyone who can give me some pointers ?Today I solved the same problem for my iMac running Snow Leopard. See https://discussions.apple.com/thread/3008791#15947706. The method may help you, too.
For me it was the DynDNS Updater preventing my iMac from automatically entering sleep mode.
To my knowledge the cause of this sleep problem can only be a peripheral device or a process. So I suggest to first unplug all peripherals and test whether that's the cause. If not, I suggest to terminate one process after another and to test automatic entering of sleep mode after each. Start with user processes; continue with system process if necessary.
At least that's the way I found the offending process. Fortunately, I was able to change the configuration of that process to allow again automatic entering of sleep mode.
Good luck! -
Embedded JMS/OC4J issue while running an application in Jdeveloper 10.1.3.2
Hi,
I am facing an issue while running an application on my laptop.I downloaded Jdeveloper 10.1.3.2.Installed Jheadstart along with that.
Created a new application specified in HR demo.When I run the application I get following messages,After that it does not show my application pages.It does not even open browser window.
[waiting for the server to complete its initialization...]
Aug 29, 2007 6:01:47 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
Aug 29, 2007 6:01:47 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
07/08/29 18:01:55 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized
When I delete persistnce directory files under embedded oc4j (specifically jms.state), It logs following messages.But it does not run my application pages and not even open browser window to display some error.
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config>
C:jdevstudio10132\jdk\bin\javaw.exe -client -classpath C:jdevstudio10132\j2ee\home\oc4j.jar;C:jdevstudio10132\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
07/08/29 18:06:16 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized.
I tried by creating another standalone application with simple html page, it throws same logs and does not show up browser window.I even tried with Jdeveloper 10.1.3.3, but still same issue .
can you please throw some light on this issue and any suggestion for resolutions.
Thanks.Can someone throw somelight on this issue?
I posted the same issue in Jdeveloper forum but did not receive any reply .appreciate your suggestions.
Thanks
Sekar. -
Hi,
I am facing an issue while running an application on my laptop.I downloaded Jdeveloper 10.1.3.2.Installed Jheadstart along with that.
Created a new application specified in HR demo.When I run the application I get following messages,After that it does not show my application pages.It does not even open browser window.
[waiting for the server to complete its initialization...]
Aug 29, 2007 6:01:47 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
Aug 29, 2007 6:01:47 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
07/08/29 18:01:55 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized
When I delete persistnce directory files under embedded oc4j (specifically jms.state), It logs following messages.But it does not run my application pages and not even open browser window to display some error.
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config>
C:jdevstudio10132\jdk\bin\javaw.exe -client -classpath C:jdevstudio10132\j2ee\home\oc4j.jar;C:jdevstudio10132\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
07/08/29 18:06:16 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized.
I tried by creating another standalone application with simple html page, it throws same logs and does not show up browser window.I even tried with Jdeveloper 10.1.3.3, but still same issue .
can you please throw some light on this issue and any suggestion for resolutions.
Thanks.I am also facing the same issue on my laptop. I searched for forum but no luck.
appreciate if anybody can throw some light on this. -
Any known issue about running Swing application in WTS?
*{color:#0000ff}Is there any known issue about running Swing Application in Windows Terminal Server?{color}*
It is started using JWS from internet (I mean, it checks if there is an avaiable update and updates or just fun).
_*{color:#800000}+The problem is that just one machine can open the application at the same time+*_
_*{color}*_
*{color:#666699}Is there any config in java or jws to run properly several instances of the application (terminal clients)?{color}*
Edited by: Franzisk on Sep 24, 2007 6:16 PM876587 wrote:
... and that cause the other threads cannot access the JNI. The same application works fine on other Solaris 10 machines.
Different environments mean just that. So something could be causing it outside java.
Additionally if anything at all is different in the execution data, such as even a name having a different size, then it would change the execution path.
Which would cause a problem in the JNI code to manifest itself on only one box. Probably isn't a pointer bug but all sorts of odd behavior can result from that. -
NTDLL.DLL issue with HRBLOCK.EXE application
I am on Windows 7 64-bit and everything works fine. I recently downloaded the 2014 H&R Block Tax program on my new computer and ran the installation. Installed fine. Go to use it and it starts up but fails with a reference to NTDLL.DLL
and H&R Block is stating it is not their problem but a Microsoft issue. Can find any fixes and this is stressing me out.
The information from the event log is listed below. Any assistance would be appreciated. Note I have processed SFC /scannow with no issues.
Log Name: Application
Source: Application Error
Date: 1/18/2015 12:16:16 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: B21NL12.corp.pcconstruction.com
Description:
Faulting application name: HRBlock2014.exe, version: 2014.2.0.5501, time stamp: 0x549461f3
Faulting module name: ntdll.dll, version: 6.1.7601.22436, time stamp: 0x521eaa80
Exception code: 0xc015000f
Fault offset: 0x000845f9
Faulting process id: 0xbc0
Faulting application start time: 0x01d0334276d057a5
Faulting application path: C:\Program Files (x86)\HRBlock2014\Program\HRBlock2014.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: b5a8cfe7-9f35-11e4-88cf-f8165496897a
Event Xml:
<Event xmlns=>
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-01-18T17:16:16.000000000Z" />
<EventRecordID>27735</EventRecordID>
<Channel>Application</Channel>
<Computer>B21NL12.corp.pcconstruction.com</Computer>
<Security />
</System>
<EventData>
<Data>HRBlock2014.exe</Data>
<Data>2014.2.0.5501</Data>
<Data>549461f3</Data>
<Data>ntdll.dll</Data>
<Data>6.1.7601.22436</Data>
<Data>521eaa80</Data>
<Data>c015000f</Data>
<Data>000845f9</Data>
<Data>bc0</Data>
<Data>01d0334276d057a5</Data>
<Data>C:\Program Files (x86)\HRBlock2014\Program\HRBlock2014.exe</Data>
<Data>C:\Windows\SysWOW64\ntdll.dll</Data>
<Data>b5a8cfe7-9f35-11e4-88cf-f8165496897a</Data>
</EventData>
</Event>Hi Randy ,
Ntdll.dll file is a file created by Microsoft that has a description of "NT Layer DLL" and the file contains NT kernel functions.
Considering you have performed a system health scan and there is no problem found .There is still a possibility that the installation of this program has suffered a corruption though there is no error found during installation .
Have you tried to uninstall and reinstall it to have a check ? Please ensure you have got the latest version of this program .
Meanwhile I found a similar symptom and the OP has resolved it ,it may be helpful to you .
2014 HR Block Premium Fed+State - Program crashed(Pay attention to steveu1`s answer )
http://community.hrblock.com/t5/DIY-Products/2014-HR-Block-Premium-Fed-State-Program-crashed/td-p/57634#.VL4ANHkfrwo
NOTE: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites.
Best regards -
Im getting a pop up to fix all issues affecting your system status by activating MacKeeper. should i activate?
No, no, no. MacKeeper is legit virus protection software BUT it's very poorly written. I had it on my Mac and, on occasion, it would take three or four minutes to do something as simple as opening a folder. I did some investigation and found that MacKeeper was consuming 200% or my processor when the virus protection kicked in. Don't ask. I can't explain a figure greated than 100%. In any event, I deleted MacKeeper and the problem was instantly solved.
For the record, virus protection is really unnecessary with a properly maintained Mac. I bought MacKeeper for the purpose of retrieving a trashed file from a jump drive. It couldn't do that, either!
Finally, MacKeeper is only for the Mac - you couldn't install it on an iPad even if you wanted to. -
Will this installation issue affect me?
Before Oracle Database installation with 10g release 2, the OUI checks the prerequisites and informs that the following test has failed:
Checking Network Configuration requirements ...
Check complete. The overall result of this check is: Failed <<<<
Problem: The install has detected that the primary IP address of the system is DHCP-assigned.
Recommendation: Oracle supports installations on systems with DHCP-assigned IP addresses; However, before you can do this, you must configure the Microsoft LoopBack Adapter to be the primary network adapter on the system. See the Installation Guide for more details on installing the software on systems configured with DHCP.
I plan on doing Java development with JDeveloper. Will this issue affect me, or should I just go ahead with the installation? Thank you in advance.What platform are you using? I assume Windows but which version?
Is the error message correct? Are you getting your IP address from DHCP (like a Comcast Internet account)?
If so then, yes this will affect you and you must install the Loopback Adapter. Don't worry, it's extremely easy. There are directions for it in the Oracle installation manual for Windows. -
Intermitant issue in CRM dynamics application
Hi ,
We are facing intermittent issue in CRM dynamics application.
Issue-Submut button is not bringing records which it should bring even-though it is displaying progress bar.
I tried to execute the script from command prompt then the failure rate reduces to 6 out of 10 times(earlier it was working for 1 out of 10 times only).
While doing manually it is working fine, issue is pretty critical for us, kindly respond at the earliest.
Thanks in advance.Hi Prashant1307,
>>We are facing intermittent issue in CRM dynamics application.
Actually this forum is to discuss the Test issue, but I didn't find test information, whether it is related VS test project like unit test or other test type?
But if it is just the CRM dynamics application issue, please post this issue to the CRM forum here:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=crm
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to use vpd to restrict rows by application and schema_name?
We have a need to reuse a schema name many times in a test/dev. environment. Normally we just create a new instance so development can test their apps. using the same schema_name, let's call it test_user. This is very tedious and time consuming to create many db's and sometimes we don't have the hardware to support so many db's. So I was wondering if I could use vpd and an application_context to restrict the rows & columns that can be seen. But instead of restricting it by schema_name I want to restrict it by schema_name and another env. variable like app_name or something similar. So when the middle layer connects with test_user user name and the app is called accts_payable they see parts of the rows that pertain to them. But if the middle layer connects with the test_user user name and the app is called accts_payable2 they see completely different rows. Any help would be appreciated.
Thanks,
GeorgeI was hoping someone else had already been down this path so I don't have to re-invent the wheel. But it looks like I'm going to go down that path. I did find something in the manual that may help but again it's not exactly what I was hoping for so I will have to test it. It mentions using dbms_session to set the application name in the environment like this:
Consider the application server, AppSvr, that has assigned the client identifier 12345 to client SCOTT. It then issues the following statement to indicate that, for this client identifier, there is an application context called RESPONSIBILITY with a value of 13 in the HR namespace.
DBMS_SESSION.SET_CONTEXT( 'HR', 'RESPONSIBILITY' , '13', 'SCOTT', '12345' );
Thanks for your help on this. If anyone else has been through a similar situation please reply.
Thanks,
George -
Issue Undeploying and Deployment Application in Weblogic Cluster
We have a production environment wich has one cluster with 40 servers in it. The problems lies when we select one application to undeploy. Weblogic response in administration console says that the undeploy is finished, but when I try to deploy another version of the application it only affect one of the 40 servers of the cluster, the other 39 servers are still with the old version of the application in memory.
If I restart all the servers it works and all the 40 server get the new version of the application.
Now we want to do continuous deployment and scripting all the deploy process and we don't want to restart all the 40 servers every deploy.
Is there any limit of servers in a cluster? I'm saying this because it didin't occur in the stage environment with one cluster with 5 managed servers.
Do I need any specific node manager configuration to undeploy this 40 managed servers?
I look in the internet and didin't find any issues related to this.Sharmela,
Looks like the undeploy command did not clean up the stage directories of the managed server properly.
There is no limit on the number of managed servers in a cluster or in a domain. But again you need to plan the number based on the hardware and memory settings.
We have two hexalogics, the problem here is not hardware.
Do I need any specific node manager configuration to undeploy this 40 managed servers?
What exactly you mean by undeploying managed server ? You want to remove them or bring them down ?
Sorry about that, I want to know what should I do to undeploy the application properly in the 40 managed servers(not bringing them down). I've heard something about staging mode but i've already tried to put ---nostage paramenter and the result was the same.
Do you have any clue why weblogic is not cleaning the stage directories? Is there any way to force it without restarting all the servers?
Thank you very much,
Gustavo -
Full craw issue with specific web application
We are using SharePoint 2013 Enterprise (15.0.4569.1000). We have public facing (publishing site) with anonymous access enabled on it. While crawling this site we are using default Content Source called "Local SharePoint sites" where we have following
settings.
Start Addresses - http://SP2013APPSRV
Crawl Settings - Crawl everything under the hostname for each start address
Crawl Schedules - Enable Incremental Crawls
With this configuration we try to perform Full Crawl of this content source. the status of this content source goes to "Starting" then to "Crawling Full" and after some time then to "Idle" state. The overall crawl duration never
goes beyond 3-4 minutes. With this if we check the "Crawl Log" screen then except for "Successes" = 1 every other column shows 0 even the "Errors" or "Top Level Errors" column shows no record. Getting into the Success
items we found that the crawling was only done for the single item which is nothing but the start address that was specified into the content source settings (http://sp2013appsrv). Because of this it seems the crawling is not working correctly to pull all
the sub contents of the given host URl, instead it only pulls the top level link. There is nothing helpful in Verbose - ULS logs or event viewer either.
With further analysis of this we found that this issue only exists with single web application only. Because adding another web application URL into the same Content Source does crawls all the contents properly of that web application but still shows single
index item for problematic web application.
Could someone please help us with this issue ?Hi Ajay,
Based on your description, you have some problems in doing full crawl of a specify web application.
1. Check if the crawl account has 'full read' access to affected web application.
2. Check if allow this site to appear in search results in the search and offline availability in the site setting.
3. Check if you have
opened the urlMappings in SharePoint that will hinder the search function crawls. If you add the code as below into the web.config to open the
urlMappings, it will not crawl the web application.
<urlMappings
enabled="true">
<clear
/>
<add
url="~/Home.aspx"
mappedUrl="~/Default.aspx?tab=home"
/>
<remove
url="~/Home2.aspx"
/>
</urlMappings>
4. Try to reset your search index and then do a full crawl.
The article gives you the details about how to reset your search index.
Best regards,
Victoria
Victoria Xia
TechNet Community Support -
OID SSO Logout issue from the partner application
As per the below link I am trying the logout functionality from the partner application,
http://download.oracle.com/docs/cd/B14099_19/idmanage.1012/b14078/tpsso.htm#i1011555
The article talks about a logout url pattern, I am trying to execute the below from the partner application.
https://single_sign-on_host:single_sign-on_ssl_port/pls/orasso/orasso.wwsso_app_admin.ls_logout?p_done_url=done_url
The issue I got is OID server is not redirecting to the p_done_url, it just stays in the same OID logout page, Do I have to create any configuration entry to get the redirection working?
ThanksHi All,
Providing more information,
What I get is the OID logout screen with two return buttons on top and bottom of the page.
If I found is when I click any of those it goes to the p_done_url but What I want is
instead of stopping in the OID logout page, auto redirection to the p_done_url,
Can this be done.
Thanks -
Issue with Agents in Application DNS domains
I have a confusing scenario. We have a number of servers being monitored that have their DNS in an application domain, not their true AD domain. When installing the SCOM agent it picks up the application domain FQDN (properties tab of the agent) and not
the true AD FQDN. The console shows the servers by true AD FQDN. The servers show up in the console as "Not monitored".
I have not found a config file or registry entry where I can change this. One option I thought of is to remove the explicit "Primary DNS suffix for this computer", install the agent, then put the application domain suffix back. That is a lot of
work, though.
Any other suggestions so I can get these systems monitored?
Thanks,
SteveHi,
We should check operation manager logs on the agent, and check out any related messages there, if there is no errors or warnings, then I would like to suggest you remove agent from the problemtic computer and clear caches, and then manually reinstall the
agent and check the result.
If the issue is still there, we may try your method.
In addition, also hope the below link be helpful:
Fixing troubled agents
http://blogs.technet.com/b/kevinholman/archive/2009/10/01/fixing-troubled-agents.aspx
Regards,
Yan Li
Regards, Yan Li -
Issue while opening MAP application in SAPGUI720
Hi all,
We have installed SAPGUI720 in our Windows7 test machine , when we click on SAP MAP FRONT end application in BEX. We are getting the Error message "License information for this component not found.You do not have an appropriate license to use this functionality in the design environment" and if we click okay another message "ActiveX component can't create object".And the application does not open and we are stuck here.Any help here would be highly appreciated .Dear Poster,
As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
Best Regards,
SDN SRM Moderation Team
Maybe you are looking for
-
Error while connecting to SAP Server from Windows XP Client.
Hi, I am facing the problem while i am trying to connect my Windows XP Clients( With Service Pack 3, DI-API Installed and Microsoft SQL Server Native Client Installed) to SAP server i got follwoing Error. Connection Failed : SQL State : '08001' SQL S
-
I know this is a redundent thread, but I really need some help here.Since upgrading to mountain lion, Indesign, Illustrator and dreamweaver have all started crashing on launch. Specifically when trying to restore a previous session/document. I have t
-
Hi everyone. Putting this here as I could not find a better forum. My company's Macs are bound to a Mac OS X Server, but it's the Active Directory binding that is the issue. We have a number of Macs, running 10.6.8, that starting sometime recently, b
-
I've update MacBook Pro, iPhone 3GS & iPad 2 to latest version. I'ver enable photo stream on all device. but i never success transfer any photo. i take photo on iPhone or iPad, it won't show on photo stream folder and upload to iCloud. i drag photo t
-
Bit of layers confusion with drop down menu
Hi guys. I have been teaching myself web design for about 4 months, and am still pretty clueless about a frightening amount of stuff. I am really in a bit of a mess and am hoping someone can help me out it. I am doing a web site that needs to have a