You get this error during the start of AdminServer or even Managed Server. There're a lot of threads about this erro & how to solve it.
In my Situation, I had problem with the Admin Server & Managed Servers
I got to solve the problem of Admin Server as following
wls:/nm/base_domain> nmServerStatus ('AdminServer')
FAILED_NOT_RESTARTABLE
Solution:
1. An authorized user issues the WLST offline command nmConnect to connect to
the Node Manager process on the machine that hosts the Administration Server.
(If the Node Manager instance is the SSH version, the user can connect using the
SSH client). The nmConnect command provides the Node Manager user name
and password that are used to authenticate the user with the Node Manager.
Then, the user issues the nmStart command and provides the credentials for
starting the Administration Server.
For example:
prps = makePropertiesObject("username=weblogic,password=XXXXX")
prps = makePropertiesObject("username=weblogic, password=welcome1")
nmStart("AdminServer",props=prps)
The nmStart command identifies the domain and server instance to start.
2. Node Manager looks up the domain directory in nodemanager.domains, and authenticates the user credentials using a local file that contains the encrypted username and password.
3. Node Manager obtains the startup properties for the Administration Server.
4. Node Manager creates the Administration Server process.
5. The Administration Server obtains the domain configuration from its config directory.
Note: If the user has previously connected to the Node Manager, a
boot.properties file exists, and the user does not have to supply user name and password.
wls:/nm/base_domain> prps = makePropertiesObject("weblogic.ListenPort=7001")
wls:/nm/base_domain> nmStart('AdminServer',props=prps)
Starting server AdminServer ...
Successfully started server AdminServer ...
wls:/nm/base_domain>
=============================
For Managed Server
A lot of threads say it has to do with Xrs or Xnohup arguments (The arguments to use when starting this server). I disagree with them . Just have a look at General Node Manager Configurationhttp://docs.oracle.com/cd/E12839_01/web.1111/e13740/nodemgr_config.htm
I think the main problem with failed_not_restartable is error in the server startup configruation file, the config.xml or in PATH or CLASSPATH ( ID 1130004.1)
In my situation I found in error in the server startup configuration file.I added the wrong Root Directory.
ex. D:\weblogic\Oracle\Middleware\user_projects\domains\my_domain
& it must be D:\weblogic\Oracle\Middleware\user_projects\domains\base_domain
Cheers,
In my Situation, I had problem with the Admin Server & Managed Servers
I got to solve the problem of Admin Server as following
wls:/nm/base_domain> nmServerStatus ('AdminServer')
FAILED_NOT_RESTARTABLE
Solution:
1. An authorized user issues the WLST offline command nmConnect to connect to
the Node Manager process on the machine that hosts the Administration Server.
(If the Node Manager instance is the SSH version, the user can connect using the
SSH client). The nmConnect command provides the Node Manager user name
and password that are used to authenticate the user with the Node Manager.
Then, the user issues the nmStart command and provides the credentials for
starting the Administration Server.
For example:
prps = makePropertiesObject("username=weblogic,password=XXXXX")
prps = makePropertiesObject("username=weblogic, password=welcome1")
nmStart("AdminServer",props=prps)
The nmStart command identifies the domain and server instance to start.
2. Node Manager looks up the domain directory in nodemanager.domains, and authenticates the user credentials using a local file that contains the encrypted username and password.
3. Node Manager obtains the startup properties for the Administration Server.
4. Node Manager creates the Administration Server process.
5. The Administration Server obtains the domain configuration from its config directory.
Note: If the user has previously connected to the Node Manager, a
boot.properties file exists, and the user does not have to supply user name and password.
wls:/nm/base_domain> prps = makePropertiesObject("weblogic.ListenPort=7001")
wls:/nm/base_domain> nmStart('AdminServer',props=prps)
Starting server AdminServer ...
Successfully started server AdminServer ...
wls:/nm/base_domain>
=============================
For Managed Server
A lot of threads say it has to do with Xrs or Xnohup arguments (The arguments to use when starting this server). I disagree with them . Just have a look at General Node Manager Configurationhttp://docs.oracle.com/cd/E12839_01/web.1111/e13740/nodemgr_config.htm
I think the main problem with failed_not_restartable is error in the server startup configruation file, the config.xml or in PATH or CLASSPATH ( ID 1130004.1)
In my situation I found in error in the server startup configuration file.I added the wrong Root Directory.
ex. D:\weblogic\Oracle\Middleware\user_projects\domains\my_domain
& it must be D:\weblogic\Oracle\Middleware\user_projects\domains\base_domain
Cheers,
No comments:
Post a Comment