Session Info form v$session
How can I find the currently connected session so I can get the right info from v$session.
I had tried select * from v$session where sid = (select distinct sid from v$mystat) this works fine in sql but I want it in a package and the package wont compile - complaining about the table or view being missing - am i missing something?
As SYS:
grant select on v_$session to your_user_id;
grant select on v_$mystat to your_user_id;You might also consider using:
select sid from v$mystat where rownum = 1for the subquery, instead of:
select distinct sid from v$mystat
Similar Messages
-
How to pass session info to applet?
Hi all,
Is it possible to pass a browers' session id to applet in Tomcat server? I've known that an applet can get a session info from brower.
Howserver, since I can't chage a applet code I want to modify Tomcat server to maintain session.
Is there any suggestions?
thanks.The Servlet will normally communicate the session id with a web client (e.g., browser) via cookies. A random session UID is generated and associated with a given client's session. The id is sent back to the client via the http-header set-cookie. On subsequent requests, the browser will include the cookie http-header containing the UID. Some implementations may opt to store the session UID in a hidden form field, though this is less common.
I'm not sure where the applet is in your architecture. However, if you send and receive HTTP messages, you should be able to store the id and ensure that you send your own requests to the Servlet with the appropriate cookie http-header.
- Saish -
When I login to EBS as Japan language session some Forms Application is Eng
Hi ,
have recently applied japan NLS on r121.1 and later upgraded to 12.1.3 also applied 9239090(japan as well).
But customer has complained the error below.
Any ideas on it .
Forms Application is still English.
When I login to EBS as Japan language session, some Forms Application is English.
e.g
user MFG
pass welcome
Resp Manufacturing and Distribution Manager
Path Inventory>品目>品目関連
Thanksls: /u100/app/HONDA1/orhonda1/oracle/aphonda1/apps/apps_st/appl/po/12.0.0/forms/JA/POXRQVRQ.fmx: No such file or directoryThis indicates that the fmx file was not generated via adadmin -- Can you upload the adadmin log file here?
and also, after logging into the application selecting japan,to the left side i can see some responsibilities in english still..Is this the normal behaviour.No.
Have you generated all NLS menus via adadmin? If possible, upload the log file.
In the preferences tab when i check,logging to application with english can see the below..
Current Session Language :- American English
Default Session Language :- American English
Is the above correct ?
Do we need to perform any steps to so that we can see the responsibilites in english.Change the session language to Japanese and check then.
Thanks,
Hussein -
New insight into my dropdown list problems: loss of session info
I tried again, this time with NetBeans 5.5.1 (with Tomcat 5.5.17) and stepped through my code; code executed as a result of selecting an item in the second, misbehaving dropdown box.
I have this function:
public void prerender() {
SessionBean1 sb = this.getSessionBean1();
sb.setPortfolio_id(0);
this.getDropDown2().setSelected(ddsi);
}This uses a private data member:
Object ddsi = null;
And here is my value changed event handler for this combobox:
public void dropDown2_processValueChange(ValueChangeEvent event) {
SessionBean1 sb = this.getSessionBean1();
String sp_id = (String) this.getDropDown2().getValue();
ddsi = event.getNewValue();
String desc = (String) ddsi;
Long Ldesc = new Long(desc);
long p_id = Ldesc.longValue();
sb.setPortfolio_id(p_id);
this.getFacesContext().getCurrentInstance().renderResponse();
}As you can see, I am trying to ensure that the value selected is preserved and used the next time the item is rendered.
sb.setPortfolio_id(p_id); is a trivial setter function (taking a long argument) for the property portfolio_id.
When I step through this code, at every step along the way, I see the correct value for p_id! The correct value is passed to the session bean! And I even see the correct value in ddsi when the function "prerender" is executed. However, it seems that this information is lost when the page is actually rendered.
And, when the servlet that produces the image that is to be displayed on the page checks the session bean, the session bean has the default value (0) for the portfolio_id property rather than the the value (30) that had been passed to the session bean.
It is as if the session information has been lost, or a new session bean is provided each time the page is rendered.
The only additional clue is this (found in Tomcat's output);
com.sun.rave.web.ui.component.DropDown::The current value of component form1:dropDown2 does not match any of the selections.
Did you forget to reset the value after changing the options?
Why is this happening? I know full well that at the time the value in dropdown2 is changed, the value in dropdown1 has not, and therefore the value passed to dropDown2 IS in the list of selections. But, when the value in dropDown1 is changed, the list of options in dropDown2 is changed. I wonder if the valueChanged event handler for dropdown1 is being executed every time the page is rendered, forcing dropDown2 to "forget" what was selected, and somehow losing the session info at the same time?????????
Any ideas?
Thanks
TedUpgrading to itunes 7.0 just cost me 2 days of messing around and in the end I had to revert back to v6.0 and resore my lib.
Apple CS was good but did not belly up the fact that 7.0 is defective in some cases and in the end told me I had a hardware problem!
The main issue is that I could not get itunes 7.0 to see my ipod (very infrequently after a hard boot I would see it but would not be able to upload anything). Worked(s) 100% with v 6.0.
This is very defintey 1/2 baked following in the steps of the other well known producers of sw that is not always functional/buggy the first time around.
My computer is a x40 IBM laptop with xp sp2. Will have to wait a few more weeks to see how this pans out.
IBM X40 Windows XP -
How can I read a form using session in javaServerlet?(thanks)
How can I read a form using session in javaServerlet?(thanks)
you can not. You get the form entries through the request object.
-
Getting Session Info In A Normal Class
I want to get session info from a class that is not servlet (generally from in a bean). When we use servlets it is so easy to get session info by just using request.getSession() method. Is it possible to get this session info in a normal class which is not servlet Technology?
Is it possible to get this session info in a normal class which is not >servlet Technology? No reason you cannot.
But do remember that normal java classes which arent Servlets/Jsps arent invoked by the container as part of the standard request processing.
Beans, for example, are instantiated (& reused) from within a Servlet or a Jsp.
So all you have to do is retrieve the session info (or a part thereof) from within a Servlet/Jsp that's part of the request cycle and pass this data onto the bean when you invoke its methods.
ram. -
Where is the file that contains info on previous session info on a Mac?
Where is the file that contains info on previous session info on a Mac? I would like to restore several windows and tabs I had open earlier, but the restore previous session menu item does not appear to be available. I had to install and use an older version of Firefox (3.6) to access a website (Fedtraveler.com) that is not compatible with Firefox 6 and is seems to have cleared out the previous session information. I thought I would use Mac OSX Time machine feature to restore the Firefox file where this the previous session info is kept but I don't know what it is called nor how to find it.
That is the file sessionstore.js in the Firefox Profile Folder.
*http://kb.mozillazine.org/Profile_folder_-_Firefox
*http://kb.mozillazine.org/sessionstore.js
*Help > Troubleshooting Information > Profile Directory: Open Containing Folder -
SQL query to get the current session info
I've a query in my application to view the all the sessions within database
select
substr(a.spid,1,9) pid,
substr(b.sid,1,5) sid,
substr(b.serial#,1,5) ser#,
substr(b.machine,1,6) box,
substr(b.username,1,10) username,
-- b.server,
substr(b.osuser,1,8) os_user,
substr(b.program,1,30) program
from
v$session b,
v$process a
where
b.paddr = a.addr
and type='USER'
order by spid;
Can someone help me with a query to view the info of the session where I'm in currently?
Thanks,
Gabriel Stephen.here's one way to do it.
select
substr(a.spid,1,9) pid,
substr(b.sid,1,5) sid,
substr(b.serial#,1,5) ser#,
substr(b.machine,1,6) box,
substr(b.username,1,10) username,
-- b.server,
substr(b.osuser,1,8) os_user,
substr(b.program,1,30) program
from
v$session b,
v$process a
where
b.paddr = a.addr
and type='USER'
and b.sid=(select sid from v$mystat where rownum=1)
order by spid-------------
Anwar -
Catch BO Session info in Crystal Report 2008
Hi All.
I have an Xcelsius model with data provided by a Live Office connection.
I've tried to embed this model, as swf file, in a report Crystal 2008.
I've published this report within BOE Enterprise, but trying to visualize it, the Live Office connection prompts for BO authentication.
Is there any way in Crystal Report 2008 to catch current BO session info to pass it to the Live Office connection?
I would really appreciate any suggestion.
Thanks a million.
PS: I'm sorry if this is not the right forum. This thread is available also in Dashboard Design (Xcelsius) section.HI,
to get or find an answer/solution about your question/problem?
I planning also to use Hierarchy Display in CR. And it is very interessting for me to know if that is working.
Thanks
Andreas -
Catch BO Session info in Crystal Report 2008 to pass to Xcelsius 2008
Hi All.
I have an Xcelsius 2008 model with data provided by a Live Office connection.
I've tried to embed this model, as swf file, in a report Crystal 2008.
I've published this report within BOE Enterprise, but trying to visualize it, the Live Office connection prompts for BO authentication.
Is there any way in Crystal Report 2008 to catch current BO session info to pass it to the Live Office connection?
I would really appreciate any suggestion.
Thanks a million.
PS: I'm sorry if this is not the right forum. This thread is available also in Crystal Reports Design section.No, we haven't found a solution that we would like to have.
We are putting in place a workaround to update the Xcelsius SWF file outside of Crystal. We will have the Crystal Report using the BOBJ scheduler to export to Excel on a file share the cross tab table used in Xcelsius and then have Xcelsius updated using the BOBJ scheduler. Instead of having the Xcelsuis embedded in Crystal, the SWF file will be posted to the same SharePoint site that we will be posting the PDF file from Crystal. Not ideal, but it should work. -
Deadlock occur how to read trace file session info
i got a dead lock & here is the part of trace from the call stack here i know one process but how i can get the inofrmation of
process 237 session 126 , i want to know which two process are involved in dead lock , i know table and rowid but i want to know the secod call stack or procedure if any one can help please reply .
*** 2010-08-16 17:32:48.038
*** SESSION ID:(126.255) 2010-08-16 17:32:47.880
DEADLOCK DETECTED ( ORA-00060 )
The following deadlock is not an ORACLE error. It is a
deadlock due to user error in the design of an application
or from issuing incorrect ad-hoc SQL. The following
information may aid in determining the deadlock:
Deadlock graph:
---------Blocker(s)-------- ---------Waiter(s)---------
Resource Name process session holds waits process session holds waits
TX-001a0026-0002969f 237 126 X 253 147 X
TX-00010014-00020a0a 253 147 X 237 126 X
session 126: DID 0001-00ED-00000028 session 147: DID 0001-00FD-000000A0
session 147: DID 0001-00FD-000000A0 session 126: DID 0001-00ED-00000028
Rows waited on:
Session 147: obj - rowid = 00001209 - AAAEiHAA0AAACCzABA
(dictionary objn - 4617, file - 52, block - 8371, slot - 64)
Session 126: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
(dictionary objn - 4617, file - 52, block - 8370, slot - 29)
Information on the OTHER waiting sessions:
Session 147:
pid=253 serial=316 audsid=21499288 user: 77/<none>
O/S info: user: , term: , ospid: 1234, machine: reg-bpel1.viterra.ca
program:
client info: BPEL_MESSAGING 1.00 SHIPMENT_ACTUALS_SYNC MSG_INTF_BATCH
Current SQL Statement:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
End of information on OTHER waiting sessions.
Current SQL statement for this session:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
----- PL/SQL Call Stack -----
object line object
handle number name
373209A0 74 package body GA_APPLICATION.DATALESS_KEY_PROCESSING_PKG
373209A0 156 package body GA_APPLICATION.DATALESS_KEY_PROCESSING_PKG
407DC818 247 package body GA_APPLICATION.MESSAGE_AND_HISTORY_PKG
407DC818 358 package body GA_APPLICATION.MESSAGE_AND_HISTORY_PKG
41502DC8 9705 package body GA_APPLICATION.BPEL_ORDER_PKG
41502DC8 5520 package body GA_APPLICATION.BPEL_ORDER_PKG
416091D0 1286 package body MSG_INTF_APPLICATION.ORDER_PKG
42C2C638 1 anonymous block
===================================================
PROCESS STATE
Process global information:
process: 31853F30, call: 36FF8998, xact: 3471B720, curses: 31B53BD8, usrses: 31B53BD8
SO: 31853F30, type: 2, owner: 0, flag: INIT/-/-/0x00
(process) Oracle pid=237, calls cur/top: 36FF8998/36FF8930, flag: (0) -
int error: 0, call error: 0, sess error: 0, txn error 0
(post info) last post received: 0 0 4
last post received-location: kslpsr
last process to post me: 3181e400 1 6
last post sent: 0 0 16
last post sent-location: ksasnd
last process posted by me: 3181e400 1 6
(latch info) wait_event=0 bits=0
Process Group: DEFAULT, pseudo proc: 31B01F50
O/S info: user: , term: , ospid: 000700E6
OSD pid info: OSDI process pid: 000700E6, image: MINBNDS
SO: 350BD728, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa6d60 incno=0 pending i/o cnt=0
SO: 350C2A98, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa62f0 incno=0 pending i/o cnt=0
SO: 350C28B8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9d0d0 incno=0 pending i/o cnt=0
SO: 350C25E8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa7fa8 incno=0 pending i/o cnt=0
SO: 350C0EC0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aaa438 incno=0 pending i/o cnt=0
SO: 350BB0A0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aaa190 incno=0 pending i/o cnt=0
SO: 350BB028, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa2c28 incno=0 pending i/o cnt=0
SO: 350BAF38, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9db40 incno=0 pending i/o cnt=0
SO: 350E12A8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa2990 incno=0 pending i/o cnt=0
SO: 350C8B88, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa07a8 incno=0 pending i/o cnt=0
SO: 350CB2D0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa14b0 incno=0 pending i/o cnt=0
SO: 350CB258, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa50b8 incno=0 pending i/o cnt=0
SO: 350DA3F0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aac620 incno=0 pending i/o cnt=0
SO: 35146570, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9e858 incno=0 pending i/o cnt=0
SO: 3516B278, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa4b78 incno=0 pending i/o cnt=0
SO: 35110D50, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa4e10 incno=0 pending i/o cnt=0
SO: 3510E380, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa8240 incno=0 pending i/o cnt=0
SO: 35109CB8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa19e0 incno=0 pending i/o cnt=0
SO: 35104030, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa48e0 incno=0 pending i/o cnt=0
SO: 350FFFB0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9f7f8 incno=0 pending i/o cnt=0
SO: 350FCD70, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa3400 incno=0 pending i/o cnt=0
SO: 350EF0A8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aab918 incno=0 pending i/o cnt=0
SO: 350E4650, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa6058 incno=0 pending i/o cnt=0
SO: 350D7930, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa84e8 incno=0 pending i/o cnt=0
SO: 35109E20, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa8cb0 incno=0 pending i/o cnt=0
SO: 350D6A00, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9cba0 incno=0 pending i/o cnt=0
SO: 350FAE98, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa1218 incno=0 pending i/o cnt=0
SO: 350FA5F8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9f560 incno=0 pending i/o cnt=0
SO: 350FA238, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9d8a8 incno=0 pending i/o cnt=0
SO: 350EDAE8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9c3c8 incno=0 pending i/o cnt=0
SO: 350EBF58, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aab140 incno=0 pending i/o cnt=0
SO: 350EBD00, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aacb50 incno=0 pending i/o cnt=0
SO: 350EBC88, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa21b8 incno=0 pending i/o cnt=0
SO: 350EBC10, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aaaea8 incno=0 pending i/o cnt=0
SO: 350D0238, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aac388 incno=0 pending i/o cnt=0
SO: 350CDF70, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aabbb0 incno=0 pending i/o cnt=0
SO: 350CDEF8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa1748 incno=0 pending i/o cnt=0
SO: 350CDE80, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa72a0 incno=0 pending i/o cnt=0
SO: 350CDE08, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa7538 incno=0 pending i/o cnt=0
SO: 350CDD90, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa6ac8 incno=0 pending i/o cnt=0
SO: 350CDD18, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9fd38 incno=0 pending i/o cnt=0
SO: 350CDB38, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa0a40 incno=0 pending i/o cnt=0
SO: 350CBEB8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aabe48 incno=0 pending i/o cnt=0
SO: 350CBA08, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9e080 incno=0 pending i/o cnt=0
SO: 350CB828, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa5350 incno=0 pending i/o cnt=0
SO: 350CB168, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa4108 incno=0 pending i/o cnt=0
SO: 350CB078, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33aa9720 incno=0 pending i/o cnt=0
SO: 350CB000, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
(FOB) flags=2 fib ptr=33a9ce38 incno=0 pending i/o cnt=0
SO: 31B53BD8, type: 4, owner: 31853F30, flag: INIT/-/-/0x00
(session) trans: 3471B720, creator: 31853F30, flag: (100045) USR/- BSY/-/-/-/-/-
DID: 0001-00ED-00000028, short-term DID: 0000-0000-00000000
txn branch: 0
oct: 3, prv: 0, sql: 3731E1A8, psql: 3731E1A8, user: 77/<none>
O/S info: user: , term: , ospid: 1234, machine: reg-bpel1.viterra.ca
program:
client info: BPEL_Messaging 1.00 SO_SYNC MSG_INTF_BATCH
last wait for 'enqueue' blocking sess=0x31b60208 seq=11337 wait_time=3333245
name|mode=e3e70006, id1=10014, id2=20a0a
temporary object counter: 0
SO: 36D06490, type: 52, owner: 31B53BD8, flag: INIT/-/-/0x00
LIBRARY OBJECT PIN: pin=36d06490 handle=3731f318 mode=S lock=53af8dc8
user=31b53bd8 session=31b53bd8 count=1 mask=0041 savepoint=63373 flags=[00]
SO: 4C1AEF38, type: 51, owner: 31B53BD8, flag: INIT/-/-/0x00
LIBRARY OBJECT LOCK: lock=4c1aef38 handle=3eb115d8 mode=N
call pin=0 session pin=439995E8
htl=4C1AEF74[3403195C,510B35B8] htb=510B35B8
user=31b53bd8 session=31b53bd8 count=1 flags=[00] savepoint=63228
LIBRARY OBJECT HANDLE: handle=3eb115d8
namespace=CRSR flags=RON/KGHP/PN0/[10010000]
kkkk-dddd-llll=0000-0041-0041 lock=N pin=0 latch#=2
lwt=3EB115F0[3EB115F0,3EB115F0] ltm=3EB115F8[3EB115F8,3EB115F8]
pwt=3EB11608[3EB11608,3EB11608] ptm=3EB11660[3EB11660,3EB11660]
ref=3EB115E0[3EB11820, 3EB11820] lnd=3EB1166C[3EB1166C,3EB1166C]
LIBRARY OBJECT: object=3eb10850
type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
DEPENDENCIES: count=6 size=16
AUTHORIZATIONS: count=1 size=16 minimum entrysize=28
ACCESSES: count=2 size=16
TRANSLATIONS: count=2 size=16
DATA BLOCKS:
data# heap pointer status pins change
0 3eb10a60 3eb10608 I/P/A 0 NONE
6 3eb108f8 3eb0f3a8 I/-/A 0 NONE
SO: 4C1AF910, type: 51, owner: 31B53BD8, flag: INIT/-/-/0x00
LIBRARY OBJECT LOCK: lock=4c1af910 handle=3eb1e3b8 mode=N
call pin=46E24C60 session pin=0
htl=4C1AF94C[3502B6B4,510B3680] htb=510B3680
user=31b53bd8 session=31b53bd8 count=1 flags=[00] savepoint=63227
LIBRARY OBJECT HANDLE: handle=3eb1e3b8
name=
INSERT INTO PO_MSG ( PO_MSG_ID ,PO_ID ,PO_NBR ,PO_DT ,LOC_ACCT_ID ,PO_FORMAT ,DS_ID ,QGRD_TABLE_PROD_ID ,TRANS_MODE ,TRA
NS_TYPE_ID ,SPLIT_WHEN ,LEAD_CAR_NBR ,PO_STATUS ,ENABLE_EXTEND_AMT ,CONTROL_NBR ,SHIP_WHEN ,PO_TYPE ,PRINT_COPIES ,PRINT
PRICE ,GENERATESO ,RETURN_AUTHORIZE ,ASSESS_STATE_ID ,REPEAT_ORDER ,REPEAT_NBR_DAYS ,REPEAT_DAY ,REPEAT_DAYS ,REPEAT_U
NTIL_DT ,CURRENCY_ID ,CURR_RATE_TYPE_ID ,EXCH_RATE_AVG ,COMMENTS_EXIST ,CREATE_USER_ID ,CREATE_DT_TIME ,UPDATE_USER_ID ,
UPDATE_DT_TIME ,REPEAT_TRIGGER ,
hash=e58fc51 timestamp=08-15-2010 08:22:27
namespace=CRSR flags=RON/KGHP/TIM/PN0/[10010000]
kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=2
lwt=3EB1E3D0[3EB1E3D0,3EB1E3D0] ltm=3EB1E3D8[3EB1E3D8,3EB1E3D8]
pwt=3EB1E3E8[3EB1E3E8,3EB1E3E8] ptm=3EB1E440[3EB1E440,3EB1E440]
ref=3EB1E3C0[3EB1E3C0, 3EB1E3C0] lnd=3EB1E44C[3EAECA24,3EB20044]
LIBRARY OBJECT: object=3eb118f0
type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
CHILDREN: size=16
child# table reference handle
0 3eb11a98 3eb11820 3eb115d8
DATA BLOCKS:
data# heap pointer status pins change
0 3eb25b40 3eb11980 I/P/A 0 NONE
SO: 4C752940, type: 51, owner: 31B53BD8, flag: INIT/-/-/0x00
LIBRARY OBJECT LOCK: lock=4c752940 handle=3eb20cf8 mode=N
call pin=3B503AF8 session pin=0
htl=4C75297C[36856DD4,510B3628] htb=510B3628
user=31b53bd8 session=31b53bd8 count=2 flags=[00] savepoint=63218
LIBRARY OBJECT HANDLE: handle=3eb20cf8
name=GA_APPLICATION.PO_AUR
hash=92b14a46 timestamp=06-29-2010 21:08:46
namespace=TRGR flags=KGHP/TIM/SML/[02000000]
kkkk-dddd-llll=0000-0059-0059 lock=N pin=0 latch#=5
lwt=3EB20D10[3EB20D10,3EB20D10] ltm=3EB20D18[3EB20D18,3EB20D18]
pwt=3EB20D28[3EB20D28,3EB20D28] ptm=3EB20D80[3EB20D80,3EB20D80]
ref=3EB20D00[3EB20D00, 3EB20D00] lnd=3EB20D8C[3EAB046C,3EB79DFC]
LIBRARY OBJECT: object=3eb20c10
type=TRGR flags=EXS/LOC[0005] pflags=NST [01] status=VALD load=0
DEPENDENCIES: count=17 size=32
READ ONLY DEPENDENCIES: count=2 size=16
ACCESSES: count=5 size=16
DATA BLOCKS:
data# heap pointer status pins change
0 3eb25ba8 3eb208f0 I/-/A 0 NONE
3 3eb207d0 0 -/P/- 0 NONE
4 3eb20838 3eb1f558 I/-/A 0 NONE
6 3eb208a0 3eb1dd60 I/-/A 0 NONE
----------------------------------------Hi,
---------Blocker(s)-------- ---------Waiter(s)---------
Resource Name process session holds waits process session holds waits
TX-001a0026-0002969f 237 *126* X 253 *147* X
TX-00010014-00020a0a 253 *147* X 237 *126* X
session 126: DID 0001-00ED-00000028 session 147: DID 0001-00FD-000000A0
session 147: DID 0001-00FD-000000A0 session 126: DID 0001-00ED-00000028
Rows waited on:
Session 147: obj - rowid = 00001209 - AAAEiHAA0AAACCzABA
*(dictionary objn - 4617, file - 52, block - 8371, slot - 64)*
Session 126: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
*(dictionary objn - 4617, file - 52, block - 8370, slot - 29)*
Information on the OTHER waiting sessions:
Session 147:
pid=253 serial=316 audsid=21499288 user: 77/<none>
O/S info: user: , term: , ospid: 1234, machine: reg-bpel1.viterra.ca
program:
client info: BPEL_MESSAGING 1.00 SHIPMENT_ACTUALS_SYNC MSG_INTF_BATCH
Current SQL Statement:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
End of information on OTHER waiting sessions.
Current SQL statement for this session:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
Has most of the information.
You have to check what session 126 and 147 were doing. It also gives you information on object_id and rowid where you had the lock by two sessions.
The culprit is FOR UPDATE OF NEXT_ID.
Regards
Edited by: skvaish1 on Aug 18, 2010 5:26 PM -
hi all,
what are all the session scoped form handlers in OOTB in atg
regards
shyaWhat are Session Components in ATG OOTB
http://www.techanuva.com/session-scoped-components-as-part-of-atg-dps/
-RMishra
Edited by: RMishra on Nov 21, 2012 7:26 PM -
Any session scope form handler out of the box in atg commerce
Is there any session scope form handler out of the box in atg commerce. Let me know if anyone is aware of such form handler.
Thanks,
SantoshSearch based formhandlers are some that come to my mind
CategorySearch (/atg/commerce/catalog/CategorySearch (DCS))
CatalogSearch(/atg/commerce/catalog/CatalogSearch (DCS))
ProductSearch(/atg/commerce/catalog/ProductSearch ((DCS))
Incidentally i think all of them point to SearchFormHandler
Few others i can this of are
GiftListFormHandler
CompareSkusFormHandler (deprecated i guess)
CatalogSearchFormHandler (Extension of SearchFormHandler class)
There could be many more , updates / additions will be nice
adding
AdvProductSearch
ProductTextSearch
Edited by: Sundar on Dec 4, 2012 3:42 AM -
How to find and kill session similar to forms user session
We have a forms and reports based system that uses the oracle sessions. Sometimes if a form takes a long time we have the need to navigate to iAS>Forms>User Sessions, find the IP of the machine where the form is not responding and kill it based on the IP of the troublesome machine.
I want to add this into our forms environemnt so people can kill their own sessions if need be but not sure how this is handled
is it a simple alter system kill session in the db or something different.
also how is the ip found to match the session?
Thankshi,
Instead Set session timeout parameters..So that user gets logged off automatically from the application after a particular interval of time
For this you have to make changes in httpd.conf file,web.xml file and env file
Regards
Fabian -
How to find forms dead sessions in 11i
Hi,
can any one tell me how to find forms dead sessions in 11i from Unix
ThanksPlease refer to:
Note: 457381.1 - Troubleshooting Tips For Spinning/Hanging F60WEBMX Processes
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=457381.1
The note refers to another note with a script which should be helpful in finding spinning f60webmx processes and tie it back to the application users (Note: 185762.1).
In addition refer to Note: 177610.1 - Oracle Forms in Applications FAQ (What is FORMS60_CATCHTERM?)
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=177610.1
Maybe you are looking for
-
What are the major differences between oracle 10g and oracle express 10g
Hi Can anyone tell, What are the major differences between[b] oracle 10g and oracle express 10g. Or if you know any URL, then please do let me know. Advance Thanks JC
-
Screens and ABAP Objects - R/3 4.6c
Greetings fellow SAP developers. Looking for some input here. What's the best way to manage dialog screens with ABAP OO? Do you encapsulate the screen in an object? So that there is just one method or two methods? As in: Screen->Init Or do you break
-
Using FTP to publish an iWEb site
I have my own personal domain name and hosting space so using the FTP feature in iWeb. I can fill out all the info, and 'Test the Connection' which it passes, but the 'Publish' button has dimmed as is the the menu option. Any ideas? I've tried making
-
Need help with MySQL Query...Again
Ok so I get this error when I enter "springfield" and "MA" for the city and state. This server program accepts either a 'zipcode' or 'city, state' depending on the choice # passed to it. I just need to be able to perform the query. Thanks!! java.sql.
-
Hi All, How can i fetch the name of active tab at level 1 of TLN in a variable so that i can use it in a different iView. Actually the requirement is to get the Name of active tab from TLN iView and use it in masthead iView. Please suggest. Regards,