Set Up a listener
Hey everyone, Could some one help me set up a listener?
Hey
Check the netmgr command
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14196/network002.htm
Regards
Similar Messages
-
How do I set a Phase Listener to only run for a specific page?
How do I set a Phase Listener to only run for a specific page?
I understand that a Phase Listener runs for ever page in the application, however I want a phase listener to only run for one page at the beginning of the application.
I discovered I can't use a Filter, because the JSF Application instance always returns null.
Thus, I thought a Phase Listener would be a good approach.
Thoughts?
Thanks,
--ToddI have moved forward with checking the requested URI...
(shivers)
Thanks,
--Todd -
Issue with setting an Action Listener for a Command Button
Hi all,
I'm trying to set an action listener for a CoreCommanButton in a backing bean. Here's my code:
CoreCommandButton editBtn = new CoreCommandButton();
MethodBinding mb = FacesContext.getCurrentInstance().getApplication().createMethodBinding("#{backBean.doButtonAct}",null);
editBtn.setActionListener(mb);
//Action listener method
public void doButtonAct(ActionEvent actionEvent)
I keep getting a javax.faces.el.MethodNotFoundException error. However when I remove the ActionEvent parameter in doButtonAct(), I get a wrong number of arguments error.
So i'm guessing there is something wrong with the parameters i accept in my action listener method. what can be causing this issue?
Cheers.I figured this out.
Since doButtonAct() requires an ActionEvent object as a parameter, i needed to define the parameter type when I create the method binding.
Solution:
Class argsString[] = new Class[] { ActionEvent.class };
MethodBinding mb = FacesContext.getCurrentInstance().getApplication().createMethodBinding("#{backBean.doButtonAct}",argsString); -
hi all.
i am using oracle database 11g R2 and Oracle Enterprise Linux 5.5 64bit.
i have been already set password for listener but when i start and stop then its not asking for Authentication?
plz guide me thanks in advance.hi
i have been already done that what you suggested for me,current listener is listener.
even i used netmgr to check authentication tab.
i am already member of DBA Group.
here is my listener settings.
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora
# Generated by Oracle configuration tools.
PASSWORDS_LISTENER = 587DE10070B3EF82
#----ADDED BY TNSLSNR 06-MAR-2012 11:23:42---
ADMIN_RESTRICTIONS_LISTENER = ON
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost2)(PORT = 1521))
ADR_BASE_LISTENER = /u01/app/oracle
SAVE_CONFIG_ON_STOP_LISTENER = TRUEEdited by: Kelly on Mar 6, 2012 3:55 AM -
Can i set a window Listener to JApplet
can i set a window listener to applet if yes how?
thanksboss
my problem is i have some drawing in the panel.when i minimize the window it will disappear because it is dynamically getting drawn.So, for capuring the old drawing, i store the coordinates into the vector and
trying to redraw by calling a method when applet gets
maximized.
Initially the application was a stand alone , so i used
JFrame and window listener and whenever frame gets activated , i used to redraw the line . Now we have changed to applet.
And i tried to implement window listener, i could not able to add listener to the contenetPane.
So i decided to call my drawing method from START(),Since start is been called whenever applet is activated.I decided to do so.
But the problem is ,it is calling the method,identifying the
coordinates but the lines are not appearing in the screen.
My suspection is, it is drawing the line and once again
repainting the screen automatically.
If u people wants to see am ready to post the code. -
Property on Backing Bean is Not set when Action Listener is Fired
Why is it that when my action listener is invoked, the property for my other component on the page has not been reflected in model yet?
Here is what I have:
My JSP has the following two components:
<h:inputText value="#{manageQuestionBean.newStory}"></h:inputText>
<h:commandButton value="add" actionListener="#{manageQuestionBean.onAddStory}"></h:commandButton> My Java code has the following:
public void onAddStory(ActionEvent event) {
//This always prints out 'null'
System.out.println("The value of 'newStory' is: " + newStory);
//TO DO: this is where the logic would go for creating a new story object.
} When I put logging statements inside my setter for the newStory property, I see that it is being set to the right value, but then it being reset to empty string. Why is that? During what phase do the action listeners get invoked?Which JSF implementation/version are you using?
mczauz wrote:
When I put logging statements inside my setter for the newStory property, I see that it is being set to the right value, but then it being reset to empty string. Why is that? When exactly happens when exactly?
During what phase do the action listeners get invoked?The invoke application phase, after the update model values phase.
You may find this article useful to learn about phases and how to add a 'phase debugger' yourselfl: [http://balusc.blogspot.com/2006/09/debug-jsf-lifecycle.html]. -
I have installed Oracle and am able to access it locally. Unfortunately, I can't access it remotely. lsnrctl status does not list the XE instance. The following are the contents of the relevant files/command outputs:
listener.ora
# listener.ora Network Configuration File:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = Neon)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
/etc/hosts
127.0.0.1 localhost.localdomain localhost Neon
::1 localhost.localdomain localhost6 localhost
lsnrctl status
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 04-SEP-2012 12:27:21
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 31-AUG-2012 16:49:12
Uptime 3 days 19 hr. 38 min. 9 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/11.2.0/xe/log/diag/tnslsnr/Neon/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
I am able to log into the database using sqlplus mkhan/password and run the following query, select * from all_users and get the following output:
SQL> select * from all_users;
USERNAME USER_ID CREATED
XS$NULL 2147483638 28-AUG-11
MKHAN 49 30-AUG-12
LKEDONGA 48 23-JUL-12
APEX_040000 47 28-AUG-11
APEX_PUBLIC_USER 45 28-AUG-11
FLOWS_FILES 44 28-AUG-11
HR 43 28-AUG-11
MDSYS 42 28-AUG-11
ANONYMOUS 35 28-AUG-11
XDB 34 28-AUG-11
CTXSYS 32 28-AUG-11
USERNAME USER_ID CREATED
OUTLN 9 28-AUG-11
SYSTEM 5 28-AUG-11
SYS 0 28-AUG-11
14 rows selected.
SQL>
but attempting sqlplus mkhan/password@XE or mkhan/password@Neon/XE or mkhan/password@localhost/XE results in the following:
SQL*Plus: Release 11.2.0.2.0 Production on Tue Sep 4 13:42:36 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Enter user-name:
Needless to say that Apex isn't working either but I'll tackle that later. I can log into the database using user oracle in group dba using "sqlplus / as sysdba". I can shutdown the database and start it back up. So I know I installed correctly.user11414072 wrote:
Thanks Ed.
On my PC, I installed the instant client 11.2. As I understand it, when I run sqlplus in a dos box as follows, I the DB server should respond and allow a connection
sqlplus mkhan/password@XE
In this case it should use the local tnsnames.ora to determine where the XE instance is, and initiate a connection.
I've also tried
sqlplus mkhan/password@Neon/XE and
sqlplus mkhan/[email protected]/XE and
sqlplus mkhan/[email protected]/XE
sqlplus mkhan/[email protected]:1521/XE
all of them give me
ORA-12170: TNS:Connect timeout occurred
AdThanksVance,the most common cause from ORA-12170 is a FireWall on or between client & DB server
what is OS name & version for both client & DB server? -
How to set a different listener on port 465 for SMTPS?
The idea is being able to manage both plain and secure SMTP while reconfiguring all clients for SMTPS.
How would you go about this?
I have
- created new Ip interface + listener
- created SMTP authentication profile
- created a new policy that requires TLS / SMTP Authentication
I am unable to send mail and I don't receive clear messages as to why it isn't working.AFAIK, ironport only support TLS (which is port 587) and if you try to enable 465 just to accomodate SSL (for those that using old broken MUA) it won't work.
-
How set custom parametrized listener? java.lang.IllegalStateException
I'm adding my custom listener to HtmlCommandLink. And I found, that if listener's constructor has no parameters, then it works well, and if it has some parameter, then exception occurs.
Here is the code with parameterless constructor:
link.addActionListener(new SelectListener());
And here is the code with parametrized constructor:
link.addActionListener(new SelectListener(12));
(the meaning of parameter is unimportant)
The exception is follows:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Buggy.SelectListener
javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
root cause
java.lang.IllegalStateException: Buggy.SelectListener
javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:98)
javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1406)
javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1272)
javax.faces.component.UICommand.restoreState(UICommand.java:332)
javax.faces.component.html.HtmlCommandLink.restoreState(HtmlCommandLink.java:876)
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1141)
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1157)
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1157)
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1157)
com.sun.faces.application.StateManagerImpl.restoreState(StateManagerImpl.java:581)
com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:89)
com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:290)
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:141)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)P.S. Exception occures not while this code is excuting, but while one clicks the link.
-
Help on preparing shell script for setting the listener password
Hi All,
I am working on checking all my DB servers listeners and if the password is not set for the listener then I need to set the password for that.
As we have many servers, I am planning to prepare the shell script for doing this task.
I am familiar with setting up the listener password manually, but strucked up to prepare the shell script to do the same task.
Can any one kindly help me on this.
Thanks in advance,
Mahi815537 wrote:
Could any body please help me.
Thanks,
MahiPatience, Grasshopper
This forum is not a chat line, and it is not paid support.
No one is responsible for monitoring it and giving a quick response.
Furthermore, it is a global forum. The person with the information you seek may very well live 20 time zones away from you and was going to bed just as you posted. He will not even see your post for several more hours.
Your original post went up in the middle of the night for half the world.
No one with the information you seek is deliberately withholding it until you sound sufficiently desperate. -
APEX Listener with APEX 3.0 on 11gR2
Yes, I am crazy.
We have many many APEX applications in APEX 3.0 running on a 10.2.0.4 database that needs desperately to be upgraded. As a test, I've set up a clean 11gR2 database and copied the production APEX database into it via datapump. I set up APEX Listener, as I don't have any OAS sitting around and the EPG doesn't seem to be supported for APEX 3.0... the Listener doesn't say one way or the other.
When trying to log in, I get the login page, but it tries to reference files such as apex_get_3_1.js while I only have files such as htmldb_get.js in my images directory in production. I noticed it is looking for what appears to be 3.1 files instead of 3.0 files... which concerns me.
The APEX listener appears to be more than just a Java PL/SQL gateway.
Is there a minimum version of APEX the APEX Listener supports?
Interested in pointers!
RobHi Rob,
Yes, I am crazy.Why would that be? ;)
We have many many APEX applications in APEX 3.0 running on a 10.2.0.4 database that needs desperately to be upgraded. As a test, I've set up a clean 11gR2 database and copied the production APEX database into it via datapump. I set up APEX Listener, as I don't have any OAS sitting around and the EPG doesn't seem to be supported for APEX 3.0... the Listener doesn't say one way or the other.APEX 3.0 is supprted by EPG. See the [url http://docs.oracle.com/cd/B32472_01/doc/install.300/b32468/post_inst.htm#CHDBEJDA]APEX 3.0 Installation Guide for details.
APEX Listener is capable of hosting APEX 3.0 as well, though APEX 3.0 wasn't supported anymore when APEX Listener was initially released. The current APEX release at that time was 4.0, so this would be the first version to be known as really stable, whereas you won't get any support for older releases anymore. From personal experience I know that there are now issues with APEX 3.1 and APEX Listener, so it'll probably also work with 3.0.
Concerning your database release, the minimum for APEX Listener is 10.2.0.3, so you're definetly safe on that part, though I'd recommend to upgrade as regular support for 10.2 databases ended.
When trying to log in, I get the login page, but it tries to reference files such as apex_get_3_1.js while I only have files such as htmldb_get.js in my images directory in production. I noticed it is looking for what appears to be 3.1 files instead of 3.0 files... which concerns me.This indicates that your APEX would actually be a 3.1 and you should update you images directory.
The APEX listener appears to be more than just a Java PL/SQL gateway.It is, but this has nothing to do with your 3.1 JS files, if this is why you stated this.
Is there a minimum version of APEX the APEX Listener supports?As mentioned above, 4.0 would be a safe approach, but 3.1 will definetly work, 3.0 probably will as well. I'd recommend you find out which APEX version is actually installed on your database before you consider any upgrade operations. Run the following query as privileged user:
SELECT comp_name, version, status
FROM dba_registry
WHERE comp_id = 'APEX';-Udo -
Which listener should be used in a standalone grid infrastructure env?
gurus:
I installed a 11.2.0.2 standalone grid infrastructure on a linux box and created a database manually. I then used netca to create my listener which created 2 listener files:
a. under my DB home:
aml6:/u00/app/oracle/product/11.2.0/dbhome_1/network/admin > cat listener.ora
# listener.ora Network Configuration File: /u00/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER_ETL =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = aml6.lynk.lynksystems.com)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
ADR_BASE_LISTENER_ETL = /u00/app/oracle
b. under my grid home:
aml6:/u00/app/11.2.0/grid/network/admin > cat listener.ora
LISTENER_ETL=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_ETL)))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_ETL=ON # line added by Agent
I observed that the one under my DB home was the one that really got used when I tried to logon to a database.
Here are my questions:
1. what is the use for the listener under my DB home?
2. what is the use for the listener under my grid home?
3. the grid infrastructure document says that the default home for listener and tnsnames files are grid home, however, it seemed that I have to use the listener under my db home directory.
4. which listener is the ASM instance use?
Thanks a lot for your help.
dzRaj Mareddi wrote:
Thanks Levi and Sebastian.
We have separate listeners in DB homes for Stand Alone grids.
Cluster Grids have got the listeners (SCAN..etc) running out of Grid Home. Still, we have exceptions for the Cluster grid for EBS databases where SCAN is not supported yet and still have a separate listeners for the databases.
This OTN doc also describes a listener in the DB home: http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/install/gridinstss/gridinstss.htm
Hi Raj,
In this OBE, the author explains why he is setting a new Listener for ASM.
To Configure EM Database Control to manage ASM, perform the following steps:
To manage the ASM instance in Enterprise Manager Database Control. you must configure the ASM Instance as a target.
When you configure the ASM target, you must provide the port for the ASM listener.
The Grid Infrastructure installs a listener by default on port 1521, and configures the ASM instance to use this listener.
In this tutorial the database is already installed and has a listener configured on port 1521, the Grid Infrastructure places a listener on port 1522 and the ASM instance is registered with the grid listener.Before Install Grid Infrastructure he already had a database running with the Listener configured and running.
To ensure that the service of ASM will be registered in the Listener of same release he set a new Listener using GUI HOME.
This procedure is correct because the Grid Infrastructure (ASM) is the highest release (So, it's necessary configure Listener in same release), to not use a Listener with prior to release of the Grid Infrastructure(ASM) he created new Listener.
He also could deconfigure the Listener of Oracle Home (database) and configure in the GUI Home. It's a matter of choice.
Observing requirement of the paragraph below, we can set listener from anywhere there is no restriction, it is a matter of best practices only.
The release of the listener must be the same as or later than the latest release of all Oracle databases being serviced through the listener.Cheers,
Levi Pereira
Edited by: Levi Pereira on Nov 8, 2011 4:23 PM -
Adding a custom report to a document set
Hi,
We are trying to add a custom report to a document set in OM. When a sales order is released, the sequence of events to occur is - a standard pick list report runs followed by the custom report(a despatch note).
However, I cannot associate the parameters so that the parameters that are driving the standard apps pick list report are also driving the custom report.
Anyone tried this before?
Thanks muchlyEventually I figured this out. In 54, the edit dialog for the clickstream cloud is set up in the JS at:
/libs/cq/personalization/widgets/source/analytics.init.js
Effectively the 'registration' of the various stores is hardcoded in this JS file, with lines like so:
//eventinfodata
reg.call(this, CQ_Analytics.EventDataMgr);
So, we could overlay the entire personalization widgets clientlib, but that seems crazy just to add one line of code.
So, what I've done is to write my own clientlib and bolded it onto the cq.personalization category (which the /libs/cq/personalization/widgets clientlib is part of). This JS sets up another listener (on the click of the edit button) which adds the additional tab to the edit dialog.
If anybody is interested in seeing how this was done, buzz me on twitter @tomblackford -
Creation of Flex Components Listening to a Custom Flex Event
Hi,
I would like to create a component in Flex which will always listen to a Cutom Event.
Say, I create an event named "MyEvent" in Flex. I associate this event toa custom component, say MyComponent (extends Button). When ever this even is triggered , I should have a set of Components listening and tracking this event using an event listener in their definition.This should be in a framework level. That is, even if we add more components in our application, they should be able to listen to the Custom Event.
Or in short, is it possible to make all the components in an application listen to a custom event triggered?Thanks for your answer.Can u please give an example so that I can understand it.Excuse me,I am a beginner in flex.
-
What is the best car adapter out there for the iPhone where I can charge my iPhone and also set it to listen to my iPod.
I appreciate your review and am hopeful for a reply.
Thanks.
PSULionRPhow's 25 bucks sound?
http://eshop.macsales.com/item/Newer%20Technology/MXP802GU2/
Maybe you are looking for
-
Laserjet pro 200 color MFP won't print cyan
My HP LaserJet Pro 200 color MFP M276nw printer has stopped printing cyan. It does it for files sent to the printer as well as just trying to make a copy. The cyan cartridge has been replaced and status shows full. I've run all the onboard diagno
-
India: Customer consignment with trading goods
Dear all, we need to implement customer consignment process with trading goods on a depot in India. But I am lacking understanding how the process works with SAP: Step 1) consignment fill-up: We do goods issue, then J1IJ and then a create a proforma
-
Difference between business area and profit center
hi all could you please tell me about difference between business area and profitcenter. thanks, regards, chennuri.
-
Cant burn CD, keep getting error 4000. Win 7/iTunes 10.2.2
Looking for some assistance please. Im suddenly no longer able to burn an audio CD. Im running Windows 7 (64) and the latest 64 bit iTunes. I keep getting "error 4000" during the finishing of a CD. Ive updates drivers, unchecked CD text, crossed my f
-
Printing Paper Question--Are Creases OK?
I'm sorry because I'm sure I should ask this question in the forums of the Canon MX870 printer, because that's my device, but I really would like your opinions here. I like to recycle paper through my printer (old office paper and junk mail that stil