Next step after WEbLogic Installation and Domain Creation here Domain Creation is to know about startup/shutdown in WebLogic Server.
Before starting services in Oracle WebLogic, ensure that you are familiar with Domain, Administration & Managed Server
There are multiple ways to start WebLogic Server(listed below). This post covers WebLogic Startup/Shutdown using scripts. Start WebLogic using Node Manager, WLST (WebLogic Scripting Tool) or other tools coming soon …
There are two type of WebLogic Server instance in a domain, Administration Server and Managed Server.
–You can start Managed Server without Administration Server with exception for first time. If you are starting Managed Server for first time]then Administration Server should be Up. Managed Server can cache config files locally(in its local config directory) and later Managed Server can start on its own.
– To start Managed Server using script, supply Admin Server protocol, Server Name and Listen Port(check startup command for more information).
–If startup mode of domain is “production” then startup will prompt you for username & password to start services (You can create define username/password in boot.properties file. Coming soon !!!).
–If you create domain and startup mode is “development” then startup will not prompt for username/password as username password are stored in boot identity file in security directory of Domain at BEA_HOME / user_projects / domains / <domainName> / servers/ <serverName>/ security / boot.properties
.
Ways to start Administration Serverin Oracle WebLogic
1.Using startup script
2. From Windows Start Menu (windows only)
3. Using “java weblogic.Server” command
4. Using WLST (WebLogic Scripting Tool) and Node Manager
5. Using WLST without Node Manager
.
Ways to start Managed Serverin Oracle WebLogic
1.Using startup script
2. Using Administration Console
3. Using WLST and Node Manager
4. Using “java weblogic.Server” command
.
1. Starting Administration Server (startWebLogic.cmd or .sh)
2. Starting Managed Server (startManagedWebLogic.sh or .cmd)
.
A. To Start WebLogic Administration Server Instance
Go to domain for which you wish to start Administration Server
cd $BEA_HOME/user_projects/domains/<domain_name>/bin
startWebLogic.cmd (for Windows)
startWebLogic.sh (for Unix)
confirm that WebLogic Adminstration Server started properly by looking at message “Service started RUNNING mode“. Log file in below picture shows that AdminSever is listening on Port 7001 and all IP addresses on specific machine.
Startup/Shutdown Log file can be found at $BEA_HOME/ user_projects/ domains/ <domain_name> /servers/<ServerName> /logs / <ServerName>.log
.
B. Start Managed Server Instance
If you created Managed Server while creating domain then you can start Managed Server using startManagedWebLogic command
$BEA_HOME/user_projects/domains/<domain_name>/bin
startManagedWebLogic.cmd <managed_server_name> <admin_url> (for Windows)
startManagedWebLogic.sh <managed_server_name> <admin_url> (for Unix)
I created Managed Server MS1 with Admin Port as 7003
startManagedWebLogic.cmd ms1 http://localhost:7003 (Windows)
.
References
Oracle Documentation for Startup / Shutdown
.
Next in series , Deploying Application (ear, war, jar) in Oracle WebLogic Server
Related Posts for Learn WebLogic with Us
- Oracle WebLogic Installation Steps
- Domain , Administration & Managed Server, Cluster in Oracle WebLogic
- Create Domain in Oracle WebLogic
- Oracle WebLogic Server - Startup/Shutdown
- Oracle WebLogic Server 10g R3 10.3 is out now
- Deploy Application on Oracle WebLogic Server
- Cluster Architecture : Oracle WebLogic Server
- Start WebLogic Server on Linux on port 80, 443 <= 1024
- JDBC (Java DataBase Connectivity ) in Oracle WebLogic - Overview
- WebLogic Server JDBC for Database connection : Step by Step
- Security in Oracle WebLogic : Realm, Security Provider, Authentication, Authorization, Users
- Deploy ADF application to Oracle WebLogic Server
- Node Manager in Oracle WebLogic Server
- Configure Oracle HTTP Server infront of Oracle WebLogic Server mod_wl_ohs
- How to install weblogic server on 64 bit O.S. (Linux /Solaris) ?
- Oracle WebLogic Login Issue : Password is not correct (Password Lock Policy)
- Oracle WebLogic Server : Node Manager in nutshell
- Certification : 1Z0-108 Oracle WebLogic Server 10g System Administrator Certified Expert
- How to integrate WebLogic with Oracle Internet Directory for Login : Authentication
- opatch, adpatch and now “smart update” (BSU) to apply weblogic patches
- Disater Recovery documentation for Oracle WebLogic Server 11g (Fusion Middleware)
Popularity: 22% [?]







