JCAPSMentor - Java CAPS Unleashed - Basic to Expert Discussions

JCAPSMentor - Basic to Expert Discussions Jcaps, SOA, SUN, Netbeans, Enterprise, Sun System Application Server, Java, J2EE, EAI, JBI, Composite Application Platform Suite, EDI, SeeBeyond, HL7, Singapore

 
  FOLLOW US!
  JCAPSMentor

Visit us at Facebook



 

  Visitors LIVE! Stats
 
  Covering the World!
 
How to create a Windows Service for Java CAPS 6
To Create the Windows Service


C:\WINDOWS\system32\sc.exe create DOMAIN1 binPath= "C:\JavaCAPS6\appserver\lib\appservService.exe \"C:\JavaCAPS6\appserver\bin\asadmin.bat start-domain --user admin --passwordfile C:\JavaCAPS6\appserver\passwordfile domain1\"

\"C:\JavaCAPS6\appserver\bin\asadmin.bat stop-domain domain1\"" start=auto DisplayName="SunJavaSystemAppServer DOMAIN1"


Contents of C:\JavaCAPS6\appserver\passwordfile:

AS_ADMIN_ADMINPASSWORD=adminadmin

AS_ADMIN_MASTERPASSWORD=changeit

AS_ADMIN_PASSWORD=adminadmin



To Start, Stop, and Delete the Windows Service Using the Example

* To start the Windows Service, enter > net start DOMAIN1.

* To stop the Windows Service, enter > net stop DOMAIN1.

* To delete the Windows Service, enter > sc delete DOMAIN1.

Labels: , ,

 
0 Comments:
Post a Comment
<< Home
 
Manesh Abhimanyu
Manesh is a Sr. EAI Consultant, at present working in Singapore (Little Red Dot).

His focus is in the areas of SOA, ESB and Enterprise Architecture Management.

Contact him via email (mak2powerATyahoo.co.in)

Menu
Archives
Links
Website developed & maintained by

Manesh Abhimanyu K. (Mak)

Click here to contact Manesh









Free Domain CO.NR