Weblogic as windows service

I started weblogic domain as windows service as it described in http://docs.oracle.com/cd/E21764_01/web.1111/e13708/winservice.htm#i1186180.
After that i login to administrative console and i see, that DMS application deployed state in failed. In log i see, that weblogic does not see needed classes. Also I can't deploy my enterprise application for the same reason.
If I start weblogic domain as script, than all start successfully and I can deploy any application well.
What classpath is absent in windows script?

The installSvc script calls just commEnv to set the classpath
call "%WL_HOME%\common\bin\commEnv.cmd"What you can try to do is call the setDomainEnv.cmd file instead (this also calls commEnv).
Usually with fusion middleware components extra classpath entry are added in the setDomainEnv script.
The setDomainEnv script is located in the <middleware-home>\user_projects\domains\domain-name\bin directory.

Similar Messages

  • Performance issue when put weblogic in Windows service

    I am running a performance test on our application which sits on top of bea weblogic server 7.0sp2, I found out when I run the server as windows service, performance is much worse than I run it in command prompt. any thoughts ?
    btw, I am running W2K SP4 server, 4G MEM, 4 CPUSs

    It's hard to tell without more information, but my first suggestion
    would be to double-check that the same parameters/config are being used
    in both cases.
    Any idea what part of your app is taking more time?
    -- Rob
    paul yan wrote:
    I am running a performance test on our application which sits on top of bea weblogic server 7.0sp2, I found out when I run the server as windows service, performance is much worse than I run it in command prompt. any thoughts ?
    btw, I am running W2K SP4 server, 4G MEM, 4 CPUSs

  • Failing to start Weblogic as Windows Service

    I've seen this support case:
    http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_solution&answerpage=solution&page=jrock/S-26582.htm
    Is this still an issue on Windows 2000 with WebLogic Platform 8.1 sp3 because I've struggeled getting the WLS server starting.
    ----- Trond

    Hi Jit,
    Rename the boot.properties to boot.properties_back,
    Now are u able to start the Admin Server with direct StartAdmin.sh script???
    If yes, what were the credentials used during startup,were they weblogic/weblogic???
    If you have forgotten your username and password
    Follow the steps provided in the below link for resetting the password
    http://middlewaremagic.com/weblogic/?p=323
    Once you follow the above steps
    Try login to console with the new username and password.
    Now changes needs to be done in installSvc_iw.cmd
    set WLS_USER=weblogic
    set WLS_PW=weblogic Regards
    Fabian

  • Install webLogic 10.3.5.0 as windows Service

    Hi there;
    Looking for install webLogic as windows service; I found some papers that points me to "WL_HOME\server\bin\installSvc.cmd"
    as we can see here in [On-Line Manual References|http://download.oracle.com/docs/cd/E21764_01/web.1111/e13708/winservice.htm#START143]
    But; the fact is that in my wl_home\server\bin directory I can't see installSvc.cmd ;
    wl_home\server is not there any way;
    I have wl_home\serverS instead of it ;
    Any tips to configure webLogic 10.3.5.0 as windows service ?
    Foward thanks
    Marcos Ortega

    Hi Marcos,
    Since you were looking in your domain directory, note that you can innstall WLS components like node manager, admin server and managed servers as Windows services (which might be what you are trying to achieve).
    - For Node Manager you have the cmd file at WL_HOME\server\bin\installNodeMgrSvc.cmd
    - To create a Windows service for the Admin Server:
    1. Create a text file named %MIDDLEWARE_HOME%\user_projects\domains\<domain name>\servers\AdminServer\security\boot.properties. Add the following lines:
    username=weblogic
    password=<the weblogic username password>
    2. Create a command script called installAdmServer_Service.cmd which you will want to make sure has lines like:
    SETLOCAL
    set DOMAIN_NAME=<your wls domain>
    set USERDOMAIN_HOME=<path to domain> # e.g., C:\middleware\FMW11g\user_projects\domains\ClassicDomain
    set SERVER_NAME=AdminServer
    set PRODUCTION_MODE=true
    cd %USERDOMAIN_HOME%
    call %USERDOMAIN_HOME%\bin\setDomainEnv.cmd
    call "<your middleware home>\wlserver_10.3\server\bin\installSvc.cmd"
    ENDLOCAL
    3. Then run "installAdmServer_Service.cmd", the Service should be installed. It will have a name like "beasvc %DOMAIN_NAME%_%SERVER_NAME%" (e.g. beasvc ClassicDomain_AdminServer). The Service "Startup Type" shouldl be "Automatic".
    - To create a Windows service for the Managed Server:
    1. Create a text file named %MIDDLEWARE_HOME%\user_projects\domains\<domain name>\servers\[managed_server_name]\security\boot.properties. Add the following lines:
    username=weblogic
    password=<the weblogic username password e.g manager11g>
    2. Create a command script called installWLSFORMS_Service.cmd which has lines like
    SETLOCAL
    set DOMAIN_NAME=<your wls domain>
    set USERDOMAIN_HOME=<path to domain> # e.g. C:\middleware\FMW11g\user_projects\domains\ClassicDomain
    set SERVER_NAME=WLS_FORMS
    set PRODUCTION_MODE=true
    set ADMIN_URL=http://mymachine.mycompany.com:7001
    cd %USERDOMAIN_HOME%
    call %USERDOMAIN_HOME%\bin\setDomainEnv.cmd
    call "<your middleware home>\wlserver_10.3\server\bin\installSvc.cmd"
    ENDLOCAL
    3. Then run "installWLSFORMS_Service.cmd", the Service should be installed and it will have a name like "beasvc %DOMAIN_NAME%_%SERVER_NAME%" (e.g. beasvc ClassicDomain_WLS_FORMS). The Service "Startup Type" will be "Automatic".
    Some warnings:
    - The ADMIN_URL value should reference the AdminServer hostname and listen port.
    - The SERVER_NAME value is case sensitive. For example, if you are creating a MS Windows service for a different managed server such as 'wls_ods1' then the value needs to match the case of the server name otherwise the startup of the server via the MS Windows service will fail.
    - Be careful that there are no trailing spaces after each line in the command file - trailing spaces will cause the managed server to fail at startup.
    Hope this helps.
    -Cris

  • Weblogic Windows service fails when aspectwerkz is added to configuration

    All,
    I have been running weblogic as windows service successfully. Now, we are utilizing AOP from aspectwerkz. I added the necessary settings for aspectwerkz in the install script. After adding the changes, I am able to install the service. However, when I start the service it fails with the MMC error dialog box displaying:
    'Error 1067: The process terminated unexpectedly.'
    I opened the Event viewer and checked the System events. I see an error which says:
    'The beasvc med1d2_med1d2as01 service terminated unexpectedly. It has done this 2 time(s). The following corrective action will be taken in 0 milliseconds: No action.'
    Unfortunately, the info I get from MMC and event viewer doesn't really help in any way. I tried tweaking 'CMDLINE' and other stuff in the install script to no avail. I would appreciate any help.
    Infrastructure information:
    OS: Windows Server 2000
    App server: Weblogic 8.1 sp4
    JDK: Sun JDK 1.4.2 04
    Thanks in advance.
    Message was edited by:
    FastBucks

    Hi, raynorman, and welcome to the Community!
    I have referred your enquiry to the vendor for more information.
    Best regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Installing BI Services as Windows Service

    Hi All,
    I am on 64 bit windows server 2008, I have done a simple install of obiee 11g. So I have only Admin Server
    and no managed server.
    I need to install the weblogic as windows service. And this is what i have done till now
    1. Modified the boot properties file to enter the login and password (weblogic/Welcome1)
    2. Set system environment variables BI_ORACLE_HOME and JAVA_HOME
    3. Modified the installsvc.cmd file to enter the following
         a.
         b.
         c.-log:"E:\MW_OBI\user_projects\domains\bifoundation_domain\AdminServer-stdout.txt
    4. created the installAdminServer_service.cmd file with following contents
    echo off
    SETLOCAL
    set DOMAIN_NAME=bifoundation_domain
    set USERDOMAIN_HOME=%Middlewarehome%\user_projects\domains\bifoundation_domain
    set SERVER_NAME=AdminServer
    set PRODUCTION_MODE=true
    call "%Middlewarehome%\user_projects\domains\bifoundation_domain\bin\setDomainEnv.cmd"
    call "%Middlewarehome%\wlserver_10.3\server\bin\installSvc.cmd"
    ENDLOCAL
    5.Now when I run this, it does run something but doesn't install the "beasvc %DOMAIN_NAME%_%SERVER_NAME%"
    service as expected.
    This is the extract from my installsvc.cmd file. What is that I am missing? Is there any variable which
    needs to be set. What could be the issue. Does this work for 64 bit machine?
    @rem *************************************************************************
    @rem This script is used to install WebLogic Server as a Windows Service.
    @rem
    @rem To create your own start script for your domain, simply set the
    @rem SERVER_NAME variable to your server name then call this script from your
    @rem domain directory.
    @rem
    @rem This script sets the following variables before installing
    @rem WebLogic Server as a Windows Service:
    @rem
    @rem WL_HOME - The root directory of your WebLogic installation
    @rem JAVA_HOME - Location of the version of Java used to start WebLogic
    @rem Server. This variable must point to the root directory of a
    @rem JDK installation and will be set for you by the installer.
    @rem See the Oracle Fusion Middleware Supported System Configurations page
    @rem (http://www.oracle.com/technology/software/products/ias/files/fusion_certification.html)
    @rem for an up-to-date list of supported JVMs.
    @rem PATH - Adds the JDK and WebLogic directories to the system path.
    @rem CLASSPATH - Adds the JDK and WebLogic jars to the classpath.
    @rem
    @rem Other variables that installSvc takes are:
    @rem
    @rem WLS_USER - admin username for server startup
    @rem WLS_PW - cleartext password for server startup
    @rem ADMIN_URL - if this variable is set, the server started will be a
    @rem managed server, and will look to the url specified (i.e.
    @rem http://localhost:7001) as the admin server.
    @rem PRODUCTION_MODE - set to true for production mode servers, false for
    @rem development mode
    @rem JAVA_OPTIONS - Java command-line options for running the server. (These
    @rem will be tagged on to the end of the JAVA_VM and MEM_ARGS)
    @rem JAVA_VM - The java arg specifying the VM to run. (i.e. -server,
    @rem -client, etc.)
    @rem MEM_ARGS - The variable to override the standard memory arguments
    @rem passed to java
    @rem
    @rem
    @rem MAX_CONNECT_RETRIES - Number of attempts the Windows Service will make to check
    @rem if the Weblogic Server is started. If this variable
    @rem is specified along with HOST and PORT, the Windows Service will
    @rem wait until the Weblogic Server is started.
    @rem HOST - IP address of the Weblogic Server
    @rem PORT - Port number where the WebLogic Server is listening for requests
    @rem
    @rem jDriver for Oracle users: This script assumes that native libraries
    @rem required for jDriver for Oracle have been installed in the proper
    @rem location and that your system PATH variable has been set appropriately.
    @rem
    @rem For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server"
    @rem (http://download.oracle.com/docs/cd/E17904_01/web.1111/e13708/overview.htm).
    @rem *************************************************************************
    @echo off
    SETLOCAL
    set WL_HOME=E:\MW_OBI\wlserver_10.3
    call "%WL_HOME%\common\bin\commEnv.cmd"
    @rem Check that the WebLogic classes are where we expect them to be
    :checkWLS
    if exist "%WL_HOME%\server\lib\weblogic.jar" goto checkJava
    echo The WebLogic Server wasn't found in directory %WL_HOME%\server.
    echo Please edit your script so that the WL_HOME variable points
    echo to the WebLogic installation directory.
    goto finish
    @rem Check that java is where we expect it to be
    :checkJava
    if exist "%JAVA_HOME%\bin\java.exe" goto runWebLogic
    echo The JDK wasn't found in directory %JAVA_HOME%.
    echo Please edit your script so that the JAVA_HOME variable
    echo points to the location of your JDK.
    goto finish
    :runWebLogic
    if not "%JAVA_VM%" == "" goto noResetJavaVM
    if "%JAVA_VENDOR%" == "BEA" set JAVA_VM=-jrocket
    if "%JAVA_VENDOR%" == "HP" set JAVA_VM=-server
    if "%JAVA_VENDOR%" == "Sun" set JAVA_VM=-server
    :noResetJavaVM
    if not "%MEM_ARGS%" == "" goto noResetMemArgs
    set MEM_ARGS=-Xms32m -Xmx200m
    :noResetMemArgs
    @echo on
    set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%
    @echo ***************************************************
    @echo * To start WebLogic Server, use the password *
    @echo * assigned to the system user. The system *
    @echo * username and password must also be used to *
    @echo * access the WebLogic Server console from a web *
    @echo * browser. *
    @echo ***************************************************
    rem *** Set Command Line for service to execute within created JVM
    @echo off
    set JAVA_VM=-server
    set MEM_ARGS=-Xms512m -Xmx512m -XX:MaxPermSize=512m-XX:+UseSpinning
    if "%ADMIN_URL%" == "" goto runAdmin
    @echo on
    set CMDLINE="%JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -classpath \"%CLASSPATH%\" -Dweblogic.Name=%SERVER_NAME% -Dweblogic.management.username=%WLS_USER% -Dweblogic.management.server=\"%ADMIN_URL%\" -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy=\"%WL_HOME%\server\lib\weblogic.policy\" weblogic.Server"
    goto finish
    :runAdmin
    @echo on
    set CMDLINE="%JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -classpath \"%CLASSPATH%\" -Dweblogic.Name=%SERVER_NAME% -Dweblogic.management.username=%WLS_USER% -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy=\"%WL_HOME%\server\lib\weblogic.policy\" weblogic.Server"
    :finish
    rem *** Set up extrapath for win32 and win64 platform separately
    if "%WL_USE_X86DLL%" == "true" set EXTRAPATH=%WL_HOME%\server\native\win\32;%WL_HOME%\server\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;%WL_HOME%\server\native\win\32\oci920_8
    if "%WL_USE_IA64DLL%" == "true" set EXTRAPATH=%WL_HOME%\server\native\win\64\;%WL_HOME%\server\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;%WL_HOME%\server\native\win\64\oci920_8
    if "%WL_USE_AMD64DLL%" == "true" set EXTRAPATH=%WL_HOME%\server\native\win\x64\;%WL_HOME%\server\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;%WL_HOME%\server\native\win\x64\oci920_8
    rem *** Install the service
    "%WL_HOME%\server\bin\beasvc" -install -svcname:"beasvc %DOMAIN_NAME%_%SERVER_NAME%" -delay:120000 -javahome:"%JAVA_HOME%" -execdir:"%USERDOMAIN_HOME%" -maxconnectretries:"%MAX_CONNECT_RETRIES%" -host:"%HOST%" -port:"%PORT%" -extrapath:"%EXTRAPATH%" -password:"%WLS_PW%" -cmdline:%CMDLINE% -log:"E:\MW_OBI\user_projects\domains\bifoundation_domain\AdminServer-stdout.txt"
    ENDLOCAL

    Hi Ronny,
    The procedure does work for 64-bit machines. I have done for OBIEE 11.1.1.5 on Windows 2008 64-bit machine.
    In your installAdminServer_service.cmd file, turn on echo and check if you get additional information. This will help you know which steps are getting executed and which aren't.
    Also, you can cross check your steps with document on Oracle Support - How to Install MS Windows Services For FMW 11g WebLogic Domain Admin and Managed Servers.
    Thanks

  • Start Oracle BI 11.1.1.5 as Windows service.

    I have the Simple Installation of Oracle BI 11.1.1.5 on Windows 2003. It's mean that only AdminServer there is in Weblogic. I've found sollution for BI installed as another server in Weblogic (AdminServer and bi_server1). Also I can start Weblogic as Windows service but BI doesn't start. Is it possible to set BI as Windows service?

    Hi, Deepak!
    Thank you for link but I have only one server in weblogic - Admin_server.

  • Setting up OIM to start as a Windows Service running under Weblogic 10.3.2

    Hi,
    On recommendation from our Oracle Rep. we have begun migrating our existing OIM installation on Oracle AS to a Weblogic Application Server. As such we are looking for a way to get the OIM application to run as a service in windows - so we dont have to start it manually after a reboot and so that system monitoring can alert us if/when the application crashes for some reason.
    I have asked Oracle support - which basically said that no such howto/documentation exists and that "One needs to debug on their own when face any issue." (whatever the h*** that means).
    I was thinking that we werent the first customers trying to get the OIM webapplication to start automatically under weblogic and that someone must have figured out a way to accomplish this ?
    Any advice on how to do this will be greatly appreciated.
    Thank you in advance.
    /Jacob

    Hi Jacob,
    See this post that I answered few time ago. Re: Keeping Remote Manager running - Windows
    Our OIM is running as a Windows Service.
    REnato

  • Weblogic Server does not show managed server started when I used the Windows service to start it.

    I created a windows service to start a managed server and the services was created successfully and stated.  WHen I go to the Weblogic Server Admn console, the server is still showing shutdown.  Whenm I try to start it, it returns with error that the the service is not able to start.  Has anyone ran into anything similar.  I am running on Windows Server 2008R2 and running Weblogic Server 10.3.6 and Fusion Middleware 11.1.6.
    C

    Hi,
    For starting managed server as windows service there is no need of nodemanager .
    Please follow the steps given in the below doc:
    How to Install MS Windows Services For FMW 11g WebLogic Domain Admin and Managed Servers (Doc ID 1060058.1)
    Thanks,
    Sharmela

  • Creating a windows Service for Weblogic 12c Domain hosting Apex 2.2 listener

    Hi Guys,
    Does anyone have experience of Weblogic 12c under windows?
    I have some difficulties to create a windows service for a domain.
    Here is the script to create the service:
    echo off
    SETLOCAL
    set DOMAIN_NAME=PMU
    set USERDOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\PMU
    set SERVER_NAME=LICORNE2012
    set WL_HOME=C:\Oracle\Middleware\wlserver_12.1
    set PRODUCTION_MODE=true
    set JAVA_OPTIONS=-Dweblogic.Name=LICORNE2012
    set WLS_USER=weblogic
    set WLS_PW=password
    set ADMIN_URL=http://LICORNE2012:7001
    set MEM_ARGS=-Xms256m –Xmx256m
    call "C:\Oracle\Middleware\wlserver_12.1\server\bin\installSvc.cmd"
    ENDLOCAL
    The service is created and when I start the service, it start then stop few second after.
    Here is the error I am getting.
    [Tue Jun 25 23:36:01 2013] [I] [initLog] initializing logger
    [Tue Jun 25 23:36:01 2013] [E] [initLog] No 'ROTATION_TYPE' header found. 'TIME' based rotation will be used by default.
    [Tue Jun 25 23:36:01 2013] [E] [initLog] No 'TIME_START_DATE' header found or value is invalid. Rotation will take place every 24 hours beginning today at 23:59:59
    [Tue Jun 25 23:36:01 2013] [E] [initLog] No 'TIME_INTERVAL_MINS' header found. Using the default value of 24 hours.
    [Tue Jun 25 23:36:01 2013] [I] [initLog] TIME based log rotation is ON
    [Tue Jun 25 23:36:01 2013] [I] [trigger] First rotation due in 1438 secs
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] console allocation successful. THREAD_DUMP redirection enabled
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] About to execute CreateThread()
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszCmdLine = -client -Xms32m -Xmx200m -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+UseSpinning -Dweblogic.Name=LICORNE2012 -Xverify:none -Djava.endorsed.dirs=C:\Oracle\MIDDLE~1\JDK160~1/jre/lib/endorsed;C:\Oracle\MIDDLE~1\WLSERV~1.1/endorsed -classpath "C:\Oracle\MIDDLE~1\patch_wls1211\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_oepe101\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_12.1.1.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;" -Dweblogic.Name=LICORNE2012 -Dweblogic.management.username=weblogic -Dweblogic.management.server="http://LICORNE2012:7001" -Dweblogic.ProductionModeEnabled= -Djava.security.policy="C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic.policy" weblogic.Server
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszJavaHome = C:\Oracle\MIDDLE~1\JDK160~1
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszExecDir = C:\Oracle\Middleware\user_projects\domains\PMU
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszOldPath = C:\app\oracle\product\11.2.0.3\jko\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszNewPath = C:\Oracle\MIDDLE~1\WLSERV~1.1\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\native\win\32\oci920_8;C:\app\oracle\product\11.2.0.3\jko\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszDelay = 0
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszStopClass = []
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszLog = [c:\temp\web.log]
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] Thread created successfully
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] Reporting SCM of SERVICE_START_PENDING with delay=0
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszHost = []
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszPort = []
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] Reporting SCM of SERVICE_RUNNING
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] waiting for multiple events
    [Tue Jun 25 23:36:01 2013] [I] [StartJVM] Parsing JVM Arguments
    [Tue Jun 25 23:36:01 2013] [I] [StartJVM] Initializing JVM
    [Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Loading class - weblogic.Server
    [Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Locating method "public static void main([]String)" in main class
    [Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Building arguments for main class
    [Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Invoking main class
    <25 juin 2013 23 h 36 CEST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <25 juin 2013 23 h 36 CEST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <25 juin 2013 23 h 36 CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 20.4-b02 from Sun Microsystems Inc..>
    <25 juin 2013 23 h 36 CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 13340309 Thu Feb 16 18:30:21 IST 2012
    WebLogic Server Temporary Patch for 13019800 Mon Jan 16 16:53:54 IST 2012
    WebLogic Server Temporary Patch for BUG13391585 Thu Feb 02 10:18:36 IST 2012
    WebLogic Server Temporary Patch for 13516712 Mon Jan 30 15:09:33 IST 2012
    WebLogic Server Temporary Patch for BUG13641115 Tue Jan 31 11:19:13 IST 2012
    WebLogic Server Temporary Patch for BUG13603813 Wed Feb 15 19:34:13 IST 2012
    WebLogic Server Temporary Patch for 13424251 Mon Jan 30 14:32:34 IST 2012
    WebLogic Server Temporary Patch for 13361720 Mon Jan 30 15:24:05 IST 2012
    WebLogic Server Temporary Patch for BUG13421471 Wed Feb 01 11:24:18 IST 2012
    WebLogic Server Temporary Patch for BUG13657792 Thu Feb 23 12:57:33 IST 2012
    WebLogic Server 12.1.1.0  Wed Dec 7 08:40:57 PST 2011 1445491 >
    <25 juin 2013 23 h 36 CEST> <Info> <Management> <BEA-141223> <The server name LICORNE2012 specified with -Dweblogic.Name does not exist. The configuration includes the following servers {AdminServer}.>
    <25 juin 2013 23 h 36 CEST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.management.ManagementException: [Management:141223]The server name LICORNE2012 specified with -Dweblogic.Name does not exist. The configuration includes the following servers {AdminServer}.
        at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:149)
        at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:41)
        at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
        at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
        at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:883)
        at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:570)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
        at weblogic.Server.main(Server.java:74)
    >
    <25 juin 2013 23 h 36 CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
    <25 juin 2013 23 h 36 CEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
    <25 juin 2013 23 h 36 CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
    [Tue Jun 25 23:36:11 2013] [I] [ExitHandler] Fire (-1)
    [Tue Jun 25 23:36:11 2013] [I] [ServiceStart] done waiting for multiple events. Wait=0
    [Tue Jun 25 23:36:11 2013] [I] [ServiceStart] Informing SCM about SERVICE_STOP
    Thanks for your help
    jko

    - not sure about your script, but obviously it doesn't detect the name of your managed server LICORNE2012 since there seems to be an admin server only in that domain.
    - alternatively you might try the approach posted by the AMIS guys
    Weblogic Admin and Managed servers as a Windows service
    - btw: having your domain under user_projects is not best practice (but not the problem here).
    good luck!

  • Problem creating a Windows Service to Start Weblogic Adminserver

    Hi, I'm having some trouble starting the windows service for weblogic.
    The creation happens succesfully but, when I try to start the service, it fails.
    Thanks
    Debugging service ....... beasvc bpm11g_A00ASRV304W08R2
    Command Line: ....... -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning -Xverify:none -classpath ....
    Current Directory: ....... D:\Oracle\Middleware1036\user_projects\domains\bpm11g
    Path: ....... D:\Oracle\MIDDLE~2\WLSERV~1.3\server\native\win\x64\;D:\Oracle\MIDDLE~2\WLSERV~1.3\server\bin;D:\Java\JDK17~1.0_0\jre\bin;D:\Java\JDK17~1.0_0\n
    Java Home: ....... D:\Java\JDK17~1.0_0
    Delay: ....... 0
    Thread created successfully!
    Unrecognized option: -client
    Error in java application .......
    The following line contains specific error details .......
    Unable to initialize the Java virtual machine!

    Hi,
    Remove the word "-client" from command line options. Try to start weblogic server from window services. If you are getting error please let me know.
    Now:
    Command Line: ....... -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:UseSpinning -Xverify:none -classpath..............+
    Changed to:
    Command Line:....... -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning -Xverify:none -classpath.............
    mark if this helps you.
    Regards,
    Kishore

  • Auto start weblogic 11gR1 as windows service?

    I have installed Weblogic Server 11gR1 and created a domain with only one server (Administration Server).
    I wonder if I can configure to run as windows service, in case of windows update and auto restart

    Copy this to a new file called createSvc.cmd and put it in the \wlserver_10.3\server\bin
    echo off
    SETLOCAL
    set DOMAIN_NAME=ADFDomain
    set USERDOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\ADFDomain
    set SERVER_NAME=AdminServer
    set PRODUCTION_MODE=false
    set JAVA_VENDOR=Sun
    set JAVA_HOME=C:\Oracle\Middleware\jdk160_18
    set MEM_ARGS=-Xms256m -Xmx512m
    call "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd"
    ENDLOCAL
    you will have to edit the DOMAIN_NAME to match yours
    and the USERDOMAIN_HOME as well. This is pretty much a default install of the WLS 10.3 - though I changed the domain name.
    I assume you used the default admin server name.
    Go to the command prompt and set the current directory to the \wlserver_10.3\server\bin directory.
    execute the createsvc.cmd and it should be done.

  • Start WebLogic Server as windows service !

    hello,
    How can setup WebLogic 8.1 to start as a windows service in win2000?

    Please see this link:
    http://e-docs.bea.com/wls/docs81/adminguide/winservice.html#1190977
    Thanks,
    Vishwas

  • Running Weblogic managed server as Windows service

    Hi,
    i'm using Weblogic 6.0 SP2 and i'm trying to run Managed Server as windows
    service (i'm using Win2k). I use a pretty long CLASSPATH in order to run my
    WebApplication and it looks like beasvc.exe truncates my CLASSPATH - that
    way my application wouldn't work.
    Is there any workaround to my problem ?
    Thanks alot for any help,
    Bybye.

    Windows has a command line limitation of 2K.
    Since you invoke beasvc.exe from command line, it will obviously get's
    truncated
    1)
    One work around will be to set the registry manually after invoking
    the beasvc.exe
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
    <service-name>\Parameters
    Alter cmdLine parameter to include everything. After this if you start
    the service, it should work.
    2)
    Put all the classpath in a file called C:/temp/foo.tmp (since classpath is
    long)
    Invoke beasvc.exe with cmdLine set as
    -cmdLine:... -classpath "@C:/temp/foo.tmp ...
    Since jvm pulls the classpath from the file, this should also solve your
    problem.
    Sun VM's support this feature as of 1.2 and above.
    Kumar
    Evgenya Borisenko wrote:
    Hi,
    i'm using Weblogic 6.0 SP2 and i'm trying to run Managed Server as windows
    service (i'm using Win2k). I use a pretty long CLASSPATH in order to run my
    WebApplication and it looks like beasvc.exe truncates my CLASSPATH - that
    way my application wouldn't work.
    Is there any workaround to my problem ?
    Thanks alot for any help,
    Bybye.

  • Starting oracle weblogic server as windows Service

    hi dear friends,
    i am working with oracle Weblogic server 10.3 and oracle Jdeveloper 11g
    i have an Ear file and deployed it on weblogic server and that work truly
    now,i want to start my server with windows Services
    for this goal i read some of the documents and created a windows service for my server
    when i started windows Service of the server just console of weblogic is start
    when i used debug mode for checking errors
    i saw bottom errors:
    java.lang.ClassNotFoundException: oracle.dms.wls.DMSStartup
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    Truncated. see log file for complete stacktrace
    >
    <Jul 26, 2009 9:09:32 AM IRDT> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "ODL-Startup", java.lang.ClassNotFoundException: oracle.core.ojdl.weblogic.ODLConfiguration
    java.lang.ClassNotFoundException: oracle.core.ojdl.weblogic.ODLConfiguration
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    Truncated. see log file for complete stacktrace
    >
    <Jul 26, 2009 9:09:32 AM IRDT> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "JPS Startup Class", java.lang.ClassNotFoundException: oracle.security.jps.wls.JpsWlsStartupClass
    java.lang.ClassNotFoundException: oracle.security.jps.wls.JpsWlsStartupClass
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    Truncated. see log file for complete stacktrace
    >
    <Jul 26, 2009 9:09:32 AM IRDT> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'C:\NEWORA~1\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
    <Jul 26, 2009 9:09:32 AM IRDT> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'C:\NEWORA~1\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
    <Jul 26, 2009 9:09:33 AM IRDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Jul 26, 2009 9:09:33 AM IRDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jul 26, 2009 9:09:34 AM IRDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'requestEar' due to error weblogic.management.DeploymentException: .
    weblogic.management.DeploymentException:
    at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:171)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:99)
    at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
    Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
    Truncated. see log file for complete stacktrace
    >
    how do solve their?

    hi
    i used your recommendation and set %WL_HOME%\common\bin\*commEnv.cmd to my path
    in this case when i am starting service of my server from windows Service console
    and then checked Deployment Files on my server
    i saw my EAR File could not start and it state was failed
    when i started from weblogic console
    it had error deploying time
    that error was :
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was: Locale not recognized
    how do i solve it
    regards
    aghaluie

Maybe you are looking for