新建server后启动,报错如下:
For server proxy, the Node Manager associated with machine Machine-0 is not reachable.
All of the servers selected are currently in a state which is incompatible with this operation or are not associated with a running Node Manager or you are not authorized to perform the action requested. No action will be performed.
百度查找原因:
startWeblogic.cmd 只启动adminServer。要想启动受管服务器。需要执行startManagedWebLogic.cmd 命令格式为startManagedWebLogic.cmd SERVER_NAME ADMIN_URL
解决方案:
编写startServer.cmd文件
文件内容如下:
title server-Server-0
domain目录\user_projects\domains\myDomain\bin\startManagedWebLogic.cmd Server-0 http://localhost:port