Lock request timeout ...

Dear Rob ,
To consult you again and thanks in advise.
The following code is my session bean's method ,
public void updateDclrDiagnose(String hospitalNo,String dclrYYMM,int postSeq,String
diagKindSign,String[] diagNoAll,String caseNo,String operatorNo) throws CommonException{
DclrDiagnoseHome dclrDiagNoseHome = getDclrDiagnoseHome();
Collection c = dclrDiagNoseHome.findByDiagKindSign (hospitalNo,dclrYYMM,postSeq,diagKindSign);
Iterator it = c.iterator();
while(it.hasNext()){
DclrDiagnose dclrDiagnose = (DclrDiagnose) it.next();
log("delete diagnose - diagNo=" + dclrDiagnose.getDcg_diag_no());
dclrDiagnose.remove();
for(int i = 0; i < diagNoAll.length; i++){
log("create diagnose - diagNo=" + diagNoAll);
dclrDiagNoseHome.create(hospitalNo,dclrYYMM,postSeq,diagKindSign,i+1,diagNoAll[i],caseNo,operatorNo);
log("method complete!!");
When my client JSP call this method several times later , then it will throw an exception
, as following
javax.transaction.TransactionRolledbackException: The lock request from EJB:com.
syscom.prjnckm.hospitalization.declaration.entity.DclrDiagnose with primary key:
com.syscom.prjnckm.hospitalization.declaration.entity.DclrDiagnosePK@74dfef60 ti
med-out after waiting 0 ms. The transaction or thread requesting the lock was:Na
me=[EJB com.syscom.prjnckm.hospitalization.declaration.session.DclrMaintainBean.
updateDclrDiagnose(java.lang.String,java.lang.String,int,java.lang.String,[Ljava
.lang.String;,java.lang.String,java.lang.String)],Xid=155:94dc41cc01ac93a7(35974
8176),Status=Active,numRepliesOwedMe=1,numRepliesOwedOthers=1,seconds since begi
n=30,seconds left=0,activeThread=Thread[ExecuteThread: '9' for queue: 'default',
5,Thread Group for Queue: 'default'],ServerResourceInfo[weblogic.jdbc.jts.Connec
tion]=(state=ended,assigned=none),SCInfo[nckmdomain+nckmsvr]=(state=active),prop
erties=({weblogic.transaction.name=[EJB com.syscom.prjnckm.hospitalization.decla
ration.session.DclrMaintainBean.updateDclrDiagnose(java.lang.String,java.lang.St
ring,int,java.lang.String,[Ljava.lang.String;,java.lang.String,java.lang.String)
], weblogic.jdbc=t3://10.10.10.1:80}),OwnerTransactionManager=ServerTM[ServerCoo
rdinatorDescriptor=(CoordinatorURL=nckmsvr+10.10.10.1:80+nckmdomain+, Resources=
{})],CoordinatorURL=nckmsvr+10.10.10.1:80+nckmdomain+).: weblogic.ejb20.locks.Lo
ckTimedOutException: The lock request from EJB:com.syscom.prjnckm.hospitalizatio
n.declaration.entity.DclrDiagnose with primary key:com.syscom.prjnckm.hospitaliz
ation.declaration.entity.DclrDiagnosePK@74dfef60 timed-out after waiting 0 ms. T
he transaction or thread requesting the lock was:Name=[EJB com.syscom.prjnckm.ho
spitalization.declaration.session.DclrMaintainBean.updateDclrDiagnose(java.lang.
String,java.lang.String,int,java.lang.String,[Ljava.lang.String;,java.lang.Strin
g,java.lang.String)],Xid=155:94dc41cc01ac93a7(359748176),Status=Active,numReplie
sOwedMe=1,numRepliesOwedOthers=1,seconds since begin=30,seconds left=0,activeThr
ead=Thread[ExecuteThread: '9' for queue: 'default',5,Thread Group for Queue: 'de
fault'],ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=ended,assigned=n
one),SCInfo[nckmdomain+nckmsvr]=(state=active),properties=({weblogic.transaction
.name=[EJB com.syscom.prjnckm.hospitalization.declaration.session.DclrMaintainBe
an.updateDclrDiagnose(java.lang.String,java.lang.String,int,java.lang.String,[Lj
ava.lang.String;,java.lang.String,java.lang.String)], weblogic.jdbc=t3://10.10.1
0.1:80}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(Coordinat
orURL=nckmsvr+10.10.10.1:80+nckmdomain+, Resources={})],CoordinatorURL=nckmsvr+1
0.10.10.1:80+nckmdomain+).
at weblogic.ejb20.locks.ExclusiveLockManager$LockBucket.lock(ExclusiveLo
ckManager.java:527)
at weblogic.ejb20.locks.ExclusiveLockManager.lock(ExclusiveLockManager.j
ava:258)
at weblogic.ejb20.manager.ExclusiveEntityManager.acquireLock(ExclusiveEn
tityManager.java:164)
at weblogic.ejb20.manager.ExclusiveEntityManager.getReadyBean(ExclusiveE
ntityManager.java:219)
at weblogic.ejb20.manager.ExclusiveEntityManager.preInvoke(ExclusiveEnti
tyManager.java:198)
What it does mean ?
Could you give me some idea. Thanks you very much.
imagine
ps.
AP server is WLS 6.1 sp1
all method's tx aattribute is set to Required
log msg is as following,
the first time call:
create diagnose - diagNo=00804
create diagnose - diagNo=00809
method complete!!
the second time call:
delete diagnose - diagNo=00804
delete diagnose - diagNo=00809
create diagnose - diagNo=00804
method complete!!
the third time call:
delete diagnose - diagNo=00804
create diagnose - diagNo=00804
create diagnose - diagNo=00809
method complete!!
the firth time call:
delete diagnose - diagNo=00804
...then Exception occur

Thank you Erland. This is what I got from sys.sysprocesses:
spid 7
kpid 6544
blocked 0
waittype 0x009D
waittime 489897
lastwaittype KSOURCE_WAKEUP 
waitresource
dbid 1
uid 1
cpu 0
physical_io 0
memusage 0
login_time 12-05-2014 21:09
last_batch 12-05-2014 21:09
ecid 0
open_tran 4
status background                    
sid 0x0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
hostname
program_name
hostprocess
cmd SIGNAL HANDLER 
nt_domain
nt_username
net_address
net_library
loginame sa
context_info 0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
sql_handle 0x0000000000000000000000000000000000000000
stmt_start 0
stmt_end 0
request_id 0
I think I should apply latest service pack and see if the issue exists. 

Similar Messages

  • Ping to iPad, Request timeout

    I have some problem using my iPad2 Wi-Fi connection.
    iPad is connected to wi-fi (iMac Ethenet->AirPort Sharing) and iPad's internet works fine - iPad's Safari displays google.com page well.
    But if I send ping command to iPad from my iMac, It returns "request timeout" message. (My iPhone response to ping fine).
    And I use iPhone applicatoin named "note2self" that provide wi-fi sharing.
    On my iPhone, note2self display it's IP Address and I can download on my iMac by accessing to iPhone's IP Address.
    However, "note2self" that installed iPad does not display it's IP Address.
    I think there is some relation between Ping problem and note2self's wi-fi problem.
    Is there somebody who know what's wrong with my iPad? ;_;
    Help me Please.
    (my iPhone version is 4.2.1, my iPad version is 4.3.3)

    Coaster1896-
    To find the iPad's IP address, go to Settings-WiFi-Choose a Network.  Press on the blue arrow to the right of your WiFi network's name.  The IP address should be shown on the next screen.  If not, it might be related to the problem with Note2self.
    Fred

  • Server read lock request timed out in MDM 7.1 server

    Hi,
    I have a issue regarding the MDM 7.1 server which is on windows 2003 server and Database as Sql server 2005.
    The issue is when i am trying to load the MDM server from the MDM console it is popping out the error message as "Server read lock request timed out"
    when i restart the server and try to mount the MDM server it is getting mounted but after a while again it popping out the error message.
    i saw few log's at batabase and o/s but no luck, Is there a way to solve this issue.
    Thanks
    Phani Ram

    Hi Phani,
    I am not quite sure so just have a look at guide u201CGood to Knowu201D Topics for a Smooth SAP NetWeaver MDM 7.1 Implementation
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70b0caa1-92e5-2c10-c687-a8d05e778e59?quicklink=index&overridelayout=true
    Page no: 21/96 Example 3: Request for a server/repository read lock timed out where it is said that with MDM 7.1, lock attempts time out in 2 minutes to prevent Consoles from locking up for long times. This is not an error and does not require server to be restarted.
    So please go through complete section 5.6 MDM Server Client Requests
    Hope it helps..
    Regards,
    Mandeep Saini

  • Set request timeout for distributed cache

    Hi,
    Coherence provides 3 parameters we can tune for the distributed cache
    tangosol.coherence.distributed.request.timeout      The default client request timeout for distributed cache services
    tangosol.coherence.distributed.task.timeout      The default server execution timeout for distributed cache services
    tangosol.coherence.distributed.task.hung      the default time before a thread is reported as hung by distributed cache services
    It seems these timeout values are used for both system activities (node discovery, data re-balance etc.) and user activities (get, put). We would like to set the request timeout for get/put. But a low threshold like 10 ms sometimes causes the system activities to fail. Is there a way for us to separately set the timeout values? Or even is it possible to setup timeout on individual calls (like get(key, timeout))?
    -thanks

    Hi,
    not necessarily for get and put methods, but for queries, entry-processor and entry-aggregator and invocable agent sending, you can make the sent filter or aggregator or entry-processor or agent implement PriorityTask, which allows you to make QoS expectations known to Coherence. Most or all stock aggregators and entry-processors implement PriorityTask, if I correctly remember.
    For more info, look at the documentation of PriorityTask.
    Best regards,
    Robert

  • What can I do about the Safari 5.1.4 "Request Timeout" appearing when I try to access most of the websites?

    Please could anyone help me with the "Request Timeout" thing? Once I installed the leopard on the laptop and Safari became a disaster .. It doesn't open most of the websites, even the apple website sometimes !!
    The error I get is :
    Request Timeout
    The server timed out while waiting for the browser's request.
    Reference #2.e3373bc3.1331738341.0

    Once I installed the leopard on the laptop
    But your profile indicates you have Snow Leopard installed v10.6.8
    If it's v10.6.8, installing the Mac OS X 10.6.8 Update Combo v1.1 may help.
    Restart your Mac after the combo is installed.

  • How to increase the request timeout value in Oracle 10g web container

    Hi,
    Iam using Oracle10g Application server .
    For long running backend process my JSP page is getting re-submitted after 3 mins.
    How do i avoid this ?
    Is there a way to increase the http request timeout interval.
    If so where do i change the timeout interval.
    In IIS web server I can change the timeout interval.
    Thanks
    Sridhar.

    Hi,
    If you mean to increase the request timeout i.e the time when a request is submitted to the server and the response is sent by the server it can be done in httpd.conf file located in $OracleHome/Apache/Apache/conf directory.
    The attribute to be used for setting timeout is "Timeout". By default teh value is 600 seconds i.e 5 minutes.
    After making these changes , run command dcmctl updateConfig -ct OHS and restart the HTTP Server. Please note these commands need to be run only if the httpd.conf changes are done through text editor.
    Hope this helps.
    Smita

  • Finding the lock wait timeout in Oracle 11g

    Want to know how to find the lock wait timeout set on Oracle 11g

    Hi,
    To find number of seconds a distributed transaction waits for a lock:
    SELECT *
      FROM v$parameter
    WHERE NAME = 'distributed_lock_timeout';To find all parameter's related to lock you can use something like this:
    SELECT *
      FROM v$parameter
    WHERE NAME like '%lock%';Thanks,
    Shankar

  • Crystal report server2008 (XI R2): InfoView Request timeout error

    HI
    Crystal report server2008 (XI R2): InfoView Request timeout error
                Some reports which are taking more than 10 to 15 minutess while running through InfoView gives error as follows:
    An error has occured: Request timed out.
    This error appears within the crystal  report server and when user tries to access through browser client desktop also. Sometimes it  prompts the error as follows when users try to access through browsers from there desk i.e through proxy connection.
       The proxy server received an invalid response from an upstream server.
       The proxy serer could not handle the request POST/report/CrystalReports/Viewrpt.aspx.
        Reason: Error reading from remote server
    The timeout setting of all web.config files under infoviewapp, infoviewappactions, platform services, crystal reports folders have been checked and the default timeout 20 minutes is changed to 30 minutes and IIS is restarted, but still users are getting request timeout error within 10 to 15 minutes while running a crystal report. Even admin user.
    Regards,
    Patrick Raths

    Please post your query to the [Business Objects Enterprise Administration|BI Platform; forum. This forum is dedicated to development and deployment of .Net applications that connect and interact with BusinessObjects Enterprise, BusinessObjects Edge, or Crystal Reports Server. This includes the development of applications using the BusinessObjects Enterprise, Report Application Server, Report Engine, and Web Services SDKs.
    BTW., if thi is an important issue, I'd recommend creating a phone case.
    Ludek
    Edited by: Ludek Uher on Aug 11, 2010 1:57 PM

  • InfoView Request timeout error for Crystal report server2008 (XI R2):

    HI
    Crystal report server2008 (XI R2): InfoView Request timeout error
    Some reports which are taking more than 10 to 15 minutess while running through InfoView gives error as follows:
    An error has occured: Request timed out.
    This error appears within the crystal report server and when user tries to access through browser client desktop also. Sometimes it prompts the error as follows when users try to access through browsers from there desk i.e through proxy connection.
    The proxy server received an invalid response from an upstream server.
    The proxy serer could not handle the request POST/report/CrystalReports/Viewrpt.aspx.
    Reason: Error reading from remote server
    The timeout setting of all web.config files under infoviewapp, infoviewappactions, platform services, crystal reports folders have been checked and the default timeout 20 minutes is changed to 30 minutes and IIS is restarted, but still users are getting request timeout error within 10 to 15 minutes while running a crystal report. Even admin user.
    Regards,
    Patrick Raths

    Also try the below changes for IIS,
    Right-click default website --> properties
    Go to the Home Directory tab and click on Configuration
    Change the Session Timeout to 30 minutes
    Click OK
    Right click the BOBJAppPool121 Application Pool --> Properties
    Go to the performance tab and change the idle timeout to 30 --> Click OK
    Right click the DefaultAppPool Application Pool --> Properties
    Go to the performance tab and change the idle timeout to 30 --> Click OK
    Restarted IIS
    Thanks,
    Hari

  • Incomplete payload in application at request timeout

    Dear All
    we have implemented a scenario for webservice, and its working fine.
    we have managed all configuration with respect to timeouts at adapter and server level and they are working fine as well...
    now the problem i am facing is at request timeout or readtime out, the XML recieved by the application doesnot contains detailed text information about error and hence i am not able to identify at runtime whether it is request time out or read timeout,,, SXMB_MONI displayes complete msg on other hand and I cannot figure out, why application is recieving incomplete msg....
    following are two msgs...the webserver was closed at time of checking this time out working
    SXMBMONI :_
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.MessageExpiredException: Message 4024c147-6aa5-0a15-e100-0000ac100429(INBOUND) expired</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Application error:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
    <SOAP:Fault>
    <faultcode>SOAP:Server</faultcode>
    <faultstring>System Error</faultstring>
    <detail>
    <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
    <context></context>
    <code>MESSAGE.GENERAL</code>
    <text></text>
    </s:SystemError>
    </detail>
    </SOAP:Fault>
    </SOAP:Body>
    </SOAP:Envelope>
    and I need the text details in application....!!!
    to add, I have also changed the parameter to
    messaging,syncMessageRemover.removeBody = false
    without any luck!!
    any help would be appreciated.

    Zahid,
    Try to see what the problem is by using the following URL:
       http://<xiserver>:<port>/mdt
    choose "Show Additional criteria" and then enter your message id.
    This will give you more useful information for your problem.
    Yaghya

  • Error 131 Transaction rolled back by lock wait timeout

    Hello all,
    I was trying to run apriori, and then HANA writer in my database.
    Apriori executes directly, and then I configure and try to execute HANA Writer. But it keeps executing for more than half an hour, and then gives the following error: Error 131 Transaction rolled back by lock wait timeout. Lock timeout occurs while waiting TABLE_LOCK of mode EXCLUSIVE.
    Bimal suggested me to reduce the data to be analysed, so then I reduced it to a pretty small part and executed again.
    It gave me the same error after more than 30 minutes waiting executing.
    after having this error, I tried just execute apriori, but with a filter of 5 transactions and than it worked. After that I tried to visualize the results, and got the following error:
    It means that my HANA memory is full?
    I got the view from HANA:
    Regards!
    Error 131 Transaction rolled back by lock wait timeout 

    Hi Jurgen,
    I'm a developper for PAL from Shanghai team.
    Could you please provide some details information about this case:
    -          How many records did you use ?
    -          What’s the value of “MIN_SUPPORT” and “MIN_CONFIDENCE” did you use ?
    The algorithm of apriori will consume much memory when the input data is very large and min_support is low.
    So I suggest you set “MIN_SUPPORT” and “MIN_CONFIDENCE” as 0.9 firstly, check if it can output result.
    Thanks,
    Peng

  • How do I CANCEL a Remote Lock request made on iCloud?

    How do I Cancel a Remote Lock Request I made on iCloud?

    It's not possible to cancel a remote lock made using iCloud.

  • Attempting to update iphone software via pc.  itunes engaged.  back up does not appear to have occurred.  device now locked requesting restore action.  anyway to save photos in this status?  or restore after ?

    attempting to update iphone software via pc. itunes engaged. back up does not appear to have occurred.  device now locked. requesting restore action.  anyway to save photos in this status? or restore after?

    it was just the biggest mistake of today, not my life :P
    restoration steps i took were:
    1. connect the dead phone to another pc with itunes turned on
    2. follow the notifications on that itunes
    3. restore the phone
    4. disconnect the phone after the restoration without clicking any buttons of that itunes
    5. connect the phone to my own pc
    6. my own pc can recognize the phone and itunes will try to restore the backup of my phone
    7. restore from the backup on my pc
    8. sync everything (tick all the apps in itunes manually since there is no such button to select all) and reorganize all the apps
    9. after ca. 25 min, the phone is back to the previous sw version

  • Lock wait timeout: Could not commit JPA transaction

    We are using MySQL v5.1.67 under Solaris (SmartOS) in a zone. We are using Java EE and Jetty as our servlet container (Hibernate, Ehcache). Sometimes we get: "Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Error while commiting the transaction" and then "Lock wait timeout exceeded; try restarting transaction". We have the database as one file instead of one file per table. The file is large about 20 GB. There are millions of rows in many tables. One table has 30 million rows. Some table has varchar(255)s. Some others have texts. It seems like cells in the database has been broken. Because if you try to update the same entry in the DB you get a "Lock wait timeout exceeded; try restarting transaction", just by issuing a MySQL query. The problem persists until you restart the DB server. Sometimes they start appearing again after a while. Now they seem to come more and more often. There are a lot of threads in the Java EE .war application. We send more and more JMS messages. There is also PHP-code accessing the database. How do we stop this problem from occuring?

    I don't think it's threads deadlocking. I've seen this problem many times before and I've always been able to fix it by restarting the MySQL-server. Then it executes normally day after day. Then something special happens and then it fails every day until I restart mysql. I've also encountered the same problem using the test database I have on my local machine. Only one job executes, the one I'm testing. First it works every run. Something special happens usually triggered by errant code. I fix the error. The job continues to fail with the same message "Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Error while commiting the transaction". If try to do a simple UPDATE SQL query accessing exactly the row that's been corrupted, I get a lock wait timeout. But if I restart the database it starts working again. The update works and the Java job works both locally and on the server. But now a special job has experienced more severe problems of this nature. I restart mysql and the job works when triggered manually but not when triggered chronologically on schedule. Actually all failed first and then a few worked but most failed. It's the same job executing multiple times.

  • I lost my ipod and sent a lock request via icloud. But how do you cancel it?

    I need the person who found it to log into the internet so I can locate it!!

    I know of no way.  I looked at previous discussions with your same questions and cound not find a way to canels any (wipe, lock) request.

Maybe you are looking for