Substance could not be locked "*'ENQUEUE_ESLX_ESTRH'*
Hello Team,
In the Production box i i'm getting the error "Substance could not be locked", in SM37
If i go to develoment box & display the object we are gettin the error during 'ENQUEUE_ESLX_ESTRH'
*Error : 'Substance could not be locked'.*
How we can correct this error can help
==========================
form lock_substances.
loop at it_estrh.
call function 'ENQUEUE_ESLX_ESTRH'
exporting
mode_estrh = 'E'
mandt = sy-mandt
recn = it_estrh-recn
actn = it_estrh-actn
x_recn = ' '
x_actn = ' '
_scope = '2'
_wait = ' '
_collect = ' '
exceptions
foreign_lock = 1
system_failure = 2
others = 3.
if sy-subrc ne 0.
message e208(00) with 'Substance could not be locked'.
endif.
endloop.
endform. " lock_substances
thanks
sandy
Edited by: mrSandy1981 on Dec 11, 2009 11:45 AM
Edited by: Rob Burbank on Dec 11, 2009 10:53 AM
Thanks Vishwa,
Particular document means you mean the table ESTRH',
How to check document is already opened
How to check locked by other user in the system
Could you pls tel me know
Thanks
sandeep
Similar Messages
-
Document being distributed no changes not possible and btadminh could not be locked
Hi All,
I am getting ERROR: "document being distributed no changes not possible" & WARNING:"BTadminH could not be locked" in CRM WEBUI while trying to edit the order.
I checked all the BDOCs and smq1, smq2 ,smw01 here are no queues stuck here.
I also run distribution check FM, whenever i run it will be unlocked and able to edit. but this is not the solution for me because this error and warning getting to every new order (transaction) .
thanks,
Vinnu.Hi,
Check the initial status settings, there should not be any distribution lock maintained.
Award point if it is helpful
Regards,
D Singh -
Personnel number 00000000 could not be locked; lock 00000000 failed twice
Hi!
I'm trying to create new person to SAP HCM by using SAP ERP HCM Process and Forms functionality. Process is defined to be fast entry process: NO_WORKFLOW value in workflow template.
I have defined process' attributes CENTRAL_PERSON as blank and PERNR attribute to get default value from business process logic's (DEF) from SAP_PA (infotype 1: 0001-PERNR).
When process is trying to check values it gives me error "Perosnal number 00000000 could not be locked; lock 00000000 failed twice". Error's message class is HRASR00_FBD and message number is 011.
I debugged the ISR process and the actual error is raised in CL_HRPA_MASTERDATA_ENQ_DEQ class' method ENQUE_BY_PERNR.
ABAP call stack is this:
35 CL_HRASR00_PAITF_MAPPER=======CP CL_HRASR00_PAITF_MAPPER=======CM00F 14 METHOD IF_HRASR00_MAPPER~LOCK_OBJECT
34 CL_HRASR00_DISPATCHER=========CP CL_HRASR00_DISPATCHER=========CM00X 22 METHOD PROCESS_LOCKING
33 CL_HRASR00_DISPATCHER=========CP CL_HRASR00_DISPATCHER=========CM017 24 METHOD FSCN_DO_OPERATION
32 CL_HRASR00_DISPATCHER=========CP CL_HRASR00_DISPATCHER=========CM00R 803 METHOD PROCESS_DATA_CONTAINER
31 CL_HRASR00_DISPATCHER=========CP CL_HRASR00_DISPATCHER=========CM00G 178 METHOD DO_OPERATION
30 CL_HRASR00_DISPATCHER=========CP CL_HRASR00_DISPATCHER=========CM00I 24 METHOD IF_HRASR00_DISPATCHER~CHECK
29 CL_IM_HRASR00ISR==============CP CL_IM_HRASR00ISR==============CM004 496 METHOD IF_EX_QISR1~SCENARIO_PROCESS_USER_COMMAND
28 CL_EX_QISR1===================CP CL_EX_QISR1===================CM004 16 METHOD IF_EX_QISR1~SCENARIO_PROCESS_USER_COMMAND
27 SAPLQISR9 QISR_CL_ISR_WEB_UI_PROXY 2025 METHOD PROCESS_USER_COMMAND
26 SAPLQISR9 LQISR9U07 499 FUNCTION ISR_PROCESS_EVENT_INTERNAL
25 SAPLMPO_46CFF_ISR_SERVICE LMPO_46CFF_ISR_SERVICEU06 184 FUNCTION ISR_PROCESS_EVENT
24 SAPLMPO_46CFF_ISR_SERVICE LMPO_46CFF_ISR_SERVICEU12 157 FUNCTION ISR_PROCESS_EVENT_WD
23 CL_QISR_UI_PROCESS_EVENT_MODELCP CL_QISR_UI_PROCESS_EVENT_MODELCM003 6 METHOD IF_QISR_UI_DATA_MODEL~EXECUTE
22 /1BCWDY/9KIHZOTJM1O6VWFQPCJ4==CP /1BCWDY/B_9KIHZOTJM1O6VWIWGPVP 2032 METHOD CALL_RFC_ISR_PROCESS_EVENT
21 /1BCWDY/9KIHZOTJM1O6VWFQPCJ4==CP /1BCWDY/B_9KIHZOTJM1O6VWIWGPVP 1487 METHOD CALL_ISR_PROCESS_EVENT
20 /1BCWDY/9KIHZOTJM1O6VWFQPCJ4==CP /1BCWDY/B_9KIHZOTJM1O6VWIWGPVP 108 METHOD IWCI_QISR_UI~CALL_ISR_PROCESS_EVENT
19 /1BCWDY/9KIHZOTJM1MJA1NASP4F==CP /1BCWDY/B_9KIHZOTJM1MJA1SLVIT2 6357 METHOD _OVR_4T5KF0KFFIXZTMN23D48RVJME
18 /1BCWDY/9KIHZOTJM1MJA1NASP4F==CP /1BCWDY/B_9KIHZOTJM1MJA1SLVIT2 127 METHOD IF_PROCESS_START~NAVIGATE_TO_REVIEW_FORM
17 /1BCWDY/9KIHZOTJM1MJA1NASP4F==CP /1BCWDY/B_9KIHZOTJM1MJA1SLVIT2 5656 METHOD ONACTIONCHECK_AND_SEND
16 /1BCWDY/9KIHZOTJM1MJA1NASP4F==CP /1BCWDY/B_9KIHZOTJM1MJA1SLVIT2 976 METHOD IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER
15 CL_WDR_DELEGATING_VIEW========CP CL_WDR_DELEGATING_VIEW========CM005 6 METHOD INVOKE_EVENTHANDLER
14 CL_WDR_ACTION=================CP CL_WDR_ACTION=================CM00A 38 METHOD IF_WDR_ACTION~FIRE
13 CL_WDR_WINDOW_PHASE_MODEL=====CP CL_WDR_WINDOW_PHASE_MODEL=====CM00U 95 METHOD DO_HANDLE_ACTION_EVENTS
12 CL_WDR_WINDOW_PHASE_MODEL=====CP CL_WDR_WINDOW_PHASE_MODEL=====CM002 94 METHOD PROCESS_REQUEST
11 CL_WDR_WINDOW=================CP CL_WDR_WINDOW=================CM00V 12 METHOD PROCESS_REQUEST
10 CL_WDR_MAIN_TASK==============CP CL_WDR_MAIN_TASK==============CM00I 77 METHOD EXECUTE
9 CL_WDR_MAIN_TASK==============CP CL_WDR_MAIN_TASK==============CM00U 6 METHOD IF_WDR_RUNTIME~EXECUTE
8 CL_WDR_CLIENT_ABSTRACT_HTTP===CP CL_WDR_CLIENT_ABSTRACT_HTTP===CM01A 114 METHOD HANDLE_REQUEST
7 CL_WDR_MAIN_TASK==============CP CL_WDR_MAIN_TASK==============CM00J 85 METHOD IF_HTTP_EXTENSION~HANDLE_REQUEST
6 CL_HTTP_SERVER================CP CL_HTTP_SERVER================CM00D 594 METHOD EXECUTE_REQUEST
5 SAPLHTTP_RUNTIME LHTTP_RUNTIMEU02 1216 FUNCTION HTTP_DISPATCH_REQUEST
4 SAPMHTTP SAPMHTTP 13 MODULE (PBO) %_HTTP_START
3 2 PBO MODULE %_HTTP_START
2 SAPMHTTP 2 PBO SCREEN 10
1 0 TRANSACTION ()
Our SAP levels are these:
SAP_BASIS 731 0004 SAPKB73104
SAP_APPL 606 0004 SAPKH60604
SAP_HR 604 0049 SAPKE60449
SAP_HRRXX 604 0049 SAPK-60449INSAPHRRXX
So, I'm out of ideas. How to prevent locking for person number 00000000 when creating new employee by using SAP HCM Processes & Forms?
Best regards,
-TimoHi!
I asked this from SAP. I got following answer:
Error "Personnel number &1 could not be locked; lock & failed twice - HRASR00_FBD 011" is sometimes raised due to default value of field PERSG, PERSK, and WERKS. Can you please make sure that these fields have a manual default value assigned on your process to be sure that pernr can be generated?
You can also try to check whether standard hire processes like HIRE_01 or HIRE_10 are working correctly or same lock error is raised.
I valuated also PERSG, PERSK and WERKS and after that the process was valuated with new personnel number taken from number range.
So result was that new number was taken from number range immediatelly when my data entry form was shown (I use process without workflow = fast entry) --> If user uses to form without saving (= abort new employee creation), one number is taken from number range, but not used. I ended up with solution that system is not getting the number automatically in start of the process (= I don't valute those PERSG, PESK and WERKS, they are valuated in form by user anyway). Instead I take manually new number form employee's number range (RP_PREL) before the data checks by using function module NUMBER_GET_NEXT.
Hopefully the solution by valuating PERSG, PERSK and WERKS works for you.
-Timo
Message was edited by: Timo Saviahde
I tried to edit my answers text to contain readable formatting --> no matter what I do, it shows my text without correct line brakes and other stuff... -
Parent could not create lock ???
Hi,
Please Im testing the Apache plug-in mod_wl_20.so from Weblogic9.1.<br>
<br>
I've followed the instructions very carefully but still can not run it with an Apache2 server.<br>
<br>
I have tried for about 10 hours! <br>
<br>
I allways hit on this error in my apache log, when it loads the weblogic module:<br>
<br>
[Tue Dec 27 03:12:10 2005] [crit] (2)No such file or directory: mod_weblogic: Parent could not create lock
Configuration Failed<br>
<br>
<br>
Now, I dont know what this means?<br>
<br>
<br>
Is it the LOCKFILE ?? as in:
# ./apachectl -V<br>
Server version: Apache/2.0.52<br>
Server built: Jan 8 2005 01:51:11<br>
Server's Module Magic Number: 20020903:9<br>
Architecture: 32-bit<br>
Server compiled with....<br>
-D APACHE_MPM_DIR="server/mpm/prefork"<br>
-D APR_HAS_SENDFILE<br>
-D APR_HAS_MMAP<br>
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)<br>
-D APR_USE_FCNTL_SERIALIZE<br>
-D APR_USE_PTHREAD_SERIALIZE<br>
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT<br>
-D APR_HAS_OTHER_CHILD<br>
-D AP_HAVE_RELIABLE_PIPED_LOGS<br>
-D HTTPD_ROOT="/usr/apache2"<br>
-D SUEXEC_BIN="/usr/apache2/bin/suexec"<br>
-D DEFAULT_PIDLOG="/var/run/apache2/httpd.pid"<br>
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"<br>
<b> -D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"</b><br>
-D DEFAULT_ERRORLOG="logs/error_log"<br>
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"<br>
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"<br>
<br>
Also my httpd.conf specify the:<br>
<b>LockFile /var/apache2/logs/accept.lock</b><br>
<br>
But in both cases, the directory exists and the user has write permission (Ive set the entire directory as 777 permission).<br>
<br>
I dont think it is the problem in it, but in weblogic_mod as it stops there. Everything run fine without the wls mod.
<br>
<br>
Please ADVICE.
<br>
Great thanks.<br><p>Hello,</p>
<p>Make that you remove any existing var/run/apache2/accept.lock file before restarting Apache.</p>
<p>If var/run/apache2/accept.lock is not created after you start Apache, then experiment with different locations for this file.</p>
<p>Make sure you do not give the location of an NFS share.</p>
<p>
Hussein Badakhchani</br>
</p> -
WL Server & apache 2 integration: mod_weblogic: could not create lock
Hi,
we're running Apache 2.0.50 as a front-end for WL Server 8.1 using mod_weblogic as the proxy.
We have to run Apache as a different user than the default LocalSystem account to be able to access a windows share. But when we set up Apache to run as a user (in the windows domain) the server will not start up. Looking at the error log I can see the following message:
[Wed Jan 26 16:10:37 2005] [crit] (OS 5)Access is denied. : mod_weblogic: could not create lock
The user has administrative rights on the server so I'm not really sure why mod_weblogic can not obtain a lock.
What is the lock it's trying to obtain?
Thanks.
RuairiHello,
has this been resolved by anyone in the meantime? I'm running into the same kind of problem. Here's my setup:
Apache 2.0.55, on Solaris 8
mod_wl_20.so, from Bea Weblogic Server 8.1 SP 2
When I have the following line in my httpd.conf file:
LoadModule weblogic_module modules/mod_wl_20.so
I receive the following error in Apache's error log file:
[timestamp] [crit] (13)Permission denied: mod_weblogic: could not create lock
I am currently not running Apache as root. Without the weblogic module, it works fine.
I guess my main question is: what kind of lock is it trying to obtain? Changing the AcceptMutex parameter in Apache does not seem to help.
Regards,
Ralf -
Personnel number(s) could not be locked
Hi,
I have this kind of error when I try to edit some data.
Of course the pernr in SAP is not locked...
thanks for your help
Service is locked
The service you want to start is currently locked.
Please try again later.
personnel number(s) could not be locked
personnel number(s) could not be locked:com.sap.pcuigp.xssfpm.java.FPMRuntimeException: personnel number(s) could not be locked
at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
at com.sap.xss.hr.cod.FcCodBusinessLogicComp.callRFCEnqueuePernr(FcCodBusinessLogicComp.java:346)
at com.sap.xss.hr.cod.FcCodBusinessLogicComp.lockEmployeeData(FcCodBusinessLogicComp.java:283)
at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicComp.lockEmployeeData(InternalFcCodBusinessLogicComp.java:382)
at com.sap.xss.hr.cod.FcCodBusinessLogicCompInterface.lockEmployeeData(FcCodBusinessLogicCompInterface.java:156)
at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicCompInterface.lockEmployeeData(InternalFcCodBusinessLogicCompInterface.java:163)
at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicCompInterface$External.lockEmployeeData(InternalFcCodBusinessLogicCompInterface.java:231)
at com.sap.xss.hr.cod.display.VcCodDisplayComp.onEvent(VcCodDisplayComp.java:224)
at com.sap.xss.hr.cod.display.wdp.InternalVcCodDisplayComp.onEvent(InternalVcCodDisplayComp.java:194)
at com.sap.xss.hr.cod.display.VcCodDisplayCompInterface.onEvent(VcCodDisplayCompInterface.java:115)
at com.sap.xss.hr.cod.display.wdp.InternalVcCodDisplayCompInterface.onEvent(InternalVcCodDisplayCompInterface.java:124)
at com.sap.xss.hr.cod.display.wdp.InternalVcCodDisplayCompInterface$External.onEvent(InternalVcCodDisplayCompInterface.java:200)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:533)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:437)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.access$600(FPMComponent.java:78)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.raiseEvent(FPMComponent.java:936)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.raiseEvent(FPMComponent.java:1099)
at com.sap.xss.hr.cod.displaynavigation.VcCodDisplayNavigationComp.toEdit(VcCodDisplayNavigationComp.java:296)
at com.sap.xss.hr.cod.displaynavigation.wdp.InternalVcCodDisplayNavigationComp.toEdit(InternalVcCodDisplayNavigationComp.java:189)
at com.sap.xss.hr.cod.displaynavigation.DisplayNavigationView.onActionChange(DisplayNavigationView.java:163)
at com.sap.xss.hr.cod.displaynavigation.wdp.InternalDisplayNavigationView.wdInvokeEventHandler(InternalDisplayNavigationView.java:188)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:330)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:727)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:663)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:229)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:877)
at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:80)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1291)
at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:325)
at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:831)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:330)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:707)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:661)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:229)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:180)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)Hi Frined,
Pls do share if you had found the solution for this problem. Cause I am also getting this problem in Life and Work events. When I click on benefits enrollment i am getting this error. this started occuring for me after I upgraded to version Nw2004s SP08 to SP09.
Pls do help me with the solution,
thanks,
Ramesh -
Hi All,
Again, Since yesterday (11/11/2003) , I started getting the Bean Lock error as
below (I am using weblogic 4.5.1) :
Note: We are using Stateless beans.
Tue Nov 11 14:15:11 CET 2003:<I> <EJB> Transaction: '1068220908390_17748' rolled
back due to EJB exception:
com.sgs.common.framework.exception.EPlatformSystemException: An unexpected error
occurs when trying to perform your request (RemoteException).
weblogic.ejb.extensions.LockTimedOutException: Bean could not be locked, current
owner: '1068220908390_17680', new owner: '1068220908390_17748', timeout: '300000'
ms
at com.sgs.ecertificate.CertificateSessionBean.getCertificate(CertificateSessionBean.java:1866)
at com.sgs.ecertificate.CertificateSessionBean.approveCertificate(CertificateSessionBean.java:2617)
at com.sgs.ecertificate.CertificateSessionBeanEOImpl.approveCertificate(CertificateSessionBeanEOImpl.java:936)
at com.sgs.ecertificate.CertificateSessionBeanEOImpl_ServiceStub.approveCertificate(CertificateSessionBeanEOImpl_ServiceStub.java:1761)
at com.sgs.ecertificate.ProcessApproveCertificateServlet.processRequest(ProcessApproveCertificateServlet.java:219)
at com.sgs.common.framework.servlet.EPlatformServlet.doPost(EPlatformServlet.java:189)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:99)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:311)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:257)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:550)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:284)
at weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:105)
Tue Nov 11 14:15:11 CET 2003: ERR #-3# com.sgs.ecertificate.ProcessApproveCertificateServlet
An unexpected error occurs when trying to perform your request (RemoteException).
com.sgs.common.framework.exception.EPlatformSystemException: An unexpected error
occurs when trying to perform your request (RemoteException).
weblogic.ejb.extensions.LockTimedOutException: Bean could not be locked, current
owner: '1068220908390_17680', new owner: '1068220908390_17748', timeout: '300000'
ms
at weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:310)
at weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObject.java:128)
at weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:182)
at com.sgs.ecertificate.entity.CertificateEntityBeanEOImpl.getData(CertificateEntityBeanEOImpl.java:4645)
at com.sgs.ecertificate.CertificateSessionBean.getCertificate(CertificateSessionBean.java:1743)
at com.sgs.ecertificate.CertificateSessionBean.approveCertificate(CertificateSessionBean.java:2617)
at com.sgs.ecertificate.CertificateSessionBeanEOImpl.approveCertificate(CertificateSessionBeanEOImpl.java:936)
at com.sgs.ecertificate.CertificateSessionBeanEOImpl_ServiceStub.approveCertificate(CertificateSessionBeanEOImpl_ServiceStub.java:1761)
at com.sgs.ecertificate.ProcessApproveCertificateServlet.processRequest(ProcessApproveCertificateServlet.java:219)
at com.sgs.common.framework.servlet.EPlatformServlet.doPost(EPlatformServlet.java:189)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:99)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:311)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:257)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:550)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:284)
at weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:105)
Thanks a lot in advance.
Regards,
Nilesh.Hi All,
Again, Since yesterday (11/11/2003) , I started getting the Bean Lock error as
below (I am using weblogic 4.5.1) :
Note: We are using Stateless beans.
Tue Nov 11 14:15:11 CET 2003:<I> <EJB> Transaction: '1068220908390_17748' rolled
back due to EJB exception:
com.sgs.common.framework.exception.EPlatformSystemException: An unexpected error
occurs when trying to perform your request (RemoteException).
weblogic.ejb.extensions.LockTimedOutException: Bean could not be locked, current
owner: '1068220908390_17680', new owner: '1068220908390_17748', timeout: '300000'
ms
at com.sgs.ecertificate.CertificateSessionBean.getCertificate(CertificateSessionBean.java:1866)
at com.sgs.ecertificate.CertificateSessionBean.approveCertificate(CertificateSessionBean.java:2617)
at com.sgs.ecertificate.CertificateSessionBeanEOImpl.approveCertificate(CertificateSessionBeanEOImpl.java:936)
at com.sgs.ecertificate.CertificateSessionBeanEOImpl_ServiceStub.approveCertificate(CertificateSessionBeanEOImpl_ServiceStub.java:1761)
at com.sgs.ecertificate.ProcessApproveCertificateServlet.processRequest(ProcessApproveCertificateServlet.java:219)
at com.sgs.common.framework.servlet.EPlatformServlet.doPost(EPlatformServlet.java:189)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:99)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:311)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:257)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:550)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:284)
at weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:105)
Tue Nov 11 14:15:11 CET 2003: ERR #-3# com.sgs.ecertificate.ProcessApproveCertificateServlet
An unexpected error occurs when trying to perform your request (RemoteException).
com.sgs.common.framework.exception.EPlatformSystemException: An unexpected error
occurs when trying to perform your request (RemoteException).
weblogic.ejb.extensions.LockTimedOutException: Bean could not be locked, current
owner: '1068220908390_17680', new owner: '1068220908390_17748', timeout: '300000'
ms
at weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:310)
at weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObject.java:128)
at weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:182)
at com.sgs.ecertificate.entity.CertificateEntityBeanEOImpl.getData(CertificateEntityBeanEOImpl.java:4645)
at com.sgs.ecertificate.CertificateSessionBean.getCertificate(CertificateSessionBean.java:1743)
at com.sgs.ecertificate.CertificateSessionBean.approveCertificate(CertificateSessionBean.java:2617)
at com.sgs.ecertificate.CertificateSessionBeanEOImpl.approveCertificate(CertificateSessionBeanEOImpl.java:936)
at com.sgs.ecertificate.CertificateSessionBeanEOImpl_ServiceStub.approveCertificate(CertificateSessionBeanEOImpl_ServiceStub.java:1761)
at com.sgs.ecertificate.ProcessApproveCertificateServlet.processRequest(ProcessApproveCertificateServlet.java:219)
at com.sgs.common.framework.servlet.EPlatformServlet.doPost(EPlatformServlet.java:189)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:99)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:311)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:257)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:550)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:284)
at weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:105)
Thanks a lot in advance.
Regards,
Nilesh. -
Error: Records Could Not Be Locked
Hi All,
Users are getting the below error in the Shipping Transaction Form
ERROR
Error: This action cannot be performed on all selected records
Error: The action can not be performed because the selected records could not be locked.
I found a metalink note almost equal to this error
but in that to do the workaround where can i find the SQL scripts
a) Script to find the trailing spaces for columns in wsh_delivery_details - lock_col.sql
b) Script to find the trailing spaces for columns in wsh_new_deliveries - lock_delivery.sql
Thanks
VinayVarmaHi,
Log a SR, Oracle support should provide you with those scripts.
Also, please see if these bugs help.
Bug 6402727: DATAFIX: SHIP ERROR THIS ACTION CANNOT BE PERFORMED ON ALL SELECTED RECORD
Bug 7244835: DATA FIX: UNABLE TO CONFIRM DUE TO TRAILING SPACE ISSUE ON WSH_NEW_DELIVERIES
Thanks,
Hussein -
Need help getting registered on my verizon .I could not complete .Locked out
I recently purchased a device from verizon and tried to register for my verizon on my phone and online .I entered the wrong code too many times and it locked me out before I could finish registering . I called customer support and after waiting for 45 minutes and talking to someone .They told me they could not unlock my account because I was not registered yet . Well no. I am not registered yet. Because it will not let me .I AM LOCKED OUT . They then transferred me to technical support and after waiting for another fifteen minutes I hung up .This is ridiculous if I cannot utilize the programs on my phone or access account info online I am missing out on features I want and need .I was in the process of buying phones for two other family members before this happened and now we might just go back to straight talk .Can someone please help ? Thank you
Yea ,a chat specialist got me in !!! I recommend that if anyone else experiences this issue you talk to someone on chat rather then calling the phone number they provide .I am very grateful .Thank you daphne
-
I am trying to import developed images from LightRoom 5 Photoshop 6 for further editing. I am receiving this message and the images will not open.....'Could not open scratch file because the file is locked, or you do not have necessary access permissions or another program is using the file. Use the 'Properties' command in the Windows Explorer to unlock the file. How do I fix this? I would greatly appreciate it if you would respond with terms and procedures that a computer ignorant user, such as me, will understand. Thanks.
Have you tried restoring the Preferences yet?
-
Could not save because file is locked
I have Photoshop CS6 and I have never had a problem with this before -
All of a sudden I am getting an error message when saving : " Could not save…because the file is locked, you do not have necessary access permissions, or another program is using the file. Use the ‘Get Info’ command in the Finder to ensure the file is unlocked and you have permission to access the file. If the problem persists, save the document to a different file or duplicate it in the Finder."
No other program is even open… I have quit every process I could in the Activity Monitor.
I have tried saving as a different file name and format, I have changed permissions for the Staff option on all of file folders.
I have even completely restarted my computer, but literally nothing has worked.
Help!No anti-virus software (they cause far more problems than they solve, at least on a semi-secure network), I don't leave Bridge running. iTunes is running, so is InerTrak (time tracking software)... so it has to be Spotlight or Time Machine unless Activity Monitor will lock files. Or it could be Quicksilver, which creates indices like Spotlight.
First thing I'm doing is adding all my hard drives to "Prevent Spotlight from searching these locations" and we'll see if this comes up again.
Could it be the Finder? Does the Finder lock the file while reading the thumbnail?
I'm surprised that there's no way to tell what process has locked the file.
OK, last bit: Why doesn't Photoshop lock the file when it's open so that other programs won't open it? -
Could not initialize Photoshop because the file is locked
I have the problem where you get the Could not initialize Photoshop because the file is locked, where the solution was to fix the properties in the jpg. I did that and tried the Ctrl-Alt-Shft thing too. I pressed them in time and got the message to delete the settings. When I click yes, I still get the "file locked" message. If it is the scratch disk setting problem, I can't get PS open to change it. This problem started when I was opening a locked jpg from a relative. (Now none of my previous pics will open either). Any other ideas other than these that are already listed in the forums? Thanks for any help.
Technical: Windows XP 5.1, HP7680, Photoshop CS2, 2g ram, more than enough work drives. (no Vista)
Sequence of events: 1) recd a jpg from a relative in an email and saved it to hard drive. 2) with Photoshop unopened, I rt clkd on the jpg and chose "open with CS2". 3) PS started loading and then stopped with the "file locked" msg. Clkd on OK and PS closed. 4) tried to open PS from the shortcut (and from explorer) and got same result. 5) researched the problem and then used the Ctrl-Alt-Shft approach, got the window that asks to "delete settings" and chose ok, PS closed again. 6) went to the jpg and displayed properties and saw "This file came from another computer and might be locked....", so I clicked "unblock". 7) retried step 2, then 4 with same results. 7) tried to open an old jpg with step 2 and same result (got file locked msg). 8) no longer can bring up the "delete settings" window with the the Ctrl-Alt-Shft approach as it looks like it deleted the settings the 1st time.
Any ideas???? Thanks again.Bob,
I do not know why a locked JPG would mess up PS. I could see if you always tried to launch PS, by dbl-clicking on the JPG in Windows Explorer, but not from your Desktop shortcut, or from the PS.exe file.
For the locked file, there is a freeware utility, Unlocker. I do not have a URL handy, but Google should find it for you. It has worked on some network assets, that seemed to lock up on me.
Good luck, though this might not address your PS launch issue.
Hunt -
When I first installed Adobe Photoshop CS6 I was unable to run Photoshop or Bridge CS6. Photoshop would give me an error about "could not open a scratch file because the file is locked. If I ran either of these programs as an administrator they would run without issue, this led me to believe that there was a permission issue somewhere. After some digging I found out the both Bridge and Photoshop try to create a temp file (similiar to Photoshop Temp2777223910092) on the c:\ drive of the computer. In my case the user that I was logged in with did not have access to write to the root of the C:\ drive. Note that you run the program as the administrator and change the scratch disk location as that changes the preference for the administrator user and not the user that you are currently logged in as.
To get around this issue I first had to give the user that I was logged on with write permissions to the root of the C:\ drive. Next try and run Photoshop, you will get an error another error about the scratch disk and about and invalid or missing setting file. To correct this you need to have run Photoshop as an administrator, next you can go to Users\Admin\AppData\Roaming\Adobe\Adobe Photoshop CS6\Adobe Photoshop CS6 Settings and copy Adobe Photoshop CS6 Prefs and/or Adobe Photoshop X64 CS6 Prefs to Users\<your logged in username>\AppData\Roaming\Adobe\Adobe Photoshop CS6\Adobe Photoshop CS6 Settings.
Photoshop and bridge should now start up with no issues.
I hope that this can help others out there as this caused me a great deal of frustration when upgrading to CS6.station_two wrote:
OK, here comes the explanation of what the scratch disk does and why it's optimal to have it on a physically separate internal drive (not partition!) other than your boot drive
I probably shouldn't say anything since it could complicate this thread, but the rules of thumb can be different under special circumstances when SSD is involved.
IF you have a LOT of empty space on your SSD-based system drive, then Photoshop can actually work great with it's scratch setting pointed at the system drive. This is because a) SSD transfers are much faster than spinning hard drives and b) there's no seek time, so simultaneous transfers to/from scratch and swap files aren't devastating to performance, and you can see a net gain because of the increased I/O throughput over what's possible using a separate spinning drive for scratch.
But if you don't have a huge amount of free space (hundreds of GB) on the system SSD, it's definitely better to use a separate drive, as station_two has said.
Also, up to about a year or so ago, you had to try to severely limit write activity to your SSD drive, since you could actually wear them out by repeated high data write activity. That's pretty much a non-issue now with the advent of things like the SandForce in-drive controller that does wear-leveling inside the drive. Modern drives will last 10 years or more in normal typical use, without special consideration.
As it turns out, making a RAID array of SSDs is a great way to boost performance across the board, have bunches of free space, and ensure even the heaviest usage doesn't shorten the drive life. I have done so, creating a 2 TB system drive C: made from 4 SSDs and Photoshop's swap file (and pretty much everything else) pointed to C:. This system flies, and I can barely tell when Photoshop and/or Windows "goes virtual" and starts using its scratch/swap files heavily. I don't even notice Photoshop auto-saves.
Sorry for the SSD diversion.
Back on topic:
Pretty much everyone who's successfully using a computer - Mac and PC users alike - comes to realize after a while that the task of integrating things on their computers and making everything work falls on THEM, not the developers of applications like Adobe. Some applications pose unique challenges, but to think you can just throw up your hands and try to make it someone else's problem when something goes wrong simply isn't a viable strategy. Maybe that's how things should be, but it's not how it is.
For those of you struggling to get Photoshop to run properly, bear in mind that it's on you to get things working. It works for most folks. It could be a configuration or setup choice you've made that may need revisiting, or some kind of restorative activity that you need to do, or even something very minor like clearing your Photoshop preferences, but it may well take your learning new things and doing things you didn't think you'd have to do to get back to where you can edit photos. It's no one's problem but your own.
So let us here on the forum help you - when we say to do something, try it. We're not here to jerk you around; we're users just like you who have already found the ways to make things work, and we'd like to help you do the same.
-Noel -
I get this error upon launching PS5: "could not open a scratch file because the file is locked or ou do not have the necessary access privileges. Use the 'properties' command in the Windows Explorer to unlock the file". The applicaiton will not launch.
Supporting information - I recently changed the scratch disk from C drive to D drive (the back up/restore drive). The application wont launch so I cant change it back to the C drive.
Questions:
- How to I fix this .. from windows explorer how do I find "the file" that the error message refers to?
- Other ways to fix this?
Thanks SteveHi there! Because the forum you originally posted in is for beginners trying to learn the basics of Photoshop, I moved your question to the Photoshop General Discussion forum, where you'll get more specialized help.
To help others help you, please read through this article and provide any additional relevant details. -
I am trying to import developed images from LightRoom 5 into Photoshop 6. I am receiving this message and the images will not open.....'Could not open scratch file because the file is locked, you do not have necessary access permissions or another program is using the file. Use the 'properties' command in the Windows Explorer to unlock the file'. This has not happened before. How do I change this?
Could not open a scratch file because the file is locked or you do not have the necessary access privileges. (…) | Mylen…
Mylenium
Maybe you are looking for
-
CS4 Bridge Auto stack tool makes my computer Crash
I'm using a modern computer running Windows XP, 3 GB of memory , a modern video card with 1 GB of memory and the latest drivers, Photoshop CS 4 (with the latest updates), and the bridge auto-stack panorama/HDR doesn't work. When I click on the tool I
-
In vendor balance confirmation (F130_CONFIRM_01) delete the name3 and name4
hi friends, i have the requirment for deletion of name3 and name4 from the sap script F130_CONFIRM_01. so i copied this script to ZF130_CONFIRM_01 and i deleted all the name3, name4 from all the windows from that script. then also it is showing the n
-
Login Session Variable Problem
I've created a simple login using the inbuilt DW suite, but I don't seem to be able to display the session variable after they login. On the success page it should filter the RS based on the Username and also display the Username etc on the page but
-
Item description in several languages
How can I store the item descriptions and a free explanatory text in several foreign languages? Also, how can I ensure that every customer receives correspondence automatically in the correct language?
-
Portlet Consumer Error - automatically refreshing portlets
Hi, I am developing ADF webcenter apllication (Jdev 11.1.1.7) and i am using portlets to display summary information. When i deploy my application in server, portlets are automatically refreshing for every 2,3 secs finally i got "Portlet Consumer Err