Disabling user interface until http request is finished
We are using JDeveloper 11 TP2 and we have fallowing problem. In our jspx pages (ADF Faces) in case when user clicks command button after it has been already clicked and before that first request is finished then action listener is triggered twice. We want to prevent that multiple action listener execution. How we can do that? Is there any way to maybe disable user interface until the request is finished.
Thanks in advance
We have solved our problem. Our solution is not general but in our case is good enough.
I have done it like this:
In jspx page we put javascript method.
function setToolbarButtonDisabled(ev){
ev.getSource().setDisabled(true);
On button that should be disabled after click put Client Listener.
<af:commandToolbarButton text="#{ui_labels.newPartners}"
icon="/images/new_ena.png"
id="createPartnersBtn"
binding="#{partnersBacking.createPartnersBtn}"
actionListener="#{partnersBacking.createNewPartners}">
<af:clientListener method="setToolbarButtonDisabled"
type="click"/>
</af:commandToolbarButton>
With this after first click button is unabled .
Later when we need to enable button we do it with method
public void enableBtn(RichCommandToolbarButton btn){
btn.setDisabled(false);
AdfFacesContext.getCurrentInstance().addPartialTarget(btn);
This method is in backing been for that page and it is called in action listener for action (click on some third button ) that should enable disabled button.
Similar Messages
-
Use Group Policy to disable user interface items and shortcut keys in IE
Hi,
We are creating a kiosk mode of IE with full restriction to the machines drives and other applications. For that we need to disable all the shortcuts keys like ctrl, shift, alt and combination of these keys. Can anyone help me on this. i want to done this
through GPO. Client machines are windows 7 and we are having windows server 2008 R2 (AD server).
Thanks,
UdayaKumar SI need to disable the ctrl, Alt, and shift keys and combinations of these keys with other keys as for example, cltrl+H, Ctrl+o, ets., and most important thing is, we need to apply it only through GPO not by using any other tools/ applications.
I'm not aware of any GPO-only methods to achieve your goal (hence my other suggestions), sorry.
Others might comment here with their thoughts/suggestions/experiences..
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!) -
How to display hourglass until request is finished
I want to display an hourglass (or alike) when a user clicks a button and has to wait several seconds until request is finished.
How can I do this?
Where can i find some simple examples?
Where can I find other 'objects' to be used instead of an hourglass?package wait;
* WaitCursorDemo.java
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
import javax.swing.SwingWorker;
import test.*;
public class WaitCursorDemo extends JFrame {
private SwingWorker worker ;
private JButton btStart;
private JLabel lb;
public WaitCursorDemo() {
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
setSize(400,300);
setLocationRelativeTo(null);
btStart = new JButton("Start");
add(btStart, BorderLayout.NORTH);
lb = new JLabel();
add(lb);
btStart.addActionListener(new ActionListener() {
public void actionPerformed(final ActionEvent e) {
start();
private void start(){
worker = new SwingWorker() {
protected Object doInBackground() throws Exception {
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
lb.setText("Please wait...");
try{Thread.sleep(3000);}catch(InterruptedException ex){}
setCursor(Cursor.getDefaultCursor());
lb.setText("Done");
return null;
worker.execute();
public static void main(final String args[]) {
EventQueue.invokeLater(new Runnable() {
public void run() {
new WaitCursorDemo().setVisible(true);
If you don't have JDK6, you need to download and compile the "SwingWorker" source code
to be able to use it. Here it is:
http://java.sun.com/products/jfc/tsc/articles/threads/src/SwingWorker.java
The API is a little different:
worker = new SwingWorker() {
public Object construct() {
setCursor(new Cursor(Cursor.WAIT_CURSOR));
lb.setText("Please wait...");
try{Thread.sleep(3000);}catch(InterruptedException ex){}
setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
lb.setText("Done");
return null;
worker.start();
}Message was edited by:
Andre_Uhres
Message was edited by:
Andre_Uhres -
Disable Items in User Interface - Custom
I have been looking through the Control Identifier/Policy ID number from the spreadsheets below.
http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=6627
I have been unable to find the following item in order to remove it using group policy. Can someone tell me definitively if it does not exist and if it does what is the correct ID in order to disable it through User Configuration->Administrative
Templates->Microsoft Outlook 2010->Disable Items in User Interface->Custom.
Under Tasks, New Task, Assign Task there is a check box next to "Send me a status report when this task is complete" that I want to remove.
Thanks,
-EthanHi Ethan,
>>Under Tasks, New Task, Assign Task there is a check box next to "Send me a status report when this task is complete" that I want to remove.
Sorry, based on my knowledge and test, there is no corresponding policy ID to disable this checkbox.
In addition, I searched around and found that this setting should correspond to the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\options\Tasks
AddToUpdList
Regarding this point, the following article can be referred to for more information.
Task Options not in Outlook Object Model - Registry Workaround
http://www.outlookcode.com/threads.aspx?forumid=4&messageid=32320
Please Note: Since the website above is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Best regards,
Frank Shen
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
How can I display step info in User Interface with Tracing Disabled?
I'm trying to modify the CVI Operator Interface application to update the execute panel with some step information during the execution of the program. i.e. I want to display the measurement, high & low limits during the run WHEN TRACING IS DISABLED. (Doing this, when tracing is enabled is easy, all you do is access the step record that's been constructed (I can cope with that!))
I've successfully implemented a User defined execution event to signal the User Interface application when the current step is a result (using TS_UIMsg_UserMessageBase etc. I'm posting a UI Message in the Process Model under the ProcessModelPostStep so that I will only display if its a result step.) I've added a user defined
entry in the execute.c module execution event switch statement which will call a function in the exedisp.c module to update the display. However, I don't have a context to the step that I can use. (I can't use e.g. the exeRec record since this is only completed with the context if tracing is enabled.) I've got a handle to the correct panel to write the information to, but how do I get the context to the current step when tracing is disabled?
Regards,
BrianHi,
no problem - btw, if you wanted to acheive this in TS 1.x, you could always write to a local variable with the ActiveX reference for the step concerned, and then use the msg reference that you have in the OI within the UI Message handler, to dig through to the Execution ->Sequence File->Sequence->Locals, or Execution->Thread->SequenceContext (and you can get almost anywhere from that).
Hope that helps
S.
// it takes almost no time to rate an answer -
Re: (forte-users) HTTP request through proxy server
Daniel -
No, it does not. ;)
How do you say to HTTPRequest to go through proxy?
Thanks,
Taras
Daniel Nguyen wrote:
>
Hi,
It works very well. I have experienced this model for a distant Forte client
calling a Forte Server service Object for instance without any environment
and without TCP access (passing through firewall for instance).
It has also worked very well to make an injectot to improve Web Enterprise
and IIS using the SendRequest from HTTPAccess.
Hope this helps,
Daniel Nguyen
Freelance Forte Consultant
http://perso.club-internet.fr/dnguyen/
Taras Katkov a écrit:
HTTP request through proxy server using forte HTTP library?
Any experience?
Thanks,
Taras
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com--
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.comYou can also use the HTTP-DC project.... You don't
need Web Enterprise for this. From what I can tell,
this is available in L.x on....
There is api documentation in M.2 (with scant
examples.)
There's a special process to put the project in your
repository (it isn't installed in the repository in
the standard install,) the documentation in M.2
(probably in M.0 too, AFAIK) that tells you how to do
this (look for HTTP-DC in the online help.)
I haven't done much with it yet, I've just installed
it. If anybody out there has examples, that'd be
great. I'll try to contribute more the moment I get a
chance to explore it....
Christopher Fury
BellSouth Communications Systems
--- Daniel Nguyen <dnguyenclub-internet.fr> wrote:
Hi,
If you have Web Enterprise, you can user
HttpAccess.SendRequest().
Hope this helps,
Daniel Nguyen
Freelance Forte Consultant
Amin, Kamran a écrit:
Is there any way to make a HTTP request from TOOLto another HTTP Service?
thanks in advance.
For the archives, go to:
http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. Tounsubscribe, send in a new
email the word: 'Unsubscribe' to:forte-users-requestlists.xpedior.com
For the archives, go to:
http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To
unsubscribe, send in a new
email the word: 'Unsubscribe' to:
forte-users-requestlists.xpedior.com
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/ -
Programatically enable-disable check box"play user interface sound effects"
Hello All,
I have been Working on something where i need to disable the "play user interface sound effects" check box ( Under System preferences under sound panel ) for few seconds and then enable the same programically without any user interface appearing on the screen. I know something related using the Applescript however there is a user interface appearing there which doesn't serve the purpose please help with some solution.If you could provide the exact location of the plist file which holds this information then that could help as well.Hi !
I too have been working with the sounds ( Which i think is relates to @mit's query ) in an application and the problem is that when ever that application moves something to trash there is a sound which comes the sound of "throwing things in the trash". This is very annoying and i want to do something so that I can suppress that sound atleast for the time this application is on. Now is there some way where I can do this Programically . It would even be fine if I could turn off the user interface sounds completely for sometime and then bring them back on.
Thanks In Advance !
Looking Forward To Some response soon !
iMAC G4 Mac OS X (10.4) Power PC 256 MB RAM -
Disabling Controls in the Full Featured User Interface
Hi Ppl,
I do not want few controls (variables view, stack view) to be displayed in my full featured User Interface. What is the best way to do this. Are there configuration parameters(UserInterface.xml) that could make these controls in visible. Or Should these controls be make in visible only through the Visible Property.
ThanksHi Dennis,
Will Deleting the controls solve the purpose ? I tried moving the controls from the visible part of the front panel. but when the code was run the controls came back to their original position. Then I discovered that the full featured user interface has some code to set the position,size etc of the controls. This part of the code also checks the number of controls present. So I was wondering if just editing the configuration alone could disable the controls.
Thanks -
"With Xib for user interface" option Disabled
I was able to use the "With Xib for user interface" a couple of days ago but now when I try to create new object-c file with xib interface, I cant use the checkbox. It is disabled. What may be the problem? How can I create a file with xib again?
Does the following Stack Overflow question help you?
How to create new View Controllers in XCode 4.3
If not, you're going to have provide more information for anyone to help you. What version of Xcode are you using? What type of Objective-C file are you creating? What type of project are you adding the file to? -
Error while creating a callable object - User Interface
Hello,
When i'm trying to create a callable object - User Interface in the guided procedure design time. i'm getting an error. An internal server error. This is happening while i'm trying to create a guided procedure with webdynpro's.
Is there any body who allready had somthing like this.
Greetings
KurtHi Raja Akella,
I allready had the roles and my portal version is upgraded until SP8 and all the possible patches.
I get an internal server error when i want to create a callable object. specially when i want to create a webdynpro ( ABAP / JAVA).
In the visual administrator i get the following errors.
<b>Error 1</b>
Exception occured during processing of a Web Dynpro application: "com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Failed to get Related Model Object for the object com.sap.caf.eu.gp.dt.comp.semanticbrowser.SemanticBrowserApp, relation Component.".
[EXCEPTION]
com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Failed to get Related Model Object for the object com.sap.caf.eu.gp.dt.comp.semanticbrowser.SemanticBrowserApp, relation Component.
at com.sap.tc.webdynpro.repository.model.DelegatorRepositoryModelClass.getRelatedModelObject(DelegatorRepositoryModelClass.java:640)
at com.sap.tc.webdynpro.progmodel.repository.IWDApplicationInfo$Implementation.getComponentInternal(IWDApplicationInfo.java:286)
at com.sap.tc.webdynpro.progmodel.repository.IWDApplicationInfo$Implementation.getComponent(IWDApplicationInfo.java:270)
at com.sap.caf.eu.gp.ui.co.config.wdapp.COConfigWDApp.addWdappsElement(COConfigWDApp.java:646)
at com.sap.caf.eu.gp.ui.co.config.wdapp.COConfigWDApp.readWebDynproApps(COConfigWDApp.java:631)
at com.sap.caf.eu.gp.ui.co.config.wdapp.COConfigWDApp.readApplications(COConfigWDApp.java:308)
at com.sap.caf.eu.gp.ui.co.config.wdapp.wdp.InternalCOConfigWDApp.readApplications(InternalCOConfigWDApp.java:190)
at com.sap.caf.eu.gp.ui.co.config.wdapp.VSelect.initCreate(VSelect.java:306)
at com.sap.caf.eu.gp.ui.co.config.wdapp.VSelect.onPlugFromDispatch(VSelect.java:174)
at com.sap.caf.eu.gp.ui.co.config.wdapp.wdp.InternalVSelect.wdInvokeEventHandler(InternalVSelect.java:168)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:330)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.tc.webdynpro.repository.RepositoryRuntimeException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >: (:main:, row:1, col:491)
at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:178)
at com.sap.tc.webdynpro.repository.persistence.xml.XMLPersistence.doReadVMO(XMLPersistence.java:126)
at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.readVMO(RepositoryPersistence.java:356)
at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.doFindRepositoryObject(RepositoryPersistence.java:598)
at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.findRepositoryObject(RepositoryPersistence.java:170)
at com.sap.tc.webdynpro.repository.model.Repository.findRepositoryObjectInternal(Repository.java:590)
at com.sap.tc.webdynpro.repository.model.RepositoryObjectRelation$XMLGuidWrapper.getModelObject(RepositoryObjectRelation.java:462)
at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.getCurrentLayerObject(RepositoryPersistence.java:702)
at com.sap.tc.webdynpro.repository.model.Repository.getCurrentLayerObject(Repository.java:1483)
at com.sap.tc.webdynpro.repository.model.NonSharedRelationToOne.doMergeInheritedTarget(NonSharedRelationToOne.java:85)
at com.sap.tc.webdynpro.repository.model.NonSharedRelationToOne.mergeInheritedTargets(NonSharedRelationToOne.java:49)
at com.sap.tc.webdynpro.repository.model.RelationToOne.getTarget(RelationToOne.java:93)
at com.sap.tc.webdynpro.repository.model.AbstractRepositoryModelClass.getRelatedModelObject(AbstractRepositoryModelClass.java:234)
at com.sap.tc.webdynpro.repository.model.DelegatorRepositoryModelClass.getRelatedModelObject(DelegatorRepositoryModelClass.java:636)
... 39 more
Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >: (:main:, row:1, col:491)(:main:, row=1, col=491) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >:(:main:, row:1, col:491)
at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:148)
at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:166)
... 52 more
Caused by: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >:(:main:, row:1, col:491)
at com.sap.engine.lib.xml.parser.XMLParser.scanAttList(XMLParser.java:1566)
at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1687)
at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2792)
at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:227)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:141)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:156)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:259)
at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:278)
at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:340)
at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125)
... 53 more
<b>error 2</b>
Processing HTTP request to servlet [dispatcher] finished with error. The error is: com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Failed to get Related Model Object for the object com.sap.caf.eu.gp.dt.comp.semanticbrowser.SemanticBrowserApp, relation Component.
at com.sap.tc.webdynpro.repository.model.DelegatorRepositoryModelClass.getRelatedModelObject(DelegatorRepositoryModelClass.java:640)
at com.sap.tc.webdynpro.progmodel.repository.IWDApplicationInfo$Implementation.getComponentInternal(IWDApplicationInfo.java:286)
at com.sap.tc.webdynpro.progmodel.repository.IWDApplicationInfo$Implementation.getComponent(IWDApplicationInfo.java:270)
at com.sap.caf.eu.gp.ui.co.config.wdapp.COConfigWDApp.addWdappsElement(COConfigWDApp.java:646)
at com.sap.caf.eu.gp.ui.co.config.wdapp.COConfigWDApp.readWebDynproApps(COConfigWDApp.java:631)
at com.sap.caf.eu.gp.ui.co.config.wdapp.COConfigWDApp.readApplications(COConfigWDApp.java:308)
at com.sap.caf.eu.gp.ui.co.config.wdapp.wdp.InternalCOConfigWDApp.readApplications(InternalCOConfigWDApp.java:190)
at com.sap.caf.eu.gp.ui.co.config.wdapp.VSelect.initCreate(VSelect.java:306)
at com.sap.caf.eu.gp.ui.co.config.wdapp.VSelect.onPlugFromDispatch(VSelect.java:174)
at com.sap.caf.eu.gp.ui.co.config.wdapp.wdp.InternalVSelect.wdInvokeEventHandler(InternalVSelect.java:168)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:330)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.tc.webdynpro.repository.RepositoryRuntimeException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >: (:main:, row:1, col:491)
at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:178)
at com.sap.tc.webdynpro.repository.persistence.xml.XMLPersistence.doReadVMO(XMLPersistence.java:126)
at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.readVMO(RepositoryPersistence.java:356)
at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.doFindRepositoryObject(RepositoryPersistence.java:598)
at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.findRepositoryObject(RepositoryPersistence.java:170)
at com.sap.tc.webdynpro.repository.model.Repository.findRepositoryObjectInternal(Repository.java:590)
at com.sap.tc.webdynpro.repository.model.RepositoryObjectRelation$XMLGuidWrapper.getModelObject(RepositoryObjectRelation.java:462)
at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.getCurrentLayerObject(RepositoryPersistence.java:702)
at com.sap.tc.webdynpro.repository.model.Repository.getCurrentLayerObject(Repository.java:1483)
at com.sap.tc.webdynpro.repository.model.NonSharedRelationToOne.doMergeInheritedTarget(NonSharedRelationToOne.java:85)
at com.sap.tc.webdynpro.repository.model.NonSharedRelationToOne.mergeInheritedTargets(NonSharedRelationToOne.java:49)
at com.sap.tc.webdynpro.repository.model.RelationToOne.getTarget(RelationToOne.java:93)
at com.sap.tc.webdynpro.repository.model.AbstractRepositoryModelClass.getRelatedModelObject(AbstractRepositoryModelClass.java:234)
at com.sap.tc.webdynpro.repository.model.DelegatorRepositoryModelClass.getRelatedModelObject(DelegatorRepositoryModelClass.java:636)
... 39 more
Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >: (:main:, row:1, col:491)(:main:, row=1, col=491) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >:(:main:, row:1, col:491)
at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:148)
at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:166)
... 52 more
Caused by: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >:(:main:, row:1, col:491)
at com.sap.engine.lib.xml.parser.XMLParser.scanAttList(XMLParser.java:1566)
at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1687)
at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2792)
at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:227)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:141)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:156)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:259)
at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:278)
at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:340)
at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125)
... 53 more
<b>error 3</b>
Processing HTTP request to servlet [dispatcher] finished with error.
The error is: com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Failed to get Related Model Object for the object com.sap.caf.eu.gp.dt.comp.semanticbrowser.SemanticBrowserApp, relation Component.
Exception id: [00505691431B006F0000003E00000FE800041B45B87F7617]
thanks in advance
Kurt -
Row currency has changed since the user interface was rendered.
Hi All,
we have developed and deployed an Application in Production, before four months,
Suddenly for the past two days we are getting an error after the page being idle for 2- 3 minutes.
Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key[3259 ]Once we get the error, the session scoped beans are resetting the values, and all the vo's cache are getting cleared(All the buttons in the page will get disabled and the menu will disappear).
but the same EAR is working perfectly in UAT and QA environments.
We have changed the "Enabletokenvalidation" as false and tested again, but the page itself is not loading after the change .
We have checked the Production and UAT weblogic server settings , but didn't find anything wrong.
WebLogic Server Version: 10.3.3.0
Studio Edition Version 11.1.1.2.0
if any ideas,
please help us...
Regards,
RanjithHi All,
We have checked the error "Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key[3259 ]", we tuned the view objects, we changed the application page flows, and it is found that once we turn off the statevalidation (statevalidation =false), the error is not popping up, but it is getting fired in the server side as
oracle.jbo.JboException: JBO-35007: Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key[3259 ]
at oracle.adf.model.binding.DCBindingContainerState.throwRowNotFoundException(DCBindingContainerState.java:318)
at oracle.adf.model.binding.DCBindingContainerState.validateIterator(DCBindingContainerState.java:341)
at oracle.adf.model.binding.DCBindingContainerState.validateStateFromString(DCBindingContainerState.java:482)
at oracle.adf.model.binding.DCBindingContainerState.validateStateFromString(DCBindingContainerState.java:492)
at oracle.adf.model.binding.DCBindingContainerState.validateToken(DCBindingContainerState.java:602)
at oracle.adf.model.binding.DCBindingContainer.validateToken(DCBindingContainer.java:4852)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:117)
at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:21)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:231)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:269)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:72)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:54)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:364)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:160)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)No Difference in server side configurations of prod and UAT
we are not using back button press or any other rowItearation in these pages and we are not changing the row key through code.
Simple Master page, with inline edit , add and delete with thousands of records.
Error is popping up after the page is being idle for 2- 3 mins. on the next request after the idle time, the error will pop up .
once the row currency error came, the current state of the view objects will get reset to the initial state(First row).
we don't know how to fix this issue, this issue is coming in production server only...
if any body comes across such an issue, please help us to resolve this issue..
Regards,
Ranjith C -
Firefox aborts its http request silently within 60 seconds
duplicate of [/questions/1047223]
*Summary
Firefox aborts its http request within almost 60 seconds(period till
timeout varies) and tells nothing to users. This happened with both of
Nginx and Apache.
*Environment
Client browser: Firefox 35.0.1
Client OS: Windows 7 Enterprise 32bit SP1
Web Server: Apache 2.2.3-91 & Nginx 1.6.2-1
Server OS: CentOS 5.11
PHP: 5.3.3
FastCGI: spawn-fcgi-1.6.3-1
*Description of the issue
I have noticed that nginx logs http response code 499 so often.
We use nginx almost only for two web applications, the one based on PHP
and others on ruby. We experiences this problem in both apps. The server and client PC belong to the same subnet.
Since last month, nginx logged 624 errors for Firefox and 16 for other
browsers(almost IE).
So for test, I wrote the simple PHP (see the bottom of this article) and tried to access it
through both of Apache & Nginx with Firefox 35.0.1 and IE 11. IE11
waited 120 seconds and returned html successfully through both of nginx
and Apache, but Firefox failed either.
Let me describe Firefox's behaviour.
1. Enter the test php url at location bar and press enter.
2. The message 'waiting server response' appears at status bar for a while.
3. Watching network conversation through Wireshark, 'Keep Alive' signals
are repeated some times between server and client, and after that,
4. The message dissappears. 'FIN' signal is sent to the server from the client just after that. Firebug logs 'Aborted' at the almost the same time.
5. The server responses 'FIN ACK.'
There is a bit difference with nginx and Apache in behaviour after 'FIN
ACK'.
A.Nginx
Nginx logs '499' error and finish conversation immediately.
B.Apache doesn't log anthying at this step. After 120 seconds(sleep timer
in PHP) from request it returns expected html. Of course Firefox don't render it but I could confirm both of request and response from Wireshark's 'Follow TCP Stream' function. Finally it is logged with http status code 200 at httpd log file.
I repeated this test several times. Actual timeout period varies from 22
to 70 seconds but results are same.
With my understanding, the browser is expected to show 'time out error'
after such situation but it doesn't show anything. So end user can't
know what happend.
*What I tried to solve the problem
*disabled all extentions other than firebug.
*set 'network.tcp.keepalive.enabled' to false at about:config.
*set 'network.http.spdy.enabled' to false, too.
*set 'network.http.response.timeout' to 0.
*disabled IPV6 and DNS prefetch seeing the following help.
https://support.mozilla.org/en-US/kb/websites-dont-load-troubleshoot-and-fix-errors
*changed Timeout to 0 at apche's http.conf.
My purpose is make our web apps to work properly in our working environment. I've recommended Firefox to our collegues because it was very cool application. Changing the default brawser is nightmare to me. Any suggestions are welcome.
<test php>
<?php sleep(120); ?>
<?php echo time(); ?>duplicate of [/questions/1047223]
*Summary
Firefox aborts its http request within almost 60 seconds(period till
timeout varies) and tells nothing to users. This happened with both of
Nginx and Apache.
*Environment
Client browser: Firefox 35.0.1
Client OS: Windows 7 Enterprise 32bit SP1
Web Server: Apache 2.2.3-91 & Nginx 1.6.2-1
Server OS: CentOS 5.11
PHP: 5.3.3
FastCGI: spawn-fcgi-1.6.3-1
*Description of the issue
I have noticed that nginx logs http response code 499 so often.
We use nginx almost only for two web applications, the one based on PHP
and others on ruby. We experiences this problem in both apps. The server and client PC belong to the same subnet.
Since last month, nginx logged 624 errors for Firefox and 16 for other
browsers(almost IE).
So for test, I wrote the simple PHP (see the bottom of this article) and tried to access it
through both of Apache & Nginx with Firefox 35.0.1 and IE 11. IE11
waited 120 seconds and returned html successfully through both of nginx
and Apache, but Firefox failed either.
Let me describe Firefox's behaviour.
1. Enter the test php url at location bar and press enter.
2. The message 'waiting server response' appears at status bar for a while.
3. Watching network conversation through Wireshark, 'Keep Alive' signals
are repeated some times between server and client, and after that,
4. The message dissappears. 'FIN' signal is sent to the server from the client just after that. Firebug logs 'Aborted' at the almost the same time.
5. The server responses 'FIN ACK.'
There is a bit difference with nginx and Apache in behaviour after 'FIN
ACK'.
A.Nginx
Nginx logs '499' error and finish conversation immediately.
B.Apache doesn't log anthying at this step. After 120 seconds(sleep timer
in PHP) from request it returns expected html. Of course Firefox don't render it but I could confirm both of request and response from Wireshark's 'Follow TCP Stream' function. Finally it is logged with http status code 200 at httpd log file.
I repeated this test several times. Actual timeout period varies from 22
to 70 seconds but results are same.
With my understanding, the browser is expected to show 'time out error'
after such situation but it doesn't show anything. So end user can't
know what happend.
*What I tried to solve the problem
*disabled all extentions other than firebug.
*set 'network.tcp.keepalive.enabled' to false at about:config.
*set 'network.http.spdy.enabled' to false, too.
*set 'network.http.response.timeout' to 0.
*disabled IPV6 and DNS prefetch seeing the following help.
https://support.mozilla.org/en-US/kb/websites-dont-load-troubleshoot-and-fix-errors
*changed Timeout to 0 at apche's http.conf.
My purpose is make our web apps to work properly in our working environment. I've recommended Firefox to our collegues because it was very cool application. Changing the default brawser is nightmare to me. Any suggestions are welcome.
<test php>
<?php sleep(120); ?>
<?php echo time(); ?> -
Hi there,
I was wondering whether anyone could tell me which feature in Windows 7 produces this message "This advertised application will not be installed because it might be unsafe. Contact your administrator to change the installation user interface option of
the package to basic." and whether it can be turned off in Windows to prevent this message from appearing when installing certain programs that aren't WHQL certified. At first I thought it was the UAC control that generated this message but found out
that it wasn't and then thought it was the DEP control and found out that it wasn't this either. I'm only seem to be getting this message when installing FileDirector Component Service Version 3 on a few of our workstations which is an add-on that allows file
integration with Office and is part of FileDirector WinClient Version 3.
Your help would be much appreciated.
Many thanks,
RocknRollTim
P.S. I know of a way to bypass this message but would ideally not like to have the feature turned on and for the message not to be appear for non WHQL certified program installations in order to make non WHQL certified program installations in the future much
easier, more simpler and straightforward to carry out. I was redirected by a moderator off the Microsoft Community Forum.Hi,
You can try following options to disable this prompt, but we don't recommend you to do so since this feature helps you to protect your computer.
Option 1: Run command as admin:
bcdedit -set loadoptions DDISABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING ON
Restart your computer to apply changes.
Option 2: Disable in GPO:
1.Type gpedit.msc in the Run dialog and press Enter.
2.In the Group Policy Editor, navigate to User Configuration → Administrative Templates → System → Driver Installation.
3.Double-click on Code signing for device drivers in the right-side pane as shown above.
4.In the windows that opens, choose Enabled. In the Options, choose Ignore as shown. Then click on the OK button to save the settings.
Restart your computer to apply changes.
Kate Li
TechNet Community Support
Unmarked as Answer based on OP's request.
https://social.technet.microsoft.com/Forums/en-US/35ab1279-c3a1-46be-9f7d-45e8606c1410/this-advertised-application-will-not-be-installed-because-it-might-be-unsafe-contact-your?forum=w7itproappcompat
Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
the thread. -
Apache denying http requests- could it be Security update 2006-007PPC?
I've been webhosting off an iMac G4 for two years and yesterday no one could access any of the pages, coming from multiple DNSs. I opened up sharing and turned on the log, saw some denials. Some improvement by toggling Personal Web Sharing, but goes back to not letting requests go through. Just so happens, I upgraded the hard drive the day before using carbon copy cloner and also converted the main page to a CSS, although can't imagine that would do it since I used the template from a working page. Could it be one of these changed some Apache settings or Security Upgrade is responsible? I'm on the phone right now, telling someone I'm working on it....
12190 deny tcp from any to any
65535 allow ip from any to any</pre>Usually, though,
if you turn on a service, the corresponding port
should open in the firewall. If the firewall is off,
I just get the last line starting with
65535.
That's about the same, I just didn't publish the info on the other ports because I didn't think it was pertinent.
Checking
the access log, I had been getting hammered for a
while by something automated on PHP calendar I had
posted- so I shut that down.
I'm not sure I understand this. Does this mean you
shut off the firewall and got the hits, or you saw
the hits being denied? The other log entries you
posted came from the system log or console, and
not the Apache access log.
I can see where that was confusing. Upon reviewing the httpd/access log (as well as any other I thought might provide a clue), there were a slew of hits, all different times of the day from one IP address, all on the PHPicalendar page I had posted. Sometimes the requests would be an individual hit, but most times they would come in groups of ten or twenty all about 4 seconds apart. These were logged all the way back to the oldest entries still in the log files. The computer had been dutifully fulfilling the requests and this most likely explains some system slowness I had been seeing on the machine. Since then I disabled that page and the requests get a 404 reply from Apache. I threw that comment out to justify why I was interested in changing my IP address. By the way, google calendar and iCal integrate really nicely, allowing iCal to subscribe to the google calendar and then I could export the iCal to the PHPicalendar. A little circuitous, but not annoyingly so. Anyway, now that I know that it's being targeted I'll probably just work with google calendar and the google notifier app for macs.
Again, the closest event to
the known start of the problem was the Security
Update 2006-007PPC.
For what it's worth, I've applied the Security Update
on this iMac without this problem. Which is not to
say it's not possible it caused the problem. But if
so, it's still more likely to be something isolated
to your system and not a general bug in the update.
I think I might have figured out the problem. Going through the system log, I noticed the computer sleeping and waking. I went to system prefs and checked the settings, then changed to "never sleep." Seems to be working. I know I didn't change that setting, and I was under the impression that before, the http requests were waking the computer up- although I don't know, I just never had this problem before. To add to the confusion at one point the subnet address of the machine changed because I was trying to debug by doing a network restart and the router was pointing to the wrong computer. I'll have to check with the other users of this machine to see if they altered the setting- but they may not fess up since they know they're not supposed to mess with system prefs- as it is, I've got the parental controls turned on.
As for the stability of the Comcast IP address, I
unplugged the modem for about 6 hours last night,
plugged it back and had the same IP
address.
That's been my experience, too. Comcast's IP
addresses are tied to the MAC address of whatever
customer supplied equipment faces it. I think you
might have to be disconnected from the cable modem
until the DHCP lease expires, and someone else gets
your old IP address, in order to get a new IP
address.
I've been able to force a new IP address by changing
the MAC address on my router. However, if you decide
to try this, only use the MAC address from a
device you have in your physical possession. For
example, you could clone the MAC address from one of
your computers to the router. Just make sure you go
back to the router's real MAC address if you get rid
of the computer.
Remember, you have to reboot the cable modem any time
you change the MAC address of the device connected to
it. Just like you would if you connected a different
computer directly to the cable modem.
charlie
Thanks, I'll try that. I'm going to give it another day or two to see if it's stable again.
dan
iMac G4, MacBook Mac OS X (10.4.8) -
How can I give the "user interface thread" higher priority?
We do alot of activex calls to front panels. We need to increase/decrease the priority of the user interface thread to resolve our thread problem. Anyone know how to do this?
ChuckHello,
As P.M. was saying, you can adjust the thread priorities
through the VI Properties dialogue.
Another place to modify the multithreading system in LabVIEW is a VI
located at: [LabVIEW Directory]\vi.lib\Utility\sysinfo.llb\threadconfig.vi. However I do not think this will remedy any
problems you are having.
From a Multithreading in LabVIEW tutorial (http://zone.ni.com/devzone/conceptd.nsf/webmain/d2e196c7416f373a862568690074c759)
Priorities in the User Interface and
Single-Threaded Applications
Within the User Interface execution
system, priority levels are handled in the same way for single-threaded and
multithreaded applications.
In single-threaded applications and
in the User Interface execution system of multithreaded applications, the
execution system queue has multiple entry points. The execution system places
higher priority VIs on the queue in front of lower priority VIs.
If a high-priority task is running and the queue contains only lower priority
tasks, the high-priority VI continues to run. For example, if the execution
queue contains two VIs of each priority level, the time-critical VIs share execution time exclusively until both finish.
Then, the high priority VIs share execution
time exclusively until both finish, and so on. However, if the higher priority
VIs call a function that waits, the execution system removes higher priority
VIs from the queue until the wait or I/O completes, assigning other tasks
(possibly with lower priority) to run. When the wait or I/O completes, the
execution system reinserts the pending task on the queue in front of lower
priority tasks. Refer to the Synchronous/Blocking Nodes section for a list of
asynchronous functions that wait.
Also, if a high priority VI calls a lower priority subVI,
that subVI is raised to the same priority level as the caller for the duration
of that call. Consequently, you do not need to modify the priority levels of
the subVIs that a VI calls to raise the priority level of the subVI.
Thus changing the priority of your VI will change the
priority of UI calls for that particular VI.
Again, I caution you because I suspect that if you are having problems
with your application not running correctly, I do not believe that manipulating
the thread priorities will resolve these issues.
Hope this helps,
Travis M
LabVIEW R&D
National Instruments
Maybe you are looking for
-
Display Manager fails to launch [SOLVED]
Hello, TL:DR - KDM and other display managers fail to load after major system update, included Xorg.0.log and kdm.log for troubleshooting I've been using Arch since January 2015 and this is my first major breakage following a pacman -Syu on June 3rd.
-
Adobe Reader how to mark up PDF file
I cannot get my highlighter, mark through or my underline tools to work when marking up PDF files. the signature, free hand, add text, and notes work fine.I am following the directions on how to use exactly as stated to. any suggestions or help would
-
Trying to stop MYSQL service without success in snow leopard server
Hello I trying to enabled MySQL service on snow leopard server. My hard drive name is "Macintosh HD2". I receive this message : Can't change dir to '/Volumes/Macintosh HD2/ServiceData/MySQL/' (Errcode: 2) I try to stop without success MySQL service f
-
Tried to change port settings, but that did not work. Chatted with comcast, but they couldn't fix the problem. Made it worse by suggesting that I delete old account and reestablish a new one. Deleting old account made it worse by removing my large in
-
Vendor Evaluation-- Points and Scores
Dear Gurus, On what basis are the scores assigned for the percentage that is assigned. For Eg. what do you mean by the following: Percentage Score 20.0- 10 10.0- 65 2.0- 100 2.0 100 10.0 50 what does 20.0- me