Refreshing Studio Browser on Portal after SQL Backend Edit

I created two Studio Databases through the portal. I have a Data Submission Form for the first database and a Record Browser for the second database on a community page.
In SQL we have developed a couple of triggers in the tables of the PTStudio database which insert a record into the 2nddatabase (Studio table) when a record is submitted through the form for the 1stdatabase (Studio table). After running the Search Update and Document Refresh jobs, the new record shows up through Portal's record browser for the second database. Is there anyway to force the record to show up immediately in the record browser w/o having to manually run these jobs?How is anyone else out there handling this latency?
Also, we have a trigger that should deletethe record in the 2nd database when it is deleted in the 1st through the portal. In the SQL table in the PTStudio database, the record has been deleted, but it is still showing in that table's record browser through the Portal, even after Search Update, Document Refresh, and Weekly Housekeeping jobs have run. Any ideas?

I'm not an expert on C# or .NET, so unfortunately I can't comment on what the issue may be there. What I can suggest, however, are some alternate approaches. First, am I correct in assuming that you want a button that users can click on to force the cache to be flushed? If that's all you want, the following HTML should do the trick:
<button onclick=&#034;var r=new PTHTTPGetRequest('http://<studioserver>:<port>/studio/gw?m=admin.clearCache&category=recordset')&#034;; r.invoke();&#034;>Clear Cache</button>
The one thing I would question, however, is why you'd want to force users to do this themselves. Ideally, this is something that should simply happen behind the scenes, transparently. The best way to do this would be directly from the trigger that you're using to modify the Studio tables. What you could do is use the xp_cmdshell extended stored procedure to call out to an external process. Although I suppose you could write some C# class to make an http request to the cache clear URL, it may be easier to just use something like wget. You can get wget here:
http://unxutils.sourceforge.net/
The line in your trigger would then be something like:
xp_cmdshell 'wget http://<studioserver>:<port>/studio/gw?m=admin.clearCache&category=recordset', NO_OUTPUT
HTH,
...stephan

