Note this sentence in the installservice. CMD file: Echo usage: installservice. CMD [wls_user] [wls_pw] After the command line is executed, you will be prompted for beasvc web_webso installed. The installation is successful. Then in services. MSC can see the name of your beasvc domain_name & SERVER_NAME. Click Run to automatically run your defined domain. (Not Displayed ). after the beasvc.exe process is stable and WebLogic Server is started, you can manage it on the console. If you just double-click installservice. CMD in the resource manager, the screen will flash. In fact, it prompts you that installservice is used by installservice. CMD [wls_user] [wls_pw. To install the service successfully, follow these steps: 1. config Wizard 2. Run installservice. CMD in cmd. By the way, you can double-click uninstallservice. CMD in the resource manager. This command has no parameters. If installservice. CMD does not work, are the usernames and passwords correct? Example: Use installntservice. CMD to install the system service as NT. The following is an occasional configuration. @ Echo off Setlocal Cd d:/BEA/wlserver/config/mydomain Rem *** set classpath to load WebLogic classes Set classpath =./lib/crack. jar;.; D:/BEA/wlserver/lib/weblogic_sp.jar; D:/BEA/wlserver/lib/weblogic. Jar Rem *** set command line for service to execute Rem *** % java_home %/Java will automatically be prepended. Set Parameter Line = "-ms64m-mx64m-classpath/" % classpath %/"-dweblogic. domain = mydomain-dweblogic. name = myserver-djava. security. policy =/"D:/BEA/wlserver/lib/weblogic. policy/"-dbea. home =/"D:/BEA/" weblogic. server" Rem *** install the service "D:/BEA/wlserver/bin/beasvc"-install-svcname: myserver-javahome: "D:/BEA/jdk130"-execdir: "D: /BEA/wlserver "-extrapath:" D:/BEA/wlserver/bin "-using line: % using line %-Password:" 11111111111" Endlocal Note: add the password to the end Weblogic6.0 is used, but JSP files cannot be compiled (this problem has not been solved). Therefore, it has been compiled on the local machine and uploaded to the server. |