For Converting weblogic server to a windows service you can use the following articles:

http://weblogic-wonders.com/weblogic/2011/02/01/weblogic-as-a-windows-service/

http://dirknachbar.blogspot.com/2010/09/creating-windows-service-for-oracle.html


With using these scripts , finally I could convert BEA server as a service . but when it comes up the web application are not and even I can’t deploy any web application , I got the following error when I want to start or deploy a web application :

oracle.dms.wls.DMSServletFilterr

SETLOCAL

set DOMAIN_NAME=Sayesaman

set USERDOMAIN_HOME=C:\jdev11.1.1.6\user_projects\domains\Sayesaman

set SERVER_NAME=Sayesaman

set WL_HOME=C:\jdev11.1.1.6\wlserver_10.3

set WLS_USER=weblogic

set WLS_PW=weblogic110

set PRODUCTION_MODE=false

set MEM_ARGS=-Xms512m –Xmx512m

call "C:\jdev11.1.1.6\wlserver_10.3\server\bin\installSvc.cmd"