Similar Messages

  • Applet not refreshing in browser

    I wrote a HelloWorld applet and viewing it through internet explorer. when i modify the code, compile it, then it replaces the original .class file, but when i refresh the browser, it loads the original applet. when i delete the .class file from the directory, the applet still shows up on the browser after i refresh it. whats going on? and how do i update the applet.

    you hafta CLOSE the browser and then re-open it so the VM sarts up again

  • Is it able to refresh the table view automaticlly after trigger an event?

    Hi expert,
    I have one table view and a "Delete" button, each time when the user click the del button, it will delete the row which is selected via a RFC module in the backend, afterwards, I want this table view to be refreshed and read the real data from backend via another function module, is it possible? how could I do it?
    Thanks and best regards

    Let me do some summarize if my understanding is correct
    1. Use a timer as "start" point of a table view, set the "interval" to be 0.05 minute
    2. use the condition in the timer with a formula (BOOL(STORE@RETURN_CODE==0)).
    3. If I trigger one event in the "table view", for example, a "Delete" event and it will return the result RETURN_CODE = 0 to datastore
    4. Afterwards, if the time interval of the timer has been reached, 1st it will evaluate the value of the datastore and decide whether to refresh the table view.
    Am I right?
    Just as you mentioned before, it is not a perfect solution, as we may still wait for the timer to be triggered after a few seconds.
    Thanks for your answer.

  • Installing SSMS 2012 after SQL Server 2008 R2 Express was installed (without tools)

    Hi everybody,
    This is a question in another forum I am frequent. Someone installed SQL Server Express 2008 R2 and he used the wrong exe, so he installed it without tools. Now he wants to install SSMS.
    It looks like SSMS 2012 wants to have SQL Server 2012 Express installed first.
    Can someone please confirm if it's possible to install just SSMS 2012 after SQL Server 2008 R2 Express was already installed and if possible, guide through the installation steps?
    Thanks a lot in advance.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

    Hi Naomi,
    Agree with Shanky.
    I have tested the scenario you described. Everything works well, I successfully install SQL Server Management studio 2012 after SQL Server 2008 R2 Express (without tools) was already installed.
    Please note that we don’t need to install SQL Server 2012 Express first when installing SSMS 2012. For detailed installation steps of SQL Server 2008 R2 Express and SSMS 2012, you can review below blogs.
    How to Install SQL Server 2008 R2 (Express Edition)
    SQL Server Management Studio – A step-by-step installation guide
    In addition, we can use SSMS 2012 to manage SQL Server Express 2005 /2008 /2008 R2, the tool is backward compatible.
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • Hotmail keeps telling me I've logged in from another computer and to refresh my browser

    A short time after I log in to Hotmail I get the following message - "Please refresh your browser window. When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure."
    The point is - I only log in from one computer. I have asked Windows Live Support, and the first thing they want is for me to 'optimise my browser'.
    I don't get this response on any other site, and I suspect it's down to Microsoft. This question does not seem to crop up in your collection of questions.
    Your help would be appreciated.

    Clear the live.com and passport.net cookies and maybe msn.com cookies as well.
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"

  • CF 11: Configuration a datasources to MS SQL Backend with encryption enforced by SQL Server

    Hello List;
    I have the following problem: Configuration a datasources to MS SQL Backend with option encryption enforced (by SQL Server).
    I goggled in the internet for the configuration of the datasource and find multiple articles/advices:
    Configuration a datasource type other with jtds.jdbc.Driver and manual configuration of the connection string:
    1. Downloading the driver and copy to the cfusion/lib directory: Done, the driver was recognized by coldfusion after a restart of the service.
    2. Copying the ntlmauth.dll to the bin directory of jre/bin: Done
    3. Configuration of the jdbc URL: jdbc:jtds:sqlserver://xxxx.xxx.xxx.net:1433/db: Works, I don’t  get a connection timeout
    4. User and PW: Works: I don’T get a login failure.
    5. Advanced settings: Connection String: Maybe here is something wrong: EncryptionMethod=SSL; TrustStore=Path\sqlstore.jks; TrustStorePassword=xxx; ValidateServerCertificate=true; HostNameInCertificate=xxx.xxx.xxx.net;
    Error Message (Coldfusion logs/stack trace):  I/O Error: DB server closed connection. SQLException while attempting to connect: java.sql.SQLException: I/O Error: DB server closed connection..
    Has anybody experiences with this topic/can give me advices/send me screenshots.
    frank

    Hi Stephen;
    we tried: add EncryptionMethod=SSL; ValidateServerCertificate=false; to the connection string;
    And it doesn't work.. Are you sure, that you have enabled encryption enforced in your SQL-Server Settings.
    Oherwise the connection works, but the Connection is not encrypted:
    Coldfusion lies!
    You can controll this by veryfining the open connections on the sqlserver with the query:
    SELECT net_transport, protocol_type, encrypt_option ,auth_scheme, program_name FROM sys.dm_exec_connections AS c JOIN sys.dm_exec_sessions AS s ON c.session_id = s.session_id cross apply sys.dm_exec_sql_text(most_recent_sql_handle) AS d
    There you can see the jtds Connectionand the (programname) and the encryt_option (must be true).
    frank

  • Is there any way to prevent misbehaving solved by refreshing the browser?

    When I play my published Captivate 6 file in the browser (in this case Google Chrome), it sometimes gets "stuck" --- rollovers don't  work properly or buttons don't show up when they are supposed to. Sometimes I get the audio echo problem where audio from some previous slide plays on a future slide). None of these things happen during previews.
    If I refresh the browser and then continue where I left off, the problems are gone.
    What is causing this awful behavior? I am afraid I am disappointing my client, which I never want to do and have never done in the past!  We will have to publish instructions telling people that if anything goes wrong, they should just refresh their browsers. But some may not know how to do that, some may not read the instructions, etc. etc. causing support calls to my client and general dissatisfaction with the training.
    Is this just a shoddy product or did I not do something I need to do to get it to behave itself?
    Please advise! Thank you,
    Ellen

    hmm the a64 is locked so you cannot use a cpu multipier to have only cpu go faster..
    i oc with the fsb....but noticed that i may actually be over running my power, at high oc's(233)  if i unplug at least 3 hard drives, and some fans it will run microsofts memmory tester...but not with them in.
    you may be able to oc if you drop your mem speed down in bios to 333 or 200.
    so when you oc the memm will clib from there...i have seen good results from that.
    one person was able to catch my 232 results from dropping down to 200 mem speeds.

  • Unable to log into the portal-After Upgrade from NetWeaver 7.0 to 7.3EHP1

    Dear Experts,
    We have poltal landscape(NW 7.0 Dualstack SPS27) with our customozed themes and par files(Company name,logos and colours)
    Recently we upgraded the one of portal from NW 7.0 to NW 7.3EHP1 . Upgrade has been successfilly completed with small issue.
    After upgrade all urls are working(/nwa, /sld) except /irj/portal.We know that NW 7.3 EHp1 accepts only ear file i.e we converted the our customized log on par file to ear file through par migration tool and the same was deployed successfully through NWDS 7.3 version.After deploying we are able to access the
    /irj/portal url with our customized par(means ear file) without issues,
    We are unable to log into the portal after giving the correct user id and password,getting the portal runtime error as foloows.
    Portal runtime error
    An exception occured while processing your request.Send the exception ID your administrator
    Exception id:
    see log files for details about this exception
    Default.trc log file(/server0/log)
    #EP-PIN-PRT#tc~epbc~prtc~api#C00061FD2733006C00000005000056CB#9034950000000004#sap.com/com.sap.portal.runtime.system.hooks#com.sap.portal.prt.
    runtime#J2EE_ADMIN#4##43E00B85A79911E380F800000089DCC6#3a483a0fa79911e3903000000089dcc6#3a483a0fa79911e3903000000089dcc6#0#Thread[HTTP Worker
    [@900472845],5,Dedicated_Application_Thread]#Plain##
    08:14_09/03/14_0005_9034950
    [EXCEPTION]
    java.lang.RuntimeException: Could not create Resource Repository root folder in PCD
    at com.sap.portal.resource.repository.ResourceRepositorySrv.initRepositoryRootContext(ResourceRepositorySrv.java:140)
    at com.sap.portal.resource.repository.ResourceRepositorySrv.init(ResourceRepositorySrv.java:93)
    at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher$3.service(RequestDispatcherFactory.java:518)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:363)
    at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher.init(RequestDispatcherFactory.java:503)
    at com.sap.portal.prt.broker.PortalServiceItem.initServiceInstance(PortalServiceItem.java:347)
    at com.sap.portal.prt.broker.PortalServiceItem.getServiceInstance(PortalServiceItem.java:210)
    at com.sap.portal.prt.broker.PortalServiceItem.load(PortalServiceItem.java:578)
    at com.sap.portal.prt.om.ObjectsManager.createObejctHandle(ObjectsManager.java:234)
    at com.sap.portal.prt.om.ObjectsManager.getObjectHandle(ObjectsManager.java:147)
    at com.sap.portal.prt.broker.PortalAppBroker.getPortalService(PortalAppBroker.java:498)
    at com.sap.portal.prt.service.ServiceManager.getPortalServiceItem(ServiceManager.java:431)
    at com.sap.portal.prt.service.ServiceManager.get(ServiceManager.java:220)
    at com.sap.portal.prt.runtime.Portal$RuntimeResources.getService(Portal.java:130)
    at com.sap.portal.resource.repository.WebResourceRepositorySrv.init(WebResourceRepositorySrv.java:71)
    at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher$3.service(RequestDispatcherFactory.java:518)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:363)
    at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher.init(RequestDispatcherFactory.java:503)
    at com.sap.portal.prt.broker.PortalServiceItem.initServiceInstance(PortalServiceItem.java:347)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:363)
    at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher.init(RequestDispatcherFactory.java:503)
    at com.sap.portal.prt.broker.PortalServiceItem.initServiceInstance(PortalServiceItem.java:347)
            at com.sap.portal.prt.broker.PortalServiceItem.getServiceInstance(PortalServiceItem.java:210)
            at com.sap.portal.prt.broker.PortalServiceItem.load(PortalServiceItem.java:578)
            at com.sap.portal.prt.om.ObjectsManager.createObejctHandle(ObjectsManager.java:234)
            at com.sap.portal.prt.om.ObjectsManager.getObjectHandle(ObjectsManager.java:147)
            at com.sap.portal.prt.broker.PortalAppBroker.getPortalService(PortalAppBroker.java:498)
            at com.sap.portal.prt.service.ServiceManager.getPortalServiceItem(ServiceManager.java:431)
            at com.sap.portal.prt.service.ServiceManager.get(ServiceManager.java:220)
            at com.sap.portal.prt.runtime.Portal$RuntimeResources.getService(Portal.java:130)
            at com.sap.portal.resource.repository.WebResourceImportService$ResourceImporter.<init>(WebResourceImportService.java:248)
            at com.sap.portal.resource.repository.WebResourceImportService.importApplicationResources(WebResourceImportService.java:172)
            at com.sapportals.portal.navigation.NavigationMimeRepositoryService.loadAllPicsToWRR(NavigationMimeRepositoryService.java:186)
            at com.sapportals.portal.navigation.NavigationMimeRepositoryService.init(NavigationMimeRepositoryService.java:160)
            at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher$3.service(RequestDispatcherFactory.java:518)
            at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:363)
            at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher.init(RequestDispatcherFactory.java:503)
            at com.sap.portal.prt.broker.PortalServiceItem.initServiceInstance(PortalServiceItem.java:347)
            at com.sap.portal.prt.broker.PortalServiceItem.getServiceInstance(PortalServiceItem.java:210)
            at com.sap.portal.prt.broker.PortalServiceItem.load(PortalServiceItem.java:578)
            at com.sap.portal.prt.om.ObjectsManager.createObejctHandle(ObjectsManager.java:234)
            at com.sap.portal.prt.om.ObjectsManager.getObjectHandle(ObjectsManager.java:147)
            at com.sap.portal.prt.broker.PortalAppBroker.getPortalService(PortalAppBroker.java:498)
            at com.sap.portal.prt.service.ServiceManager.getPortalServiceItem(ServiceManager.java:431)
            at com.sap.portal.prt.service.ServiceManager.get(ServiceManager.java:220)
    at com.sap.portal.prt.runtime.Portal$RuntimeResources.getService(Portal.java:130)
            at com.sap.portal.pcm.iview.admin.PcmIviewCommon.getAdditionalAttributes(PcmIviewCommon.java:358)
            at com.sap.portal.pcm.iview.admin.PcmIviewCommon.initLayers(PcmIviewCommon.java:173)
            at com.sap.portal.pcm.iview.admin.AdminBaseiView.createAttrSetLayersList(AdminBaseiView.java:177)
            at com.sap.portal.pcm.page.admin.AdminBasePage.getCustomImplementation(AdminBasePage.java:76)
            at com.sap.portal.pcm.admin.PcmAdminBase.getImplementation(PcmAdminBase.java:642)
            at com.sapportals.portal.navigation.LightningHelperService.getFrameworkPageAttributesValues(LightningHelperService.java:143)
            at com.sapportals.portal.navigation.LightningHelperService.getFrameworkPageAttributesValues(LightningHelperService.java:171)
            at com.sapportals.portal.navigation.fpm.util.PhaseConfiguration.prepareAttributes(PhaseConfiguration.java:71)
            at com.sapportals.portal.navigation.fpm.util.PhaseConfiguration.storeRelatedAttributesInSharedStorage(PhaseConfiguration.java:35)
            at com.sapportals.portal.navigation.fpm.NavigationFpmListener.doFrameworkPhase(NavigationFpmListener.java:535)
            at com.sapportals.portal.navigation.fpm.NavigationFpmListener.doPhase(NavigationFpmListener.java:122)
            at com.sapportals.portal.pb.fpm.FPMContainer.distributeEvent(FPMContainer.java:63)
            at com.sapportals.portal.pb.fpm.FPM.doDocumentHook(FPM.java:179)
            at com.sapportals.portal.prt.service.document.DocumentHookMulticaster.doDocumentHook(DocumentHookMulticaster.java:100)
            at com.sapportals.portal.prt.service.document.DocumentHookService.doDocumentHook(DocumentHookService.java:119)
            at com.sapportals.portal.prt.service.document.DocumentHookServiceNew.doDocumentHook(DocumentHookServiceNew.java:186)
            at com.sapportals.portal.prt.connection.PortalHook.doDocumentHook(PortalHook.java:665)
            at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:183)
            at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)
            at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:141)
            at com.sap.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:206)
            at com.sapportals.portal.navigation.PortalLauncher.doContent(PortalLauncher.java:116)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:213)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:129)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
            at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
            at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
            at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
            at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
            at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: javax.naming.InvalidNameException: Character not allowed: ':' in 'pcd:resource_repository'
    at com.sapportals.portal.pcd.pl.PcdName.checkComponent(PcdName.java:64)
            at com.sapportals.portal.pcd.pl.PcdName.checkNameComponent(PcdName.java:39)
            at com.sapportals.portal.pcd.pl.PcdName.padd(PcdName.java:636)
            at com.sapportals.portal.pcd.pl.PcdName.add(PcdName.java:626)
            at com.sapportals.portal.pcd.gl.util.StringUtils.tokenizeIntoPcdName(StringUtils.java:112)
            at com.sapportals.portal.pcd.pl.PcdName.appendUrlInternal(PcdName.java:408)
            at com.sapportals.portal.pcd.pl.PcdName.<init>(PcdName.java:245)
            at com.sap.portal.resource.repository.ResourceRepositorySrv.initRepositoryRootContext(ResourceRepositorySrv.java:121)
            ... 132 more
    1)We are suspecting this issue is related to the theme issue.How to update the theme in the upgraded portal(have a backup of themes)
    2)Want to know if we update a theme where it stored at the operating system level(in NW 7.3 EHP1 as well as NW 7.0)
    3)Is there any post steps after portal upgrade.
    Request you suggest.
    Regards
    Maruthi

    Hi
    Refer the SAP Notes
    1942399 - Fix usage of unregistered class loader while processing HTTP request in an application being updated or stopped at the same time
    1744820 - Migration 7.3 fails while executing migration of pcd_upgrade
    1703578 - WPC migration stops during connection creation
    1918086 - ERROR: Unable to get iView
    Regards
    Ram

  • I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Liv

    I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure. " when I sign in again there is no change. in English
    == URL of affected sites ==
    http://http://sn135w.snt135.mail.live.com/default.aspx?n=2087215863
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    "Clear the Cache": Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites causing problems: Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    See http://kb.mozillazine.org/Clearing_the_cache and http://kb.mozillazine.org/Cookies

  • How-To "Refresh a table of data after inserting or deleting"

    I'd like to say a word on the how-to article "How to refresh a table of data after inserting or deleting a row using ADF".
    (http://www.oracle.com/technology/products/jdev/howtos/1013/updtable/index.html?_template=/ocom/technology/content/print)
    I spent a lot of time on it because I needed help in implementing simple CRUD functionality on a table, using JSF-ADF-TopLink technologies.
    While the the article does provide correct steps, it is in one important place not specific enough, so the reader may easily get stuck. In section "Refresh the data table", point 1: when you double click on the removeEntity() button, in Structure window, then you do not get the required dialog. You get CommandButton Properties dialog.
    You must click on the removeEntity() button in Editor's Design view. But even there you may get the CommandButton Properties dialog, not managed beans dialog.
    You may resolve that by going to JSF configuration file, faces-config.xml, and switch to Overview view. This will show you the managed beans that you have.
    Then, you may already have a backing bean for the page. You can use that and avoid creating a new managed bean.
    I could understand what the operations mean only after very careful reading of "Creating More Complex Pages", section "Overriding Declarative Methods" in JDeveloper Help (or in ADF Developer's Guide PDF document).
    In general: I believe that "ADF bindings" need more conceptual explanation, maybe in form of an article. Grammatical form "bindings" may create a false understanding that "bindings" are just references. But they are not -- ADF bindings are active objects that handle traffic between UI components and Data Controls. It seems that "bindings" even communicate among themselves. Maybe it would be more understandable to differentiate strictly between "binding objects" (or "binders"?), binding object definitions and binding object references.
    It would be very helpful to have a diagram showing grahically what specific binder objects are created in a small apllication (2-3 pages using 1-2 tables), with whom they communicate and what type of data is passed on.
    Priit

    Hi
    Thanks for your infos.
    Yes exactly I use almost the same code you have post here.
    Could You answer to my next questions?
    First - >what do you mean by saying that "it's not good idea using refreshing in IE?" Of course I use refreshing in backing_bean for my button "remove" that removes row, commit changes to database and refresh table, almost the same as You said in your post:
    Code in backing_bean is and comments on difference to Your code is below:
    public commandButton2_action1(){
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("removeEntity");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    //above remove entity, but I dont now if it do commit to database? So i do it below
    OperationBinding commit1 = bindings.getOperationBinding("Commit");
    commit1.execute();
    //and at the end I refresh my table, "findAllRezerwacja1 - it is an id of the methodAction, not the iterator -> is it ok? or should I change to Iterator id?
    OperationBinding requery = bindings.getOperationBinding("findAllRezerwacja1");
    requery.execute();
    return null;
    Page Definition code for this:
    <methodAction id="findAllRezerwacja1"
    InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" MethodName="findAllRezerwacja"
    RequiresUpdateModel="true" Action="999"
    ReturnName="SessionEJBLocal.methodResults.SessionEJBLocal_dataProvider_findAllRezerwacja_result"/>
    <table id="findAllRezerwacja2" IterBinding="findAllRezerwacja1Iter">
    <AttrNames>
    <Item Value="dataDo"/>
    <Item Value="dataOd"/>
    <Item Value="idRezerwacja"/>
    <Item Value="liczbaUczestnikow"/>
    <Item Value="prowadzacy"/>
    <Item Value="uwagi"/>
    </AttrNames>
    </table>
    <methodAction id="removeEntity" InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" MethodName="removeEntity"
    RequiresUpdateModel="true" Action="999">
    <NamedData NDName="entity"
    NDValue="${bindings.findAllRezerwacja2.currentRow.dataProvider}"
    NDType="java.lang.Object"/>
    </methodAction>
    <action id="Commit" IterBinding="findAllRezerwacja1Iter"
    InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" RequiresUpdateModel="true"
    Action="2"/>
    </bindings>
    //and rest of code for Iterator etc
    My second question is, why when you use refresh button in IE (I know is not recommended as You said, but sometimes user do it, so I want prevent situations that I will describe here) so when I press refresh button in IE exactly after removing one row by clicking my button, refreshing by pressing IE button is doing the same --> is deleting next row. How to stop deleting row, when for example user would press IE refresh button after pressing remove button for table. If I change selection in table after deleting row, and press refresh button in IE, instead of deleting row, I got error message: JBO-29000: JBO-35007: and
    JBO-35007. So where Im doing wrong. Maybe I should do sth with postback ? Could You help me? Thanks in advance
    Last one question: what is the difference between using delete and removeEntity from operations node? Im now reading carefully ADF Dev Guide, so I hope I can find infos there? But if You know, please answer to this question.
    Thanks

  • Azure remote App with Azure SQL Backend

    Hi, If I had an application which utilised a SQL backend could I host the front end in Azure remote app and the backend on an Azure SQL database or would I need to use IAAS to provide the backend?
    Many thanks
    James 

    Hi James,
    If the application is designed to be compatible with Azure SQL Database then yes, you can use Azure RemoteApp for the frontend and Azure SQL Database for the backend.  If the application is not compatible with Azure SQL Database then you would
    need to use SQL Server running in an IaaS VM, or SQL Server running in an on-premises VM.  The IaaS VM or SQL Database should be in the same Azure region as the RemoteApp collection in order to minimize latency.
    For example, say you have an internally-developed application that uses SQL Server 2012 as its backend database.  Before you would be able to use Azure SQL Database you would first need to migrate the database to Azure SQL Database and make any changes
    necessary to the application and/or database for compatibility.  The SQL Database Migration Wizard is helpful for this process.
    -TP

  • For the last year, I have to refresh my browser to load certain normal pages...IE opens them, but not Firefox. I also have extreme difficulties loading video from sites including YouTube, Yahoo, etc. I open them in IE just fine. I update all the time.

    For the last year, I have to refresh my browser to load certain normal pages...IE opens them, but not Firefox. I also have extreme difficulties loading video from sites including YouTube, Yahoo, etc. I open them in IE just fine. I update all the time.

    "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"<br />
    "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"<br />
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    Your plugins list shows outdated plugin(s) with known security and stability risks.
    *Java Plug-in 1.6.0_07 for Netscape Navigator (DLL Helper)
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)

  • Portal PL/SQL Item - getting connection id for Discoverer

    Finding the connection ID of a connection in Portal PL/SQL item.
    I am using a PL/SQL item in Portal to build a link to Oracle Discoverer.
    Everything is ok; except the user needs to enter a password to login to discoverer.
    I want to start discoverer plus using a private connection. The private connection ID of each user will be different.
    Is there any PL/SQLcode I can use to get this information?
    I am using to PORTAL.wwctx_api.get_user to get userid. I would like to dynamically get the connection id.
    I have hardcoded a private connection id and the link worked fine.
    Since each user has a unique private connection the hardcoding is not practical.
    Any help would be appreciated!! Thanks.

    Hi,
    I'm looking for the same answer. Anything?
    regards
    Malin

  • Creating system in portal for the backend SRM

    Dear All,
    We are in the process of setting up a system  in portal for the backend SRM system
    I have tried to create system in System admin--> System configuration --.>System landscape
    For SAP Web AS Connection , the parameters maintained are:
    Hostname : <FQ hostname>:8000  ( 8000 is the HTTP port for ICM)
    Web AS path: /sap/bc/webdynpro
    protocol :8000
    But test is failing as 'An HTTP/S connection to http://xxxxxxxxx::8000/sap/bc/webdynpro was not obtained successfully; this might be due to a closed port on the Firewall:
    test details:
    SAP Web AS Connection
      Test Details:
    The test consists of the following steps:
    1. Checks the validity of system ID in the system object.
    2. Checks if the system can be retrieved from the PCD.
    3. Check whether a SAP system is defined in the system object
    4. Validate the following parameters: WAS protocol; WAS host name
    5. Checks if the host name of the server can be resolved.
    6. Pings the WAS ping service; works only if the service is activated on the ABAP WAS.
    7. Checks HTTP/S connectivity to the defined back-end application
      Results
    1. The system ID is valid
    2. The system was retrieved.
    3. The system object represents an SAP system
    4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name (bhidfwao06.ent.bhicorp.com:8000)
    5. The host name bhidfwao06.ent.bhicorp.com was resolved successfully.
    6. The Web AS ping service http://bhidfwao06.ent.bhicorp.com:8000/sap/bc/ping was pinged successfully.
    7. An HTTP/S connection to http://xxxxxxxxx::8000/sap/bc/webdynpro was not obtained successfully; this might be due to a closed port on the Firewall.
    Is there any problem with the port, I doublechecked and the port for HTTP is 8000.
    If I give the Web AS path: /sap/bc/bsp  test is successful.
    Any pointers please?
    Regards,
    Arun

    hi arun,
    u may have to activate some more services in sicf
    u can follow this link what are the neccesary applicaiton need in sicf
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/d28dfa34bb12bee10000000a1553f7/frameset.htm
    let me know u need any further information
    ravindra

  • Automatically start SQL Agent service after SQL Server service fails and starts.

    Hi! 
    I have SQL Server 2008 R2 with two main services - SQL Server and SQL Agent.
    I'll try to describe my situation. It happens very occasionally, but sometimes SQL Server service terminates unexpectedly. It's my log:
    09/13/2013 10:46:21,Service Control Manager,Error,The SQL Server (MSSQLSERVER) service terminated unexpectedly.  It has done this 1 time(s).  The following corrective action will be taken in 120000 milliseconds: Restart the service.
    09/13/2013 10:46:21,,Error,[359] The local host server is not running,,,,
    09/13/2013 10:46:22,MSSQLSERVER,Error,The MSSQLSERVER service terminated unexpectedly.,Server,1073760843,,
    09/13/2013 10:46:22,,Warning,[139] AutoRestart: Attempting to restart the MSSQLSERVER service (attempt #1)...,,,,
    09/13/2013 10:46:27,,Warning,[139] AutoRestart: Attempting to restart the MSSQLSERVER service (attempt #2)...,,,,
    09/13/2013 10:46:32,,Warning,[139] AutoRestart: Attempting to restart the MSSQLSERVER service (attempt #3)...,,,,
    09/13/2013 10:46:32,,Error,[140] AutoRestart: The MSSQLSERVER service could not be restarted after 3 attempts,,,,
    09/13/2013 10:46:32,,Warning,[360] SQLServerAgent initiating shutdown following MSSQLSERVER shutdown,,,,
    As you can see, SQL Server service  terminates unexpectedly. Then SQL Agent service tries to start SQL Server service. After unsuccessfully attempts to start SQL Server service, SQL Agent service stops itself. I have the option setting in SQL Server
    service to start itself after unexpectedly stop within 2 minutes and it is works well. But I have to start my SQL Agent service after this manually. Unfortunately, I can't investigate the reason of my SQL Server stops unexpectedly and in this case I just want
    to make the settings to start both of my services SQL Server and SQL Agent automatically after this.  How can I set up this? How can I make my SQL Agent service starts after SQL Server service?

    Hello,
    SQL server agent service depends on SQL server service so unless SQL server service comes online agent will not come online so agent is depended on SQL server not the other wise.
    Now is your server 2008 R2 patched to latest service pack (SP2).If not please upgrade it to latest SP.Some fixes are there in Sp which will subside this issue.Can you paste output of
    select @@version
    >>Then SQL Agent service tries to start SQL Server service.No this is not the case
    >>Unfortunately, I can't investigate the reason of my SQL Server stops unexpectedly
    Did you checked sql server errorlog and windows event log completely.Please do so and paste if you find some more info
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

Maybe you are looking for

  • Unable to deploy a simple WAR / EAR file on Standalone OC4J instance

    All, This issue is baffling me since yesterday and while I continue to look for options , would appreciate if anyone of you has run into something similar and give me some hints on how to proceed on this .. I downloaded the Standalone OC4J ( 10.1.3 )

  • HP Laserjet P1006 won't print "Printer Offline"

    My hp laserjet p1006 won't print and the error message says "printer offline". The printer does show up in System Profiler. The printer is on, and connected via USB. Ready light on printer is on. Sometimes the orange light blinks but is mostly off. I

  • Very difficult to use adobe reader javascript debugger

    Hello, in the context of interactive offline dynamic adobe form, as I don't have Acrobat Pro, I did setup the debugger as Adobe says (install debugger.js + setup register keys), and I trigger it by adding an error in the javascript (for example : xxx

  • Xws-security returns always HTTP 200

    Hi, I am using libraries of JWSDP 2.0, jaxws and xws-security. My web service was generated from a WSDL schema and works so far fine. I need to secure the transportation with a xml signature. For that I am using the xws libraries. My problem is that

  • Withholdin tax portion ont comming in the vendor master

    dear all, when I am trying to up date the withholding tax information in the vendor master data I caanot find the with holding tax screen in the vendor master data. plshelp me rakesh