• 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

    问题解决!

  • 相关阅读:
    WinRAR v5.90中文正式32&64位整合安装版
    WIN10永久激活工具 HWIDGEN
    Adobe2020套装激活工具
    keka 1.1.26-压缩工具
    python文件和目录操作方法大全(含实例)
    如何使公网能够访问本地web服务器?
    网线那根正极那根负极
    HPUX 大文件系统扩容
    LESS详解之函数(四)
    Win7 安装Apache 2.2.4报错:<OS 5>拒绝访问. :Failed to open the WinNT service manager
  • 原文地址:https://www.cnblogs.com/yshyee/p/3944084.html
Copyright © 2020-2023  润新知