Quantcast
Channel: Raastech Blog
Viewing all articles
Browse latest Browse all 208

The WebLogic Server 12c .PID file

$
0
0
One of the managed servers (wls_soa1) on our Oracle WebLogic Server 12c installation was showing a state of STARTING, but there was no process running on the Linux server:
 

Under the $DOMAIN_HOME/servers/wls_soa1/data/nodemanager folder, you will find multiple files:
oracle@soahost1:/u01/share/oracle/middleware/config/domains/soa_domain/servers/wls_soa1/data/nodemanager> ls -l
total 40 
-rw-r----- 1 oracle oinstall 174 Apr 14 22:14 boot.properties 
-rw-r----- 1 oracle oinstall 427 Apr 14 22:14 startup.properties 
-rw-r--r-- 1 oracle oinstall   6 Apr 22 14:41 wls_soa1.pid 
-rw-r----- 1 oracle oinstall  13 Apr 22 14:43 wls_soa1.state 
-rw-r----- 1 oracle oinstall  31 Mar 29 12:07 wls_soa1.url

The content of the .pid file will show RUNNING:
oracle@soahost1:/u01/share/oracle/middleware/config/domains/soa_domain/servers/wls_soa1/data/nodemanager> cat wls_soa1.state 
STARTING:N:N

Delete this .pid file:
oracle@soahost1:/u01/share/oracle/middleware/config/domains/soa_domain/servers/wls_soa1/data/nodemanager> rm wls_soa1.state

When you refresh the page on the WebLogic Admin Console, it will default to SHUTDOWN now:

Only after the console refresh will a new .pid file be created with the SHUTDOWN state:
oracle@soahost1:/u01/share/oracle/middleware/config/domains/soa_domain/servers/wls_soa1/data/nodemanager> cat wls_soa1.state 
SHUTDOWN:N:N



Applicable Versions:
  • Oracle WebLogic Server 12c (12.1.3) 

 

Viewing all articles
Browse latest Browse all 208

Trending Articles