RFBIBL00 and locked session
Hi all,
Why when I launch RFBIBL00 this program create a locked BI session?
thank you.
Hi Fabrizio,
I'm not sure because I haven't a system here, anyway
i beleve that you have the lock because in the BGR00 record there is a date field. If it is not initial the session is locked, else no.
I don't remember if there is any check starting RFBIBL00.
I hope it help you.
bye enzo
Similar Messages
-
[SOLVED] KDevelop 4 and locked session
Has anyone an idea how to unlock a session? I always get an error while launching KDevelop 4 and the IDE doesn't start.
package update solved my problem
Last edited by der.ralle (2012-02-26 16:27:15)arch0r wrote:make sure that you start with a new session in kde. i think the problem is, that it restores the last session, where firefox was opened :>
system settings > session sth.
This it was the problem. I am new in KDE, so still not to manage it very well. Thank you very much for his help -
RDP disconnect and NOT lock session?
How can I disconnect and RDP session and NOT lock the console. This is a dedicated HTPC. I want to avoid using VNC if I can but I cannot find a way using MTSC or TSCON to do this.
thanksTo: Prabhat Kumar
Thanks, but I would like to know can we force put this action (tscon...) when disconnect the RDP. I have a computer which can do that, but I don't know how to make it. Any idea for this?
Thank you.
Old thread, I know. But I had forgotten tscon and needed it for a (laughably) some digital signage... If it's me, I'd just create a batch file on the machine you're RDP-ing to using
Livin's solution. This way, your command line session exits after execution and it's only a double-click away. Now, since it's an HTPC you're using that (I'm presuming) is single-headed (one monitor), you'll probably want to throw your media interface back
up when you're done doing whatever.
Unfortunately, I haven't found a solution for a program that's already running, but this will open an executable and maximize it:
START /MAX [path to executeable]
So, your final "code" for your batch file, if you're using Windows Media Center, would read something like this:
START /MAX %windir%\ehome\ehshell.exe
tscon 1 /dest:console
exit
The 'exit' is not necessary in my experience, but I usually add it anyway. -
Re: Transactions and Locking Rows for Update
Dale,
Sounds like you either need an "optimistic locking" scheme, usually
implemented with timestamps at the database level, or a concurrency manager.
A concurrency manager registers objects that may be of interest to multiple
users in a central location. It takes care of notifying interested parties
(i.e., clients,) of changes made to those objects, using a "notifier" pattern.
The optimistic locking scheme is relatively easy to implement at the
database level, but introduces several problems. One problem is that the
first person to save their changes "wins" - every one else has to discard
their changes. Also, you now have business policy effectively embedded in
the database.
The concurrency manager is much more flexible, and keeps the policy where
it probably belongs. However, it is more complex, and there are some
implications to performance when you get to the multiple-thousand-user
range because of its event-based nature.
Another pattern of lock management that has been implemented is a
"key-based" lock manager that does not use events, and may be more
effective at managing this type of concurrency for large numbers of users.
There are too many details to go into here, but I may be able to give you
more ideas in a separate note, if you want.
Don
At 04:48 PM 6/5/97 PDT, Dale "V." Georg wrote:
I have a problem in the application I am currently working on, which it
seems to me should be easily solvable via appropriate use of transactions
and database locking, but I'm having trouble figuring out exactly how to
do it. The database we are using is Oracle 7.2.
The scenario is as follows: We have a window where the user picks an
object from a dropdown list. Some of the object's attributes are then
displayed in that window, and the user then has the option of editing
those attributes, and at some point hitting the equivalent of a 'save'button
to write the changes back to the database. So far, so good. Now
introduce a second user. If user #1 and user #2 both happen to pull up
the same object and start making changes to it, user #1 could write back
to the database and then 15 seconds later user #2 could write back to the
database, completely overlaying user #1's changes without ever knowing
they had happened. This is not good, particularly for our application
where editing the object causes it to progress from one state to the next,
and multiple users trying to edit it at the same time spells disaster.
The first thing that came to mind was to do a select with intent to update,
i.e. 'select * from table where key = 'somevalue' with update'. This way
the next user to try to select from the table using the same key would not
be able to get it. This would prevent multiple users from being able to
pull the same object up on their screens at the same time. Unfortunately,
I can think of a number of problems with this approach.
For one thing, the lock is only held for the duration of the transaction, so
I would have to open a Forte transaction, do the select with intent to
update, let the user modify the object, then when they saved it back again
end the transaction. Since a window is driven by the event loop I can't
think of any way to start a transaction, let the user interact with the
window, then end the transaction, short of closing and re-opening the
window. This would imply having a separate window specifically for
updating the object, and then wrapping the whole of that window's event
loop in a transaction. This would be a different interface than we wanted
to present to the users, but it might still work if not for the next issue.
The second problem is that we are using a pooled DBSession approach
to connecting to the database. There is a single Oracle login account
which none of the users know the password to, and thus the users
simply share DBSession resources. If one user starts a transaction
and does a select with intent to update on one DBSession, then another
user starts a transaction and tries to do the same thing on the same
DBSession, then the second user will get an error out of Oracle because
there's already an open transaction on that DBSession.
At this point, I am still tossing ideas around in my head, but after
speaking with our Oracle/Forte admin here, we came to the conclusion
that somebody must have had to address these issues before, so I
thought I'd toss it out and see what came back.
Thanks in advance for any ideas!
Dale V. Georg
Indus Consultancy Services [email protected]
Mack Trucks, Inc. [email protected]
>
>
>
>
====================================
Don Nelson
Senior Consultant
Forte Software, Inc.
Denver, CO
Corporate voice mail: 510-986-3810
aka: [email protected]
====================================
"I think nighttime is dark so you can imagine your fears with less
distraction." - CalvinWe have taken an optimistic data locking approach. Retrieved values are
stored as initial values; changes are stored seperately. During update, key
value(s) or the entire retieved set is used in a where criteria to validate
that the data set is still in the initial state. This allows good decoupling
of the data access layer. However, optimistic locking allows multiple users
to access the same data set at the same time, but then only one can save
changes, the rest would get an error message that the data had changed. We
haven't had any need to use a pessimistic lock.
Pessimistic locking usually involves some form of open session or DBMS level
lock, which we haven't implemented for performance reasons. If we do find the
need for a pessimistic lock, we will probably use cached data sets that are
checked first, and returned as read-only if already in the cache.
-DFR
Dale V. Georg <[email protected]> on 06/05/97 03:25:02 PM
To: Forte User Group <[email protected]> @ INTERNET
cc: Richards* Debbie <[email protected]> @ INTERNET, Gardner*
Steve <[email protected]> @ INTERNET
Subject: Transactions and Locking Rows for Update
I have a problem in the application I am currently working on, which it
seems to me should be easily solvable via appropriate use of transactions
and database locking, but I'm having trouble figuring out exactly how to
do it. The database we are using is Oracle 7.2.
The scenario is as follows: We have a window where the user picks an
object from a dropdown list. Some of the object's attributes are then
displayed in that window, and the user then has the option of editing
those attributes, and at some point hitting the equivalent of a 'save' button
to write the changes back to the database. So far, so good. Now
introduce a second user. If user #1 and user #2 both happen to pull up
the same object and start making changes to it, user #1 could write back
to the database and then 15 seconds later user #2 could write back to the
database, completely overlaying user #1's changes without ever knowing
they had happened. This is not good, particularly for our application
where editing the object causes it to progress from one state to the next,
and multiple users trying to edit it at the same time spells disaster.
The first thing that came to mind was to do a select with intent to update,
i.e. 'select * from table where key = 'somevalue' with update'. This way
the next user to try to select from the table using the same key would not
be able to get it. This would prevent multiple users from being able to
pull the same object up on their screens at the same time. Unfortunately,
I can think of a number of problems with this approach.
For one thing, the lock is only held for the duration of the transaction, so
I would have to open a Forte transaction, do the select with intent to
update, let the user modify the object, then when they saved it back again
end the transaction. Since a window is driven by the event loop I can't
think of any way to start a transaction, let the user interact with the
window, then end the transaction, short of closing and re-opening the
window. This would imply having a separate window specifically for
updating the object, and then wrapping the whole of that window's event
loop in a transaction. This would be a different interface than we wanted
to present to the users, but it might still work if not for the next issue.
The second problem is that we are using a pooled DBSession approach
to connecting to the database. There is a single Oracle login account
which none of the users know the password to, and thus the users
simply share DBSession resources. If one user starts a transaction
and does a select with intent to update on one DBSession, then another
user starts a transaction and tries to do the same thing on the same
DBSession, then the second user will get an error out of Oracle because
there's already an open transaction on that DBSession.
At this point, I am still tossing ideas around in my head, but after
speaking with our Oracle/Forte admin here, we came to the conclusion
that somebody must have had to address these issues before, so I
thought I'd toss it out and see what came back.
Thanks in advance for
any
ideas!
Dale V. Georg
Indus Consultancy Services [email protected]
Mack Trucks, Inc. [email protected]
------ Message Header Follows ------
Received: from pebble.Sagesoln.com by notes.bsginc.com
(PostalUnion/SMTP(tm) v2.1.9c for Windows NT(tm))
id AA-1997Jun05.162418.1771.334203; Thu, 05 Jun 1997 16:24:19 -0500
Received: (from sync@localhost) by pebble.Sagesoln.com (8.6.10/8.6.9) id
NAA11825 for forte-users-outgoing; Thu, 5 Jun 1997 13:47:58 -0700
Received: (from uucp@localhost) by pebble.Sagesoln.com (8.6.10/8.6.9) id
NAA11819 for <[email protected]>; Thu, 5 Jun 1997 13:47:56 -0700
Received: from unknown(207.159.84.4) by pebble.sagesoln.com via smap (V1.3)
id sma011817; Thu Jun 5 13:47:43 1997
Received: from tes0001.macktrucks.com by relay.macktrucks.com
via smtpd (for pebble.sagesoln.com [206.80.24.108]) with SMTP; 5 Jun
1997 19:35:31 UT
Received: from dale by tes0001.macktrucks.com (SMI-8.6/SMI-SVR4)
id QAA04637; Thu, 5 Jun 1997 16:45:51 -0400
Message-ID: <[email protected]>
Priority: Normal
To: Forte User Group <[email protected]>
Cc: "Richards," Debbie <[email protected]>,
"Gardner," Steve <[email protected]>
MIME-Version: 1.0
From: Dale "V." Georg <[email protected]>
Subject: Transactions and Locking Rows for Update
Date: Thu, 05 Jun 97 16:48:37 PDT
Content-Type: text/plain; charset=US-ASCII; X-MAPIextension=".TXT"
Content-Transfer-Encoding: quoted-printable
Sender: [email protected]
Precedence: bulk
Reply-To: Dale "V." Georg <[email protected]> -
Parallel (same) background jobs: Memory and locking issues
<b>Scenerio:</b> Multiple concurrent inbound asynchronous XI messages need to be processed in SAP. We have the XI proxy initiating an RFC. This RFC exports internal tables (essentially the XI payload) to a unique shared memory ID (for each XI message). RFC then submits an abap (submit..and return) in a background job. This abap reads (via IMPORT) the shared memory ID to get the data then process it.
<b>Problem:</b> : When multiple concurrent jobs/abap are running, often, but not always, one of the submitted abaps either gets a non-zero return code from the IMPORT, or the IMPORT from shared memory seems to work fine, but the table contents contains data from the other (parallel) run, even though the memory ID used is correct and unique.
I have attempted to resolve this by using various methods (memory IDs, SPA/GPA parameter, ENQUEUE) of locking in the RFC (unlocking at end of abap), so that only one background job is executed at a time. However, the best I can do is having two or three running in parallel.
So I'm wondering how to solve this memory issue and/or how to make the abap processing synchronous? Any help appreciated. Thanks.There is a limitation on Amt of data you can store in ABAP Memory and SAP Memory .. check those limitation ..per user ..
also check for Number of external session granted by urr basis ppl...
it may be possible that only 3-4 session are allowed coz each background process create and external session .. -
Resource busy time out oracle message - Concurrency and Locks
I have a requirement to generate gapless invoice and receipt number in our application. so i have currently used the below approach.
a. created table with a column to hold the invoice and receipt number sequence value.
b. whenever transaction gets succeed. i will lock the table which holds the invoice number and receipt number inorder to avoid the sequential number slipages.
Issue
1. since the application belongs to online payment through portal by customers, when concurrent users trying to pay and while generating receipt number's, i am facing with "resource busy time out" message frequently. Here i noticed when user1 locks the table to access the receipt number value and session is not committed or rollback and another session user2 trying to access the same resource, in this scenario i am facing this error.
Frequency of encountering this error is low, but customer was telling us this error is show stopper and affects normal business.
Is there any alternative solution or method can be applied to overcome this problem?
Current SQL used in application
cursor <cursor name> is.
select <column_name>
into <variable>
from <table name>
for update of wait 5
update <table name> set <column name> = value + 1
where current of <cursor name>1e0ea4a1-1610-4dec-a44c-4ee1f46ba1a4 wrote:
I have a requirement to generate gapless invoice and receipt number in our application. so i have currently used the below approach.
Engage the business and inquire WHY this "requirement" exists. I have personally never seen an audit requirement wherein invoices MUST be devoid of gaps (that's not to say they do not exist, just that I've never seen one
They certainly must be unique, but that's what a sequence will do for you. If the business absolutely needs gapless information, then they will have to be willing to pay the price which is going to be longer transaction times (as requests queue in a busy system to get this sought after gapless resource). Your job is to explain this to them ... nothing comes without a cost.
The only thing you can really do (assuming you engage the business and the requirement doesn't change) is ensure the transactions are designed in such a manner that
1) they complete as fast as possible AND that the locking is done at the latest possible stage of the transaction
2) there is no user interaction (you cannot allow the users a "review" screen of any sort ... because users get silly sometimes and go for a coffee while reviewing things)
Cheers, -
Odd situation with Safari after enabling account expiration and locking
Hi team,
i found the following puzzling situation today.
I enabled account expiration and locking in a workspace, thereafter all end users were requested to change their password as soon as they attempted to login to the application.
Some of these users went through this process smoothly and after changing the password they could log in. Others apparently succeeded in changing the password but the password change process is triggered again and again.
These users are receiving the following message after clicking on "apply changes" (p50 of app 4155).
ERR-1777: Page 50 provided no page to branch to. Please report this error to your application administrator.
When clicking on "restart application", they get the following additional screen:
You have successfully logged out. You have been redirected here after using a logout link provided by an authentication scheme. To redirect to a page in your flow instead, do something like this:
Create a page in your flow and give it an alias PUBLIC_PAGE.
On the Flow Builder page attributes page, select the "Yes - This page is public" Public Page attribute.
Change the logout URL in your authentication template to redirect to this new page after the logout procedure executes. For example, using the API, make your logout URL:
wwv_flow_custom_auth_std.logout?p_this_flow=&FLOW_ID&p_next_flow_page_sess=&FLOW_ID:PUBLIC_PAGE:&SESSION
Note that the suggested URL uses a somewhat outdated syntax lacking the period after the application items, so you might want to revise it for future releases.
After various tests it turned out that the problem is in the browser (don't ask me what).
Safari users do not succeed in changing their passwords through page 4155:50, while Firefox users do.
I have a password change page inside my application though and everybody can change their password from there successfully.
Also, after changing the password using Firefox, Safari users can log in without problems whatsoever.
So the final question is: what's wrong with page 50 of application 4155 when run from Safari on Mac?
It happened with Apex 3.1.2 and Safari Version 3.2.1 (5525.27.1)
Thanks!
Flavio
http://oraclequirks.blogspot.com/search/label/ApexScott,
that was exactly what i was about to do yesterday night, but at the post office i realized i didn't know the address :D
Then, fortunately for me, but regrettably for you (hehehe), i realized that Safari is not the culprit.
For some reason people using Safari were always submitting the page with enter, while Firefox users were submitting with the button.
I made a test and Safari is fine as long as you click on the button, the bug is in the submit through the enter key.
Thanks and sorry about the mac air, may be the next time!
Flavio
PS: aren't you coming to ODTUG Kaleidoscope? -
How to check Locking sessions in oracle 10g
Hi,
I have tried to get locking sessions. i got the blocking session by using v$lock view.
Pls help how to get locking sessions.
Regards,
VenkatHi Venkat
Or just run this independent of database version
select a.sid blocker, 'is blocking the session ', b.sid blockee from v$lock a, v$lock b
where a.block =1 and b.request > 0 and a.id1=b.id1 and a.id2=b.id2;You can extend this query to find the username and machine (plus all other details) from v$session using the a.sid and b.sid from above
To find the blocking session_
SELECT S.SID, S.SQL_ID, S.USERNAME, S.MACHINE from
V$SESSION S WHERE S.SID = (SELECT blocker from
(select a.sid blocker, 'is blocking the session ', b.sid blockee from v$lock a, v$lock b
where a.block =1 and b.request > 0 and a.id1=b.id1 and a.id2=b.id2
*_To find the blocked session_*SELECT S.SID, S.SQL_ID, S.USERNAME, S.MACHINE from
V$SESSION S WHERE S.SID = (SELECT blockee from
(select a.sid blocker, 'is blocking the session ', b.sid blockee from v$lock a, v$lock b
where a.block =1 and b.request > 0 and a.id1=b.id1 and a.id2=b.id2
Edited : Added blocker and blockee code -
Wait events and locks monitoring /resolving scripts
Looking for wait events and locks monitoring /resolving scripts /tips.
Hi,
Looking for wait events and locks monitoring /resolving scriptsHere is the collection of monitoring scripts that I
use, and it has dozens of scripts for locking:
http://www.oracle-script.com
For one-off scripts, here is a script by Laurent Baylac to show locks in Oracle 10g:
http://www.dba-village.com/village/dvp_scripts.ScriptDetails?ScriptIdA=3508
SET LINESIZE 500
SET PAGESIZE 1000
COLUMN username FORMAT A15
COLUMN machine FORMAT A25
COLUMN logon_time FORMAT A20
SELECT LPAD(' ', (level-1)*2, ' ') || NVL(s.username, '(oracle)') AS username,
s.osuser,
s.sid,
s.serial#,
s.lockwait,
s.status,
s.module,
s.machine,
s.program,
TO_CHAR(s.logon_Time,'DD-MON-YYYY HH24:MI:SS') AS logon_time
FROM v$session s
CONNECT BY PRIOR s.sid = s.blocking_session
START WITH s.blocking_session IS NULL;
SET PAGESIZE 14
-- Search for locked objects
-- To be executed under the SYSTEM account
-- Compatible with Oracle10.1.x and higher
select
distinct to_name object_locked
from
v$object_dependency
where
to_address in
select /*+ ordered */
w.kgllkhdl address
from
dba_kgllock w,
dba_kgllock h,
v$session w1,
v$session h1
where
(((h.kgllkmod != 0) and (h.kgllkmod != 1)
and ((h.kgllkreq = 0) or (h.kgllkreq = 1)))
and
(((w.kgllkmod = 0) or (w.kgllkmod= 1))
and ((w.kgllkreq != 0) and (w.kgllkreq != 1))))
and w.kgllktype = h.kgllktype
and w.kgllkhdl = h.kgllkhdl
and w.kgllkuse = w1.saddr
and h.kgllkuse = h1.saddr
Don Burleson
Oracle Press author -
Adaptive RFC and Locking Objects from WD Java
Hi,
There are some pieces of information available on this subject but no coherent and easy to follow "manual". Also some questions remain.
I'd rate this a very important, i.e. "business critical" problem. Therefore I would appreciate your help to get things sorted in this thread.
So let's start with a summary of what I think I understood so far (corrections welcome!):
- You can call RFCs from WebDynpro and locking will work (on the ABAP side).
- Once you release your JCo connection the locks will be released, though.
- Therefore, to keep a lock in between requests you have to keep the connection.
- You can keep the connection by passing WDModelScopeType.APPLICATION_SCOPE or WDModelScopeType.COMPONENT_SCOPE to the constructor of the model class.
- You can lookup the default scope for a model using
WDModelScopeType defaultScope = WDModelFactory.lookupDefaultScopeForModel((Class) modelClazz);
Now suppose you have many users, each holding some locks.
Would you not easily run out of JCo connections? On the other hand by default WebDynpro RFC Models seem to keep a connection per application instance (= user session).
Using WDModelScopeType: Do you really need to code this or can you just configure this during design time for the deployment?
blog=/pub/wlg/1061 claims the default is APPLICATION_SCOPE.
Will connections (and thus locks) be released automatically on an HttpSession timeout? I guess so because this means the end of the application and therefore end of scope WDModelScopeType.APPLICATION_SCOPE and WDModelScopeType.COMPONENT_SCOPE.
I'm also not clear about this:
/people/sap.user72/blog/2005/01/08/adaptive-rfc-models-in-web-dynprosome-pointers
"But to ensure that the record remains locked it is necessary reserve the connection that was used for locking and be made unavailable for other models and also the connection should remain open as long as the lifetime of the screen. This becomes similar to locking records through SAP Gui . This can be easily achieved by having separate models for locking RFCs defined with APPLICATION_SCOPE and isolating its connection by not grouping with other model objects."
What does "reserve the connection" mean?
Suppose you lock some object and afterwards want to allow the user to request more information about this or other objects.
Would you need to use a different connection for that?
Suppose you want to lock two objects.
Would you need to use two different connections for that?
Suppose you want to edit both objects and save the changes inside one transaction (with atomicity). A transaction normally is associated with a single connection (unless XA protocol is used). So how would this work?
What will cause the locks to be released?
- Application expiration (timeout)
- RFC that explicitely releases locks
- Transaction commit/rollback (?)
Reference:
I found some of the information and further pointers in the blog mentioned above and here:
Disconnect method
Looking forward to your replies
Markus
Message was edited by: Markus Wissmann
Another thread with the same topic and no final answers:
Handling object locking in R/3 from WD through RFC
Message was edited by: Markus WissmannHi,
This for If you send destination params are different u sent it thru URL param only.
For that u need generate URL by using the application .
For that purpose u need to create two applications u can call the first application in second application u can create URL and send Destination params with URL only.
Other wise u can create the par file that would be configured in portal and thru worksets u can pass the params like u mention the destinations.
Or at the time generationg URLS only u can add the destination names.
Thanks,
Lohi. -
hi guys.
please how can i know the lock session if i have lock how to know the session information anf how to kill it .Hi you can check the information using either v$LOCK or v$LOCKED_OBJECT views. after getting SID from any of these views, issue
sql> alter system kill session'SID,SERIAL#';
where sid and serial# can be get from v$session view. you need to get serial# by mapping SID from v$lock to SID in v$session. -
Determine blocking sessions and blocked sessions in 9iR2
Hi,
Running 9.2.0.7 on Solaris 2.
We are trying to develop a query that can show us the blocked sessions and the session causing it. I have one working for 11 but for 9i, its a little more trickier. I am running these two so far:
select s1.username || '@' || s1.machine || ' ( SID=' || s1.sid ||
' ) is blocking ' || s2.username || '@' || s2.machine || ' ( SID=' ||
s2.sid || ' ) ' AS blocking_status
from gv$lock l1, gv$session s1, gv$lock l2, gv$session s2
where s1.sid = l1.sid
and s2.sid = l2.sid
and l1.BLOCK = 1
and l2.request > 0
and l1.id1 = l2.id1
and l2.id2 = l2.id2;
select do.object_name,
row_wait_obj#,
row_wait_file#,
row_wait_block#,
row_wait_row#,
dbms_rowid.rowid_create(1,
ROW_WAIT_OBJ#,
ROW_WAIT_FILE#,
ROW_WAIT_BLOCK#,
ROW_WAIT_ROW#)
from gv$session s, dba_objects do
where sid = 543
and s.ROW_WAIT_OBJ# = do.OBJECT_ID;Reason I need this is that lately we have been getting a lot of DEADLOCKS and we want to determine why this is happening a lot now and we want to start with who it is and what objects are causing it....any suggestions?mbobak wrote:
There are a few critical pieces to interpreting a deadlock trace file. First, to be clear, you're getting ORA-00060, not ORA-04020 (which is a library cache deadlock), correct?
If so, the tracefile will contain a deadlock graph. This will show the type of enqueue involved (TM or TX are the likely candidates), and the modes that locks and requests are being made.
Then, there's the SQL which encountered the deadlock, and finally, the other SQL involved in the deadlock.
All the above information is in the deadlock trace file.
Using it, you ought to be able to determine root cause of the deadlock.
If you need help understanding it, post here. If you post the deadlock graph, make sure you use code tags, or it will be unreadable.Yes we are getting the ORA-00060. This is what we get exactly from the AppTeam from the App:
Available exception message: iims.ge.common.exception.IIMSTechnicalException : ORA-00060: deadlock detected while waiting for resourceFrom our latest Deadlock occurence we got a LMD Trace file generated. We can see the DeadLock graph and its SQL. We the enqueue of TX and it's modes. Basically everything you asked for we see it in the trace file. What we want to see is what is causing it or who is so we can fix it. Maybe I am not reading the trace file correctly. I appreciate your assistance in helping me interpret the trace file. As requested, here is the trace file.
Dump file /var/local/oracle/logs/ora_prod_can1_lmd0_4432.trc
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
With the Partitioning and Real Application Clusters options
JServer Release 9.2.0.8.0 - Production
ORACLE_HOME = /opt/oracle/9.2.0
System name: SunOS
Node name: can-clust01
Release: 5.9
Version: Generic_118558-36
Machine: sun4u
Instance name: ORA_PROD_CAN1
Redo thread mounted by this instance: 0 <none>
Oracle process number: 5
Unix process pid: 4432, image: oracle@can-clust01 (LMD0)
*** SESSION ID:(4.1) 2010-08-15 08:07:02.736
open lock on RM 0 0
*** 2010-08-15 08:07:31.353
open lock on RM 0 0
*** 2010-08-16 11:17:21.469
user session for deadlock lock 40972c9c0
pid=50 serial=6956 audsid=189500961 user: 61/IIMS_UWR
O/S info: user: weblogic, term: unknown, ospid: , machine: can-prod03
program: JDBC Thin Client
application name: JDBC Thin Client, hash value=0
Current SQL Statement:
UPDATE T_POLICY_PROPERTY POP SET POP.PRP_EFFECTIVE_END_DATE = :B3 , POP.PRP_LAST_UPDATED_DATE = SYSDATE WHERE POP.PRP_POL_POLICY_ID = :B2 AND POP.PRP_
PROPERTY_SEQ_NUM = 1 AND POP.PRP_EFFECTIVE_END_DATE = TO_DATE(:B1 , DATE_FORMAT)
Global Wait-For-Graph(WFG) at ddTS[0.1] :
BLOCKED 40972c570 5 [0x90014][0x19bb82],[TX] [131094,2] 1
BLOCKER 40972bb98 5 [0x90014][0x19bb82],[TX] [65586,6177] 0
BLOCKED 40972c9c0 5 [0x110014][0x12ec40],[TX] [65586,6177] 0
BLOCKER 40972ba18 5 [0x110014][0x12ec40],[TX] [131094,2] 1
user session for deadlock lock 40972c9c0
pid=50 serial=6956 audsid=189500961 user: 61/IIMS_UWR
O/S info: user: weblogic, term: unknown, ospid: , machine: can-prod03
program: JDBC Thin Client
application name: JDBC Thin Client, hash value=0
Current SQL Statement:
UPDATE T_POLICY_PROPERTY POP SET POP.PRP_EFFECTIVE_END_DATE = :B3 , POP.PRP_LAST_UPDATED_DATE = SYSDATE WHERE POP.PRP_POL_POLICY_ID = :B2 AND POP.PRP_
PROPERTY_SEQ_NUM = 1 AND POP.PRP_EFFECTIVE_END_DATE = TO_DATE(:B1 , DATE_FORMAT)
Global Wait-For-Graph(WFG) at ddTS[0.2] :
BLOCKED 40972c9c0 5 [0x110014][0x12ec40],[TX] [65586,6177] 0
BLOCKER 40972ba18 5 [0x110014][0x12ec40],[TX] [131094,2] 1
BLOCKED 40972c570 5 [0x90014][0x19bb82],[TX] [131094,2] 1
BLOCKER 40972bb98 5 [0x90014][0x19bb82],[TX] [65586,6177] 0
*** 2010-08-16 11:17:42.495
user session for deadlock lock 4098bcd08
pid=59 serial=981 audsid=189501588 user: 61/IIMS_UWR
O/S info: user: weblogic, term: unknown, ospid: , machine: can-prod03
program: JDBC Thin Client
application name: JDBC Thin Client, hash value=0
Current SQL Statement:
UPDATE T_POLICY_PROPERTY POP SET POP.PRP_EFFECTIVE_END_DATE = :B3 , POP.PRP_LAST_UPDATED_DATE = SYSDATE WHERE POP.PRP_POL_POLICY_ID = :B2 AND POP.PRP_
PROPERTY_SEQ_NUM = 1 AND POP.PRP_EFFECTIVE_END_DATE = TO_DATE(:B1 , DATE_FORMAT)
Global Wait-For-Graph(WFG) at ddTS[0.3] :
BLOCKED 41228b128 5 [0x70001][0x178a52],[TX] [131100,2] 1
BLOCKER 4098bade8 5 [0x70001][0x178a52],[TX] [65595,583] 0
BLOCKED 4098bcd08 5 [0x130025][0x1475c9],[TX] [65595,583] 0
BLOCKER 412275b78 5 [0x130025][0x1475c9],[TX] [131100,2] 1
user session for deadlock lock 4098bcd08
pid=59 serial=981 audsid=189501588 user: 61/IIMS_UWR
O/S info: user: weblogic, term: unknown, ospid: , machine: can-prod03
program: JDBC Thin Client
application name: JDBC Thin Client, hash value=0
Current SQL Statement:
UPDATE T_POLICY_PROPERTY POP SET POP.PRP_EFFECTIVE_END_DATE = :B3 , POP.PRP_LAST_UPDATED_DATE = SYSDATE WHERE POP.PRP_POL_POLICY_ID = :B2 AND POP.PRP_
PROPERTY_SEQ_NUM = 1 AND POP.PRP_EFFECTIVE_END_DATE = TO_DATE(:B1 , DATE_FORMAT)
Global Wait-For-Graph(WFG) at ddTS[0.4] :
BLOCKED 4098bcd08 5 [0x130025][0x1475c9],[TX] [65595,583] 0
BLOCKER 412275b78 5 [0x130025][0x1475c9],[TX] [131100,2] 1
BLOCKED 41228b128 5 [0x70001][0x178a52],[TX] [131100,2] 1
BLOCKER 4098bade8 5 [0x70001][0x178a52],[TX] [65595,583] 0Let's see what we can get out of this now :) -
How to check locked session?
Hi all,
How do I check locked session,or which tables has been locked.and how to kill the lock session. i would need to do it in sqlplus. we'r not allowed to use toad.SELECT sess.osuser AS OsUser, NVL (sess.program, sess.module) AS
Program, sess.terminal AS Terminal,
obj.Object_Name AS TABLE_NAME,
DBMS_ROWID.rowid_create (1, ROW_WAIT_OBJ#, ROW_WAIT_FILE#,
ROW_WAIT_BLOCK#, ROW_WAIT_ROW#) AS ROW_ID
FROM dba_objects obj, v$session sess
WHERE sess.SID IN (SELECT a.SID
FROM v$lock a, v$session b
WHERE (id1, id2) IN (SELECT b.id1, b.id2
FROM v$lock b
WHERE b.id1 = a.id1 AND
b.id2 = a.id2 AND b.request > 0)
AND a.SID = b.SID
AND a.lmode = 0)
AND obj.object_id = sess.ROW_WAIT_OBJ#) -
I am having some issues with locked sessions. I attempt to clear the
connections from the console but it doesn work. The only way to clear the
session is to reboot server. NW6.0 SP5NW6 SP5 needs nw6nss5c in order for NSS to work properly; once applied
then do
nss /poolrebuild /purge
on all pools. Make sure you have tested backups first, just in case.
Also Load Monitor - Server Parameters - NCP. Set Level 2 OpLocks Enabled
= Off, and Client File Caching Enabled = Off.
What lan driver, date and version, on the server?
Andrew C Taubman
Novell Support Forums Volunteer SysOp
http://support.novell.com/forums
(Sorry, support is not provided via e-mail)
Opinions expressed above are not
necessarily those of Novell Inc. -
Coldfusion 6.1, Dreamweaver 8.0, access 2003
All code is being written by Dreamweaver in this discussion.
I am not writing this code on my own.
I am new to both Dreamweaver and Coldfusion. I am setting up
the company intranet site. I want some parts restricted. I started
by creating a login page by using dreamweaver. My first problem was
when i was being directed towards the page for unsuccessful login
even though I know I typed in the correct username and password. I
have an access database holding this information. I am not using
security level. While researching this with another forum, I
decided to go to the next step and start putting the Restricted
Page code. This is when I discovered my second problem. When I
render the page, I get
CANNOT LOCK SESSION SCOPE - CFLock cannot be used to lock the
application or sessions shared scopes without these scopes being
established through the use of the CFAPplication tag. ....
My research tells me my problems are the result of same
problem.
In coldfusion Administrator, under Memory variables, I have
check marks for Enable Application Variables and Enable Session
Variables.
Then I found this article
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16564&sliceId=2.
I did what it said and it still does not work.
I have the file in two places
One at the root: C:\Inetpub\wwwroot\_mmServerScripts
One within the site:
C:\Inetpub\wwwroot\GIInet\_mmServerScripts
Do you know which one should have this tag? Should I have
both folders?
<CFAPPLICATION NAME="Name" SESSIONMANAGEMENT="Yes" >
Where it says "Name", do I leave Name there or do I put in a
name that is relative to my site and what is this .. the root
folder name?
Why do I have to pay for support for something that is not
obviously working?!?!"Do you know which one should have this tag? Should I have
both folders?
<CFAPPLICATION NAME="Name" SESSIONMANAGEMENT="Yes" >"
Neither. It should be in the root folder of YOUR web
application.
'C:\\Inetpub\wwwroot' is a common web root for beginners. It
must be
included in every file that will be part of the same
application as
defined by the 'Name' parameter. The easiest way to do this
is the use
the Application.cfm|Application.cfc files that are
automatically part of
every file in the same and all sub directories.
"Where it says "Name", do I leave Name there or do I put in a
name that
is relative to my site and what is this .. the root folder
name?"
It is whatever string you want to use to define an
"Application" that
all files that share it will belong to. All files that have
the same
"Name" will share Application, Session and other common scope
variables
and other functionality. Again this must be included in every
file that
you want to be part of the same "Application". That is what
the
Application.cfm and|or Application.cfc files are for, so one
does not
have to hard code this line in every file, thought that would
be a
functional, if impractical, option.
"Why do I have to pay for support for something that is not
obviously
working?!?!"
Well, this is all explained in quite some detail in the
documentation
included with Dreamweaver and|or ColdFusion as well as online
at Adobe
and many other sites. The details and ins and outs are also
well
discussed on numerous blogs, forums and discussion lists. And
all those
resources are free.
But if one wants someone else to do the work for them, they
generally
need to pay for that help.
Maybe you are looking for
-
Pass portal parameter to BW URL
Hello, I created a portal PS cockpit with several BW iViews, which interact via eventing using EPCF. The eventing starts with a BW iView drop-down box, which lists all available projects in the system. The user selects the project they want informati
-
Please Help Me Out of The Error
Hello Everyone, I am executing the following Syntax to create a procedure which will spool all the data of my employee table and dumped into a Text file. The Procedure is creating successfully, but problem is when I am Executing the Procedure I am ge
-
Best way to query cache - get() vs filters?
Hi, I am in a dillemma. Whether to use NamedCache.get() or entrySet(filter) methods to query the cache. Please guide me.. My understanding is that when using 1. get() or getAll(), Coherence checks whether the entry is in the cache, if it does exist i
-
"Installation Failed" error while installing Adobe Edge Animate.
I am having trouble while installing Adobe Edge Animate from Adobe Application Manager. The downloading is always stucked at 1% and after 5 minutes, I get the error "Installation Failed". The screenshot is attached.
-
How long is it going to take to repair the Manage Additional Users page? It is referenced as having problems in various postings on this site. I have been with Sky now for about a week - it is surely too soon to make me regret the xfer!! Regardseepee