How to configure Weblogic server as a Windows Service

Source: Internet
Author: User

How can I configure Weblogic server as a Windows service?
   
 
 
 
 
 
  ArticleIntroduction: 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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.