Jbutton, listener and so
hi!
When I press my Jbutton, it steps to it's actionlistener, this is ok. :) But in the first part of the AListener's source I want to put a new JPanel into my window(frame etc), containing 'please wait, work is in progress' or so. And after this code I call other functions which does many stuff which needs time and so, and when they're finished I want to put the original Panel back to the window. My main problem is, that somehow it doesn't put my 'please-wait' panel into the frame. However until the whole progress is done, the button keeps 'clicked' (it's color is grey), and when the progrss is done, then i get my original panel back. So I hope I made myself clear, pls help me.
thanks
athalay
So before the much-time-needed things I want to put up a please-wait-panel, and when they're done, I want it to be removed. (Or put a red circle somewhere, when it's during progress, and put a green one when it's done etc...)
Is there a reason that you want to use a JPanel instead of a modal JDialog or JProgressBar?
It's hard to tell what the problem is, but it might make a difference on how you're putting the new panel in the frame. Have you tried removing the old panel and then adding the new one, or are you just trying to add the new one on top? I'm not sure if this makes a difference, but it could. Also, running all of your other methods in a Thread might help too so you have more control over what they're doing. It's easier to get them to yeild some processing to repaint and stuff like that if it's in a thread.
Also, search the Swing forum for answers too. I'm sure something like this has been asked before.
If you want to know more about the JProgressBar, check this out:
http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html
Similar Messages
-
Question regarding Listener and Server Processes in dedicated server mode
Good morning,
The Oracle documentation states that when a client connection request is received on the server, the Listener creates a Server Process which will work with the database instance to carry out the tasks requested by the user/client process. So far, everything good.
Now, when the user is at the Oracle server itself, the Listener does not need to be running to establish a connection to the database. It is therefore possible to stop the Listener and still connect using sqlplus and a valid username and password.
In the above case, the question is: if the Listener is not running, what/who created the Server Process that communicates with the database instance on behalf of the user ? Stated a different way, in the normal case, the Listener would get the request and create the server process. When the Listener is not running what part of Oracle gets the requests and creates the server process ?
Clarification on how this case is handled is much appreciated, thank you,
John.When using bequeath protocol the server process is created by the client process: it's the client process that is using ORACLE_SID and ORACLE_HOME to compute shared memory key (under UNIX) to know which SGA to attach (i.e. which instance to connect to):
Example with SQL*Plus :
$ ps -fu oracle | grep DB112
oracle 5675 1 0 18:13 ? 00:00:00 ora_pmon_DB112
oracle 5677 1 3 18:13 ? 00:00:02 ora_vktm_DB112
oracle 5681 1 0 18:13 ? 00:00:00 ora_gen0_DB112
oracle 5683 1 0 18:13 ? 00:00:00 ora_diag_DB112
oracle 5685 1 0 18:13 ? 00:00:00 ora_dbrm_DB112
oracle 5687 1 0 18:13 ? 00:00:00 ora_psp0_DB112
oracle 5689 1 0 18:13 ? 00:00:00 ora_dia0_DB112
oracle 5691 1 0 18:13 ? 00:00:00 ora_mman_DB112
oracle 5693 1 0 18:13 ? 00:00:00 ora_dbw0_DB112
oracle 5695 1 0 18:13 ? 00:00:00 ora_lgwr_DB112
oracle 5697 1 0 18:13 ? 00:00:00 ora_ckpt_DB112
oracle 5699 1 0 18:13 ? 00:00:00 ora_smon_DB112
oracle 5701 1 0 18:13 ? 00:00:00 ora_reco_DB112
oracle 5703 1 0 18:13 ? 00:00:00 ora_mmon_DB112
oracle 5705 1 0 18:13 ? 00:00:00 ora_mmnl_DB112
oracle 5707 1 0 18:13 ? 00:00:00 ora_d000_DB112
oracle 5709 1 0 18:13 ? 00:00:00 ora_s000_DB112
oracle 5745 1 0 18:13 ? 00:00:00 ora_arc0_DB112
oracle 5747 1 0 18:13 ? 00:00:00 ora_arc1_DB112
oracle 5749 1 0 18:13 ? 00:00:00 ora_arc2_DB112
oracle 5751 1 0 18:13 ? 00:00:00 ora_arc3_DB112
oracle 5753 1 0 18:13 ? 00:00:00 ora_qmnc_DB112
oracle 5769 1 1 18:13 ? 00:00:00 ora_cjq0_DB112
oracle 5773 1 0 18:13 ? 00:00:00 ora_q000_DB112
oracle 5775 1 0 18:13 ? 00:00:00 ora_q001_DB112
oracle 5777 1 1 18:13 ? 00:00:00 ora_vkrm_DB112
oracle 5785 1 46 18:13 ? 00:00:24 ora_j003_DB112
oracle 5797 5796 2 18:14 ? 00:00:00 oracleDB112 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
oracle 5832 5801 0 18:14 pts/2 00:00:00 grep DB112
$ ps -fp 5796
UID PID PPID C STIME TTY TIME CMD
oracle 5796 5584 0 18:14 pts/1 00:00:00 sqlplusThis is also documented in 11.2 Net Admin. Guide http://download.oracle.com/docs/cd/E11882_01/network.112/e10836/concepts.htm#CIAFHAEE
>
If the client and database exist on the same computer, then a client connection can be passed directly to a dedicated server process without going through the listener. This is known as a bequeath protocol. The application initiating the session spawns a dedicated server process for the connection request. This happens automatically if the application used to start the database is on the same computer as the database.
>
Edited by: P. Forstmann on 5 sept. 2010 18:23 -
APEX Listener and EPG - strange behaviour
Hi
For some years, I've used EPG for APEX but have struggled with performance particularly as I can have up to 150 student developers using at any one time.
I do a fair amount of work using ORDImage and have successfully developed APEX applications to upload image files and display full-size and thumbnail images.
After upgrading to APEX 4.1 (from 4.0), I decided to install APEX Listener standalone.
Before I did so I checked that my applications still worked in 4.1 and they did.
However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.
Configuring APEX Listener and running the same application through that DOES display the images.
So this part of the application works under APEX Listener but not under EPG.
My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank page with a wwv_flow.accept URL although the image does indeed upload. Under EPG it works as expected and I get a success confirmation.
So this part of the application works under EPG but not under APEX Listener.
Has anyone else come across different behaviour depending on the mode of connection?
Thanks
Brian
[Oracle EE 11gR2, Windows Server 2008R2, APEX 4.1, APEX Listener 1.1.3]Hi Brian,
it sounds like you have both EPG and APEX Listener running on the same machine, so your problem might result from a port conflict. Note that both services use TCP port 8080 as default.
At least a port conflict would explain the strange behaviour in your case, some things working on one web server and some on the other.
Some parts of your initial post hint to that direction, e.g.
However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on >wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.... because the APEX Listener only interfere with the EPG if it is at least running on the same machine as your database and furthermore, if it is unconfigured in terms of ist database connection, a port conflict might be the only way it could cause anything like that.
However, if you are sure that's not the issue, please check if you see any error in the APEX Listener's log for the following action you performed:
My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank >page with a wwv_flow.accept URL although the image does indeed uploadIf you actually see just a blank screen, something very bad must have happened and you should see some kind of stack trace there.
For further investigations, if necessary, it would be helpful to know how you deployed or started your APEX Listener and which JDK version you use.
For the moment, I still think the port conflict is my best guess.
You could avoid it by either changing the port for EPG (I'd not recommend that if you have other users still using it) or by changing the port for your APEX Listener.
-Udo -
Communication Problem between Listener and OEM
Dear all,
I had my OEM running and communicating with the database without any problem until I had a problem with other client and kill some OEM and Listener process, now it's not communicating with the listener.
I restarted my PC and tried to start afresh hoping that it ran as it had been, but the result is on the contrary. Somehow, the communication is corrupted. Currently, I can start the OEM using
emtcl start dbconsolebut when I try to start the listener from the browser from Net Services Administration: Host Login, it keeps starting without success.
the following is the Manager trace file, which got warnings and errors that I don't understand
emagent.trc:
SQL = " OCISessionGet"...
LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=firefly.snowdrop.com)(PORT=1521))(CONNECT_DATA=(SID=inara)))
2011-06-14 17:22:42,398 Thread-421710160 ERROR vpxoci: ORA-12541: TNS:no listener
2011-06-14 17:22:42,398 Thread-421710160 WARN vpxoci: Login 0x68d100 failed, error=ORA-12541: TNS:no listener
2011-06-14 17:22:42,398 Thread-421710160 WARN TargetManager: Exception in computing dynamic properties of {inara.snowdrop.com, oracle_database },GetDbBlockSize::ORA-12541: TNS:no listener
2011-06-14 17:22:42,400 Thread-424859984 ERROR TargetManager: nmeetm.c : Target inara.snowdrop.com has a failed critical dynamic property
2011-06-14 17:22:42,403 Thread-424859984 WARN upload: Upload manager has no Failure script: disabled
2011-06-14 17:22:42,403 Thread-424859984 WARN upload: Amount of upload data will be recalculated due to reload.enabling collections and regenerating metadata.
2011-06-14 17:22:42,403 Thread-424859984 WARN TargetManager: Regenerating all Metadata
2011-06-14 17:22:42,470 Thread-424859984 WARN upload: Truncating value of "SHORT_NAME" from "Average Synchronous Single-Block Read Latency (ms)" to "Average Synchronous Single-Block Read La"
2011-06-14 17:22:42,471 Thread-424859984 WARN upload: Truncating value of "SHORT_NAME" from "Average Synchronous Single-Block Read Latency (ms)" to "Average Synchronous Single-Block Read La"
2011-06-14 17:22:42,568 Thread-424859984 WARN upload: Truncating value of "COLUMN_LABEL" from "Total messages processed per queue per subscriber per minute in the last interval" to "Total messages processed per queue per subscriber per minute in "
2011-06-14 17:22:42,568 Thread-424859984 WARN upload: Truncating value of "COLUMN_LABEL" from "Total messages received per queue per subscriber per minute in the last interval" to "Total messages received per queue per subscriber per minute in t"
2011-06-14 17:22:42,568 Thread-424859984 WARN upload: Truncating value of "COLUMN_LABEL" from "Messages processed per queue (%) per subscriber per minute in the last interval" to "Messages processed per queue (%) per subscriber per minute in th"
2011-06-14 17:22:42,568 Thread-424859984 WARN upload: Truncating value of "COLUMN_LABEL" from "Age of the first message in persistent queue per subscriber (seconds)" to "Age of the first message in persistent queue per subscriber (sec"
2011-06-14 17:22:42,568 Thread-424859984 WARN upload: Truncating value of "COLUMN_LABEL" from "Age of the first message in the buffered queue per queue (seconds)" to "Age of the first message in the buffered queue per queue (second"
2011-06-14 17:22:42,584 Thread-424859984 WARN collector: enable collector
2011-06-14 17:22:42,588 Thread-424859984 WARN collector: Regenerating all DefaultColls
2011-06-14 17:22:43,715 Thread-421710160 ERROR upload: Exceeded max. amount of upload data: 212 files, 200.680481 MB Data. 88.62% of disk used. Disabling collections.
2011-06-14 17:22:43,715 Thread-421710160 WARN collector: Disable collector
2011-06-14 17:22:46,814 Thread-421710160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
2011-06-14 17:22:46,929 Thread-421710160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
2011-06-14 17:23:16,099 Thread-435099984 ERROR command: nmejcn: received no status header from repository at https://firefly.snowdrop.com:5500/em/upload/
2011-06-14 17:23:17,071 Thread-415410512 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
2011-06-14 17:23:17,201 Thread-415410512 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
2011-06-14 17:24:17,230 Thread-424859984 WARN ssl: <nmehlssl.c:nmehlssl_readcb>: nmehl_read_sock timed out, rsf = -5, setting read timeout flag
2011-06-14 17:24:17,230 Thread-424859984 WARN ssl.io: fd=14: nmehlssl_read, nzos_Read error = 28862 readTimed Out = 1
2011-06-14 17:24:17,230 Thread-424859984 WARN http: <nmehl.c>:<nmehl_readline>: nmehlssl_read() timed out
2011-06-14 17:24:17,230 Thread-424859984 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2011-06-14 17:24:47,355 Thread-424859984 WARN ssl: <nmehlssl.c:nmehlssl_readcb>: nmehl_read_sock timed out, rsf = -5, setting read timeout flag
2011-06-14 17:24:47,355 Thread-424859984 WARN ssl.io: fd=7: nmehlssl_read, nzos_Read error = 28862 readTimed Out = 1
2011-06-14 17:24:47,355 Thread-424859984 WARN http: <nmehl.c>:<nmehl_readline>: nmehlssl_read() timed out
2011-06-14 17:24:47,355 Thread-424859984 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2011-06-14 17:25:47,446 Thread-315353424 WARN ssl: <nmehlssl.c:nmehlssl_readcb>: nmehl_read_sock timed out, rsf = -5, setting read timeout flag
2011-06-14 17:25:47,446 Thread-315353424 WARN ssl.io: fd=7: nmehlssl_read, nzos_Read error = 28862 readTimed Out = 1
2011-06-14 17:25:47,446 Thread-315353424 WARN http: <nmehl.c>:<nmehl_readline>: nmehlssl_read() timed out
2011-06-14 17:25:47,446 Thread-315353424 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text = and the following is the listener log file content
14-JUN-2011 17:28:39 * <unknown connect data> * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54171)) * establish * <unknown sid> * 12525
TNS-12525: TNS:listener has not received client's request in time allowed
TNS-12535: TNS:operation timed out
TNS-12606: TNS: Application timeout occurred
14-JUN-2011 17:28:39 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54168)) * establish * inara.snowdrop.com * 0
14-JUN-2011 17:28:39 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54166)) * establish * inara.snowdrop.com * 0
14-JUN-2011 17:28:39 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54165)) * establish * inara.snowdrop.com * 0
14-JUN-2011 17:28:39 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54158)) * establish * inara.snowdrop.com * 0
Tue Jun 14 17:28:59 2011
14-JUN-2011 17:28:59 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54161)) * establish * inara.snowdrop.com * 0
14-JUN-2011 17:28:59 * service_update * inara * 0
14-JUN-2011 17:28:59 * service_update * inara * 0Could anybody give me a pointer to troubleshoot this?
regards,
ValWhat I did before I did tnsping and status on lsnrctl:
1. emtcl start dbconsole
2. start database from sqlplus using startup command
3. Open up browser, it me brought to OEM database control page.
4. Start listener ORACLE_LISTENER that associates with OEM from OEM database control page.
5. Brought me to NET login page, enter the login page, enable the listener.
6. At this point everything was just dandy:
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias ORACLE_LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 14-JUN-2011 21:38:24
Uptime 0 days 0 hr. 1 min. 4 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /usr/local/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /usr/local/oracle/diag/tnslsnr/firefly/oracle_listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=firefly.snowdrop.com)(PORT=1521)))
Services Summary...
Service "inara.snowdrop.com" has 1 instance(s).
Instance "inara", status READY, has 1 handler(s) for this service...
Service "inaraXDB.snowdrop.com" has 1 instance(s).
Instance "inara", status READY, has 1 handler(s) for this service...
The command completed successfully7. Until I hit the Database tab on OEM database control making the listener stalled in a weird state:
LSNRCTL> status ORACLE_LISTENER
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=firefly.snowdrop.com)(PORT=1521)))
^C
[oracle@firefly]$ tnsping firefly
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 14-JUN-2011 21:44:39
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/usr/local/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.oraBoth status ORACLE_LISTENER and tnsping host had to be aborted by ^C.
8. Meanwhile OEM gave up waiting for listener and instance saying:
Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.displaying an empty database instance status, unavailable listener, and unavailable agent connection to instance.
the following is the image of OEM database control:
and oracle_listener.log showing at this point:
14-JUN-2011 22:34:33 * <unknown connect data> * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54942)) * establish * <unknown sid> * 12525
TNS-12525: TNS:listener has not received client's request in time allowed
TNS-12535: TNS:operation timed out
TNS-12606: TNS: Application timeout occurred
14-JUN-2011 22:34:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54935)) * establish * inara.snowdrop.com * 0
14-JUN-2011 22:34:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54932)) * establish * inara.snowdrop.com * 0
14-JUN-2011 22:34:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54931)) * establish * inara.snowdrop.com * 0
14-JUN-2011 22:34:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54926)) * establish * inara.snowdrop.com * 0
14-JUN-2011 22:34:33 * service_update * inara * 0
Tue Jun 14 22:34:53 2011
14-JUN-2011 22:34:53 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54939)) * establish * inara.snowdrop.com * 0
14-JUN-2011 22:34:53 * service_update * inara * 0
Tue Jun 14 22:35:13 2011
14-JUN-2011 22:35:13 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54943)) * establish * inara.snowdrop.com * 0
Tue Jun 14 22:35:33 2011
14-JUN-2011 22:35:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54945)) * establish * inara.snowdrop.com * 0
14-JUN-2011 22:35:33 * service_update * inara * 0
Tue Jun 14 22:35:53 2011
14-JUN-2011 22:35:53 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54949)) * establish * inara.snowdrop.com * 0
Tue Jun 14 22:36:13 2011
14-JUN-2011 22:36:13 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54953)) * establish * inara.snowdrop.com * 0
14-JUN-2011 22:36:13 * service_update * inara * 0Any ideas?
Edited by: Valerie Debonair on Jun 14, 2011 8:38 AM add log -
Oracle service, Listener and http server does not start automatically
Hello,
I have Oracle 9i release 2 installed on Unix HP box if system restart in case of power failure the Oracle service, Listener and http server does not start automatically, is there any ready reference available to check what's wrong is happening(I don't have knowledge of Unix).
Thanks, Khawar.Hi Rajesh,
Thanks for reply, I will check this link and will be back if facing problem.
Regards, Khawar. -
Hi there, Will be possible listen and charge at the same time my iPod shuffle in my car?
Hi there, Will be possible listen and charge at the same time my iPod shuffle in my car? I have got a jack going to my sound system the issue i would like to solve is charging at the same time
Since the shuffle (except for the 1st gen shuffle) uses the same "port" (the headphones jack) for sound output and charging, there is no way to do both concurrently.
NOTE: You can charge and play at the same time on the old white 1st gen shuffle that looks like a USB flash drive. -
Listener and gsd are unknown, what is the reason
I just install 10g RAC on linux, everything was good. However, I shutdowned the whole system and started it again,
my listener and gsd are unknown, what is the reason?
rac1-> crs_stat -t -v
Name Type R/RA F/FT Target State Host
ora.devdb.db application 0/1 0/1 ONLINE ONLINE rac1
ora....b1.inst application 0/5 0/0 ONLINE ONLINE rac1
ora....b2.inst application 0/5 0/0 ONLINE ONLINE rac2
ora....SM1.asm application 0/5 0/0 ONLINE ONLINE rac1
ora....C1.lsnr application 0/5 0/0 ONLINE UNKNOWN rac1
ora.rac1.gsd application 0/5 0/0 ONLINE UNKNOWN rac1
ora.rac1.ons application 0/3 0/0 ONLINE ONLINE rac1
ora.rac1.vip application 0/0 0/0 ONLINE ONLINE rac1
ora....SM2.asm application 0/5 0/0 ONLINE ONLINE rac2
ora....C2.lsnr application 0/5 0/0 ONLINE UNKNOWN rac2
ora.rac2.gsd application 0/5 0/0 ONLINE UNKNOWN rac2
ora.rac2.ons application 0/3 0/0 ONLINE ONLINE rac2
ora.rac2.vip application 0/0 0/0 ONLINE ONLINE rac2
rac1-> srvctl start listener -n rac1
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.rac1.LISTENER_RAC1.lsnr' has placement error.
rac1-> srvctl start listener -n rac2
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.rac2.LISTENER_RAC2.lsnr' has placement error.
rac1-> tail -30 alert_+ASM1.log
SUCCESS: diskgroup RECOVERYDEST was mounted
Wed Aug 31 17:24:48 2011
NOTE: recovering COD for group 2/0xc8787a38 (RECOVERYDEST)
SUCCESS: completed COD recovery for group 2/0xc8787a38 (RECOVERYDEST)
Wed Aug 31 17:25:01 2011
Starting background process ASMB
ASMB started with pid=17, OS id=6498
Wed Aug 31 17:28:07 2011
NOTE: ASMB process exiting due to lack of ASM file activity
Wed Aug 31 17:29:00 2011
Reconfiguration started (old inc 1, new inc 2)
List of nodes:
0 1
Global Resource Directory frozen
Communication channels reestablished
Master broadcasted resource hash value bitmaps
Non-local Process blocks cleaned out
Wed Aug 31 17:29:01 2011
LMS 0: 0 GCS shadows cancelled, 0 closed
Set master node info
Submitted all remote-enqueue requests
Dwn-cvts replayed, VALBLKs dubious
All grantable enqueues granted
Wed Aug 31 17:29:01 2011
LMS 0: 43 GCS shadows traversed, 0 replayed
Wed Aug 31 17:29:01 2011
Submitted all GCS remote-cache requests
Post SMON to start 1st pass IR
Fix write in gcs resources
Reconfiguration complete
rac1-> tail -30 alert_devdb1.log
Communication channels reestablished
Master broadcasted resource hash value bitmaps
Non-local Process blocks cleaned out
Wed Aug 31 17:29:35 2011
LMS 0: 0 GCS shadows cancelled, 0 closed
Set master node info
Submitted all remote-enqueue requests
Dwn-cvts replayed, VALBLKs dubious
All grantable enqueues granted
Wed Aug 31 17:29:35 2011
LMS 0: 3118 GCS shadows traversed, 1733 replayed
Wed Aug 31 17:29:35 2011
Submitted all GCS remote-cache requests
Post SMON to start 1st pass IR
Fix write in gcs resources
Reconfiguration complete
Wed Aug 31 17:31:25 2011
Shutting down archive processes
Wed Aug 31 17:31:30 2011
ARCH shutting down
ARC2: Archival stopped
Wed Aug 31 17:40:11 2011
db_recovery_file_dest_size of 1500 MB is 14.40% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Wed Aug 31 22:00:14 2011
Thread 1 advanced to log sequence 3
Current log# 2 seq# 3 mem# 0: +DG1/devdb/onlinelog/group_2.262.760635995
Current log# 2 seq# 3 mem# 1: +RECOVERYDEST/devdb/onlinelog/group_2.258.760635997add an entry in on both the nodes /etc/sysconfig/network DEFAULT_GATEWAY
eg:-
[oracle@rac1 ~]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=rac1.localdomain
DEFAULT_GATEWAY=192.168.1.10
and try to start the service.
if you would like refer:-http://oracleinstance.blogspot.com/2009/12/crs-0215-could-not-start-resource.html -
Oracle Workflow Manager, Agent Listener, and Java Mailer problem
Hi,
I am not sure this topic to this forum, since this might be installation issue.
But I am hitting a big wall.
I had Windows 2000 SP4.
I have already installed Oracle Database 10gR1, Oracle Developer 10gR2, and Oracle Workflow 2.6.3 Standalone previously.
Including :
- Oracle Workflow Server 2.6.3
- Oracle Workflow Builder 2.6.3.5
- Apache HTTP Server 9.0.4
- Workflow Middle Tier
Anything seems to right, including the Notification Mailer and the Business Event.
And I had also made backup of them surely.
Now,
I'd like to change into Oracle Database 10gR2 because :
1. Some errors I found when I tried to call a Report from Oracle Form.
Unable to connect to Report Server ...
I thought Oracle Database 10gR1 is not suitable for Oracle Developer 10gR2.
2. And in the OWF 2.6.3 Workflow Home Page, there was no Logout button (which I found in OWF 2.6.4)
I removed my previous installation including Oracle Workflow.
After strugglineg in the installation of Oracle Database 10gR2, now I am facing another problem with Oracle Workflow.
I succesfully installed Oracle Workflow 2.6.4 Server and Oracle Workflow Manager (standalone version),
and the Oracle Workflow Middle Tier.
After I launch Oracle Workflow Configuration Assisstant, everthing seems to be normal.
I succed to open the Oracle Workflow Home Page (and found the Logout button there)
Next, I tried to navigate to the Oracle Workflow Manager.
1. I start the OC4J_Workflow_Management_Container --> initialized
2. OC4J_Workflow_Component_Container
The following error line appeared in the OC4J command prompt
06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.Logger.Logger(String,
int) : Logging to System.out until necessary parameters are retrieved for Logger
to be properly started.
06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
initializeStateMachine() : BEGIN [default implementation]
06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
getNewWorkflowContext() : BEGIN
06/05/26 10:31:45 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
loadGlobalParameters() : BEGIN
06/05/26 10:31:48 oracle.apps.fnd.wf.common.ContextFactoryException: Unable to g
et connection from data source because the following Exception occurred -> java.
sql.SQLException: ORA-28000: the account is locked
06/05/26 10:33:57 Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)
initialized
3. finally it initialized
Next I tried to go to Oracle Workflow Manager from related link of Enterprise Manager
It is said that the OWF_MGR is locked
(I surprised since I had UNLOCKED the OWF_MGR after the installation and succeed to login at the Workflow Home Page)
And the following error line appeared in the commaned prompt after that
06/05/26 10:35:03 OrionCMTConnection not closed, check your code!
06/05/26 10:35:03 Logical connection not closed, check your code!
06/05/26 10:35:03 (Use -Djdbc.connection.debug=true to find out where the leaked
connection was created)
4. I re-UNLOCK the OWF_MGR and login to Oracle Workflow Manager
I noticed that the Agent Listener and Notification Service is Unavailable
(In OWF 2.6.3, The Agent Listener was started and Notification Service was waiting to be configured)
I tried to start one of the Agent Listener, but the following error appeared
ERROR: The Service Component Container is not running
Well, I had the same problem when installing the OWF 2.6.3
I tried to uninstall (remove) and re-install it like I had done before in OWF 2.6.3
(based on someone's post in Oracle's forum)
But this time, the re-installation won't fix this problem. (It was succeed in the OWF 2.6.3)
Everytime I start the OC4J, using wfmgrstart.bat and wfsvcstart.bat
the OWF_MGR is re-LOCKED(TIME) automatically.
And the servlet (WFALSNRSVC and WFMLRSVC) are not running.
I am worry, since I cannot use the Notification Mailer if this problem had not fixed yet.
(In OWF 2.6.3, the mailer was not available until those servlet is Started)
Sorry for the long post.
Any help would be grateful.
Many thanks,
BuntoroHi,
Finally, I have found the solution.
Step :
1. Start all of the Oracle Service, except for the OC4J
If you have already started OC4J, then stop them
Unlocked the <wf_manager_user>
2. Search in your Oracle Home : data-sources.xml
There should be two files,
one is in the ...\OC4J_Workflow_Component_Container\application-deployments\WFALSNRSVCApp
the other is in ...\OC4J_Workflow_Component_Container\application-deployments\WFMLRSVCApp
3. Make sure, you create back up of them.
4. Replace the following line
password="->pwForOwfMgr"
with
password="<your_wf_manager_password>",
should be look like this
password="a"
5. Now start the OC4J using wfmgrstart.bat and wfsvcstart.bat
6. Next, login to the Oracle Workflow Manager
This worked for me.
Hope this will help someone who has the same problem.
Buntoro -
What would you consider to be the "best" non-bluetooth headset for the Iphone 5? I have had some serious health issues of which could be stemming from the bluetooth and I need great sound quality both listening and speaking. Any suggestions?
Problem with wired headsets is that there is not std for mic in headsets so if its not 100 % made for iphones it will not work
-
Hi at all.... I'm a newbie with database oracle.,
I have the follow problem:
I installed Oracle Database 11g R2 XE on my guest operating system CentOS 6.5.
I have changed the hostname in my SO CentOS (where is installed oracle 11g R2 XE) after installation was completed successfully.
-) Before and during installation the hostname was localhost.
-) After installation I changed the hostname in VMCentOS
From the moment I changed the hostname, nothing starts up automatically. In particular, the listener and the database instance does not starts up automatically.
When I starts up the listener manually and I try to connect to database instance with SQLPLUS i get this error:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
I think that the problem is due to the changed hostname because I, for testing and debugging purpose, re-installed a new OS CentOS virtual machine, re-installed oracle database 11g and I have not got that problem. The database instance and the listener starts up automatically!
Can any one tell me if maybe the problem is related to the hostname changed? ... and Why?
P.S.: After changed the hostname I have also modified the listener.ora and the tnsnames.ora by modifying the HOST with the correct hostname.-) Output of command chkconfig (there isn't any line oracle-xe 0:off 1:off 2:on 3:on 4:on 5:on 6:off):
[oracle@VMCentOS /]$ chkconfig
NetworkManager 0:off 1:off 2:on 3:on 4:on 5:on 6:off
abrt-ccpp 0:off 1:off 2:off 3:on 4:off 5:on 6:off
abrtd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
acpid 0:off 1:off 2:on 3:on 4:on 5:on 6:off
atd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
blk-availability 0:off 1:on 2:on 3:on 4:on 5:on 6:off
bluetooth 0:off 1:off 2:off 3:on 4:on 5:on 6:off
cpuspeed 0:off 1:on 2:on 3:on 4:on 5:on 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
cups 0:off 1:off 2:on 3:on 4:on 5:on 6:off
dnsmasq 0:off 1:off 2:off 3:off 4:off 5:off 6:off
firstboot 0:off 1:off 2:off 3:on 4:off 5:on 6:off
haldaemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off
htcacheclean 0:off 1:off 2:off 3:off 4:off 5:off 6:off
httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ip6tables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
irqbalance 0:off 1:off 2:off 3:on 4:on 5:on 6:off
jexec 0:off 1:on 2:on 3:on 4:on 5:on 6:off
kdump 0:off 1:off 2:off 3:on 4:on 5:on 6:off
lvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:off
mdmonitor 0:off 1:off 2:on 3:on 4:on 5:on 6:off
messagebus 0:off 1:off 2:on 3:on 4:on 5:on 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ntpdate 0:off 1:off 2:off 3:off 4:off 5:off 6:off
portreserve 0:off 1:off 2:on 3:on 4:on 5:on 6:off
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
psacct 0:off 1:off 2:off 3:off 4:off 5:off 6:off
quota_nld 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rdisc 0:off 1:off 2:off 3:off 4:off 5:off 6:off
restorecond 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rngd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
smartd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
snmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
snmptrapd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
spice-vdagentd 0:off 1:off 2:off 3:off 4:off 5:on 6:off
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
sysstat 0:off 1:on 2:on 3:on 4:on 5:on 6:off
udev-post 0:off 1:on 2:on 3:on 4:on 5:on 6:off
vmware-tools 0:off 1:off 2:on 3:on 4:on 5:on 6:off
vmware-tools-thinprint 0:off 1:off 2:on 3:on 4:on 5:on 6:off
wdaemon 0:off 1:off 2:off 3:off 4:off 5:off 6:off
winbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off
wpa_supplicant 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[oracle@VMCentOS /]$
Moreover in /etc/sysconfig there isn't any file oracle-xe!!!
At this point, I suspect that something in the installation I mistook. -
Listener and Database shown as down on AV Console
Hi,
I have Oracle Audit Vault 10.2.3.2 on RH5 and I'm experiencing the following problem. The db instance, the listener and the av service is up and running. While i'm trying to access the http://<hostname>:5700/av, the db and the listener appeared as down. Any ideas why?
Thank you.Thanks but it still does not clear up the confusion. Here are the two mutually inconsistent statements:
The db instance, the listener and the av service is up and running.and
the db and the listener appeared as down.they can not both be true.
Please explain and show us on what basis one or both of these conclusions was reached. -
Help on Listener and Tnsnames.ORA
Hi guys,
I just installed Oracle Discoverer Admin Ed Rel 4 recently and i can't connect to Discoverer as well as SQL+ due to listener and tnsnames problem. Can you pls. help me to configure the .ORA files needed for the connection. I was trying to build database and connections local to my laptop. Is this possible using TCP-Loopback?
Appreciate any help...
Thanks.
EnzoThere's another possible problem on the Windows platform: Database and Discoverer are installed in different Oracle homes, many people configure the sqlnet files inside the database's ORACLE_HOME, which are not read automatically by the other home(s). So solution is to copy all configuration files to ORACLE_HOME\network\admin of all ORACLE_HOMEs OR to set TNS_ADMIN, which points to one central location.
Werner -
How to start work flow agent listener and work flow background engines R12
Hi,
I need to start work flow agent listener and workflow background engine in R12.1.3. Could you please specify how to start a workflow agent listener and workflow agent background engine.
Please send me link if any documents are there .
Best Regards,
AnilI need to start work flow agent listener and workflow background engine in R12.1.3. Could you please specify how to start a workflow agent listener and workflow agent background engine. How to start the Workflow Deferred Agent Listener andWorkflow Java Deferred Agent Listener? [ID 548918.1]
Please send me link if any documents are there . Please search the forum before posting similar questions.
http://forums.oracle.com/forums/search.jspa?threadID=&q=How+to+start+Workflow+Agent+Listener&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
http://forums.oracle.com/forums/search.jspa?threadID=&q=How+to+start+Workflow+Background+process&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Workflow Agent Listener and Workflow Background Engine
Hi all,
I try to update roles via User Management responsibility but when applying them it throws the following warning: "Updates to Role data will not be visible in the application until the following processes are started : Workflow Agent Listener and Workflow Background Engine". So, my question is via which responsibility i can submit those requests and is there anything else i should know before creating, update roles and assigning permissions to them?
Thanks in advance,
Alexander.I checked the requests and i found that Workflow Background Engine completed successful. Only Open Period Balance finished with error but is it possible this to be the reason of the given warning? I believe not.
And pls kindly explain what exactly means "you may need to log a SR."? Create a Service Request (SR) in My Oracle Support website so you get a help from Oracle Support Engineer (assuming you have a valid CSI number and MOS account) -- https://support.oracle.com
Thanks,
Hussein -
To install a listener and Hetrogeneous Services
Hi all!
To install a listener and Hetrogeneous Services, do a custom Oracle Database install, and only install "Oracle Net Services/Oracle Net Listener" and "Oracle Transparent Gateways" (but do not select any of the gateways).
i have done this in seprate ORACLE HOME but i did not find initodbc.ora and initoledb.ora sample files in
D:\ora920_oh\hs\admin
but i found listener.ora.sample and tnsnames.ora.sample files
Now what should i install to find the initodbc.ora initoledb.ora sample files.help me please
Maybe you are looking for
-
Apple DVI to Video Adapter on PC???? WILL IT WORK?
Will the Apple DVI to Video Adapter work on PC's as well as Apple? I own a mac but the computer I need to convert on is an older PC with a DVI port on back. Will it work? It's just an adaptor right? It cn't be built to ONLY work on mac...theres no so
-
How can I use Pro Tools with Fire Wire interface and Fire Wire external HD
If Mac Book Pro has only one Fire Wire jack and I want to use Pro Tools with an M Audio 1814 Firewire interface and an external Fire Wire HD how do I get around the fact that the Mac Book Pro has only one fire wire jack? Pro Tools says that they DO N
-
New comp, geek squad removed all songs, how do I get those back?
My old hard drive crashed along with 200 something songs. Geek squad was setting up my new computer and he updated my iPod so that the only songs on it now are the sample songs from my computer. I had planned on buying the old songs again, but the Mu
-
What are the negative effects of shutting down often?
I use my computer everyday. Is it the best choice to shut it down every night (when i am sleeping) for: a. Saving electricity? b. maintaining battery life? c. the environment??? And I am sure there are other factors I can't think of now. What are the
-
Html Validation icon shows in IE but not in Mozilla
html Validation icon shows in IE but not in Mozilla Hi, All, I use DWMX 2004 I placed the hmtl validation icon at the bottom of a template so that each page could be conveniently validated. The icon is showing all right, both locally and online, in I