zoukankan      html  css  js  c++  java
  • stopWeblogic时提示错误以及无法关闭服务

    执行:

    y@y:~/oracle/middleware/user_projects/domains/yshy_domain/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://y:7001 with userid weblogic ...
    This Exception occurred at Fri Aug 29 08:12:10 CST 2014.
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://y:7001: Destination unreachable; nested exception is: 
        java.net.ConnectException: 拒绝连接; No available router to destination]
    Problem invoking WLST - Traceback (innermost last):
      File "/home/y/oracle/middleware/user_projects/domains/yshy_domain/shutdown.py", line 3, in ?
      File "<iostream>", line 22, in connect
      File "<iostream>", line 648, in raiseWLSTException
    WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3://y:7001 
    Use dumpStack() to view the full stacktrace
    
    Done
    Stopping Derby Server...

    错误信息提示:无法访问t3://y:7001

    Root exception is java.net.ConnectException: t3://y:7001: Destination unreachable; nested exception is: 
        java.net.ConnectException: 拒绝连接; No available router to destination
    解决方法:修改stopWeblogic.sh配置文件:把y修改成localhost
     37 else
     38     if [ "${ADMIN_URL}" = "" ] ; then
     39         ADMIN_URL="t3://localhost:7001"
     40     fi
     41 fi
    保存退出!

    再次执行:

    y@y:~/oracle/middleware/user_projects/domains/yshy_domain/bin$ sudo ./stopWebLogic.sh 
    Stopping Weblogic Server...
    
    Initializing WebLogic Scripting Tool (WLST) ...
    
    Welcome to WebLogic Server Administration Scripting Shell
    
    Type help() for help on available commands
    
    Connecting to t3://localhost:7001 with userid weblogic ...
    Successfully connected to Admin Server 'AdminServer' that belongs to domain 'yshy_domain'.
    
    Warning: An insecure protocol was used to connect to the 
    server. To ensure on-the-wire security, the SSL port or 
    Admin port should be used instead.
    
    Shutting down the server AdminServer with force=false while connected to AdminServer ...
    WLST lost connection to the WebLogic Server that you were 
    connected to, this may happen if the server was shutdown or 
    partitioned. You will have to re-connect to the server once the 
    server is available.
    Disconnected from weblogic server: AdminServer
    Disconnected from weblogic server: 
    
    
    Exiting WebLogic Scripting Tool.
    
    Done
    Stopping Derby Server...

    测试:

    y@y:~/oracle/middleware/user_projects/domains/yshy_domain/bin$ ps -ef | grep wls
    y         6825  5793  0 08:23 pts/4    00:00:00 grep --color=auto wls

    问题解决!

  • 相关阅读:
    比较两个NSDate
    关于修改UIWebView的UserAgent
    iOS9适配 之 关于info.plist 第三方登录 添加URL Schemes白名单
    iOS系统自带分享功能
    swift中的协议
    iOS性能优化:Instruments使用实战
    iOS利用HealthKit框架从健康app中获取步数信息
    iOS设备型号
    iOS消息推送机制
    Swift进阶
  • 原文地址:https://www.cnblogs.com/yshyee/p/3944084.html
Copyright © 2011-2022 走看看