weblogic启动报错

时间:2021-06-21 16:18:06

重启了一次linux服务器后,weblogic启动莫名报错,查看日志发现说部署的项目有个bean类无法加载,

1、然后手动删除 已经部署的项目,先在

domais/servers/AdminServer/upload

删除上传的项目;启动报错

<Jul ,  :: AM CST> <Error> <Deployer> <BEA-> <Failed to create App/Comp mbeans for AppDeploymentMBean mmp. Error - weblogic.management.DeploymentException: .
weblogic.management.DeploymentException:
    at weblogic.servlet.)
    at weblogic.application.)
    at weblogic.application.)
    at weblogic.application.)
    at weblogic.management.deploy.)
    Truncated. see log file for complete stacktrace
Caused By: java.util.zip.ZipException: Error opening file - /domains/borzmmp/servers/AdminServer/upload/mmp.war Message - error in opening zip file
    at weblogic.servlet.utils.WarUtils.existsInWar(WarUtils.java:)
    at weblogic.servlet.utils.WarUtils.isWebServices(WarUtils.java:)
    at weblogic.servlet.)
    at weblogic.application.)
    at weblogic.application.)
    Truncated. see log file for complete stacktrace
> 

2.修改配置文件

/soft/Oracle/Middleware/user_projects/domains/borzmmp/config

此文件内删除以下代码
  <app-deployment>
    <name>yitong-mmc</name>
    <target>AdminServer</target>
    <module-type>war</module-type>
    <source-path>servers/AdminServer/upload/yitong-mmc.war</source-path>
    <security-dd-model>DDOnly</security-dd-model>
  </app-deployment>

3、启动还报错

<Jul ,  :: AM CST> <Emergency> <Security> <BEA-> <Server failed to bind to the configured Admin port. The port may already be used by another process.>
<Jul ,  :: AM CST> <Error> <Server> <BEA-> <Unable to create a server socket : java.net.BindException: Address already in use.> <Jul 13, 2016 10:05:22 AM CST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default[3]". The address 0:0:0:0:0:0:0:1 might be incorrect or another process is using port 7001: java.net.BindException: Address already in use.> <Jul 13, 2016 10:05:22 AM CST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default[1]". The address fe80:0:0:0:20c:29ff:fe93:a0f1 might be incorrect or another process is using port 7001: java.net.BindException: Address already in use.> <Jul 13, 2016 10:05:22 AM CST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: Server failed to bind to any usable port. See preceeding log message for details.> <Jul 13, 2016 10:05:22 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED> <Jul 13, 2016 10:05:22 AM CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down> <Jul 13, 2016 10:05:22 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN> 

呵呵哒了

原来端口占用了

4、解决端口占用

[root@localhost bin]# netstat -apn | grep 7001
tcp               :::                     :::*                        LISTEN      /java          

万千人群中一眼就发现了它,让我瞅下这是个什么鬼

[root@localhost bin]# ps -aux|grep
root           pts/    S+   :   : grep
root         ?     Sl   Jun27  : /usr/java/jdk1..0_66/bin/java -Djava.util.logging.config.file=/root/.IntelliJIdea2016./system/tomcat/Unnamed_mmp-sdk/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -agentlib:jdwp=transport=dt_socket,address=,suspend=y,server=n -Dcom.sun.management.jmxremote= -Dcom.sun.management.jmxremote.port= -Dcom.sun.management.jmxremote.ssl=/endorsed -classpath /soft/apache-tomcat-/bin/bootstrap.jar:/soft/apache-tomcat-/bin/tomcat-juli.jar -Dcatalina./system/tomcat/Unnamed_mmp-sdk -Dcatalina.home=/soft/apache-tomcat- -Djava.io.tmpdir=/soft/apache-tomcat-/temp org.apache.catalina.startup.Bootstrap start

原来是之前服务器上装了intellij,启动后忘记关掉了。

怒关

kill -9

重启一切正常