23 April 2013

BEA-141281 unable to get file lock, will retry ...

starting weblogic with Java version:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
Starting WLS with line:
/oracle/fusion/wls/jdk160_24/bin/java -client   -Xms768m -Xmx1536m -XX:PermSize=256m -XX:MaxPermSize=512m -Dweblogic.Name=soa_server1 -Djava.security.policy=/oracle/fusion/wls/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.security.SSL.nojce=true -Dweblogic.security.SSL.nojce=true -Dweblogic.system.BootIdentityFile=/oracle/fusion/wls/user_projects/domains/PIP_domain/servers/soa_server1/data/nodemanager/boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false -Xverify:none  -da -Dplatform.home=/oracle/fusion/wls/wlserver_10.3 -Dwls.home=/oracle/fusion/wls/wlserver_10.3/server -Dweblogic.home=/oracle/fusion/wls/wlserver_10.3/server  -Dcommon.components.home=/oracle/fusion/wls/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/oracle/fusion/wls/user_projects/domains/PIP_domain -Djrockit.optfile=/oracle/fusion/wls/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/oracle/fusion/wls/user_projects/domains/PIP_domain/config/fmwconfig/servers/soa_server1 -Doracle.domain.config.dir=/oracle/fusion/wls/user_projects/domains/PIP_domain/config/fmwconfig  -Digf.arisidbeans.carmlloc=/oracle/fusion/wls/user_projects/domains/PIP_domain/config/fmwconfig/carml  -Digf.arisidstack.home=/oracle/fusion/wls/user_projects/domains/PIP_domain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/oracle/fusion/wls/user_projects/domains/PIP_domain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/oracle/fusion/wls/user_projects/domains/PIP_domain/servers/soa_server1/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/oracle/fusion/wls/oracle_common/modules/oracle.ossoiap_11.1.1,/oracle/fusion/wls/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler|oracle.bpm.io.fs.protocol  -Dweblogic.jdbc.remoteEnabled=false -Doracle.security.jps.policy.migration.validate.principal=false -Dportlet.oracle.home=/oracle/fusion/wls/oracle_common  -da:org.apache.xmlbeans... -Dbpm.enabled=true -Dsoa.archives.dir=/oracle/fusion/wls/Oracle_SOA1/soa -Dsoa.oracle.home=/oracle/fusion/wls/Oracle_SOA1 -Dsoa.instance.home=/oracle/fusion/wls/user_projects/domains/PIP_domain -Dtangosol.coherence.clusteraddress=227.7.7.9 -Dtangosol.coherence.clusterport=9778 -Dtangosol.coherence.log=jdk -Djavax.xml.soap.MessageFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl -Dweblogic.transaction.blocking.commit=true -Dweblogic.transaction.blocking.rollback=true -Djavax.net.ssl.trustStore=/oracle/fusion/wls/wlserver_10.3/server/lib/DemoTrust.jks -Dem.oracle.home=/oracle/fusion/wls/oracle_common -Djava.awt.headless=true -Dbam.oracle.home=/oracle/fusion/wls/Oracle_SOA1 -Dums.oracle.home=/oracle/fusion/wls/Oracle_SOA1 -Dweblogic.management.discover=false -Dweblogic.management.server=http://10.220.1.237:7001  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/oracle/fusion/wls/patch_wls1035/profiles/default/sysext_manifest_classpath:/oracle/fusion/wls/patch_ocp360/profiles/default/sysext_manifest_classpath:/oracle/fusion/wls/patch_jdev1111/profiles/default/sysext_manifest_classpath  weblogic.Server
<Apr 22, 2013 8:15:35 AM EDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Apr 22, 2013 8:15:35 AM EDT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Apr 22, 2013 8:15:35 AM EDT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
/oracle/fusion/wls/user_projects/domains/PIP_domain/lib/jt400.jar>
<Apr 22, 2013 8:15:36 AM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 19.1-b02 from Sun Microsystems Inc.>
<Apr 22, 2013 8:15:46 AM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Apr 22, 2013 8:15:56 AM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Apr 22, 2013 8:16:06 AM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Apr 22, 2013 8:17:16 AM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Apr 22, 2013 8:17:26 AM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Apr 22, 2013 8:17:36 AM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Apr 22, 2013 8:17:46 AM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Apr 22, 2013 8:17:57 AM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Apr 22, 2013 8:18:07 AM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Apr 22, 2013 8:18:17 AM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Apr 22, 2013 8:18:27 AM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Apr 22, 2013 8:18:37 AM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
<Apr 22, 2013 8:18:41 AM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:

There are 1 nested errors:

weblogic.management.ManagementException: Unable to obtain lock on /oracle/fusion/wls/user_projects/domains/PIP_domain/servers/soa_server1/tmp/soa_server1.lok. Server may already be running
        at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:206)
        at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:67)
        at weblogic.management.internal.DomainDirectoryService.start(DomainDirectoryService.java:74)
        at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
        at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
        at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:881)
        at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:568)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
        at weblogic.Server.main(Server.java:71)

>
<Apr 22, 2013 8:18:41 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Apr 22, 2013 8:18:41 AM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Apr 22, 2013 8:18:41 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
<Apr 22, 2013 8:18:41 AM> <FINEST> <NodeManager> <Waiting for the process to die: 8214>
<Apr 22, 2013 8:18:41 AM> <INFO> <NodeManager> <Server failed during startup so will not be restarted>
<Apr 22, 2013 8:18:41 AM> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>








Solution :-

[oraweb@fusion logs]$ cd /oracle/fusion/wls/user_projects/domains/PIP_domain/servers/soa_server1/tmp
[oraweb@fusion tmp]$ ls -lrt
total 12
drwxrwxrwx  5 oraweb dba 4096 Nov 10  2011 _WL_internal
drwxrwxrwx 63 oraweb dba 4096 Apr 18 08:53 _WL_user
-rwxrwxrwx  1 oraweb dba  988 Apr 22 07:24 WebServiceUtils.ser
-rw-r-----  1 oraweb dba    0 Apr 22 08:15 soa_server1.lok
[oraweb@fusion tmp]$ pwd
/oracle/fusion/wls/user_projects/domains/PIP_domain/servers/soa_server1/tmp
[oraweb@fusion tmp]$ mv soa_server1.lok soa_server1.lok_old