JDBC session count of v$ ACTIVE_SESSION_HISTORY
Hi all
I'm trying to find out the number of JDBC connections for a given period of time, as we have been unable to access the URL for some time.
Wanted to check if we max.jdbc connections (I see some java null pointer and cases of POOL-No. the OBJECTS AVAILABLE in the jvm logs)
I use sql below, but its not returning all rows
SQL > select count (*) from
2 v$ ACTIVE_SESSION_HISTORY
3 where module = "JDBC %.
4 and SAMPLE_TIME BETWEEN July 8, 13 11.38.50.634'M 'and 8 July 13 11.45.42.780 AM;
COUNT (*)
----------
0
SQL >
SQL >
SQL >! date
My Jul 8 14:06:05 CDT 2013
SQL >
-Thank you
Vijay
What I wanted to say is...
SQL> select sample_time from v$active_session_history where module like '%JDBC%';
Thank you
Hussein
Tags: Oracle Applications
Similar Questions
-
Easy remote VPN - IPsec Session count
I have recently updated our ASA5510 head to our datacenter to 8.2.1 to 8.4.5. The ASD has been also improved 6.2.1 to 7.1. (1) 52. Under the old code, a connected remote ASA5505 via remote VPN easy showed 1 IPsec tunnel. However, after the upgrade, it shows 42 sessions. It seems to me that each split tunnel network defined in the easy VPN profile is being counted as a tunnel. Someone has seen this, or is - it possible that I may have something misconfigured now that the code is upgraded? Thank you.
Dave
No, IMHO, it's a display error in ASDM for 7.1.
Return to ASDM 6.4.9 and it should be 1 tunnel.
-
Unable to connect wireless, "ACS user exceeded max sessions" users
Some corporate users are unable to connect to the wireless company.
On the WLC, I get the following logs:
Authentication failure AAA for UserName:dto029 user Type: USER WLAN
The GBA, I get the error:
Authentic doesn't have a default group for ACS user exceeded max sessions (by default) 192.168.47.46 DTO029......
That means "user ACS exceeded max Sessions? How can I solve this problem? Connection problem faces few users, while others are able to connect.
Corporate SSID, Session Timeout & Client Exclusion is not enabled. The WLC version is 7.0.98.0 and the version of the CSA 4.2.0.124
The problem is solved the ACS is restarted. Is there a permanent solution?
Thanks in advance.
Hello
the error means that the users belong to the ACS Group (or the user themselves) has a "max session" setting, as described here:
.. and the user exceeds this limit.
ACS can indeed limit the number of concurrent sessions for the same user name; This counter is based on the RADIUS account management information received from the AAA client: the session counter is increased when receiving a 'Start' accounting and it is decreased when you receive a "Stop" on accounting package.
ACS for a reason if any don't receive an Acct-Stop, it won't reduce the number of session, so it may happen that your users exceed the max concurrent sessions allowed indeed.
You can check the active sessions on the "users" ACS report:
If you restart ACS, this info is reset, so everything will work again, as you say; as an alternative, you can also use the options 'Purge logged in users' on the logged users page, but it would be wiser to really solve this problem by checking if... :
-do you really need the config of max sessions? Otherwise, you can simply disable this on users/groups configuration
-If you need for this limitation and the problem is related to the session that overlap, which means that the WLC should not send the Acct-Stop because there is always a session active and a new one is created at the same time, you can consider increasing the number of maximum session.
HTH,
Federico
--
If this answers your question please mark the question as "answered" and write it down, so other users can easily find it.
-
Session of top through PIX 515E firewall
My ISP is stopping the internet service and told that I have a number of great session of 5400 +... The normal session counts should be around 200. Due to this high number, my site may potentially adversely affect my network and their network. They disabled this site in order to prevent any damage.
MY PIX config is attached, please check.
Note: the modem from my ISP have IP 216.147.153.113/29
If you have any questions please contact me via Email or messenger below contacts, I appreciate your help in advance.
Thank you
Latitia K. Carlson
Iraq - Baghdad
Mobile phone: + 964 7901 762691
[Yahoo ID: mailto:[email protected] / * /">[email protected] / * / .
[MSN ID: mailto:[email protected] / * /">[email protected] / * / .
[Email: mailto:[email protected] / * /">[email protected] / * / .
Hi Sam,
seen configs... Why are you opening an entire ip and tcp everything everything inside and outside... first remove these instructions and then see the performance... am sure most useless traffic go through now because of these statements...
No inside_access_in of the ip access list allow a whole
No inside_access_in access list do not allow a full tcp
see if this has solved the problem.otherwise he must refine the remaining access lists... Make sure that all ports are open, after you remove those 2 lines...
REDA
-
Why this user session becomes a timeout and disconnected?
Hello
I have a few users are disconnected from their display the session with a message saying that their session has expired. It's strange, because the user will be logged into their office work and all of a sudden, they are back at the login screen terminal wyse. If they try to reconnect, they are picked up directly on their desktop.
I found that the messages of debug log on the view connection server. Why is the disconnect session after the user was registered for 599 mins?
2014 01-13 T 17: 06:13.148 - 06:00 DEBUG (0BFC-0CCC) < Timer-0 > [al] (5AED_ * _B627) Session expired: stop
2014 01-13 T 17: 06:13.160 - 06:00 DEBUG (0BFC-0CCC) < Timer-0 > [EventLogger] (5AED_ * _B627) Warning_Event: [BROKER_MACHINE_SESSION_TIMEDOUT] 'User null timed out Session': Source = com.vmware.vdi.ice.server.al, UserDN=cn=s-1-5-21-903304000-123605126-2484215475-1892,cn=foreignsecurityprincipals,dc=vdi,dc=vmware,dc=int, time = Mon Jan 13 17:06:13 CST 2014, seriousness = WARNING, [redacted] = node, Module = broker, recognized = true
2014 01-13 T 17: 06:13.160 - 06:00 DEBUG (0BFC-0CCC) < Timer-0 > [EventWorker] (5AED_ * _B627) initialization EventWorker
2014 01-13 T 17: 06:13.161 - 06:00 DEBUG (0BFC-0CCC) < Timer-0 > [al] (5AED_ * _B627) notify timeout fatal error to the client: secure connection timed out (the session has expired, please login again.)
2014 01-13 T 17: 06:13.161 - 06:00 DEBUG (0BFC-0CCC) < Timer-0 > [al] (5AED_ * _B627) Client doesn't support the client or client-error timeout error. User will not see this message of timeout.
2014 01-13 T 17: 06:13.162 - 06:00 DEBUG (0BFC-0CCC) < Timer-0 > [al] (5AED_ * _B627) requested stop Lite session: Session expired
2014 01-13 T 17: 06:13.162 - 06:00 INFO (0BFC-0CCC) < Timer-0 > [ay] (5AED_ * _B627) end of session [redacted] user Secure Gateway Server - session ID: 5AED_ * _B627
2014 01-13 T 17: 06:13.163 - 06:00 DEBUG (0BFC - 00 0D) < outbound JMS Forwarder wire > [bj] point on queue "Outgoing JMS Forwarder" 816 US, queue length = 0, available workers = 0 on 1
2014 01-13 T 17: 06:13.163 - 06:00 (0BFC - 0D 00) DEBUG message < outgoing JMS Forwarder wire > [l] sending JMS: disconnect
2014 01-13 T 17: 06:13.164 - 06:00 DEBUG (0608-1FA8) < MessageFrameWorkDispatch > [MessageFrameWork] System::IsWorkerInstalled
2014 01-13 T 17: 06:13.164 - 06:00 DEBUG (0608-1FA8) < MessageFrameWorkDispatch > [MessageFrameWork] System::WriteWindowsEvent
2014 01-13 T 17: 06:13.165 - 06:00 (0BFC-1E64) < EventWorker (customer) > DEBUG [JMSCluster] not found: pae_jms.properties, using the default values.
2014 01-13 T 17: 06:13.165 - 06:00 DEBUG (0BFC-1E64) < EventWorker (customer) > [JMSCluster] JMS env: {}
2014 01-13 T 17: 06:13.166 - 06:00 DEBUG (0958-0DA8) < SwiftMQ SessionPool 3 > [ManagementFilter] received message from the tunnel server Logout: Type: (MapMessage\Logout); Headers: [server, TunnelGeneration, TunnelVersion, _MS_MSGIDENTIFIER, _MS_SIGNATURE, capID, toBroker]; Body :{}
2014 01-13 T 17: 06:13.167 - 06:00 DEBUG (0958-0DA8) < SwiftMQ-SessionPool-3 > [UserSessionTracker] successfully consolidated UserSessionTracker (sessionId, userId = [deleted item] = 9399_ * _3e49)
2014 01-13 T 17: 06:13.167 - 06:00 INFO (0958-0DA8) < SwiftMQ-SessionPool-3 > [Audit] BROKER_LOGOFF: USER: [redacted]; USERSID: [redacted]; UTILISATEURDN: [redacted], [redacted];
2014 01-13 T 17: 06:13.167 - 06:00 DEBUG (0958-0DA8) < SwiftMQ-SessionPool-3 > [EventLogger] Info_Event: [BROKER_USERLOGGEDOUT] "[redacted] the user has disconnected": Source = net .propero .modules .properOps .UserSessionTracker, time = Mon Jan 13 17:06:13 CST 2014, seriousness = AUDIT_SUCCESS, node = [redacted], TotalUsers = 6, UserSID = [redacted], BrokerSessionId = 9399_ * _3e49, Module = broker, UserDisplayName = [redacted], recognized = true
2014 01-13 T 17: 06:13.168 - 06:00 INFO USER (0958-0DA8) < SwiftMQ-SessionPool-3 > [UserSessionTracker]: [redacted]; USERSID: [redacted]; UTILISATEURDN: [redacted]; has disconnected from VDM
2014 01-13 T 17: 06:13.168 - 06:00 DEBUG (0958-0DA8) < SwiftMQ-SessionPool-3 > [ManagementFilter] invalidate session (timeout = 1 s): 93993c2b_d4ed_461e_8060_afe98bef3e49
2014 01-13 T 17: 06:13.168 - 06:00 DEBUG (0BFC-1E64) < EventWorker (customer) > [JMSRouter] JMS Direct connect: [name = ROUTER1, username = null, password = null, siteName = null, swiftMQHost = localhost, 4001 = swiftMQPort, swiftMQSocketFactory = com.swiftmq.net.PlainSocketFactory, swiftMQKeepAlive = 60000, usingJNDINames = true]
2014 01-13 T 17: 06:13.168 - 06:00 DEBUG (0BFC - 00 0D) < JMS leaving Forwarder Thread > [l] sent MapMessage in 4 ms
2014 01-13 T 17: 06:13.175 - 06:00 DEBUG (0BFC-1E64) < EventWorker (customer) > [JMSRouter] JMS Direct connect: [name = ROUTER1, username = null, password = null, siteName = null, swiftMQHost = localhost, 4001 = swiftMQPort, swiftMQSocketFactory = com.swiftmq.net.PlainSocketFactory, swiftMQKeepAlive = 60000, usingJNDINames = true]
2014 01-13 T 17: 06:13.964 - 06:00 DEBUG full sync (0958-0EC8) < Thread-50 > [TrackerObject]: DomainHealth: [redacted] version: 3071
2014-01-13T17:06:13.965-06:00 DEBUG (0958-0EC8) <Thread-50> [TrackerManager] Sending message: (TrackerMessage SYNC {}: {v=3071, tn=DomainHealth, u=[{"type":"SET","item":{"name":"ATTR_DOMAIN_NAME","type":"STRING","stringValue":"[redacted]"}},{"type":"SET","item":{"name":"ATTR_DOMAIN_DNS","type":"STRING","stringValue":"[redacted]"}},{"type":"SET","item":{"name":"ATTR_DOMAIN_STATE","type":"STRING","stringValue":"OK"}},{"type":"SET","item":{"name":"ATTR_DOMAIN_TRUSTTYPE","type":"STRING","stringValue":"PRIMARYDOMAIN"}} ,{"type":"SET","item":{"name":"ATTR_DOMAIN_CONTACTABLE","type":"STRING","stringValue":"FULLYACCESSIBLE"}},{"type":"SET","item":{"name":"ATTR_DOMAIN_ISNT4","type":"STRING","stringValue":"false"}},{"type":"SET","item":{"name":"HEALTH_LAST_UPDATE_TIME","type":"LONG","longValue":1389654373964}}], nn=[redacted], oi=[redacted]})
2014 01-13 T 17: 06:15.925 - 06:00 INFO (0958-0DD8) < DesktopControlJMS > [Audit] DISCONNECTED: server: cn = [redacted]; DNS: [redacted]; IP: [redacted]; USER: [redacted]; UTILISATEURDN: [redacted]; BROKERUSERSID: [redacted];
2014 01-13 T 17: 06:15.925-06:00 INFO user (0958-0DD8) < DesktopControlJMS > [DesktopTracker] [redacted] disconnected from machine [redacted] office vdi - session allocated to 13 January 2014 7:06:24 AM CST, connected for 599 dry 47 mins
2014 01-13 T 17: 06:15.926 - 06:00 DEBUG Agent (0958-0DD8) < DesktopControlJMS > [DesktopTracker] session counts for [redacted]: sessionCount = 1, pendingSessionCount = 0, connectedSessionCount = 0, disconnectedSessionCount = 1
2014 01-13 T 17: 06:15.927 - 06:00 DEBUG (0958-1EAC) < 28771f0c-26cb-42c7-a27f-b6a15e40c9c6 > [DesktopTracker] onEvent: DISCONNECTED - username: [redacted]; DomainName: [redacted]; UtilisateurDN: [redacted]; UserSid: [redacted]; GroupSids:null; BrokerUserSid: [redacted]; ConnectionId:5AED_ * _B627; Protocol: PCOIP; CustomerName:; ClientAddress:; ServerDn: [redacted]; ServerPoolDn: [redacted]; ServerDnsName: [redacted]; DynamicIpAddress: [redacted]; ManagedObjectId:null; ID: [redacted]; State: disconnected; SessionGuid:d573-*-9d9b; PreviousSessionGuid:null; LoggedInAsDomain: [redacted]; LoggedInAsUser: [redacted]
What is your session time defined under the display Configuration > global settings
-
Multi or JDBC data source data source
When you configure the JDBC Session persistence in Web App, do we need a MultiDatasource or just a source data JDBC with the Connection Pool?
Published by: user734247 on April 26, 2012 15:24A normal single JDBC targeted to the cluster data source should serve your purpose.
Mutli-datasource is mainly used to connect to multiple databases OR finding themselves in a RAC. This is very useful when you have a failover of the database. If you have a single database, a normal JDBC data source should be enough.Arun
-
Hello
I am new to the development OFA and EBS.
I need charly apps db if the user is logged on or not?
Can someone help how question us her?Hello
Under queries can help you find no.. users connected to the EBS application
-to see the number of sessions user;Select the number of user sessions: ' | Count (distinct session_id) How_many_user_sessionora0121s
of icx icx_sessions
where disabled_flag! = « Y »
and PSEUDO_FLAG = n
and (last_connect + decode (FND_PROFILE. VALUE ('ICX_SESSION_TIMEOUT'),
NULL, limit_time, 0, limit_time, FND_PROFILE. VALUE('ICX_SESSION_TIMEOUT')/60) / 24) > sysdate
and the meter<>/ * currently users of connection * /.
SELECT distinct icx.session_id, icx.user_id, fu.user_name, fu.description
Of icx, fnd_user fu icx_sessions
WHERE disabled_flag! = « Y »
AND icx.pseudo_flag = n
AND (last_connect + DECODE (fnd_profile. VALUE ("ICX_SESSION_TIMEOUT"),
NULL, limit_time, 0, limit_time, fnd_profile. VALUE ("ICX_SESSION_TIMEOUT") / 60) / 24
) > SYSDATE
AND icx.counter<>
AND icx.user_id = fu.user_id
order by 4;Thank you
Nitin -
Could not create the table PS_TXN_seq of persistence
I know there was a lot of discussion on this before but I can't find that everything about JDBC session management and dynamic.
We use dynamic jdbc (application user is in fact the user db), so we need permission for all users to be able to create the PS_TXN table?
Confused.
HowieSee: http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcstatemgmt.htm#CHDDADFD
-
Hi all
I have a doubt about dictionary privileges
What is the difference between Select_catalog_role and select any dictionaryHello
Oracle documentation: -.
>
SELECT_CATALOG_ROLE - this role can be granted to users to allow CERTAIN privileges on all the data dictionary views.SELECT ANY DICTIONARY - This system privilege allows query access to any object in the schema SYS, including tables created in this schema. >
See [http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/privs.htm]
Example-
NOTE:- both users scott and anand has connect and resource roles before start. 12:04:56 SQL> conn scott/tiger Connected. 12:04:59 SQL> 12:04:59 SQL> 12:04:59 SQL> select count(1) from v$session; select count(1) from v$session * ERROR at line 1: ORA-00942: table or view does not exist 12:05:06 SQL> 12:05:06 SQL> 12:05:06 SQL> select count(1) from sys.aud$; select count(1) from sys.aud$ * ERROR at line 1: ORA-00942: table or view does not exist 12:05:13 SQL> 12:05:13 SQL> 12:05:14 SQL> conn sys/sys as sysdba Connected. 12:05:18 SQL> grant SELECT_CATALOG_ROLE to scott; Grant succeeded. 12:05:21 SQL> conn scott/tiger Connected. 12:05:22 SQL> select count(1) from v$session; COUNT(1) ---------- 9 12:05:31 SQL> 12:05:32 SQL> 12:05:32 SQL> select count(1) from sys.aud$; select count(1) from sys.aud$ * ERROR at line 1: ORA-00942: table or view does not exist *Above proves SELECT_CATALOG_ROLE allows only SELECT privileges on all data dictionary views*.The user scott can't access aud$ table owned by SYS. ============================================== 12:05:36 SQL> 12:05:37 SQL> conn sys/sys as sysdba Connected. 12:05:43 SQL> 12:05:43 SQL> 12:05:44 SQL> grant select any dictionary to anand; Grant succeeded. 12:05:54 SQL> 12:05:58 SQL> conn anand/anand Connected. 12:06:04 SQL> 12:06:04 SQL> 12:06:05 SQL> 12:06:05 SQL> 12:06:05 SQL> select count(1) from v$session; COUNT(1) ---------- 9 12:06:10 SQL> select count(1) from sys.aud$; COUNT(1) ---------- 0 12:06:12 SQL> *Above shows SELECT ANY DICTIONARY allows query access to any object in the SYS schemas*.The user anand can access aud$ table also owned by SYS.
HTH
Anand
AnandPublished by: Anand... on October 4, 2010 12:11
-
synchronization of log file event
Hi all
We use Oracle 9.2.0.4 on SUSE Linux 10. In the statspack report, one of the best timed event islog file sysnc
We are in the process. We do not use any storage.IS this a bug of 9.2.0.4 or what is the solution of it
STATSPACK report for DB Name DB Id Instance Inst Num Release Cluster Host ------------ ----------- ------------ -------- ----------- ------- ------------ ai 1495142514 ai 1 9.2.0.4.0 NO ai-oracle Snap Id Snap Time Sessions Curs/Sess Comment ------- ------------------ -------- --------- ------------------- Begin Snap: 241 03-Sep-09 12:17:17 255 63.2 End Snap: 242 03-Sep-09 12:48:50 257 63.4 Elapsed: 31.55 (mins) Cache Sizes (end) ~~~~~~~~~~~~~~~~~ Buffer Cache: 1,280M Std Block Size: 8K Shared Pool Size: 160M Log Buffer: 1,024K Load Profile ~~~~~~~~~~~~ Per Second Per Transaction --------------- --------------- Redo size: 7,881.17 8,673.87 Logical reads: 14,016.10 15,425.86 Block changes: 44.55 49.04 Physical reads: 3,421.71 3,765.87 Physical writes: 8.97 9.88 User calls: 254.50 280.10 Parses: 27.08 29.81 Hard parses: 0.46 0.50 Sorts: 8.54 9.40 Logons: 0.12 0.13 Executes: 139.47 153.50 Transactions: 0.91 % Blocks changed per Read: 0.32 Recursive Call %: 42.75 Rollback per transaction %: 13.66 Rows per Sort: 120.84 Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buffer Nowait %: 100.00 Redo NoWait %: 100.00 Buffer Hit %: 75.59 In-memory Sort %: 99.99 Library Hit %: 99.55 Soft Parse %: 98.31 Execute to Parse %: 80.58 Latch Hit %: 100.00 Parse CPU to Parse Elapsd %: 67.17 % Non-Parse CPU: 99.10 Shared Pool Statistics Begin End ------ ------ Memory Usage %: 95.32 96.78 % SQL with executions>1: 74.91 74.37 % Memory for SQL w/exec>1: 68.59 69.14 Top 5 Timed Events ~~~~~~~~~~~~~~~~~~ % Total Event Waits Time (s) Ela Time -------------------------------------------- ------------ ----------- -------- log file sync 11,558 10,488 67.52 db file sequential read 611,828 3,214 20.69 control file parallel write 436 541 3.48 buffer busy waits 626 522 3.36 CPU time 395 2.54 ------------------------------------------------------------- ^LWait Events for DB: ai Instance: ai Snaps: 241 -242 -> s - second -> cs - centisecond - 100th of a second -> ms - millisecond - 1000th of a second -> us - microsecond - 1000000th of a second -> ordered by wait time desc, waits desc (idle events last) Avg Total Wait wait Waits Event Waits Timeouts Time (s) (ms) /txn ---------------------------- ------------ ---------- ---------- ------ -------- log file sync 11,558 9,981 10,488 907 6.7 db file sequential read 611,828 0 3,214 5 355.7 control file parallel write 436 0 541 1241 0.3 buffer busy waits 626 518 522 834 0.4 control file sequential read 661 0 159 241 0.4 BFILE read 734 0 110 151 0.4 db file scattered read 595,462 0 81 0 346.2 enqueue 15 5 19 1266 0.0 latch free 109 22 1 8 0.1 db file parallel read 102 0 1 6 0.1 log file parallel write 1,498 1,497 1 0 0.9 BFILE get length 166 0 0 3 0.1 SQL*Net break/reset to clien 199 0 0 1 0.1 SQL*Net more data to client 5,139 0 0 0 3.0 BFILE open 76 0 0 0 0.0 row cache lock 5 0 0 0 0.0 BFILE internal seek 734 0 0 0 0.4 BFILE closure 76 0 0 0 0.0 db file parallel write 173 0 0 0 0.1 direct path read 18 0 0 0 0.0 direct path write 4 0 0 0 0.0 SQL*Net message from client 480,888 0 284,247 591 279.6 virtual circuit status 64 64 1,861 29072 0.0 wakeup time manager 59 59 1,757 29781 0.0
Your elapsed time is about 2000 seconds (31: 55 rounded up) - and your log file sync time is 10,000 - which is 5 seconds per second for the duration. Otherwise your session count is about 250 at the beginning and end of snapshot - so if we assume that the number of sessions is stable for the duration, each session has undergone 40 seconds synchronization log file in the meantime. You have saved roughly 1 500 operations in the meantime (0.91 per second, about 13 per cent of restorations) - so synchronize your time log file was on average more than 6.5 seconds by validation.
Regardless of how you look at it, this suggests that numbers of synchronization of the log file are false, or you had a temporary outage. Given that you had some expectations occupied buffer and control file write expects about 900 m/s each, the hardware failure seems likely.
Check log file parallel write times to see if this helps to confirm the hypothesis. (Unfortunately some platforms report liog, parallel wriite time of the files properly for earlier versions of 9.2 - so this may not help.)
You also 15 enqueue waits with an average of 1.2 seconds - check the enqueue statistics in the report section to see what enqueue it was: if it was for example (CF - control file), then it also helps confirm the hypothesis of material.
It is possible that you had a couple of resets of material or something like this in the meantime that stopped your system quite dramatically for a minute or two.
Concerning
Jonathan Lewis
http://jonathanlewis.WordPress.com
http://www.jlcomp.demon.co.UK"Science is more than a body of knowledge; It's a way of thinking. "
Carl Sagan -
Count the number of active sessions in a meantime?
Hi people;
I performed these three applications on my server Oracle 11 g r2, but I get three different results!
In fact, what I want to know is: "how many active session were opened on the database in a certain interval of one day.SQL> SELECT count(*) FROM v$session WHERE to_char(LOGON_TIME,'HH24:MI') BETWEEN '10:00' AND '12:00' AND LOGON_TIME>sysdate-1/2 ; COUNT(*) ---------- 45 SQL> SELECT count(*) AS nbconx FROM ( SELECT DISTINCT SESSION_ID FROM v$active_session_history WHERE to_char(SAMPLE_TIME,'HH24:MI') BETWEEN '10:00' AND '12:00' AND SAMPLE_TIME>sysdate-1/2 ); NBCONX ---------- 827 SQL> SELECT count(*) AS nbconx FROM ( SELECT DISTINCT SESSION_ID FROM dba_hist_active_sess_history WHERE to_char(SAMPLE_TIME,'HH24:MI') BETWEEN '10:00' AND '12:00' AND SAMPLE_TIME>sysdate-1/2 ); NBCONX ---------- 971
Which of these application is good? Or are they all bad?
Help please.
Thanks for your knowledgeThree things to get started:
(1) v$ session contains only sessions that are open right now. Other views contain history. If you do not want session$ v.
(2) If you want sessions to open between 10 and 12 today, say
between trunc(sysdate)+10/24 and trunc(sysdate)+12/24
(3) you must select separate session_id, session_serial #
Published by: stew Ashton on 25 October 2012 15:07
-
Group ADF opening too many sessions of database JDBC Thin Client.
Hi all
I have several panels of the ADF, which allows the user to run some simple queries against a database of Oracle is using the view objects ADF and ADF view links and ADF application module.
Each ADF Panel as I mentioned contains several queries view link and links in the form of Jbuttons to other ADF signs other ADF links running.
Run Control Panel of the ADF as described here opens up to 21 sessions of data showing as "JDBC Thin Client" when I look at their place of session$ v.
Why I find myself with a lot of databases of sessions.
Why didn't he just uses one or two sessions of database to run all of these links to view? It seems that it opens a session of data base for each of these links to view.
How can I change this destructive behavior? I have that one to see one or two sessions of database for the whole ADF matter how ADF display the links it contains.
Your suggestions are most appreciated.
Thank you.
Bobby has.Why so many AMs? Can not put all the your under a single AM?
Each AM you will use will open a connection to the DB. -
For our Foglight environment we have virtual 2 centers with both going to a single FGLAM. If I connect on vCenter and select sessions I show Foglight 4 connections.
If I kill the sessions all return.Why 4 connections? I expect to have only 1 of each vcenter.
They will come to the time where the agent collects the data again. We use several sessions to collect performance data, inventory etc. in parallel to each other. Otherwise, you will have to wait quite a long time in some environments of data would be complete/update.
-
Question about hit FxV filter using positioning counties/session
Hello
Is there a way to create a filter of success for sessions with just 1-2 shots? These may be just the regular shots listed in the screen FxV search Sessions or stored hits.
I'm trying to capture scenarios where something is wrong with our back-end system and only all first hit comes in which is a post for a specific URL method. So if no other success does come in and if we see enough of these place, we can then trigger an alarm (on FMS).
ideas?
Thank you
"mark".
Hi Mark-
You can create a filter of Session in FxV who will catch only sessions with a number of access. Please see the screencap.
I hope this helps.
Robert
Robert
-
Houston-26061: error when opening the JDBC null password connection; opening of session
Hi all
I have this problem and I'm trying to solve for 4 days and still the same
the problem is when I create a new project everything works fine but what happens is when I change the connection or create the new connection in the bc4j, which appears, I tried everything but still in the same problem, please help me... !!!
INFO: ADFc: metadata bootstrap loading of ' / WEB-INF/adfc - config.xml "."
October 18, 2008 13:13:02 oracle.adf.share.security.providers.jps.CSFCredentialStore fetchCredential
WARNING: could not find the credentials for the asit key in C:\Jdev_Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\DefaultDomain\config\oracle.
October 18, 2008 13:13:02 oracle.adf.share.jndi.ReferenceStoreHelper throwPartialResultException
WARNING: Incomplete connection information
< 18 October 2008 13:13:06 IS > < error > < HTTP > < BEA-101017 > < [weblogic.servlet.internal.WebAppServletContext@1ce79b8 - appName: 'AsitsoftWS', name: 'null', context path: ", spec-version: ' 2.5 ', request: [weblogic.servlet.internal.ServletRequestImpl@71a9f3 ']
GET /faces/Master/Login.jspx?_adf.ctrl-state=1701566794_3 HTTP/1.1
Accept: * / *.
Accept-Language: en-US
UA - CPU: x 86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Connection: Keep-Alive
Cookie: JSESSIONID = HD7sL52KnvWCpprlZCTLt0BGdbFJV414gyc21Bns5sQyscyJy2CP!-1257647048
[b]]] Root cause of ServletException.
javax.el.ELException: oracle.jbo.DMLException: Houston-26061: error when opening JDBC connection.
at javax.el.BeanELResolver.getValue(BeanELResolver.java:266)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:73)
at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
Truncated. check the log file full stacktrace
oracle.jbo.DMLException: Houston-26061: error when opening JDBC connection.
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:253)
at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:168)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:546)
at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:327)
at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:104)
Truncated. check the log file full stacktrace
java.sql.SQLException: ORA-01005: password null; connection refused
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:406)
Truncated. check the log file full stacktrace
>Hello
I think to remember Grant in our team had a similar problem, it has been tracked down. In the meantime you can try and set the connection of the ADF BC to the J2EE data source?
Frank
Maybe you are looking for
-
Clasps to satellite L50-A-19N - hard drive
Hello I own Satellite L50-A-19N, seen the question I sometimes hear a clap louder or the series of several shots of the laptop. Probably, it comes out hard drive.If I find SMART for internal HD() is no problematic interest, record Cdystaldiskinfo sta
-
BRAVIA internet video link does not connect to the server
I have a KDL-32xbr6 (Yes, it has a DMEX button on the remote control). Just buy a DMX - NV1. Connection is "by the book". The wireless bridge is a NetGear 3001 bought a month ago. This Wireless Bridge works fine when connected to a computer and has n
-
Nothing so far, you have tried many things.
-
Is there a domain in Windows 7 where can I put all the windows to open maximized?
I was sure that this was true in Folder Options in Control Panel of control-leOutilsmenu. However when I looked there was no. Is it still an option in Windows and where can I find it?
-
I noticed in the BES manual a section on "plug-ins" that could process the messages sent and received from devices. I would like more information on how to implement such an extension, but I can't find any documentation. He mentioned that these thi