wls:/offline> nm()
Not connected to Node Manager
wls:/offline> startNodeManager()
Launching NodeManager ...
blablabla
Node Manager starting in the background
wls:/offline> nmConnect('weblogic','weblogic1','localhost','5556','soadev','C:/Oracle2/Middleware/user_projects/domains/soadev','ssl')
Connecting to Node Manager ...
Successfully Connected to Node Manager.
wls:/offline>nmServerStatus('AdminServer')
wls:/offline>nmKill('AdminServer')
start a server WITHOUT NodeManager:
wls:/offline>startServer('AdminServer','soadev','t3://localhost:7001','weblogic','weblogic1','C:/Oracle2/Middleware/user_projects/domains/soadev','true',60000,'false')
see here http://download.oracle.com/docs/cd/E12840_01/wls/docs103/config_scripting/manage_servers.html
connect('weblogic', 'weblogic1', 't3://localhost:7001')
serverRuntime()
wls:/soadev/serverRuntime> ls()
dr-- ApplicationRuntimes
dr-- AsyncReplicationRuntime
dr-- ClusterRuntime
dr-- ConnectorServiceRuntime
dr-- DefaultExecuteQueueRuntime
dr-- EntityCacheCumulativeRuntime
dr-- EntityCacheCurrentStateRuntime
dr-- EntityCacheHistoricalRuntime
dr-- ExecuteQueueRuntimes
dr-- JDBCServiceRuntime
dr-- JMSRuntime
dr-- JTARuntime
dr-- JVMRuntime
dr-- JoltRuntime
dr-- LibraryRuntimes
dr-- LogBroadcasterRuntime
dr-- LogRuntime
dr-- MANAsyncReplicationRuntime
dr-- MANReplicationRuntime
dr-- MailSessionRuntimes
dr-- MaxThreadsConstraintRuntimes
dr-- MinThreadsConstraintRuntimes
dr-- PathServiceRuntime
dr-- PersistentStoreRuntimes
dr-- RequestClassRuntimes
dr-- SAFRuntime
dr-- SNMPAgentRuntime
dr-- ServerChannelRuntimes
dr-- ServerSecurityRuntime
dr-- ServerServices
dr-- SingleSignOnServicesRuntime
dr-- ThreadPoolRuntime
dr-- TimerRuntime
dr-- WANReplicationRuntime
dr-- WLDFRuntime
dr-- WTCRuntime
dr-- WebServerRuntimes
dr-- WorkManagerRuntimes
dr-- WseeClusterFrontEndRuntime
dr-- WseeWsrmRuntime
-r-- ActivationTime 1305484322463
-r-- AdminServer true
-r-- AdminServerHost [2001:0:5ef5:79fd:1c05:d557:ab21:abcd]
-r-- AdminServerListenPort 7001
-r-- AdminServerListenPortSecure false
-r-- AdministrationPort 9002
-r-- AdministrationPortEnabled false
-r-- AdministrationURL t3://[2001:0:5ef5:79fd:1c05:d557:ab21:abcd]:7001
-r-- AsyncReplicationRuntime null
-r-- ClusterRuntime null
-r-- CurrentDirectory C:\Oracle2\Middleware\user_p
rojects\domains\soadev\.
-rw- CurrentMachine
-r-- DefaultExecuteQueueRuntime null
-r-- DefaultURL t3://[2001:0:5ef5:79fd:1c05:d557:ab21:abcd]:7001
-r-- EntityCacheCumulativeRuntime null
-r-- EntityCacheCurrentStateRuntime null
-r-- EntityCacheHistoricalRuntime null
-r-- HealthState Component:ServerRuntime,State:HEALTH_OK,MBean:AdminServer,ReasonCode:[]
-r-- JoltRuntime null
-r-- ListenAddress pierrepc/2001:0:5ef5:79fd:1c05:d557:ab21:abcd
-r-- ListenPort 7001
-r-- ListenPortEnabled true
-r-- MANAsyncReplicationRuntime null
-r-- MANReplicationRuntime null
-r-- MiddlewareHome C:\Oracle2\Middleware
-r-- Name AdminServer
-r-- OpenSocketsCurrentCount 1
-r-- OracleHome C:\Oracle2\Middleware
-rw- Parent null
-r-- PathServiceRuntime null
-r-- RestartRequired false
-r-- RestartsTotalCount 0
-r-- SSLListenAddress null
-r-- SSLListenPort 7002
-r-- SSLListenPortEnabled false
-r-- SocketsOpenedTotalCount 1
-r-- State RUNNING
-r-- StateVal 2
-r-- Type ServerRuntime
-r-- WANReplicationRuntime null
-r-- WLECConnectionServiceRuntime null
-r-- WeblogicHome C:\Oracle2\Middleware\wlserver_10.3
-r-- WeblogicVersion WebLogic Server 10.3.4.0 Fri Dec 17 20:47:33 PST 2010 1384255
-r-- WseeClusterFrontEndRuntime null
-r-x addRequestClassRuntime Boolean : WebLogicMBean(weblogic.management.runtime.RequestClassRuntimeMBean)
-r-x forceShutdown Void :
-r-x forceSuspend Void :
-r-x getIPv4URL String : String(protocol)
-r-x getIPv6URL String : String(protocol)
-r-x getServerChannel java.net.InetSocketAddress : String(protocol)
-r-x getURL String : String(protocol)
-r-x preDeregister Void :
-r-x restartSSLChannels Void :
-r-x resume Void :
-r-x shutdown Void :
-r-x shutdown Void : Integer(timeout),Boolean(ignoreSessions)
-r-x start Void :
-r-x suspend Void :
-r-x suspend Void : Integer(timeout),Boolean(ignoreSessions)
Sunday, May 15, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment