Command link action not being called

Hi,
I raised another bug about this and I thought I had fixed this but it seems to have come back again! Here are the details:
The Problem
- I have a jsf application that uses SDO to manage database calls/changes. In the application I have a navigation menu which consists of command links. From time to time (doesn't always happen) you click on a link and the page just refreshes and you are not taken to the requested page. Now this doesn't happen all the time! I've looked at logs and added debugs but I can't find anything apart from the face that when the page just refreshes the action behind the command link is not called.
Has anyone experienced this before? I'm using wsad 5.1.2 and have this problem and the version of faces is 1.0.
Please help as I have no idea what is causing this!!

yep, sorry for reposting but in that post I said I had it fixed but obviously its not. What's really change is that I cant recreate this problem on my laptop but on our dev and test environments this problem still exists. My initial thoughts is that this is an environment problem but i'm not totally convinced as the was settings etc are the same as on my laptop.

Similar Messages

  • Resource action not being called

    The executable file not being called
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Waveset>
    <ResourceAction name='AfterUpdate'>
    <ResTypeAction restype='Red Hat Linux' timeout='6000'>
    <act>
    /usr/local/vistaplus/vadmin c=mu us=$(USER_NAME) pas=$(USER_PASSWORD)
    exit
    </act>
    </ResTypeAction>
    </ResourceAction>
    </Waveset>

    yep, sorry for reposting but in that post I said I had it fixed but obviously its not. What's really change is that I cant recreate this problem on my laptop but on our dev and test environments this problem still exists. My initial thoughts is that this is an environment problem but i'm not totally convinced as the was settings etc are the same as on my laptop.

  • Solution to Button Action not being called in IE

    All,
    Thought I'd post a solution to a problem I had recently. I have seen variations on a theme elsewhere on the net.
    IDE: Java Studio Creator 2, Update 1.
    Problem: The button action associated with a button component on a jspx page is not called when using IE 6, but is called using M. Firefox 1.5.
    Background: The jspx page is a combination of one core jsp page and four jsp fragments (header, main nav bar, module nav bar, authorization code). Several components are present on the core jsp page (layout components, table, buttons), several on the header, main nav bar, module nav bar fragments (images, hyperlinks, text), JSTL and a lonesome form on the authorization fragment. You can see where I'm going....
    Solution: The problem was with the authorization fragment. The authorization fragment is meant to be dropped on pages that I want to protect from users without the authorized role, perhaps by these users trying to navigate to it by URL manipulation. I added some JSTL code to specifically look at the role authorization for the current session user. If not in that role, they are redirected to the home page. Navigation links are secured by similar authorization using the rendered property bound to session data. The form was the problem. Unfortunately, I didn't give much thought to the additional component I would need on the fragment. I had to add something so I picked a layout one. The IDE appears to require a component. To correct the problem, I simply set the rendered property to "false". IE 6 now works fine, M. Firefox 1.5 was always happy. Code example below...
    Code Pre:
    <?xml version="1.0" encoding="UTF-8"?>
    <div style="-rave-layout: grid; width: 400px; height: 200px" xmlns:c="http://java.sun.com/jstl/core" xmlns:f="http://java.sun.com/jsf/core"
        xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
        <c:if test="${SessionBean1.monitor==false}">
            <c:redirect url="/faces/Welcome.jsp"/>
        </c:if>
        <ui:form binding="#{MonCheck.form1}" id="form1" />
    </div>
    Code Post:
    <?xml version="1.0" encoding="UTF-8"?>
    <div style="-rave-layout: grid; width: 400px; height: 200px" xmlns:c="http://java.sun.com/jstl/core" xmlns:f="http://java.sun.com/jsf/core"
        xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
        <c:if test="${SessionBean1.monitor==false}">
            <c:redirect url="/faces/Welcome.jsp"/>
        </c:if>
        <ui:form binding="#{MonCheck.form1}" id="form1" rendered="false"/>
    </div>

    Hi there,
    Great to know you were able to fix your problem. Thanks for posting the solution as well, Im sure It'll help the community.
    Thanks
    K

  • On Command Link Action is not Firing

    Hi
    I am using JDev Version 11.1.1.6
    I have command link where i wrote a method in bean for Action. And the same command link has the showpopup behaviour
    My assumption was on click of command link Action method fires first then showpopup behaviour fires next.
    But when i click on command link action method is not firing, only showpopup behaviour is firing .
    is it expected behaviour?
    Many Thanks,
    ~Jagadeesh Badri

    Hi Jagadeesh
    Yes, it is an expected behaviour. The documentation about af:showPopUpBehaviour says that:
    The showPopupBehavior tag cancels the client event defined by the triggerType. Canceling the client event will prevent delivery to the server. This is significant for action events raised by command family components because the server-side action listeners will be ignored. All actionListener method bindings and associated action listeners will not be invoked when the triggerType of "action" is used.
    This means that if you use the triggertype of action, then your action method in the link will be ignored. Maybe if you change the triggerType to 'Click' you will get your actionListener triggered and the popup showed.

  • BUG: Return listener not being called for manually launched dialog

    Hello all,
    I have found a bug in the dialog framework. To set the stage, I have a ADF Faces page with a command button on it. The partial submit property is set to "true" and the use window property is also set to "true." I also have the returnListener property set to a method in the backing bean. When I set the Action property of the command button to a global navigation rule that launches a dialog, the return listener is being called correctly when I dismiss the dialog.
    However, when I launch the dialog from an action listener, the return listener is not being called. Here is my action listener code:
      public void al (ActionEvent ae)
        FacesContext context = FacesContext.getCurrentInstance();
        ViewHandler vh = context.getApplication().getViewHandler();
        UIViewRoot dialog = vh.createView(context, "/infrastructure/ICConfirmDelete.jspx");
        HashMap properties = new HashMap();
        properties.put("width", new Integer(300));
        properties.put("height", new Integer(300));
        AdfFacesContext.getCurrentInstance().launchDialog(dialog, null, ae.getComponent(), true, properties);
      }and here is my return listener:
      public void rl(ReturnEvent re)
        System.out.println("in return");
        System.out.println((String) re.getReturnValue());
      }OK - here's an update. If the command button is in the Actions facet of the page, everything works as expected. However, if the button is in the selection facet of a table (inside of afTableSelectOne) - it does not work properly as documented here. It also works correctly if the button is in the actions facet of the table. I think that this is a bug and needs to work - my use case (as you might tell from my code) is to do a delete confirmation dialog. My short-term workaround is to use the Action instead of ActionListener property on the command button, but the issue I have is that the pop-up dialog is just a tad too small, and is showing scrollbars.
    Regards,
    John
    Message was edited by:
    John Stegeman
    Added additional information about tableSelectOne

    Gabrielle,
    Sorry for the confusion.
    What does not work:
    Initiating a dialog from the ActionListener attached to a command button (where the command button is inside an afSelectTableOne) will not fire the returnListener when the dialog is closed.
    What does work:
    Initiating a dialog by returning a dialog-based navigation rule (e.g. a string starting with "dialog:") from the Action attached to a command button (even if the command button is inside an afSelectTableOne) - the return listener is called when the dialog is closed
    What also does work:
    Initiating a dialog with either method (Action or ActionListener) when the command button is elsewhere on the Page (e.g. in the Actions facet)
    Hope this clarifies the bug. I could send a test case if desired.
    Kind regards,
    John

  • Classic BADi not being called

    Hello Experts... Your kind and expert advice is deeply appreciated...
    We had implemented a BADi in CRM4.0 and that is being called and working alright.
    We are now upgrading CRM4.0 to CRM7.0. With this change classic BADis is not being called.
    Difference I noticed in calling program is that in CRM 4.0 BADIs were pulled/instantiated by factory method. However in CRM 7.0 it uses "GET BADI" command. But since "GET BADI" does not fetch implemented BADi, it throws BADI not found exception.
    - I searched and learnt that "Get BADI" can fetch classic BADIs and there is no need to migrate classic BADIs to new BADIs ...(if I am not wrong)..
    - Also that I re-activated classic BADi in CRM 7.0 but still "Get BADI" does not pulled/instantiate BADi.
    - Also I search to have report "ENH_BADI_ADD_MIGR_INFO" run to create link between Classic and new BADi. Will this work?
    Kindly advice to call classic BADi in CRM 7.0? Appreciate it. Thanks!
    Warm Regards,
    Kalpit

    Hi,
    Check if this BADI is migrated to enhancement spot (In attributes TAB). If yes, you need create an enhancement implementation for
    this BADI.
    Thanks,
    SKJ

  • MethodBinding from commandLink not being called

    Hello,
    I am building a dynamic datatable and everything is being rendered fine. However, now I want to implement row selection on the table and am doing so by rendering a commandLink on each row that the user can click to select the row. I would like to bind this to an action method in my bean and have so far been unable to invoke the action method when I click on the link. Here is my code:
    UICommand comm = new UICommand();
    MethodBinding mbButton = app.createMethodBinding("#{myBB.buildModel}", null);
    comm.setAction(mbButton);
    code]
    And my backing bean is defined in faces-config as myBB.  In that backing bean, I have:      public String buildModel() {
         logger.info("BuildModel invoked");
         return "stay";
    But buildModel is not being called at all when I click the link on the page. What am I missing?

    Figured it out.
    You need to set an ID for each comm, also. Adding a call to comm.setId(<unique ID>) fixed the problem.

  • Smartforms : Second Page Main Window not being called

    Hi All,
    The smartform has 2 different pages, with totally different layout.
    This also include that the Main window of both pages are different, having 2 different tables to fetch data.
    The main window width sizes are the same on both the pages.
    I have already used the Command node to call the second page, which it does.
    The problem I am facing now is that the Secondary windows on page2 gets displayed, but the main window does not get displayed.
    I have put a break-point in the code of main window of Page2. When executing this, it does not get triggered at all.
    Now if I change the attribute of this main main window to secondary window and then I execute it then it gets triggered and gets displayed.
    I have to keep this window as the main window as there might be chances of data overflow which should then continue printing on the next pages, therefore I cannot make it as the secondary window.
    Please tell why the Main Window is not being called? (Note: Size of Main Windowin Page2  is same as main window in Page1)
    I have searched the SDN already and did not find a solution to resolve this problem.
    Thanks in Advance.
    Regards,
    Darpana.A

    Hi All,
    I have got the solution to this probelm.
    In Page1 Main Window I have Table1 and a command node to Goto Page2.
    Just after this command node I have added Table2 which earlier was the table in Main window of Page2.
    So currently the Main window in Page2 has nothing included in it.
    Anything after Command gets printed into the next page. Table2 is a part of Main Window in Page1 which gets printed into Main window of Page2.
    Thanks for all your replies.
    Regards,
    Darpana.A
    Edited by: Darpana Ahire on Aug 21, 2009 9:59 AM

  • IF_EX_HRPAD00INFTY~IN_UPDATE not being called

    Hi,
    I am trying to capture the employee information (InfoType 0002) during new hire action and send the information to an external system. IF_EX_HRPAD00INFTYIN_UPDATE not being called while maintaining InfoType 0002. However, IF_EX_HRPAD00INFTYIN_UPDATE is being called for other info types such as 0000, 0001, 0008 etc.
    Is there any other BAdi we use to archive the same functionality?
    Thanks,
    Vimalan

    Hi Vimalam
    This BADi Sud be called.
    Anyways U can use UserExit PBAS0001 to meet ur requirement.
    Award points if helpful.

  • BUG??? Overridden prepareModel not being called all the time

    I have an ADF/struts application that was originally developed with Jdev 10.1.2. I then migrated it to 10.1.3 and have been maintaining it with that for that past two months. Recently, I added some new pages and in those new pages I need to do some preprocessing. I was hoping to do this in the prepareModel of this page, however it is not being called when I come to the page via a submit button that is named "event_Calendar". If I click the search button on the Calendar page though, the prepareModel does fire, and the preprocessing takes place.
    Hyperlinks do work though. If I use a html:link with page "browseCalendar.do" it does get called an the preprocessing goes perfectly. I am guessing that this does not use the framework as extensively as the above example though.
    Is this a bug?? Or am I doing something wrong??
    Let me know if you need more info.
    Thanks,
    Chris

    public class BrowseCalendarPageController extends PageController {
        public void prepareModel(LifecycleContext context)
            super.prepareModel(context);
            System.out.println("Inside prepareModel");
            StrutsPageLifecycleContext actionContext = (StrutsPageLifecycleContext)context;
            DCIteratorBinding it = actionContext.getBindingContext().findBindingContainer("browseCalendarPageDef").findIteratorBinding("BS_CalendarFindViewIterator");
            Row row = it.getViewCriteria().getCurrentRow();
            if(row.getAttribute("StartTime") == null) {
                System.out.println("StartTime is null");
                Date date = new Date();
                SimpleDateFormat df = new SimpleDateFormat("MM-dd-yyyy hh:mm:ss a");
                row.setAttribute("StartTime",df.format(date));
            if(row.getAttribute("EndTime") == null) {
                System.out.println("EndTime is null");
                String start = row.getAttribute("StartTime").toString();
                SimpleDateFormat df = new SimpleDateFormat("MM-dd-yyyy hh:mm:ss a");
                try{
                    Date date = df.parse(start);
                    Calendar ca = Calendar.getInstance();
                    ca.setTime(date);
                    ca.add(Calendar.DAY_OF_MONTH,7);
                    Date newDate = ca.getTime();
                    row.setAttribute("EndTime",df.format(newDate));
                catch(Exception e) {
                    e.printStackTrace();
            it.getViewObject().applyViewCriteria(it.getViewCriteria());
            it.executeQuery();
    }

  • JSF: Method not being called

    Hi i've a problem that is grieving me. A method reference by a commandButton is not being called. Here's the code:
    JSP:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <%@page contentType="application/xhtml+xml"%>
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <title></title>
    </head>
    <body bgcolor="white">
    <f:view>
            <f:loadBundle basename="sisard.maqueta.web.resources.ApplicationMessages" var="messages"/>
         <h:form id="newBookForm">
                <h2><h:outputText value="#{messages.welcomeMessage}" />:</h2>
                <h3><h:outputText value="#{messages.insertnewbook}" />:</h3>
                    <table>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.code}" />:
                            </td>
                            <td>
                                <h:inputText id="code" value="#{GestionLibros.code}">
                                </h:inputText>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.example}" />:
                            </td>
                            <td>
                                <h:inputText id="example" value="#{GestionLibros.example}">
                                </h:inputText>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.title}" />:
                            </td>
                            <td>
                                <h:inputText id="title" value="#{GestionLibros.title}">
                                </h:inputText>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.yearpublication}" />:
                            </td>
                            <td>
                                <h:inputText id="datePublication" value="#{GestionLibros.datePublication}">
                                </h:inputText>                       
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.isbn}" />:
                            </td>
                            <td>
                                <h:inputText id="isbn" value="#{GestionLibros.isbn}">
                                </h:inputText>                       
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.cifeditorial}" />:
                            </td>
                            <td>
                                <h:inputText id="cifeditorial" value="#{GestionLibros.cifEditorial}">
                                </h:inputText>                       
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.nifautor}" />:
                            </td>
                            <td>
                                <h:inputText id="nifautor" value="#{GestionLibros.nifAutor}">
                                </h:inputText>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>                       
                        </tr>
                    </table>
                    <h:commandButton id="submit" action="#{GestionLibros.insertNewBook}" value="Inserir"/>               
            </h:form>
    </f:view>
    </body>
    </html>The backing bean:
    package sisard.maqueta.web.cases.case01.view;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.GregorianCalendar;
    import sisard.maqueta.sgl.model.exception.SGLException;
    import sisard.maqueta.sgs.model.exception.StockException;
    import sisard.maqueta.web.com.SGLManagedBean;
    import sisard.maqueta.web.com.ExceptionUtil;
    import sisard.maqueta.web.factory.DelegateFactory;
    public class GestionLibroManagedBean extends SGLManagedBean{
        private String code;
        private Long example;
        private String title;
        private Calendar datePublication;
        private String isbn;
        private String cifEditorial;
        private String nifAutor;
        public GestionLibroManagedBean() {
        public String insertNewBook() throws SGLException, StockException,
                                             Exception {
            DelegateFactory.getInstance().getLibroDelegate().insertarLibro(
                code,
                example,
                datePublication,
                isbn,
                title,
                cifEditorial,
                nifAutor);
                return "showBooksFound";
        public void setCode(String code) {
            this.code = code;
        public String getCode() {
            return code;
        public void setExample(Long example) {
            this.example = example;
        public Long getExample() {
            return example;
        public void setTitle(String title) {
            this.title = title;
        public String getTitle() {
            return title;
        public void setDatePublication(Date datePublication) {
            Calendar gregorianCalendar = new GregorianCalendar();
            gregorianCalendar.setTimeInMillis(datePublication.getTime());
            this.datePublication = gregorianCalendar;
        public Date getDatePublication() {
            return datePublication != null ? datePublication.getTime() : null;
        public void setIsbn(String isbn) {
            this.isbn = isbn;
        public String getIsbn() {
            return isbn;
        public void setCifEditorial(String cifEditorial) {
            this.cifEditorial = cifEditorial;
        public String getCifEditorial() {
            return cifEditorial;
        public void setNifAutor(String nifAutor) {
            this.nifAutor = nifAutor;
        public String getNifAutor() {
            return nifAutor;
    }faces-config.xml
    <?xml version="1.0" encoding="windows-1252"?>
    <!DOCTYPE faces-config PUBLIC
      "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
      "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
      <!-- ##################################################### -->
      <!-- MANAGED BEANS CASO DE USO 01- LIBROS -->
      <!-- ##################################################### -->
      <managed-bean>
        <managed-bean-name>BuscarLibros</managed-bean-name>
        <managed-bean-class>sisard.maqueta.web.cases.case01.view.BuscarLibroManagedBean</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
      </managed-bean>
      <managed-bean>
        <managed-bean-name>GestionLibros</managed-bean-name>
        <managed-bean-class>sisard.maqueta.web.cases.case01.view.GestionLibroManagedBean</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
      </managed-bean>
        <!-- ######################################## -->
        <!-- NAVIGATION RULES CASO DE USO A01-DATOS ADMINISTRATIVOS DE USUARIO -->
        <!-- ####################################################### -->
        <navigation-rule>
            <from-view-id>/searchBooks.jsp</from-view-id>
            <navigation-case>
                <from-outcome>showBooksFound</from-outcome>
                <to-view-id>/searchBooks.jsp</to-view-id>
            </navigation-case>
            <navigation-case>
                <from-outcome>insertNewBook</from-outcome>
                <to-view-id>/insertNewBook.jsp</to-view-id>
            </navigation-case>       
        </navigation-rule>
        <navigation-rule>
            <from-view-id>/insertNewBook.jsp</from-view-id>
            <navigation-case>
                <from-outcome>showBooksFound</from-outcome>
                <to-view-id>/searchBooks.jsp</to-view-id>
            </navigation-case>
        </navigation-rule>   
    </faces-config>Thanks in advance.

    Thanks for your reply. The problem was with Date datePublicacion. It was missing a converter.
    java.util.Date is deprecated. Is there a chance to use java.util.Calendar?

  • Module Function not being called by the planning function

    Hi all,
    I am having a problem with the MF assigned to the planning function of my planning level. It's not being called when executing the layout using Planning Folder. This action is suppose to be taken when saving the entries of the layout (I have made the proper setting in planning folder)
    When I execute the planning folder and manually introduce data in the layout and save, the MF is not executed but data is loaded in the infocube anyway. I have put a breakpoint in the MF but never stops, as never has been called.
    Please, could anyway let me know his comments?
    Best Regards!
    José.-

    Hi Jose,
    There could be two reasons why the FM might not work.
    1. The level selections for which the FM runs and the Layout gets executed might different and the FM is not getting the Requisite Data set to read data from .
    The solution could be check the level selections and execute the FM .Also after you save the Data ,please do an F9 to check the display message.Chekc if oyu Function module is reading any data set at all(ifit says 0 read ,0 changed statement i mean).
    2. The second reason could be that the FM is not initialised at all.To initialise the FM you need to write an initialisation FM and place it in the INIT part of the Exit function.This creates dummy records if your data set is initially empty which is the case here.Here is a sample code you might get reference from .
    Create one dummy combination
    If we don't do this, the upload won't work since the second function
    will not be executed at all in case no transaction data exists so far.
    The combination must be a subset of the planning level!
    " >>> BEGIN INSERT
      IF l_count = 1.
        EXIT.
      ELSE.
        CLEAR ls_chas.
        CLEAR: ls_chasel.
        LOOP AT ito_chasel INTO ls_chasel.
          CLEAR: ls_charng.
          READ TABLE ls_chasel-t_charng INTO ls_charng INDEX 1.
          IF sy-subrc = 0.
            ASSIGN COMPONENT ls_chasel-chanm OF STRUCTURE ls_chas TO <f>.
            IF sy-subrc = 0.
              <f> = ls_charng-low.
            ENDIF.
          ENDIF.
          CLEAR: ls_chasel.
        ENDLOOP.
      ENDIF.
      " <<< END INSERT
      COLLECT ls_chas INTO lto_chas.
      eto_chas = lto_chas.
    ENDFUNCTION.
    Hope this helps.
    regards
    Sai Vishnubhatla

  • ShouldStartLoadWithRequest callback not being called in UIWebView

    Hey--
    First post ever on here, I'm having this bizarre issue with shouldStartLoadWithRequest not being called when clicking a link inside a UIWebView.  Now for some base info, I do have <UIWebViewDelegate> in the .h and and have labelTextWebField.delegate = self; in viewDidLoad.  I also setup (for testing) webViewDidStartLoad and that callback is hit perfectly every time.
    This is how I'm setting up my webView:
    labelTextField.text = [NSString stringWithFormat:@"%@\n%s", labelTextField.text, "<a href=\"http://www.google.com\"><b>test<br></a>"  ];
    [labelTextWebField loadHTMLString:labelTextField.text baseURL:nil ];
    Clicking a link then calls the webViewDidStartLoad but never hits shouldStartLoadWithRequest.  I'm sure whatever I'm doing wrong is pretty dumb, but being somewhat of a beginner at this I haven't the foggiest idea why only one would work but not the other.  Thanks

    that was it, I had a typo, doh!    Thanks so much!

  • Newbie question: dataOfType not being called

    Hi, I'm new to Cocoa and GUI programming. I'm working my way through the Hillegass book, and I'm trying to do the challenge at the end of chapter 18. It involves saving, which was covered earlier in the book, but for some reason I can't get "dataOfType" to work. I've put in a NSLog line at the beginning, so I know the method is not being called when I save. I have it as a method of the MyDocument class, but I haven't done anything special to it. Can anyone tell me what I need to do to get it to be called? Did I miss a link in interface builder?

    I see you haven't gotten any responses, and I don't know enough to help you with this, but I just wanted to recommend that it might help if you posted the code that you're dealing with (or at least the relevant parts of it) -- I think that will often help the devs around here get an idea of how to help. You can post the code between two {code} tags and it will format it nicely for you.

  • Essbase Error 1013206 - SetActive Commands are Currently Not Being Accepted

    Hi All,
    I am facing the below error very frequently which is causing the disabling the "Enable connects"on the respective application. It is not happening for all the scheduled processes, just BETWEEN the last cube build or first cube build of the day.
    In Essbase.log server logs observered as below:
    [Fri Sep  9 15:51:51 2011]SERVER NAME/ESSBASE0///Error(1051544)
    message on contacting or from application:
    [Fri Sep  9 15:51:51 2011]SERVER NAME////Error(1013206)
    SetActive Commands are Currently Not Being Accepted
    [Fri Sep  9 15:51:51 2011]SERVER NAME/ESSBASE0///Warning(1051003)
    Error 1013206 processing request [MaxL: Execute] - disconnecting
    Please suggest as It is happening repetedly andcausing the Down time.

    Is it possible that you've issued the command: alter application disable connects ;
    That would cause MaxL to send back that message.
    Per the docs:
    Prevent any user with a permission lower than Application Managers from making connections to the databases that require the databases to be started. This includes starting the databases or performing the ESSCMD SELECT command on the databases. Database connections remain disabled for all databases in the application, until the application setting is re-enabled by the administrator.Link: http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_tech_ref/maxl_altapp.html
    Is it possible that you issue that command and then try to do things with a username that doesn't have App Manager or higher rights?
    Regards,
    Cameron Lackpour

Maybe you are looking for