Motif L&F cancel JPopupMenu missing listener
Hi all,
I have a JButton and a JPopupMenu
I would like to show JPopupMenu when JButton is pressed
popupMenu.addPopupMenuListener(new PopupMenuListener() {
public void popupMenuWillBecomeVisible(PopupMenuEvent event) {
System.out.println("Visible");
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) {
System.out.println("Invisible");
public void popupMenuCanceled(PopupMenuEvent event) {
System.out.println("Canceled");
button.addMouseListener(new MouseAdapter(){
public void mousePressed(MouseEvent event) {
System.out.println("Pressed");
if (match some condition) {
popupMenu.show(button, 0, button.getHeight());
When I haven't change the L&F
The output is correct:
// First time of pressing the button
Pressed
Visible// Second time of pressing the button
Canceled
Invisible
Pressed
Visible ...The problem is when I using Motif L&F
The "Pressed" is missing and need to perform one more click
// First time of pressing the button
Pressed
Visible// Second time of pressing the button
Canceled
Invisible// Third time of pressing the button
Pressed
Visible ...My program will change L&F at runtime and I would like to provide same behaviour of the popup.
Could anyone tell me how to provide same behaviour even at Motif L&F?
Thank you very much
Roy
I don't think that changing L&F might change behavior of firing events.
Maybe the problem is somewhere in your code...
Maybe you set different values of some variables before changing L&F, then you change L&F and then it doesn't work as you want. It seems to you that the problem is in L&F, but I don't think so.
Take a look at your code again and try to find a bug there, not in L&F.
Similar Messages
-
TNS-01151: Missing listener name - APPS_VIS
Hi,
We completed the installation of E-BIZ Database and Application onto separate VMs via Oracle's eDelivery templates. Both new VMs are up and running per the OVM Manager.
However, we are not able to connect to the eBusiness Application. Per the e-Business Suite Rapid Install guide, we should be able to verify installation by accessing:
http://<host name>.<domain name>:<HTTP port>/OA_HTML/AppsLogin
We receive a HTTP Internal Error when trying to access this.
Numerous verification steps have been performed including:
- Testing network connectivity (ping) between APP VM and DB VM using the hostname
- Checking that the tnslsnr on DB VM is listening on port 1521, which is what was also configured for APP VM
- Checking that the httpd on APP VM is listening on port 8000
I am unable to run lsnrctl to check the status - how should my profile be set to be able to run this as I receive: lsnrctl: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
I have also included adalnctl.txt log from the E-BIZ Application Server. I'm not sure whether the LISTENER.ORA on the APP or DB server should be updated. And if so what should it be updated with?
02/15/10-13:22:33 :: You are running adalnctl.sh version 120.3
LSNRCTL for Linux: Version 10.1.0.5.0 - Production on 15-FEB-2010 13:22:33
Copyright (c) 1991, 2004, Oracle. All rights reserved.
TNS-01101: Could not find service name APPS_VIS
02/15/10-13:22:34 :: adalnctl.sh: Starting listener process APPS_VIS.
LSNRCTL for Linux: Version 10.1.0.5.0 - Production on 15-FEB-2010 13:22:34
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Starting /u01/E-BIZ/12.1.1/VIS/apps/tech_st/10.1.2/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.1.0.5.0 - Production
Log messages written to /u01/E-BIZ/12.1.1/VIS/apps/tech_st/10.1.2/network/log/apps_vis.log
TNS-01151: Missing listener name, APPS_VIS, in LISTENER.ORA
Listener failed to start. See the error message(s) above...
Thanks in advance.
Regards,
MartinJust a follow-up to this thread. We have now been able to start and successfully login to the e-Business Suite.
The source of the problem was in the installation of the e-Business Suite (via template) - it previously never completed successfully due to:
1) DNS - No DNS has been setup with the new virtual hosts as this is simply a prototyping activity. We found that it initiates connection with DB host during installation and will not complete successfully if one is not found. Furthermore, the /etc/hosts file is wiped of existing entries and replaced just with the host of the e-Business application server everytime ebiz_1211_reconfig.sh is run. Workaround is to login to the host during the reconfiguration and update the /etc/hosts file just after it instantiates the static IP address
2) Apps Password - The application could not startup as it was connecting to the database with a locked out user account. It uses the 'app' user to login to the DB - hence the apps password set during the e-Business application installation must correlate with the app user on the database - in this instance we kept it as apps/apps
After resolving the above issues we are able to connect through the web URL to e-Business Suite.
My next question is, assuming our database instance is called 'VIS', why is adalnctl trying to look for APPS_VIS in the listener.ora? I read
Thanks. -
TNS-01151: Missing listener name
I found the following error in er.log. Does anyone know what this means? I am unable to start the listener service because of this.
TNSLSNR for 32-bit Windows: Version 8.1.5.0.0 - Production on 07-MAY-01 11:46:07
(c) Copyright 1998 Oracle Corporation. All rights reserved.
System parameter file is D:\Oracle\iSuites\network\admin\listener.ora
Log messages written to D:\Oracle\iSuites\network\log\er.log
TNS-01151: Missing listener name, er, in LISTENER.ORACheck the HOST and PORT parameters in your
Listener.ora file
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = <machine>)(PORT = 1521))
Hope this helps
Ranga -
Missing Listener.ora after installing 8i on Red Hat Linux 6.1
Hi
After Installing Oracle Enterprize Edition on Red Hat Linux 6.1(Using two patches viz jre1.1.6 and linux_815patches)& created default database with sid ORCL.But listener.ora is missing in $ORACLE_HOME/network/admin.
So showing error when ever trying to start lsnrctl service.
What is the reason ? How can you we get default listner.
Is there any other way to connect client and server without listener.ora.
please reply immediately.
nullCreate and configure it. See Section 5:
http://homepages.tig.com.au/~jmsalvo/linux/oracle8i.html -
hi,
I Cant find Listener.ora file. However, database is working fine.
Is there any way to find this file......
OS : Linux 2.4.21
Oracle9i Release 9.2.0.1.0
1. The file is not there in its default location.
/data/oracle/product/9.2.0/network/admin.
The listener log file is at
/data/oracle/product/9.2.0/network/log/listener.log
The Sqlnet.ora file is also missing, but the log file is present.
2. There many usres connecting through the listener.
3. I hv tried searching the entire system, with no luck.
4. Not logging in to linux as root user.
5.. Listener file status ....
Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 9.2.0.1.0 - Production
Start Date 06-FEB-2006 21:16:17
Uptime 27 days 15 hr. 23 min. 54 sec
Trace Level off
Security OFF
SNMP OFF
Listener Log File /data/oracle/product/9.2.0/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LTNS2111)(PORT=1521)))
Services Summary...
Service "LTN1" has 1 instance(s).
Instance "LTN1", status READY, has 1 handler(s) for this service...
The command completed successfully
thanks & rgds
jerryI Cant find Listener.ora file. However, database is
working fine.
Is there any way to find this file...... So, it is possible that you are running on default settings. Is there a problem?
If you want to do your own config, just create the files yourself. Examples are provided in the documentation. -
Missing listener-threads attribute in orion-ejb-jar.xml !!
Hi All,
I was trying to do some performance tuning as given in BPEL admin guide. For one of the BPEL property namely 'dspMaxThreads', guide says "Sum of dspMaxThreads of ALL domains should be <= the number of mdb listener threads on the workerbean". Now when i open <SOA_HOME>/j2ee/oc4j_soa/application-deployments/orabpel/orion-ejb-jar.xml and navigate to workerbean, i can not find any listener-threads attribute in message-driven-deployment tag.
<message-driven-deployment name="WorkerBean" min-instances="100" resource-adapter="BPELjms">
However there is a ReceiverThreads property set to 40.
<message-driven-deployment name="WorkerBean" min-instances="100" resource-adapter="BPELjms">
<config-property-name>ReceiverThreads</config-property-name>
<config-property-value>40</config-property-value>
</config-property>
</message-driven-deployment>
Now my question is that can i add listener-threads attribute to message-driven-deployment tag and then tune dspmaxthreads accordingly, Or
i can make use of ReceiverThreads property to match with dspmaxthreads property. I am really confused b/w listener-threads and ReceiverThreads.
Can anyone clarify the same ?
I have ORACLE SOA Suite ver 10.1.3.1 (with 10.1.3.3 patch) installed.
Thanks in advance.Jingzhi -- If you define the correct EJB-QL you should get the correct SQL generated for the finder. If that's not happening can you verify it against the OC4J v903 production release and see if it is still happening. I don't know if this helps with the JDeveloper problem specifically but if you don't need to create your own finders then that I hope should help.
Thanks -- Jeff -
Hi,
I've just installed 9.201 on WinXp and used the database configuration assistant to create me two instances.
This is the first time I have installed v9, though I have installed Oracle8i many times.
The problem is that I don't have a listener process. I'm not sure why one has not been created. I selected for a dedicated server install, but I didn't think that would make this difference.
Any ideas gratefully received as to why I don't have a listener and why I have to do to create it now.
cheers
TonyYou can create a listener using the Net Configuration Assistant, but if you just want to create a basic listener with default values that will auto detect your instances, just run the following command in a command window:
c:\> lsnrctl startAfter reporting that there is no configuration file, it will create its file and its service and then start the listener process.
Nothing to it.
I tend to prefer manual scripts and commands to GUI tools. I use GUI tools from time to time, but they can be quite a crutch for a DBA. I always want to be aware of what is going on behind those tools.
Kind regards,
Russ Cannon -
Hello,
I need to get a notification when the user hovers the mouse over the menu items of a popup menu, so that I could display some help in the status bar.
I also have to do this for a JComboBox.
Do you have any ideas? I can not find a proper listener. I thought that the PopupMenuListener will do the job but is very limited.
It there a way to do this? Or did anyone put this as a RFE?
Thank you!You'd still have to add a "selection listener" instance to every component you want to know about, just like you would with a mouse listener. In fact, you can very simply make one:
public class SelectionListener extends MouseAdapter {
private HashMap map = new HashMap();
private StatusComponent status = null;
public SelectionListener(StatusComponent sc) {
status = sc;
public void addComponent(Component c, String msg) {
c.addMouseListener(this);
map.put(c, msg);
public void mouseEntered(MouseEvent e) {
String msg = map.get(e.getSource());
if(msg != null) { status.setStatus(msg); }
public void mouseExited(MouseEvent e) {
status.clearStatus();
}I'll leave it to you to create a StatusComponent class and figure out how to use this. -
Reply: cancelling JPopupMenu
hi stanis,
yeah...i got ur code and is working in the way i want to ....some extend.
let me hack and try to fit in my application.
if any doubt arising in the near future...i'll disclose it.
And thanx for ur kind co-operation
regards,
sushilThanks for the links I can probably work it out from te code Ive seen there. I'll award the points if I do.
As for consuming the event it was a great suggestion but didn't seem to work. The event must be passed to the superclass before I get to deal with it, which is quite an annoying design decision.
Thanks again to you both. Here is the code for the solution, a corrected version of that posted in the threads given.
class testFrame extends javax.swing.JFrame {
public testFrame() {
initComponents(); //Netbeans IDE auto generated codes for GUI forms
this.jTable.addMouseListener(new java.awt.event.MouseAdapter() {
public void mousePressed(java.awt.event.MouseEvent evt) {
// Here I handle other interactions I have tied to the mouse buttons.
// If the button is the right mouse, and it wasn't previously handled, I go:
myPopupMenu.show(evt.getComponent(), evt.getX(), evt.getY());
}Edited by: aybiss on Mar 11, 2010 10:09 PM -
Listener for cancel button of dialog
Hi
What shud i add as listener for the dialog , so that when i press cancel button the listener shud get executed?. Alos is there any listener to know if the user has pressed the close(x) mark of the dialog and closed the dialog. Any help wud be appreciable
Thanks
Veenatry beforesubmit handler
Ref:
http://dev.day.com/docs/en/cq/current/widgets-api/index.html?class=CQ.Dialog -
Cancelled invoice not transfered to accountding due to Forign trade data is
HI,
We have problem with Cancelled invoice number.
Scenerio is like below.
We have already created the invoice number from the Delivery ( consignmnet Delivery)
User by mistake cancelled the invoice and also cancelled the respective Delivey number.
Now the issue is in cancelled invoice missing data is showing as error 'Missing export data' due to this this information is not posted to accounting.
Now user can not able to open the cancelled invoice in change mode this is due reference Delivery is already cancelled.
Please suggest me how to resolve this issue.
Thanks & Regards,
MK.Hi MK
In Standard it is not possible to do any changes in the cancelled invoice.When you create invoice again then you can manually enter the foreign trade data.But make sure that foreign trade data is also maintained.,so that you should not face any error while creating billing document
Regards
Srinath -
Adcfgclone.pl dbTechStack on Target DB removes listener and tnsnames files
Hello:
I am doing a first-time clone from my PRD to my TST instance, and have undergone the following steps:
1. perl adpreclone.pl dbTier on Source DB
2. perl adpreclone.pl appsTier on Source AppTier
3. Copy APPL_TOP, COMMON_TOP, ORACLE_HOME, IAS_ORACLE_HOME from Source AppTier to Target AppTier.
4. Run perl adcfgclone.pl dbTechStack on Target DB.
At this point is where I start running into issues. The dbTechStack deletes/recreates the tnsnames.ora, sqlnet.ora, and listener.ora files, and the DB can no longer startup. The below is in the logfiles. Am I doing something wrong? I guess the issue is not so much with it deleting/recreating the files, as it is with the values it puts into the files (i.e. DB port = 3001)
Executing Technology Stack Configuration...
Executing runAutoConfig...
Deleting files of type INSTALL
Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/sqlnet.ora
File exists
File deleted
Processing driver file: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/template/addbtmpl.drv
Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/install/WMSTST_x07tst00/txkConfigDbOcm.pl
File exists
File deleted
Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/dbs/initWMSTST.ora
File exists
File deleted
Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/listener.ora
File exists
File deleted
Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/tnsnames.ora
File exists
File deleted
Testing for RAC specific parameters before running autoconfig
No RAC specific parameters were found, running with CVM
Starting CVM in INSTE8_SETUP mode
Using Context file : /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/WMSTST_x07tst00.xml
Attempting to create a back up of the Context file
Created back up file of name :
/u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/out/WMSTST_x07tst00/12111155/WMSTST_x07tst00.xml
===========================================================================
Starting synchronization of file system Context file and its templates with those in the database
Database connection : Failed
OAM Context editing support feature: Unverified
OAM Customization support feature : Unverified
File system template : /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
Checking for customizations to Context template
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations.
Looking for custom template at : /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/template/custom/adxdbctx.tmp
Custom template : Not available
Customizations found : None
File system Context file :/u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/WMSTST_x07tst00.xml
Checking the Context file for possible updates from the Database
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized
Thanks!
Edited by: user4434301 on Dec 11, 2012 12:39 PMExcellent. I copied the template file from another instance and the following messages were at the end of the logfile:
Skipping Profile Phase
Skipping Apply Phase
Completed runAutoConfig...
ApplyDBTechStack Completed Successfully.
However I'm not completely certain this is entirely correct preclone. Can you tell me why the Profile and Apply Phases were skipped and why the following was displayed upon the screen on completion?
Completed Apply...
Tue Dec 18 11:25:39 2012
Starting database listener for WMSTST:
Running:
/u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/scripts/WMSTST_x07tst00/addlnctl.sh start WMSTST
Logfile: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt
You are running addlnctl.sh version 120.1.12010000.4
Starting listener process WMSTST ...
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 18-DEC-2012 11:25:39
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Starting /u01/oracle/WMSTST/db/tech_st/11.1.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.1.0.7.0 - Production
System parameter file is /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/listener.ora
Log messages written to /u01/oracle/WMSTST/db/tech_st/11.1.0/log/diag/tnslsnr/x07tst00/wmstst/alert/log.xml
TNS-01151: Missing listener name, WMSTST, in LISTENER.ORA
Listener failed to start. See the error message(s) above...
addlnctl.sh: exiting with status 1
addlnctl.sh: check the logfile /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt for more information ...
That file shows the following:
Starting database listener for WMSTST:
Running:
/u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/scripts/WMSTST_x07tst00/addlnctl.sh start WMSTST
Logfile: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt
You are running addlnctl.sh version 120.1.12010000.4
Starting listener process WMSTST ...
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 18-DEC-2012 11:25:39
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Starting /u01/oracle/WMSTST/db/tech_st/11.1.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.1.0.7.0 - Production
System parameter file is /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/listener.ora
Log messages written to /u01/oracle/WMSTST/db/tech_st/11.1.0/log/diag/tnslsnr/x07tst00/wmstst/alert/log.xml
TNS-01151: Missing listener name, WMSTST, in LISTENER.ORA
Listener failed to start. See the error message(s) above...
addlnctl.sh: exiting with status 1
addlnctl.sh: check the logfile /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt for more information ...
Should I have stopped the DB or listener before running the script?
Edited by: user4434301 on Dec 18, 2012 9:18 AM -
Listener name in the listener.ora file is getting change from GPROD to %s_
Dear Experts,
Please note that after doing the R12.1 upgrade, When i bounce the database i have noted that my database listener name in the listener.ora file is getting change from GPROD to %s_db_listener%. Again every time after changeing the listener log file i am able to start the listener.
Please advise.
[oracle@upgrade 11.2.2]$ lsnrctl start GPROD
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 07-OCT-2011 10:07:33
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Starting /u04/d01/tech_st/11.2.2/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.2.0 - Production
System parameter file is /u04/d01/tech_st/11.2.2/network/admin/GPROD_upgrade/listener.ora
Log messages written to /u04/d01/tech_st/11.2.2/log/diag/tnslsnr/upgrade/gprod/alert/log.xml
TNS-01151: Missing listener name, GPROD, in LISTENER.ORA
Listener failed to start. See the error message(s) above...
[oracle@upgrade 11.2.2]$ vi /u04/d01/tech_st/11.2.2/log/diag/tnslsnr/upgrade/gprod/alert/log.xml
[oracle@upgrade 11.2.2]$ cd network/admin/GPROD_upgrade/
[oracle@upgrade GPROD_upgrade]$ ls
listener_ifile.ora listener.ora listener.ora_bkpaug2911 sqlnet_ifile.ora sqlnet.ora tnsnames.ora
[oracle@upgrade GPROD_upgrade]$ vi listener.ora
(SID_DESC =
(ORACLE_HOME= /u04/d01/tech_st/11.2.2)
(SID_NAME = GPROD)
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u04/d01/tech_st/11.2.2)
(PROGRAM = extproc)
STARTUP_WAIT_TIME_%s_db_listener% = 0
CONNECT_TIMEOUT_%s_db_listener% = 10
TRACE_LEVEL_%s_db_listener% = OFF
LOG_DIRECTORY_%s_db_listener% = /u04/d01/tech_st/11.2.2/network/admin
LOG_FILE_%s_db_listener% = %s_db_listener%
TRACE_DIRECTORY_%s_db_listener% = /u04/d01/tech_st/11.2.2/network/admin
TRACE_FILE_%s_db_listener% = %s_db_listener%
ADMIN_RESTRICTIONS_%s_db_listener% = OFF
IFILE=/u04/d01/tech_st/11.2.2/network/admin/GPROD_upgrade/listener_ifile.oraStep 1- Run the autoconfig on the db tier.
Step -2 Automatically it is changing the setting in the database listener log file and it is showing 4 database listeners are up .
[oracle@upgrade 11.2.2]$ ps -ef |grep inh
oracle 756 1 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
oracle 757 756 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
oracle 758 757 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
oracle 759 757 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
oracle 1721 31038 0 11:02 pts/2 00:00:00 grep inh
applmgr 31380 1 0 10:53 ? 00:00:00 /u04/d02/apps/tech_st/10.1.2/bin/tnslsnr APPS_GPROD -inherit
Step - 3
Again down the apps tier services.
Step -4
Reset the listener.ora file in the database tier
Please advise.
Regards
Mohammed. -
i just set up a password for my listener so that not just anybody will be able to stop it.
but now i discover that i am having protocol adapter error (TNS12560 and TNS00530)
i checked fpr the error in my oracle_home\network\log and fpund the following problem
TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production on 14-JUL-2007 18:02:36
Copyright (c) 1991, 2004, Oracle. All rights reserved.
System parameter file is C:\oracle\product\10.1.0\Db_1\network\admin\listener.ora
Log messages written to C:\oracle\product\10.1.0\Db_1\network\log\orcl_1.log
Trace information written to C:\oracle\product\10.1.0\Db_1\network\trace\orcl_1.trc
Trace level is currently 0
Started with pid=3376
TNS-01151: Missing listener name, orcl_1, in LISTENER.ORA
pls can you help
Message was edited by:
seyiisq"TNS-01151: Missing listener name, orcl_1, in LISTENER.ORA"
Listener name is missing in the file.
Check the listener name. -
How to check the this in Listener
Dear All,
I am face problem in Listener.
At present Listener is up and sap is working fine.
While going through log I find this error.
Please suggest how to resolved the problem .
we are using oracle 9i and Ecc 5
LISTENER2Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
System parameter file is E:\oracle\ora92\network\admin\listener.ora
Log messages written to E:\oracle\ora92\network\log\listener2.log
Trace information written to E:\oracle\ora92\network\trace\listener2.trc
Trace level is currently 0
Started with pid=1268
TNS-01151: Missing listener name, LISTENER2, in LISTENER.ORA
LISTENER.ORA
LISTENER.ORA Network Configuration File: E:\oracle\ora92\network\admin\listener.ora
Generated by Oracle configuration tools.
STARTUP_WAIT_TIME_FS****-SAP-ORAV = 0
LISTENER1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ***-SAP***)(PORT = 1528))
ADMIN_RESTRICTIONS_FS****-SAP-ORAV = on
FSL****--SAP-ORAV =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = PRD))
(ADDRESS = (PROTOCOL = IPC)(KEY = PRD.WORLD))
(ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(Host = *********)(Port = 1527))
This file is written by Oracle Services For MSCS
on Tue May 16 21:20:04 2006
TRACE_LEVEL_FS****--SAP-ORAV = OFF
CONNECT_TIMEOUT_LISTENER = 10
STARTUP_WAIT_TIME_LISTENER = 0
ADMIN_RESTRICTIONS_LISTENER = on
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ********)(PORT = 1527))
SID_LIST_F****--SAP-ORAV =
(SID_LIST =
(SID_DESC =
(SDU = 32768)
(SID_NAME = PRD)
(ORACLE_HOME = E:\oracle\ora92)
TRACE_LEVEL_LISTENER = OFF
CONNECT_TIMEOUT_FS****--SAP-ORAV = 10
NMICONF.LOG
DBSNMP for 32-bit Windows: release 9.2.0.7.0 - Production on *
Discovering services on ***configured on host addresses {***-01. ********.5 ****}
Warning : Skipping OracleOraHome92TNSListenerFsl****: Could not find corresponding listener definition in
Warning : Skipping OracleOraHome92TNSListenerLISTENER2 : Could not find corresponding listener definition in
Warning : Skipping OracleOraHome92TNSListenerprd : Could not find corresponding listener definition in
Warning : Skipping OracleOraHome92TNSListenerprd.world
: Could not find corresponding listener definition in
Warning : LISTENER1 defined in E:\oracle\ora92\network\admin\listener.ora will be skipped, because it does not monitor any of the valid SIDs
Warning : LISTENER defined in E:\oracle\ora92\network\admin\listener.ora will be skipped, because it does not monitor any of the valid SIDs
Warning : No Listener found for SID PRD. PRD will be skipped
Could not determine location of emtab.
Please guide steps how to solve the problem
Regards,
Kumarhi
SIMPLY WRITE DOWN THE HOST NAME OR SYSTEM ID IN LISTENER.ORA FILE AND CHECK VIA CMD >TNSPING SID
AND TNSPING SYSTEM NAME ALSO CHECK OUT TNSNAME.ORA FILE ALSO
I SEND U AN LISTENERE .ORA FILE
check out the listener.ora file entry where you can write down your system name and system ip and also system id
XX = IP ADDRESS
<SID> UR SYSTEM ID
<SYS NAME> UR SYSTEM NAME
ALSO CHECK OUT THAT WHEN U INSTALL ORACLE IT ASK SET PATH IN TWO FIELDS
1. SID920
2.DRIVE\ORACLE\SID\920
eg:-
LISTENER.ORA Network Configuration File: g:\oracle\t11\920\network\admin\listener.ora
Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.100.xx)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.100.xx)(PORT = 1527))
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = <SID>.WORLD)
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = <SID>)
(DESCRIPTION =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = <SYSTEM IP>)
(PORT = 1527)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\oracle\ora92)
(PROGRAM = extproc)
(SID_DESC =
(SDU = 32768)
(SID_NAME = SID)
(ORACLE_HOME = E:\oracle\ora92)
(SID_DESC =
(SDU = 32768)
(SID_NAME = SID)
(ORACLE_HOME = E:\oracle\ora92)
STARTUP_WAIT_TIME_LISTENER = 0
CONNECT_TIMEOUT_LISTENER = 10
TRACE_LEVEL_LISTENER = OFF
REGARDS,
VIKAS NAGAR
Maybe you are looking for
-
Executing a DDL statement from java code
Hi all, this is code from jdev11.1.1.3 version. I am trying to execute a DDL statement in oracle db from java code, but "ORA-00900: invalid SQL statement" error is coming. I am trying to create a table in same schema in same db by using 'Copy' comman
-
ACS and Windows Domain / AD
Hi All, In my environment there are two Windows Domain - Doamin A and B. ACS is configured on member server in domain B and hence Windows Authentication for users in Domain B is working fine. However I'm unable to see domain A in Configure Domain Lis
-
After Gingerbread update, clock unreliable
Seems to only synch at random times. I googled this, appears to a common problem with GB. Anyone else seeing this?
-
Error in smartform table builder
hi all, i created a loop in a amartform builder.every thing is correct. but when i test the smartform it says "component" expected after "BY" i don't understand what is this? plz help me. points will be rewarded if helpful.
-
Weather SOA required for Enterprise Manager Console
i installed oracle 10g express edition in my system. I want to access Enterprise Manager Console.To access that console weather it is required to install SOA?