MouseEvent listening problem
I have following problem to solve:
I need to develop a custom dropdown component (forced using older jvm -on PPC) that has only java choice which is inadequate for purpose needed. I'm almost finished with it but i have problem with with this thing: i want for my popupmenu (custom made also) to catch all the mouse events for owner component (and its children) in order to hide the menu when they are clicked i.e. when you click on the dropdown a popupmenu is shown they you click somewhere on the panel (where dropdown resided) or some of it children, the popupmenu should disappear. So far so good, this is working nicely, I'm listening to the mouse events of these components in my popup but the problem is that if one of the children is a button it recives the clicked event too and performs the action for that button, while i would like for it to ignore that event if popup is visible. this is solved nicely in normal dropdown component (in swing or in awt choice) but i dont know how to do it without coding ugly stuff in all of the children components.
Any tips??
Torgil wrote:
John_A_Nairn wrote:
I was able to solve it myself. It turns out I had recently added a getParent() method to my JPanel subclass not realizing that this was overriding a Component method. It must be that the mouse event workings use this method to set the click location. Renaming my method solved the problem.This is the third post (that I've seen) in just the last month where a program has not worked because a Swing component was extended and a method from a superclass was overridden by mistake.
When will people learn not to always automatically create a subclass of JPanel, JDialog, JFrame, etc as soon as they need a JPanel, JDialog, JFrame, etc?!? :-)I make that point all the time: don't subclass when you don't need to, and you only need to if you are overriding a method (and make sure you absolutely need to do that override!). Then people respond: I absolutely need to subclass JPanel (JFrame/JDialog/JInternalFrame) because it has-a JButton/JTextField/JLabel/... sigh So that's what "has-a" means these days?
Similar Messages
-
Problem to MouseEvent Listener
Hey
Guys
I have a problem for firing MouseEvent.MOUSE_OVER event.
Here is the Case
I have three layer
first layer have circle_mc,and other
second layer have big movie clip which have a border for the circle_mc, and other
with instance name border_mc,
and my code is here
circle_mc.addEventListener(MouseEvent.CLICK, movieC);
function movieC(evt:MouseEvent):void
trace("MovieClip is Clicked);
but it does not work,
Please help me to solve this.
thankswhen i change the layer it works
But i don't want to change the layer
thanks -
Menu/submenu managing and Event Listening problem
Hi guys,
I'm creating a flashwebsite and I've got a problem with submenu appearing/disappering.
What is extremely easy in html/jquery is taking me overburned in actiuonscript: make appear a submenu only when the mouse cursor is over its button and not over itself.
Indeed I've my button/MC, that contains its submenu (which is a vertical list of MC), and when I go over it, submenu appears, when I leave, sub menu becomes invisible.
BUT, when I go over the space under the button (where my invisible submenu is), submenu become visible another time. I know that cause is the listener associated to the main button is linked to all its nested MC.
My question is: there is a way to declare a listener only to a MC and not for all is nested elements?
If not, what shopuld I do for my pourpose?
function createNav(lang:String = 'it') {
var nav:Array = new Array({label: "CHI SIAMO", url: "../chi-siamo/index.php"},
{label: "PRODUZIONE ESECUTIVA", url: "../produzione-esecutiva/index.php"},
{label: "FILMOGRAFIA", url: "../filmografia/index.php"},
{label: "CAMPILOTS", url: ""},
{label: "PROGETTI", url: ""},
{label: "NEWS", url: ""},
{label: "CONTATTI", url: ""},
{label: "LINGUE", url: "", submenu:new Array({label:"ITALIANO", url:""},
{label:"INGLESE", url:""},
{label:"TEDESCO", url:""},
{label:"FRANCESE", url:""}
var navHeight:Number = 25;//single element height
//BUTTON CREATION
for (var i = 0;i < nav.length;i++) {
var item:MovieClip = new NavLink();
item.label.text = nav[i].label;
item.href = nav[i].url;
if(nav[i].submenu != null){ //SUBMENU CREATION
for(var j:int = 0; j < nav[i].submenu.length; j++){
var subLabel = new SubLabel();
subLabel.x = subLabel.y = 18 * (j + 1);
subLabel.tfMC.text = nav[i].submenu[j].label;
item.addChild(subLabel);
item.buttonMode = true;
item.mouseChildren = false;
item.addEventListener(MouseEvent.CLICK, function(e) {
href = e.target.href;
gotoAndPlay('page2page');
var subMenuAnim:Array = new Array();
item.addEventListener(MouseEvent.MOUSE_OVER, function(e) {
var iconCocc:MovieClip = e.target.coccinella;
var iconRotTween:Tween = new Tween(iconCocc, "rotation", Back.easeOut, iconCocc.rotation, (iconCocc.rotation + ((Math.random() * 200) + 200)), 2, true);
//APPREAING ANIMATION
item.addEventListener(MouseEvent.MOUSE_OUT, function(e) {
for(var i:int = 0; i < subMenuAnim.length; i++){
//DISAPPREAING ANIMATION
subMenuAnim = new Array();
item.y = navHeight * i;
item.visible = false;
item.coccinella.rotation = (Math.random() * 200);
nav_container.addChild(item);What are you doing to make the submenu invisible? If you set its visible property to false it should not interact with the mouse, but if you are changing its alpha property to 0, it will react.
-
Message Listener Problem (iDoc)
I am receiving an iDoc successfully in the Message Listener within Mii. I have created a Processing Rule for the Message Type and tied it to a simple BLS. The BLS has an XML input parameter which is selected in the Processing Rule.
The BLS simply maps the XML input parameter to an XML output parameter and that's it as I want to make sure communication is working before creating any BLS logic.
The iDoc Message goes into failure status and this is what I get in the log:
Unable to process request com.sap.jms.client.message.JMSObjectMessage@431f1d25
[EXCEPTION]
com.sap.xmii.bls.exceptions.TransactionLoadException: Unable to create transaction instance
Any ideas why this is happening?After much searching and trial and error, I was able to locate the source of this problem. While I was modifying the "Log Level" in the Processing Rule, someone else changed the Transaction Security to include the "SAP XMII Developer" role. Once I remove this role from the BLS, the same symptom occurs.
It seems this is the only role that allows the Processing Rule to trigger the BLS's. Is this hard coded somewhere in Mii that this role is required? If so where can I find these types of requirements so I can avoid going through this for other Mii functionality in the future?
Thanks -
HELP!!! Listener problem on AIX 4.1 with oracle 7.2.2.0
When I try to do "lnsrctl start" (or stop) the server give to me the error below:
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=ora7))
TNS-12224: TNS:no listener
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
IBM/AIX RISC System/6000 Error: 2: No such file or directory
Connecting to (ADDRESS=(COMMUNITY=TCP.world)(PROTOCOL=TCP)(Host=BILANCIO)(Port=1521))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
IBM/AIX RISC System/6000 Error: 79: Connection refused
Connecting to (ADDRESS=(COMMUNITY=TCP.world)(PROTOCOL=TCP)(Host=BILANCIO)(Port=1526))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
IBM/AIX RISC System/6000 Error: 79: Connection refused
On metalink, solutions are client side, but I have this problem on server side.
I try to change host name to ip add, but problem persist.
I try to reboot server (because I think the problem was the oracle istance) but the db works correctly.
What can I do?
thank u so much!!!
pedroHello Pedro,
Please can you tell me if you resolved this issue you were having and how did you resolve this. I am having the same issue now....
We did a restore to a different box and now cannot connect to the database and having same issues you described.
Your help will be appreciated,
Regards
Avishkar Bandu -
I am having a problem starting the Oracle Listener after a system crash on Windows NT.
However, if I first connect to the internet and then try to restart, everything works ok.
Why should I have to connect to the internet with my laptop in order to start the Oracle Listener?
The message I am getting is as follows.
C:\WINNT\Profiles\timh\Desktop>net start OracleStartORCL
The OracleStartORCL service is starting..........
The OracleStartORCL service was started successfully.
C:\WINNT\Profiles\timh\Desktop>net start OracleTNSListener80
The OracleTNSListener80 service is starting.
The OracleTNSListener80 service could not be started.
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
nullsome more info.
Given below is the output of status. does anything look bad or am I doing something wrong?
for the service"abcd" it says has two instances, one of the status is unknown. does that matter is it always like that or I am asking very dumb questions?
Please excuse me if that is the case.
C:\lsnrctl status
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 23-JUL-2007 14:54:28
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=servername)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Produc
tion
Start Date 23-JUL-2007 10:27:09
Uptime 0 days 4 hr. 27 min. 19 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File D:\oracle\ora92\network\admin\listener.ora
Listener Log File D:\oracle\ora92\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=servername.domain)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=servername.domain)(PORT=8080))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=servername.domain)(PORT=2100))(Presentation=FTP)(Session=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "abcd" has 2 instance(s).
Instance "abcd", status UNKNOWN, has 1 handler(s) for this service...
Instance "abcd", status READY, has 1 handler(s) for this service...
Service "abcdXDB" has 1 instance(s).
Instance "abcd", status READY, has 1 handler(s) for this service...
The command completed successfully -
9.2 and 10g on same machine, listener problem
Hi,
i had a 10g db on a solaris server. then i installed a 9.2 database on this server. I know that i should use the 10g listener for 9.2 database.
But i cant manage to configure it correctly.
The 10g listener name is LISTENER and 9.2 listener name is TPRS.
what i did ? i opened netmgr and created a new listener named TPRS. added the database to it.(on the menu database services)
when i try to start TPRS i get the following error message
bash-2.05$ lsnrctl start TPRS
LSNRCTL for Solaris: Version 10.1.0.4.2 - Production on 08-JUN-2009 16:05:22
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Starting /oracleAS/app/oracle/product/10.1.2.0.2/infra/bin/tnslsnr: please wait...
TNSLSNR for Solaris: Version 10.1.0.4.2 - Production
System parameter file is /oracleAS/app/oracle/product/10.1.2.0.2/infra/network/admin/listener.ora
Log messages written to /oracleAS/app/oracle/product/10.1.2.0.2/infra/network/log/tprs.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sun3.tuprasnet.local)(PORT=1522)))
TNS-01201: Listener cannot find executable /oracleAS/TPRS/app/oracle/product/9.2.0.1.0/bin/oracle for SID TPRS
Listener failed to start. See the error message(s) above...
The directory "/oracleAS/TPRS/app/oracle/product/9.2.0.1.0/bin/" exists , and oracle executable is under it. also /oracleAS/TPRS/app/oracle/product/9.2.0.1.0 is the oracle home for 9.2 database.
The listener.ora file of 10g is like that:
SID_LIST_TPRS =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = TPRS)
(ORACLE_HOME = /oracleAS/TPRS/app/oracle/product/9.2.0.1.0)
(SID_NAME = TPRS)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracleAS/app/oracle/product/10.1.2.0.2/infra)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = iasdb.tuprasnet.local)
(ORACLE_HOME = /oracleAS/app/oracle/product/10.1.2.0.2/infra)
(SID_NAME = IASDB)
TPRS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sun3.tuprasnet.local)(PORT = 1522))
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sun3.tuprasnet.local)(PORT = 1521))
what am i missing?
Thanks in advance,
mehmetWe (Gerwin and I) had a small discussion about the problem at hand.
The discussion is overlooking the obvious
TNSLSNR for Solaris: Version 10.1.0.4.2 - Production
System parameter file is /oracleAS/app/oracle/product/10.1.2.0.2/infra/network/admin/listener.ora
Log messages written to /oracleAS/app/oracle/product/10.1.2.0.2/infra/network/log/tprs.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sun3.tuprasnet.local)(PORT=1522)))
TNS-01201: Listener cannot find executable /oracleAS/TPRS/app/oracle/product/9.2.0.1.0/bin/oracle for SID TPRSSo the Solaris user that starts the listener HAS NO ACCESS rights to the directory path and/or the executables (lsnrctl / tnslsnr).
[oracle@srv01-18-102 bin]$ ps -ef|grep tns
oracle 11967 1 0 Jun07 ? 00:00:53 /u01/app/oracle/product/11.1.0/dbhome_1/bin/tnslsnr LISTENER -inherit
oracle 28694 17439 0 17:49 pts/0 00:00:00 grep tnsYou can choose for a "more than one listener" solution or "only one listener". Whatever you do the unix user that starts the oracle, listener executables have to be the same OR sicky bits have to exist on the executables (so the user is allowed to start the executables and access the memory realms as if it was the actual owner).
The moment you don't use the defaults - aka "LISTENER" or a non default port (1521), you will have to define this via the database parameter
LOCAL_LISTENER
SQL> conn / as sysdba
SQL> show parameter local_listener
NAME TYPE VALUE
local_listener string
SQL> ALTER system SET LOCAL_LISTENER=
"(ADDRESS=(PROTOCOL=TCP)(HOST=sun3.tuprasnet.local)(PORT=1522))"
scope=BOTH;
System altered.
SQL> show parameter local_listener
NAME TYPE VALUE
local_listener string (ADDRESS=(PROTOCOL=TCP)(HOST=sun3.tuprasnet.local)(PORT=1522))Now the database "knows" that it has to register itself against "sun3.tuprasnet.local" and will be serviced via port 1522.
After been set on database level, the "LOCAL_LISTENER" value can be resolved via the string itself or (*most common way of doing it is using a tnsalias*) is resolved via the tnsnames.ora file (the string given in LOCAL_LISTENER is an tns ALIAS).
If you use ONE listener, then databases can register themselves against SQL*Net compatible listeners. So you don't have to use a 9i listener for a 9i database. A 10g database is also allowed.
If I use a ONE listener solution, then I normally pick the listener from the highest database version and let all database versions use this listener.
The post given here (http://www.liberidu.com/blog/?p=116): "Registering non-default XMLDB HTTP/WebDAV and FTP ports on a non-default Oracle Listener port" describes a use case which is even more "extreem" regarding shared server functionality, based on TWO listeners and NON-DEFAULT PORT addressing, based on an Oracle 9 and Oracle 10 environment on the same machine.
HTH
M.
Edited by: Marco Gralike on Jun 8, 2009 6:01 PM -
OAS 4.0.8 http listener problems
I am running OAS 4.0.8 on NT w/ SP5. I followed the instructions for install in the latest (Jan 2000) release notes. The problem I am having is with the listeners. The admin and www default listeners start up fine, but if I create a new listener, it will not start up. The error message tells me to check the NT Event log but there is nothing there. Also there is no svwww.err file available to check because it never starts!
I am completely lost on this one. Any help is appreciated.
ThanksTry to use root for startup. Remember that port bellow 1024 is protected for root only.
SA -
Hello,
I have created new database and added connection string in to tnsnames.ora file but i am not able to connect with new database remotely.
my tnsnames.ora file
$ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /opt/appl/oracle/product/10.2.0/db/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
PROD2=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 139.74.169.143)(PORT=1532))
(CONNECT_DATA =
(SID=ROD2))
PROD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 139.74.169.143)(PORT=1532))
(CONNECT_DATA =
(SID=PROD)
listener.ora
$ cat listener.ora
# listener.ora Network Configuration File: /opt/appl/oracle/product/10.2.0/db/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER_PROD =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/appl/oracle/product/10.2.0/db)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = PROD)
(ORACLE_HOME = /opt/appl/oracle/product/10.2.0/db)
(SID_DESC=
(SID_NAME = PROD2)
(ORACLE_HOME = /opt/appl/oracle/product/10.2.0/db))
LISTENER_PROD =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = 139.74.169.143)(PORT = 1532))
LSNRCTL> status LISTENER_PDMPROD
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER_PDMPROD
Version TNSLSNR for HPUX: Version 10.2.0.4.0 - Production
Start Date 06-MAR-2011 07:16:52
Uptime 0 days 0 hr. 39 min. 31 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/appl/oracle/product/10.2.0/db/network/admin/listener.ora
Listener Log File /opt/appl/oracle/product/10.2.0/db/network/log/listener_pdmprod.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=139.74.169.143)(PORT=1532)))
Services Summary...
Service "PDMPROD" has 1 instance(s).
Instance "PDMPROD", status UNKNOWN, has 1 handler(s) for this service...
Service "PDMPROD2" has 1 instance(s).
Instance "PDMPROD2", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL> exit
sqlnet.ora
$ cat sqlnet.ora
# sqlnet.ora Network Configuration File: /opt/appl/oracle/product/10.2.0/db/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
$ tnsping PDMPROD
TNS Ping Utility for HPUX: Version 10.2.0.4.0 - Production on 06-MAR-2011 07:56:34
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Used parameter files:
/opt/appl/oracle/product/10.2.0/db/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 139.74.169.143)(PORT=1532))) (CONNECT_DATA = (SID=PDMPROD)))
OK (0 msec)
$ tnsping PDMPROD2
TNS Ping Utility for HPUX: Version 10.2.0.4.0 - Production on 06-MAR-2011 07:56:40
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Used parameter files:
/opt/appl/oracle/product/10.2.0/db/network/admin/sqlnet.ora
TNS-03505: Failed to resolve nameIf you would have looked up TNS-03505 you would have been easily able to solve this error yourself.
Please look up this error now, and refrain from redundant posting, violating the Forums Etiquette.
Thank you !!!
Others : please don't spoon feed, and promote laziness. The problem is very easy to spot.
Sybrand Bakker
Senior Oracle DBA -
Parallel Port Listener problem
hello everyone,
I have downloaded the javax.comm package and installed it as given in the installation instructions. I can print my files using the javax.comm classes. But i do not get the Parallel Port Event even if i register a listener.
Also for all the methods such as is PrinterError(), isPrinterTimedOut(), isPaperOut() etc i do not get anything else but flase. Even if the printer is online or not, or if the paper is out etc, in all cases only false is returned by these methods. Please tel me what could be the problem.
All these methods return false even when the printer is online or not :
parallelPort.isPrinterBusy()
parallelPort.isPrinterError()
parallelPort.isPrinterSelected()parallelPort.isPrinterTimedOut()
parallelPort.isPaperOut()Well, i think you should be looking for specs about the printer(s) to find out how they communicate with windows. That might not be that easy because not all company's will be very open about that. You should realise that any message windows gives you about the printerstatus comes to you via the drivers for that printer. The drivers know how to communicate with the printer, and that's different per printer.
The most used standard for printing is Postscript (I believe HP6L is a postscript printer) wich is supported by the 'bigger' printers. There will be info about Postscript on the web, but it is owned by Adobe and I son't know how free the specs are...
An older dot matrix printer is more likely to be using the lines that are signal out busy, error etc. You will find the pin layout here: http://www.doc.ic.ac.uk/~ih/doc/par/doc/regpins.html
If all your after is printing your files you might want to use java.awt.PrintJob wich will let you print through the spooler of the operating system, thus letting the OS handle the printer with the right drivers. -
Good day all,
I have some problems regarding HTTP Listener:
1. I cannot startup my www listener on port
80, only Node Manager listener can be
started. It gives out the errors:
OWS-08811 & OWS-08851.
2. I even cannot either view or edit the
configuration for my HTTP listener.
When I clicked on the properties such
as Network, Server, etc, it just doesn't
show up the configuration that I needed
to see.
I have already checked the environment variable: WV_GATEWAY_CFG, and it is in the right path. What could possibly went wrong?
This is the specification of my installed products:
Platform: Windows 2000
DB: Oracle 8i Enterprise Edition 8.1.7.0.0
Oracle 9ias 4.0.8.2.1a
Any ideas? Thanks.
- Alfian
nullAs far as I know, there is no utilities to view the configuration as you have mentioned. All configurations are in configure files,
they are
httpd.conf
jserv.conf
jserv.properties
zone.properties
If someone does know such a utility, please tell me. :-)
Regards,
--tao -
Upgrade from 9i to 10g, solaris 8 listener problems now...
I recently upgraded some databases from 9i to 10g. In an attempt to punt
on the 9i listener - I attempted to start the 10g version of the listener
which is producing the following error:
-----paste
lsnrctl startLSNRCTL for Solaris: Version 10.1.0.2.0 - Production on 15-AUG-2004
15:13:03
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Starting /data/oracle/app/oracle/product/10g/bin/tnslsnr: please wait...
TNSLSNR for Solaris: Version 10.1.0.2.0 - Production
Log messages written to
/data/oracle/app/oracle/product/10g/network/log/listener.log
Listening on:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host.place.com)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
TNS-01114: LSNRCTL could not perform local OS authentication with the
listener
-----/paste
Looking into the logs I see:
-----paste
TNSLSNR for Solaris: Version 10.1.0.2.0 - Production on 15-AUG-2004
15:13:03
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Log messages written to
/data/oracle/app/oracle/product/10g/network/log/listener.log
Trace information written to
/data/oracle/app/oracle/product/10g/network/trace/listener.trc
Trace level is currently 0
Started with pid=524
Listening on:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host.place.com)(PORT=1521)))
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
15-AUG-2004 15:13:03 *
(CONNECT_DATA=(CID=(PROGRAM=)(HOST=host)(USER=oracle))(COMMAND=status)(ARGUM
ENTS=64)(SERVICE=LISTENER)(VERSION=168821248))
* status * 1189
TNS-01189: The listener could not authenticate the user
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
-----/paste
I've read on this list that it might be a shared_memory_pool problem, So I
think I've maxed out the mount of shared memory. This is a Sun Fire V240
with 8G RAM, so /etc/system has:
*set shmsys:shminfo_shmmax=268435456
*set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmax=8254455808
set shmsys:shminfo_shmmin=200
*set shmsys:shminfo_shmmni=200
set shmsys:shminfo_shmmni=1024
set shmsys:shminfo_shmseg=1024
set semsys:seminfo_semmap=250
set semsys:seminfo_semmni=500
set semsys:seminfo_semmsl=500
set semsys:seminfo_semmns=2000
set semsys:seminfo_semmnu=500
set semsys:seminfo_semume=100
set semsys:seminfo_semvmx=32767
set semsys:seminfo_semopm=100
set noexec_user_stack = 1
I am totally at a loss as to what the issue might be save some new tags
needed in listener.ora... Any pointers/help more than welcome...
Ianwell, oracle's path seems to see 10g's version of the listener:
hosts% which lsnrctl
/data/oracle/app/oracle/product/10g/bin/lsnrctl
I'm running this on the same host. ie loopback.
After the error, the listener seems to be in the process table - but nothing can talk to it:
oracle 856 818 0 20:05:06 pts/2 0:00 egrep lsnr
oracle 838 1 0 19:57:26 ? 0:00 /data/oracle/app/oracle/product/10g/bin/tnslsnr LISTENER -inherit
my listener.ora has:
# listener.ora Network Configuration File: /data/oracle/app/oracle/product/10g/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /data/oracle/app/oracle/product/10g)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = host.place.com)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /data/oracle/app/oracle/product/10g)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = erdos)
(ORACLE_HOME = /data/oracle/app/oracle/product/10g)
(SID_NAME = simora1)
(SID_DESC =
(GLOBAL_DBNAME = datamine)
(ORACLE_HOME = /data/oracle/app/oracle/product/10g)
(SID_NAME = datamine)
(SID_DESC =
(GLOBAL_DBNAME = interpnt.place.com)
(ORACLE_HOME = /data/oracle/app/oracle/product/10g)
(SID_NAME = interpnt)
tnsnames has:
DATAMINE.PLACE.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = erdos.place.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = datamine)
EXTPROC_CONNECTION_DATA.PLACE.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
INST1_HTTP.PLACE.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = erdos.place.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
INTERPNT.PLACE.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = erdos.place.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = interpnt.place.com)
ERDOS.PLACE.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = erdos.place.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = erdos)
SCALES03 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = scales-a.place.com)(PORT = 1521))
(CONNECT_DATA =
(SID=SCALES03)
(SERVICE_NAME = SCALES03) -
MouseEvent.CLICK Problem i think...
I am making a game that wil be included in a school project. its a basic shoot the alien type game. My problem is that it will not respond to a mouse click at all. The weired thing is using the same exact code just changing the event to MOUSE_OVER instead of CLICK it works fine. But I want it to work on the click. Any help would be greatly appreciated. Heres my code for the game_alien class:
package {
import flash.display.MovieClip;
import flash.events.MouseEvent;
public class game_alien extends MovieClip{
private var health = 2;
public function game_alien() {
this.addEventListener(MouseEvent.CLICK, hit); //here is the problem
private function hit(event:MouseEvent) {
trace(health);
health--;
if (health == 1){
this.gotoAndPlay("first_hit");
if (health == 0){
this.gotoAndPlay("end");
parent.removeChild(this);
and i dont know if this would help anything but here is the code for the game class which encapsulates the game_alien object:
package {
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.ui.Mouse;
public class game extends MovieClip{
var new_cursor:Cursor = new Cursor();
var alien:game_alien = new game_alien();
public function game() {
changeCursor();
addAlien();
private function addAlien(){
addChild(alien);
public function changeCursor(){
Mouse.hide();
stage.addChild(new_cursor);
new_cursor.startDrag(true);
Also it isnt throwing any errors or message to the output box (besides my trace statement ). Its kinda like due in two days two so any response on the idea is realllyyyyy apreciated thanksyou're welcome.
p.s. in the future, mark helpful/correct answers, if there are any. -
URGENT!! 8.1.6 / 7.3.4 on same box - LISTENER problems
Hi all!
Ever had one of those days? I have installed 8.1.6 onto our 7.3.4 server as directed in the installation notes etc.
I have amended the listener.ora file as directed and this contains both the 7.3.4 instance and 8.1.6 instance. You can log on to the 8.1.6 via SQL*Plus with no problems, but when you try to get to the 7.3.4 instance, you get:
ORA-12500: TNS:listener failed to start a dedicated server process
Heellppppp!
Thanks and regards,
GRHi All,
I am trying to confugure the listener services on an existing Oracle 7.1.6.2 running on Digital Unix 4.0f. I installed Net Services from Oracle 7.2 CD ad with this Listener was installed successfully. But when I try to connect the server it gives the error oRA-12500.
Can anyone comment on this.
Tks,
Ravi
I ran into a bug (specific to my os - digital unix) when running an 8.1.5 listener and trying to connect to 7.3.4. It sounds like this may be the issue if you are on digital unix - the bug number is 740014.
Hope this helps.
Niki Robinson
[email protected]
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Grossell ([email protected]):
Hi all!
Ever had one of those days? I have installed 8.1.6 onto our 7.3.4 server as directed in the installation notes etc.
I have amended the listener.ora file as directed and this contains both the 7.3.4 instance and 8.1.6 instance. You can log on to the 8.1.6 via SQL*Plus with no problems, but when you try to get to the 7.3.4 instance, you get:
ORA-12500: TNS:listener failed to start a dedicated server process
Heellppppp!
Thanks and regards,
GR<HR></BLOCKQUOTE>
null -
URGENT : EVENT Listener Problem
Hi All,
Thanks for your time. I am facing a Small issue with Event
dispatcher and Add Event listener. Well i will explain the problem.
I am having one MovieClip named BUTTON_SET and i gave
"ButtonSet.as" as linkage Class.
Inside that BUTTON_SET i am having some Buttons and they are
also having "UIButton.as" as linkage class
UIButton Dispatching press and release events, But unable to
capture it using ButtonSet Class. Here with i have attached the
Code and i gave the Source URL Too.
upto my Knowledge : UIButton class is not initiated When the
ButtonSet is ready to addListener.
Please Help me to fix this.
if i don't find a solution i need to change all my class
structures.
CLICK HERE FOR SOURCE
CODEAccording to your Code, When you are calling the InitHandler
Functionction the Buttons may/may not be Initiated. So use the
Enterframe to check whether its loaded or not.
Write down this in the ButtonSet to replace the init Handler
Call.
this.onEnterFrame = Delegate.create(this, initHandler);
inside the initHandler remove the function This will help you
if you are not using any Enterframe for any other manipulation)
delete this.onEnterFrame;
Maybe you are looking for
-
Hi All, Need some urgent help.. Iam facing some issue with the Function Module 'SKWF_FIND_BY_QUERY' in a BW ECC6.0 system. As shown below, in the function module, the Table IT_PROPERTIES_RESULT gets populated with some values based on inputs like
-
Will the rating go down ?
Hi Veterans, Will the ratings drop down suddenly from Proven Veteran to Veteran within the change of a week ?! My avg msg rating upto last week was 4.7 for some 11 or 12 msgs, and my rating was Proven Veteran. But today mornign, when I logged on, I f
-
All of a sudden today I am have almost all of the sites I visit coming up as "Connection is Untrusted" messages. Why? To the best of my knowledge, nothing has changed. All was fine last evening and today all I get is this error on site after site aft
-
How to add a GUI interface to My program?
Hi, I wrote a game program, now, I need a GUI interface for my game to let others to use it esaily, but I have no idear how to do it, where should I add the AWT or Swing code to the game code, if possible, can I use some tools for this task, I think
-
Hello, i had update in Mac, de air 1.1 and now it don,t compile. ¿¿