I haven't used WebLogic before, because the new project should use it, so I have installed it, I don't know how the service configuration is started, I really feel its function, non-Tomcat, but I am depressed, it originally Provides a batch file for service startup, but the service is closed, can only be accessed through Web, through "Graceful Shutdown Of this Server ..." is turned off; I want to have a batch special to handle the shutdown service, can you? ? So I found it in the WebLogic directory to see if there is such a file stop * .cmd, the result is really found. . . There is a stopweblogic.cmd under this directory D: / bea / WebLogic81 / Samples / Domains / Platform;
Set java_home = d: /j2sdk1.4.2_03set platformHome = D: / bea / webLogic81
REMREM BUG 11479 - Before ship, we should change this from FORCESHUTDOWN to SHUTDOWN !!! REM Also, before ship, we should change the pointbase shutdown commandREM to 'SHUTDOWN' from 'SHUTDOWN force' REM
SET Arguments = WebLogic.Admin ForceShutdown -url T3: //192.168.0.2: 80 -Username admin -Password 88888888
REMREM Shutdown JDI ProxyREMREM set CLASSPATH =% PLATFORMHOME% / server / lib / debugging.jar;% JAVA_HOME% / lib / tools.jarREM "% JAVA_HOME% / bin / java" -classpath "% CLASSPATH%" weblogic.debugging.engine. DBGMAIN -SHUTDOWN
Remrem Shutdown WebLogicRemSet ClassPath =% PlatformHome% / Server / lib / weblogic.jar "% java_home% / bin / java.exe" -cp "% classpath%"% arguments%
PAUSE is actually useful: @echo off