当前位置: 技术问答>linux和unix
weblogic新建server后,发布的应用一直不启动的问题
来源: 互联网 发布时间:2017-05-30
本文导语: 现在有一个domain,然后因为需要指定不同的端口,所以我新建了server 首先我启动了nodemanager,然后我新建了计算机mathine7010,之后,我新建server-7010,并将其绑定在mathine7010上,同时启动server-7010,这时server-7010的状态...
现在有一个domain,然后因为需要指定不同的端口,所以我新建了server
首先我启动了nodemanager,然后我新建了计算机mathine7010,之后,我新建server-7010,并将其绑定在mathine7010上,同时启动server-7010,这时server-7010的状态是running
然后,我将应用war包发布在server-7010,上面显示请求已发送到相关部署,然后状态一直都不变了。。。
后台节点管理器的监听是打开的
INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
+ CLASSPATH=/home/weblogic/Oracle/Middleware/patch_wls1033/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/weblogic/Oracle/Middleware/patch_ocp353/profiles/default/sys_manifes
t_classpath/weblogic_patch.jar:/usr/java/jdk1.6.0_37/lib/tools.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/serv
er/lib/weblogic.jar:/home/weblogic/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.3.0.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/weblo
gic/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/weblogic/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/usr/java/jdk1.6.0_37//lib/tools
.jar:/usr/java/jdk1.6.0_37//lib/dt.jar:/home/weblogic/Oracle/Middleware
+ export CLASSPATH
+ export PATH
+ cd /home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager
+ set -x
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ /usr/java/jdk1.6.0_37/bin/java -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -Xverify:none -Djava.security.policy=/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -D
weblogic.nodemanager.javaHome=/usr/java/jdk1.6.0_37 weblogic.NodeManager -v
Sep 1, 2014 6:00:35 PM weblogic.nodemanager.server.NMServerConfig initDomainsMap
INFO: Loading domains file: /home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.domains
Sep 1, 2014 6:00:35 PM weblogic.nodemanager.server.NMServer
INFO: Loaded node manager configuration properties from '/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.properties'
Node manager v10.3
Configuration settings:
NodeManagerHome=/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager
ListenAddress=
ListenPort=5556
ListenBacklog=50
SecureListener=false
AuthenticationEnabled=true
NativeVersionEnabled=true
CrashRecoveryEnabled=false
JavaHome=/usr/java/jdk1.6.0_37/jre
StartScriptEnabled=false
StopScriptEnabled=false
StartScriptName=startWebLogic.sh
StopScriptName=
LogFile=/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.log
LogLevel=INFO
LogLimit=0
LogCount=1
LogAppend=true
LogToStderr=true
LogFormatter=weblogic.nodemanager.server.LogFormatter
DomainsFile=/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.domains
DomainsFileEnabled=true
StateCheckInterval=500
Interface=
NetMask=
UseMACBroadcast=false
Domain name mappings:
payment_domain -> /home/weblogic/Oracle/Middleware/user_projects/domains/payment_domain
Sep 1, 2014 6:00:35 PM weblogic.nodemanager.server.Listener run
INFO: Plain socket listener started on port 5556
部署时没有任何报错信息,且这个war包在AdminServer下是能成功发布的,而且我在另外一台主机上,同样的操作,完全正常发布运行!
不知道这台主机是哪个地方配置要修改?
首先我启动了nodemanager,然后我新建了计算机mathine7010,之后,我新建server-7010,并将其绑定在mathine7010上,同时启动server-7010,这时server-7010的状态是running
然后,我将应用war包发布在server-7010,上面显示请求已发送到相关部署,然后状态一直都不变了。。。
后台节点管理器的监听是打开的
INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
+ CLASSPATH=/home/weblogic/Oracle/Middleware/patch_wls1033/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/weblogic/Oracle/Middleware/patch_ocp353/profiles/default/sys_manifes
t_classpath/weblogic_patch.jar:/usr/java/jdk1.6.0_37/lib/tools.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/serv
er/lib/weblogic.jar:/home/weblogic/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.3.0.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/weblo
gic/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/weblogic/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/usr/java/jdk1.6.0_37//lib/tools
.jar:/usr/java/jdk1.6.0_37//lib/dt.jar:/home/weblogic/Oracle/Middleware
+ export CLASSPATH
+ export PATH
+ cd /home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager
+ set -x
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ /usr/java/jdk1.6.0_37/bin/java -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -Xverify:none -Djava.security.policy=/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -D
weblogic.nodemanager.javaHome=/usr/java/jdk1.6.0_37 weblogic.NodeManager -v
Sep 1, 2014 6:00:35 PM weblogic.nodemanager.server.NMServerConfig initDomainsMap
INFO: Loading domains file: /home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.domains
Sep 1, 2014 6:00:35 PM weblogic.nodemanager.server.NMServer
INFO: Loaded node manager configuration properties from '/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.properties'
Node manager v10.3
Configuration settings:
NodeManagerHome=/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager
ListenAddress=
ListenPort=5556
ListenBacklog=50
SecureListener=false
AuthenticationEnabled=true
NativeVersionEnabled=true
CrashRecoveryEnabled=false
JavaHome=/usr/java/jdk1.6.0_37/jre
StartScriptEnabled=false
StopScriptEnabled=false
StartScriptName=startWebLogic.sh
StopScriptName=
LogFile=/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.log
LogLevel=INFO
LogLimit=0
LogCount=1
LogAppend=true
LogToStderr=true
LogFormatter=weblogic.nodemanager.server.LogFormatter
DomainsFile=/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.domains
DomainsFileEnabled=true
StateCheckInterval=500
Interface=
NetMask=
UseMACBroadcast=false
Domain name mappings:
payment_domain -> /home/weblogic/Oracle/Middleware/user_projects/domains/payment_domain
Sep 1, 2014 6:00:35 PM weblogic.nodemanager.server.Listener run
INFO: Plain socket listener started on port 5556
部署时没有任何报错信息,且这个war包在AdminServer下是能成功发布的,而且我在另外一台主机上,同样的操作,完全正常发布运行!
不知道这台主机是哪个地方配置要修改?
|
你发的是node manager的日志吧,看这个没用,需要看managed server 的日志,比如:
/opt/Oracle/Middleware/user_projects/domains/MedRecDomain/servers/MedRecSvr1/logs/MedRecSvr1.out
/opt/Oracle/Middleware/user_projects/domains/MedRecDomain/servers/MedRecSvr1/logs/MedRecSvr1.log
/opt/Oracle/Middleware/user_projects/domains/MedRecDomain/servers/MedRecSvr1/logs/MedRecSvr1.out
/opt/Oracle/Middleware/user_projects/domains/MedRecDomain/servers/MedRecSvr1/logs/MedRecSvr1.log