Field change listener vs Focus Listener

I would be grateful if anyone can identify the changes to the field vs focus change listener listener. For example, when a modified image button developed, which qualifies for a focus change but would be also a change of field?

When to use a listener to changes in the field?

FocusChangeListener is quite different from FieldChangeListener... FocusChangeEvent triggers when a development of a field or a lost field won focus (navigation of movement) or just slider field... But the FieldChangedEvent poses only when an event occurs on this component, that is to say A button click event, an event setText on a text field...

Thank you!

EDIT: TYPO FAULT

Tags: BlackBerry Developers

Similar Questions

  • Changing custom field problem Listener

    I created a custom field that works as a button. He painted a bitmap to the screen. And when it focuses it changes the color of the image. However, I try to add a field change listener to it. I looked on the forum and found this code.

    protected boolean navigationClick(int status, int time)
    {
         fieldChangeNotify(1);
         return super.navigationClick(status, time);
    }
    

    It works but I have a problem. You see, my button now push a small screen, thin in the stack that has another button of the same type on it (custom button). At the moment it is the only button on this screen, which means that it has the focus. But it seems that once my button has the focus, I can click anywhere and it is always enabled. I only want to be activated when I touch it. Any suggestions? Here is my code

    public class MenuButtonField extends Field
    {
        Bitmap imagePic;
        Bitmap highlightedPic;
        public MenuButtonField(String imageName, String focusedImg)
        {
            super();
            imagePic=Bitmap.getBitmapResource(imageName);
            highlightedPic=Bitmap.getBitmapResource(focusedImg);
        }
    
        public void layout(int width,int height)
        {
            setExtent(20,80);
        }
    
        public boolean isFocusable()
        {
            return true;
        }
    
        public void drawFocus(Graphics graphics, boolean on)
        {
            paint(graphics);
        }
    
        public boolean touchEvent(TouchEvent message)
        {
            int type=0;
            type=message.getEvent();
            if(type==TouchEvent.CLICK)
            {
                fieldChangeNotify(1);
                return true;
            }
            else{
                return false;
            }
        }
    
        protected boolean navigationClick(int status, int time) {
            fieldChangeNotify(1);
            return super.navigationClick(status, time);
        }
    
        protected void paint(Graphics g)
        {
    
            g.drawBitmap(0, 20, 20, 80, imagePic, 0, 0);
    
            if(this.isFocus())
            {
                g.drawBitmap(0, 20, 20, 80, highlightedPic, 0, 0);
            }
    
        }
    }
    

    PLEASE HELP ME

    I found help here
    http://supportforums.BlackBerry.com/T5/Java-development/navigationClick-invoked-when-clicking-outsid...

    The position of Scribe the Lion was the solution.

  • What is the best way to catch the change event of Focus of the field on the screen.

    Hi all

    I want to trace the change event of focus field, since my setFieldChangeListener and FocusChangeListener domain for a specific use. I can't put that kind of receiver.

    I want to use fieldChaneNotify, however, it does not call at the level of the screen.

    Is there a better way to track field focus change listener?

    I tried fieldChangeNotify and moveFocus... negative screen level...

    Thank you

    Sorry not sure I understand this.

    From what I understand, your problem seems to be that your field only supports a FocusChangeListener, so you can not add another.  Extend the scope to take in charge several FocusChangeListeners and is not your problem solved?  This seems a more elegant way that attempts to manipulate a change mechanism.

  • disable the value change listener until the previous process is complete

    I use Jdeveloper 12.1.2

    I have a text field that has a value change listener. The listener calls a function that manages a number of process and queries. The function then clears the text entry field and focus the cursor in the text entry field.

    My problem is that the user will enter the text back to back quickly it causes all locked up. Is anyway to prevent the user to enter additional text before the end of the listener.

    I tried the following, but he has not always prevented the user. At the beginning of the listener:

    FacesContext facesContext = FacesContext.getCurrentInstance ();

    UIViewRoot root = facesContext.getViewRoot ();

    InputText RichInputText = (RichInputText) root.findComponent ("it4");

    inputText.setDisabled (true);

    AdfFacesContext.getCurrentInstance () .addPartialTarget (inputText);

    then at the end of the listener, I re activated the field.

    inputText.setDisabled (false);

    AdfFacesContext.getCurrentInstance () .addPartialTarget (inputText);

    Maybe this can help: http://www.jobinesh.com/2010/10/preventing-user-input-on-fusion-web.html

    Dario

  • Pass a value change listener to a declarative component

    I use JDeveloper 11.1.1.6.0
    I am able to create my declarative component, but I need the ability to switch in listeners of different value changes depending on where the component is used, and sometimes I need to have no value for the component change listener.
    Currently, I tried to get the element with an attribute "ValueChangeListener' of type 'javax.el.MethodExpression' and gave the EL method in the method that handles the value change events. However, whenever I run the application, I get the following error at an event for change of value on the component. It acts as if I am the EL of passage is empty, but I do not understand why. I approach this issue the correct way or is there another approach recommended for this? If I approach it as expected, I have help to determine what I am doing wrong?

    ----------------
    error
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase PROCESS_VALIDATIONS 3
    javax.faces.el.EvaluationException: Method not found: {}.ValueChangeListener(javax.faces.event.ValueChangeEvent)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.broadcast(UIXEditableValue.java:214)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:444)
         at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:701)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ProcessValidationsCallback.invokeContextCallback(LifecycleImpl.java:1422)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:397)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    javax.servlet.ServletException: Method not found: {}.ValueChangeListener(javax.faces.event.ValueChangeEvent)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.faces.el.EvaluationException: Method not found: {}.ValueChangeListener(javax.faces.event.ValueChangeEvent)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.broadcast(UIXEditableValue.java:214)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:444)
         at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:701)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ProcessValidationsCallback.invokeContextCallback(LifecycleImpl.java:1422)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:397)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 38 more
    The declarative component level code
    <af:componentDef var="attrs" componentVar="component">
    ...
    <af:inputText label="#{attrs.Label}" id="dc_it1"
                          valueChangeListener="#{attrs.ValueChangeListener}"
                          partialTriggers="#{attrs.partialTriggers}"/>
    ...
    <attribute>
              <attribute-name>
                ValueChangeListener
              </attribute-name>
              <attribute-class>
                javax.el.MethodExpression
              </attribute-class>
            </attribute>
    ...
    test code of the page
    <af:panelFormLayout id="pfl1">
              <af:panelGroupLayout id="pgl1" partialTriggers="cb1">
                <gt1:customInputText id="cit1"
                                          Value="#{backingBeanScope.Section508TestBean.val}"
                                          Label="aeqawefawe"
                                          ValueChangeListener="#{backingBeanScope.Section508TestBean.valueChangeListener}"/>
              </af:panelGroupLayout>
              <af:commandButton text="commandButton 1" id="cb1"
                                actionListener="#{backingBeanScope.Section508TestBean.changeAndRefresh}"
                                partialSubmit="true"/>
              <af:inputText label="Label 1" id="it1" autoSubmit="true"
                            valueChangeListener="#{backingBeanScope.Section508TestBean.valueChangeListener}"/>
            </af:panelFormLayout>

    Hello

    In JavaServer Faces, components raise events to notify the application of a change or user interaction. The declarative elements in Oracle JDeveloper 11g allow the component developer spend events and actions of the method to the page of your. A method's return type and optional arguments that are passed to the call. On the page of your, ExpressionLanguage is used to bind the method property of the component to a managed bean with the expected signature method.

    If you create a method attribute (method tab) and click the button [...] in the field of the method Signature. Define the return 'null' and the parameter type of method like "javax.faces.event.ValueChangeEvent" then you can set up a change of value for her listener in the consumer application

    So what you did is simply not the right approach

    Frank

  • Impossible to trigger value change listener for a checkbox custom AF: table

    Hi all

    IAM using Jdev 12 c.

    I have a created a table and a list bound to the table. The values are perfectly filling. I added a checkbox as another column. All select/deselect the box, no event is triggered... Please find below the the code I used.

    JSPX code binding the table and column checkbox

    < af:table var = "row" rowBandingInterval = "0" id = "t1" binding = "#{EmployeeTableList.empTable} '"

    contentDelevery value = "#{EmployeeTableList.empList}" = "immediate" > "

    < af:column sortable = "false" headerText = "EMPID" id = "c1" >

    < af:outputText value = "#{row.empid}" id = "ot1" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "EMPNAME" id = "c2" >

    < af:outputText value = "#{row.empname}" id = "ot2" / > "

    < / af:column >

    < af:column id = "c8" headerText = "Select" >

    < af:selectBooleanCheckbox label = 'Label 2' id = 'sbc2' autoSubmit = "true" value = "false".

    valueChangeListener = "#{EmployeeTableList.newlyCreatedMethod}" / >

    < / af:column >

    < / af:table >

    I tried the javascript also, but not luck at all... If you use IAM table datacontrol and adding a column of the box... value change listener is triggering perfectly.

    Please help me. Thanks in advance.

    Concerning

    Leprince

    Hi Ram,

    Thanks for the reply... I can trigger other events in the table.

    Finally, finally, I got solution... I use the scope of the request for the bean managed in my application. I changed the scope of the request to see... then is triggering events to change value perfectly.

    Thanks everyone for the help and support!

    Concerning

    Augustin Leprince

  • copy the input values in the text the text of input 2 input 1 using the value change listener

    Hello

    I have two text entry:

    input 1 & 2 text text entry.

    I need to copy in the text of entry 1 input values to enter text 2.

    How to apply this using value change listener?

    I did the following steps:

    (1) I chose 1 text entry and chose listener Value Change-> edit.

    Type a new name for bean & class.

    Should what the name of the method I add?

    Any help please?

    Hello

    Just follow the steps below.

    1 create a jspx page and drag drop two intput text on the page.

    2 linking these two text of entry to bean managed on the basis and the scope of bean on bean with property name inputVal1, inputVal2 and backing

    3. Select the input text 1, go to valueChangeListener property and use the existing bean and give some name of method and the copy of the code in the method below

    inputVal2.setValue (inputVal1.getValue () m:System.NET.SocketAddress.ToString ());

    4. set the autoSubmit = true for the 1st input text. Set partialTrigger = it1 (it1 is id of the 1st input text).

    Now run the page

    Thank you

    Nitesh

  • The field changes created if a contact is deleted and then reimported?

    I know that a lot of data is lost if a contact is deleted from Eloqua and then re-imported. Creation Date information are lost? For example, if a contact is added to the original Eloqua on, say, 01/01/2013, deleted at 02/01/2013 and then re-imported on 03/01/2013. Date on which will appear in the Date created field?

    Thank you.

    I answer myself... So, I advanced and deleted one of my test addresses and then recreated. The Date created field changed to today. Interestingly, it seems that my story was recorded.

  • Change the value of a field when the value of another field changes.

    I have a level of order form with a number of areas where the quantity (number) is typed in they are labeled qty1, 2 and so on.

    Some of the items on the order form attract additional fixed a load which is shown in a separate field call it addcharge.

    If qty1 has a number entered it attracts an additional cost and the addcharge field changes the value of zero to say 1

    If 2 has a number entered without extra charge applies

    If 3 is a number entered without supplement applies

    If qty4 has a number it attracts an additional cost and the addcharge field changes the value of zero to say 1 or if the previous qty1 has already changed the addcharge to 1 field, remains at 1.

    If qty5 has a number entered it attracts an additional cost and the addcharge field changes the value of zero to say 1 or if the previous qty1 and qty4 has already changed the addcharge to 1 field, it remains 1


    It seems to me that some "if else" enabling javascript is necessary in the sense of "If qty1 field is greater at 0 addcharge field is 1"and I guess the script must be placed in each field which attracts addcharge.»»»


    Can anyone help with the script please.


    Thanks Eric

    Please sign the right answer. Thank you.

  • Changing listening Port number Web in EBS

    The listening port web of enforcement of BSE (the login page URL) can be changed after the fact using Note ID 760590.1 without affecting the port DB application was initially introduced to listening?

    Thank you

    864641 wrote:
    The listening port web of enforcement of BSE (the login page URL) can be changed after the fact using Note ID 760590.1 without affecting the port DB application was initially introduced to listening?

    Yes. However, should not be used the same pool of port on the nodes of level apps/db.

    Thank you
    Hussein

  • Changing LISTEN Port

    Hi guys,.

    I am facing a weird problem. I have my speaker installed on 1522 and I want to bring back to 1521.


    Here's my listener.ora looks like now
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    )

    ADR_BASE_LISTENER = / u01/app/oracle

    and my tnsnames.ora

    MyDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = mydb)
    )
    )

    LISTENER =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))


    So I tried following
    lsnrctl stop
    lsnrctl start
    SQL > alter the registry system;


    [oracle@localhost admin] $ lsnrctl status

    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on March 8, 2012 17:57:58

    Copyright (c) 1991, 2011, Oracle. All rights reserved.

    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
    Beginning of March 8, 2012 17:42:12
    Uptime 0 days 0 h 15 min 46 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora file
    The listener log file /U01/app/Oracle/diag/tnslsnr/localhost/listener/alert/log.XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=localhost) (PORT = 1521)))
    The listener supports no services
    The command completed successfully
    [oracle@localhost admin] $


    So it's not registers all the services.

    If change the listener.ora and tnsnames.ora to 1522 port and repeat steps above.
    It shows all the services.


    Anything I'm missing, please help.


    Concerning
    Neo

    Neo wrote:

    So it's not registers all the services.

    Take a look at the parameter LOCAL_LISTENER of the instance (pfile/spfile).

    It specifies how the instance should contact the local listener - including the IP and port.

    Null value will return to the default behavior (contact port 1521, current hostname).

  • Password change listener

    Hello
    I use 11.2.0.1.0 on OEL5. The listener is password protected, and I do not have his password. I am connected with the oracle user to the OS level and can run the lsnrctl commands. Is it possible to reset the password for the listener using the command sequence:


    change_password
    set password
    save_config

    Also, it is necessary to recharge the listener after the change of password?

    concerning

    Panicked DBA wrote:
    Hello
    I use 11.2.0.1.0 on OEL5. The listener is password protected, and I do not have his password. I am connected with the oracle user to the OS level and can run the lsnrctl commands. Is it possible to reset the password for the listener using the command sequence:

    change_password
    set password
    save_config

    Yes, the above steps are ok.

    Also, it is necessary to recharge the listener after the change of password?

    N ° no need to bounce back to the listener.

    LSNRCTL > change_password
    Old password:
    New password:
    Retype the new password:
    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP (PORT = 1524))(HOST=1.1.1.1)))
    Password changed for EARPHONE
    The command completed successfully
    LSNRCTL > set password
    Password:
    The command completed successfully
    LSNRCTL > save_config
    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP (PORT = 1524))(HOST=1.1.1.1)))
    Listener registered configuration settings.
    Parameter Listener of the /u01/oracle/app/oracle/product/11.2.0/db_1/network/admin/listener.ora file
    Former parameter of the /u01/oracle/app/oracle/product/11.2.0/db_1/network/admin/listener.bak file
    The command completed successfully

    Hope that helps.

  • IP changed - listener fails

    Hi all. I needed to change an ip address of my machine. After that, I get an error when I start the listener (on the same machine):
    lisnrctl startNoright (c) 1991, 2007, Oracle.
    System settings file is /oracle/10.2.0/network/admin/listener.ora
    Log messages written to /oracle/10.2.0/network/log/listener.log
    Trace information written to /oracle/10.2.0/network/trace/listener.trc
    Trace level is currently 0

    Started with pid = 6288
    Error listening on: (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
    TNS-12545: Connect failed because target host or object does not exist
    AMT-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    Linux error: 11: Resource temporarily unavailable
    I have my interlocutor chaecked:
    SID_LIST_SNOWMAN =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = mydb1)
    (ORACLE_HOME = oracle/10.2.0)
    )
    (SID_DESC =
    (SID_NAME = mydb2)
    (ORACLE_HOME = oracle/10.2.0)
    )
    (SID_DESC =
    (SID_NAME = mydb3)
    (ORACLE_HOME = oracle/10.2.0)
    )
    )

    = SNOWMAN
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = * 192.168.64.2 *)(PORT = 1521))
    )
    )
    )


    ifconfig
    ip: 192.168.64.2

    What's wrong?

    Run the utility netca and remove and re-create your listener

  • change field bitmap on the focus of radio button

    Hello

    I have 4 radio buttons in a group of radio buttons. Each of the radio buttons has a picture that is linked to. I want to change the image of a bitmap field whenever a radio button got the update.

    How can I do?

    Thanks in advance.

    Call super.onFocus and super.onUnfocus, as well as the change of the bitmap of treatment.

  • 11.1.2.3 JDEV get the selected value of RichSelectOneChoice at the bean (but not in the value change listener)

    We have implemented our own listener of downloading files to export the table data in Excel. The reason for this was that we did not want certain columns to export.

    We have the collectionmodel table. All columns have been extracted from the table and for each column the value inside the component was read and written in the outputstreamwriter.

    Now the problem is, we have a few selectonechoice fell in the columns of the table read-only. For components, it exports the data that the index selected and the value selected.

    Is it possible that I can get the selectedValue of the component of type RichSelectOneChoice in the bean?

    We use Jdev pointers 11.1.2.3... Any are appreciated...

    Found the solution. Add LOV VO as iterator in a combination to page and access it as below... use index that selectonechoice.getvalue returns as well as the name of the iterator.

    BindingContainer links is BindingContext.getCurrent () .getCurrentBindingsEntry ();.
    DCIteratorBinding dciterContainer = (DCIteratorBinding) bindings.get (iteratorName);
    Ri rank = dciterContainer.getRowAtRangeIndex (index.intValue ());
    String val = (String) ri.getAttribute (attrName);

Maybe you are looking for