Weblogic10 domain automatically starts a service in Windows XP

Source: Internet
Author: User

Weblogic10 domain automatically starts a service in Windows XP In the domain created in weblogic10, unlike 8.1, The installservice is not found in the domain directory. CMD command. WebLogic does not allow you to create Windows Services, but the command for creating services is placed in D:/bea10/wlserver_10.0/Server/bin. In this directory, two files are stored: beasvc.exe/beasvcx64.exe and installsvc. CMD/uninstallsvc. cmd. Open installsvc. CMD and you can see in the last line that the beasvc command is actually used.
"% Wl_home %/Server/bin/beasvc"-install-svcname: "beasvc % domain_name % _ % SERVER_NAME %"-javahome: "% java_home %"-execdir: "% userdomain_home %"-extrapath: "% extrapath %"-Password: "% wls_pw %"-using line: % using line %
However, directly executing this command will create a "beasvc _" service in the service. This service cannot be started. We only need to set the environment variable corresponding to this command. To save trouble, add the following environment variables before the last line of the installation script:
Rem sets the domain name. Here is base_domainset domain_name = base_domainrem service name set SERVER_NAME = myserverrem sets homeset userdomain_home = D of the User Domain: /bea10/user_projects/domains/base_domainrem set password set wls_pw = weblogic
Run the create service operation in the CMD window. The prompt is that the service name has been created. Check the service. The service has been created and can be started. After a while, you will be able to see the login page below, and check that there is no warning event in the event browser. Weblogic10 domain Delete startup service in Windows XP In the uninstallsvc. CMD script, you can see that the script for deleting a service is very simple.
"% Wl_home %/Server/bin/beasvc"-Remove-svcname: "beasvc % domain_name % _ % SERVER_NAME %"
We also use the above method to set environment variables.
Rem sets the domain name. Here is base_domainset domain_name = base_domainrem service name set SERVER_NAME = myerver
Run the command in cmd. write by wonder 2007-7-3

 

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.