Visit Counter

Wednesday, May 1, 2019

Start / Stop the WebLogic Server Domain



Start / Stop the Weblogic Server Domain



[oracle@wls base_domain]$ pwd
/ora/oracle/Desktop/wls12213/user_projects/domains/base_domain/bin

[oracle@wls base_domain]$ ./startWebLogic.sh

.
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000
.
CLASSPATH=/ora/oracle/Desktop/jdk1.8.0_211/lib/tools.jar:/ora/oracle/Desktop/wls12213/wlserver/server/lib/weblogic.jar:/ora/oracle/Desktop/wls12213/wlserver/../oracle_common/modules/thirdparty/ant-contrib-1.0b3.jar:/ora/oracle/Desktop/wls12213/wlserver/modules/features/oracle.wls.common.nodemanager.jar::/ora/oracle/Desktop/wls12213/wlserver/common/derby/lib/derbynet.jar:/ora/oracle/Desktop/wls12213/wlserver/common/derby/lib/derbyclient.jar:/ora/oracle/Desktop/wls12213/wlserver/common/derby/lib/derby.jar
......
......
.<May 1, 2019 7:11:19,026 PM GST> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.>
<May 1, 2019 7:11:19,047 PM GST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.>


----------------------------------------------------------------------------------------------------------------------

[oracle@wls base_domain]$ pwd
/ora/oracle/Desktop/wls12213/user_projects/domains/base_domain/bin


[oracle@wls base_domain]$ ./stopWebLogic.sh


[oracle@wls bin]$ ./stopWebLogic.sh
Stopping Weblogic Server...

Initializing WebLogic Scripting Tool (WLST) ...

Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Connecting to t3://wls.localdomain:7001 with userid weblogic ...
This Exception occurred at Wed May 01 20:26:03 GST 2019.
javax.naming.CommunicationException: Failed to initialize JNDI context, tried 2 time or times totally, the interval of each time is 0ms.
t3://wls.localdomain:7001: Destination 192.0.0.120, 7001 unreachable.; nested exception is:
java.net.ConnectException: Connection refused (Connection refused); No available router to destination.; nested exception is:
java.rmi.ConnectException: No available router to destination. [Root exception is java.net.ConnectException: t3://wls.localdomain:7001: Destination 192.0.0.120, 7001 unreachable.; nested exception is:
java.net.ConnectException: Connection refused (Connection refused); No available router to destination.; nested exception is:
java.rmi.ConnectException: No available router to destination.]
Problem invoking WLST - Traceback (innermost last):
  File "/ora/oracle/Desktop/wls12213/user_projects/domains/base_domain/shutdown-AdminServer.py", line 3, in ?
  File "<iostream>", line 19, in connect
  File "<iostream>", line 553, in raiseWLSTException
WLSTException: Error occurred while performing connect : Error getting the initial context. There is no server running at t3://wls.localdomain:7001 : Failed to initialize JNDI context, tried 2 time or times totally, the interval of each time is 0ms.
t3://wls.localdomain:7001: Destination 192.0.0.120, 7001 unreachable.; nested exception is:
java.net.ConnectException: Connection refused (Connection refused); No available router to destination.; nested exception is:
java.rmi.ConnectException: No available router to destination.
Use dumpStack() to view the full stacktrace :

Done
Stopping Derby Server...
Derby server stopped.
[oracle@wls bin]$






Creating a WebLogic Server Domain




Creating a WebLogic Server Domain.

$ /ora/oracle/Desktop/wls12213/oracle_common/common/bin/config.sh