Good hands-on exercises (installation, patching, cloning), very experienced trainer worth for Money 
23 users commented in " Oracle WebLogic Server - Startup/Shutdown "
Follow-up comment rss or Leave a TrackbackAny information on integrating weblogic server and oracle databases
Any information on integrating weblogic server and oracle databases
Thanks,
AK
check this
What is url for the access of managed server
You manage managed server via administration (admin) console.
To access application deployed on managed server use port defined for managed server (If no proxy server is in front)
Hi Atul,
I am new to all this stuff. I am uploading some html files and javascripts to the peoplesoft’s weblogic server. For the first time it’s working fine. But if I overwrite my updated code with the same file name using secure fx. It’s giving HTTP server error. Can I know what’s the reason. Do we need to restart weblogic server after uploading.
Thanks in Advance,
Mahesh
[…] Managed Server Instances from remote location (There are other ways as well to start/stop Weblogic check here - Node Manager is optional […]
Hi Atul,
The way of explaintion is very nice and easy to understand the basic concepts.
Planning to do certification, can you provide details(content which we need to prepare) or link
Regards
Ganesh
Hi,
I try to install a manager server on weblogic 10.3. When i execute the
command line startManagedServer myMngSrv http://localhost:7003 a
security exception is throwed. Here is the log :
———————————————–
CLASSPATH=;C:\bea\patch_wls1030\profiles\default\sys_manifest_c
lasspath\weblogic_patch.jar;C:\bea\patch_cie660\profiles\default\sys_
manifest_classpath\weblogic_patch.jar
;C:\bea\JDK160~1\lib\tools.jar;C:\bea\WLSERV~1.3\server\lib\
weblogic_sp.jar;C:\bea\WLSERV~1.3\server\lib\weblogic.jar;C:\
bea\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\b
ea\WLSERV~1.3\server\lib\webservices.jar;C:\bea\modules\ORG
APA~1.5/lib/ant-all.jar;C:\bea\modules\NETSFA~1.0_1/lib/ant-co
ntrib.jar;;C:\bea\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;
C:\bea\WLSERV~1.3\server\lib\xqrl.jar;;
.
PATH=C:\bea\patch_wls1030\profiles\default\native;C:\bea\patch_cie660\profil\
es\default\native;C:\bea\WLSERV~1.3\server\native\win\32;C:\bea\WLSERV~1.
3\server\bin;C:\bea\modules\ORGAPA~1.5\bin;C:\bea\JDK160~1\jre\bin;C:\bea\J
DK160~1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wb
em;C:\Subversion\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\MySQL
\MySQL Server 4.1\bin;C:\Program Files\Microsoft SQL Server\90\Too
ls\binn\;C:\bea\WLSERV~1.3\server\native\win\32\oci920_8
.
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
***************************************************
starting weblogic with Java version:
Starting WLS with line:
C:\bea\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:C
ompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=12
8m -Dweblogic.security.SSL.trustedCAKeyStore=”C:\bea\wlserver_10.3\server
\lib\cacerts” -Xverify:none -da -Dplatform.home=C:\bea\WLSERV
~1.3 -Dwls.home=C:\bea\WLSERV~1.3\server -Dweblogic.home=C:\bea\WLSE
RV~1.3\server -Dweblogic.management.discover=false -Dweblogic
\.management.server=http://localhost:7003 -Dwlw.iterativeD
ev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dw
eblogic.ext.dirs=C:\bea\patch_wls1030\profiles\default\sysext_manif
est_classpath;C:\bea\patch_cie660\profiles\default\sysext_manifest_cl
asspath -Dweblogic.Name=ordmngsrv -Djava.security.policy=C:\bea\W
LSERV~1.3\server\lib\weblogic.policy weblogic.Server
Enter username to boot WebLogic server:Enter password to boot WebLogic server:
———————————————–
Can youi help me please ?
@ Samy,
What is your Administration Server port ?
If you are starting Managed Server for first time then you need to start first Administration server (only for first time)
What user names you configured at time of domain creation ?
Hi Atul,
i tried to start managed server using admin console.
its giving some error like,
The server ManagedServer_1 does not have a machine associated with it.
All of the servers selected are currently in a state which is incompatible with this operation or are not associated with a running Node Manager. No action will be performed.
Can you suggest, what can be the problem?
Regards,
Jay
@ Jay, In order to start/stop Managed Server from console, you first need to configure/start node manager then define machine (in console) and finally associate manager server with machine.
You can use command line tool $DOMAIN_NAME/bin startManagedWebLogic.[sh|cmd]
Atul
Hi Atul,
I am not able to connect weblogic server console after successfully installing the same. The base_domain has also been created successfully. Here is the log of starting web logic server…
But the URL http://:7001/console is not responding.
It will be really helpful if you can guide me in troubleshooting this problem.
Thanks,
Amit
Copying the log of weblogic server startup……
Also the URL is https://myhostname.com:7001/console
the admin server startup logis copied again..
The URL I m using is https://myhostname:7001/console. Sorry for the typo…… Amit
@ Kamit ,
Check logs at $INSTALL_BASE/ user_projects/ domains/ base_domain/ servers/ AdminServer/ logs
Are you using https or http ?
Default it listen on http with port 7001
1. I checked the log at $INSTALL_BASE/ user_projects/ domains/ base_domain/ servers/ AdminServer/ logs and it shows that the server started in RUNNING mode
2. I tried with both options https and http. None of them worked.
3. Can you let me know how how can I default it listen on http with port 7001? I guess when I created a base domain using quickStart, it did automatically.
Can you also let me know how to check if host adminport (7001) is available and listening?
@ Kamit,
How to check default port and protocol on which weblogic Administration server is listening ?
I am assuming that domain name you selected during installation is base_domain so
$INSTALL_BASE/ user_projects/ domains/ base_domain/ servers/ AdminServer/ base_domain.log
There should be entry like
#### <>
As per above log
Server name is focusthread.com
IP address is XX.XX.XX.XXX
and Port is 7001
and protocol is Non SSL (http or t3)
#### <>
Hi Atul,
Thanks for your inputs. Its working fine now. The only issue is I have to enter IP address only. When I try with the mapped hostname entry it gives error as “[code=DNS_HOST_NOT_FOUND] The host name was not found during the DNS lookup. Contact your system administrator if the problem is not found by retrying the URL”
Hi Atul,
I am trying to modify the shutdown scripts so that even if it is an unresponsive server, I can use kill to stop the instance. However, I need to know what the stop.py script will return if it fails to stop an unresponsive server. Any ideas?
Hi Atul,
Just go through the following & let me know the solution. i am trying to connect the admin server with default port through WLST. but here firewall implemented. due to that i am getting the following error.
wls:/offline> connect(’weblogic’,'weblogic’,'t3://172.27.49.169:7001′)
Connecting to t3://172.27.49.169:7001 with userid weblogic …
Traceback (innermost last):
File “”, line 1, in ?
File “”, line 22, in connect
WLSTException: ‘Error occured while performing connect : Error getting the initi
al context. There is no server running at t3://172.27.49.169:7001 Use dumpStack(
) to view the full stacktrace’
wls:/offline> dumpStack()
This Exception occurred at Mon Feb 22 11:49:55 IST 2010.
javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalExcepti
on: error unmarshalling arguments; nested exception is:
java.io.StreamCorruptedException: invalid type code: 88]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(Exceptio
nTranslator.java:74)
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(Exceptio
nTranslator.java:32)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLIni
tialContextFactoryDelegate.java:773)
at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialCo
ntextFactoryDelegate.java:673)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialCon
textFactoryDelegate.java:466)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
tialContextFactoryDelegate.java:373)
at weblogic.jndi.Environment.getContext(Environment.java:307)
at weblogic.jndi.Environment.getContext(Environment.java:277)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
extFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.(Unknown Source)
at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTH
elper.java:498)
at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLS
THelper.java:551)
at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.j
ava:303)
at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:201)
at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext
.java:60)
at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLS
TUtil.java:121)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java
:160)
at org.python.core.PyMethod.__call__(PyMethod.java:96)
at org.python.core.PyObject.__call__(PyObject.java:248)
at org.python.core.PyObject.invoke(PyObject.java:2016)
at org.python.pycode._pyx6.connect$1(:16)
at org.python.pycode._pyx6.call_function()
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyTableCode.call(PyTableCode.java:404)
at org.python.core.PyTableCode.call(PyTableCode.java:287)
at org.python.core.PyFunction.__call__(PyFunction.java:179)
at org.python.pycode._pyx19.f$0(:1)
at org.python.pycode._pyx19.call_function()
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1135)
at org.python.core.Py.exec(Py.java:1157)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:148)
at org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter
.java:89)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpret
er.java:70)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpret
er.java:44)
at weblogic.management.scripting.WLST.main(WLST.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at weblogic.WLST.main(WLST.java:29)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested ex
ception is:
java.io.StreamCorruptedException: invalid type code: 88
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:221)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
at weblogic.common.internal.RMIBootServiceImpl_1001_WLStub.authenticate(
Unknown Source)
at weblogic.security.acl.internal.Security$1.run(Security.java:185)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.acl.internal.Security.authenticate(Security.java:18
1)
at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRemotely(WL
InitialContextFactoryDelegate.java:734)
at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialCo
ntextFactoryDelegate.java:667)
… 45 more
Caused by: java.io.StreamCorruptedException: invalid type code: 88
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectIn
putStream.java:195)
at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.ja
va:565)
at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectIn
putStream.java:191)
at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke(Unknown Sou
rce)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:475)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:5
9)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicSer
verRef.java:1016)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalExcepti
on: error unmarshalling arguments; nested exception is:
java.io.StreamCorruptedException: invalid type code: 88]
wls:/offline>
Please provide me how can i execute the above even firewall implemented.
Thanks & regards,
Siva Prasad Reddy
9550887963
siva_prasad@mahindrasatyam.com
@ Siva,
If port 7001 across firewall is blocked then either ask firewall team to open port or run WLST from machine where 7001 port is open for Admin Server
Leave A Reply