startWebLogic.cmd as Windows Service

Hello

Need help with setting up startWebLogic.cmd as Windows Service and deploy the file (P6.ear) in the console. What are the guides step by step in putting in place this startWeblogic.cmd as service windows and deployment primavera p6.ear file in the console. I only managed until the implementation at the beginning of the weblogic as service windows server, but I'm not able to deploy the file p6.ear primavera in the console. State of the service is only in Mode "start running". It does not change the mode 'active '. Anyone could guide by providing codes? Need help with this area.

Hello

I guess when simply run the console P6 deploys very well.

Once I have it running in the console, here are the steps that I pass by - sorry, it seems pretty complicated, but after you have done a few hundred times it seem too loud that it allows to

Step 1 - check that Weblogic does not require a name of user and password

-If you are in development, this is already done and you can proceed to step 2

-If you use the mode of production, then you want to create a file called boot.properties under C:\Oracle\Middleware\user_projects\domains\P6\servers\AdminServer\security

* I'm assuming that the following

* With the help of windows with a patch of default weblogic installation

* Field called P6

* You have installed for an AdminServer (I'm sure it would be a very similar process if you did to a managed server)

* You will very probably create the final folder of 'security '.

Contents of this file requires

username = weblogic

password =

Save and close this file and rerun weblogic in a console. This time it should not prompt for a name of user and password (there is a reference to boot.properties)

If you check the boot.properties file after that, you will notice that the username and password are now encrypted.

End of the weblogic after that session.

Step 2 - basic Weblogic service configuration

I want to make some customizations here so that the Windows Service name is logical and the process comes with a name dedicated rather than java.exe or wlsvc.exe (or beasvc.exe depedning on the version of weblogic)

I'll assume weblogic 12.1 - if you use 10.3.6 the steps are basically the same except beasvc.exe is now called wlsvc.exe

Step 2 - setting up the files

Go to C:\Oracle\Middleware\wlserver_12.1\server\bin

Copy and rename the file wlsvc.exe to be wlsvcP6.exe (just what you rename it, it is what appears in the Task Manager)

Copy and rename the file uninstallSvc.cmd to be uninstallSvcP6.cmd

Copy and rename the file installSvc.cmd to be installSvcP6.cmd

Step 2b - implemented uninstall (I do it for good luck that I hope never to need)

Edit the file uninstallSvcP6.cmd

Scroll to the end and fine line which should look like

'% WL_HOME%\server\bin\wlsvc' - remove - ServiceName: "wlsvc % _ % SERVER_NAME % domain_name.

Change is:

"% WL_HOME%\server\bin\wlsvcP6' - remove - ServiceName:"PrimaveraP6. "

The two changes that we do here is for her to reference the renamed file wlsvc.exe and give it a nice service name in Windows Services

Save and close the file.

Step 2 c - implementation of the installation

Edit the file installSvcP6.cmd

Scroll to the end and very well the line that starts with

'% WL_HOME%\server\bin\wlsvc' - install - ServiceName: "wlsvc % _ % SERVER_NAME % domain_name.

It's changing

"% WL_HOME%\server\bin\wlsvcP6' - install - ServiceName:"PrimaveraP6. "

Scroll up to near the top of the file and fine lines

off @echo

SETLOCAL

After that you will want to write the following (change these for your environment)

Set DOMAIN_HOME = P6

Set USERDOMAIN_HOME = D:\Oracle\Middleware\user_projects\domains\P6

Define SERVER_NAME = AdminServer

Set PRODUCTION_MODE = true

Set JAVA_VENDOR = Sun

Set JAVA_HOME=C:\Java\jdk1.6.0_38

(Sometimes I also put the USER_MEM_ARGS TV as well, but it should not be necessary after that the next step is done)

The two lines below that all the statmeents SET should be

Set WL_HOME=D:\Oracle\Middleware\wlserver_12.1

Call "% WL_HOME%\common\bin\commEnv.cmd".

It's changing

Set WL_HOME=D:\Oracle\Middleware\wlserver_12.1

@rem call '% WL_HOME%\common\bin\commEnv.cmd '.

call %USERDOMAIN_HOME%\bin\setDomainEnv.cmd

Basically, we are saying to the service is not to use the P6 areas instead of the default commEnv.cmd file setDomainEnv file

I usually have to chuck a declaration of break at the end of the file so I can see if it succeeded or not.

Save and close this file

Step 3 - installation of the service

Right-click on the installSvcP6.cmd and run as administrator

I hope that you will get a message saying that it successfully installed.

Take a deep breath, cross you fingers and start the PrimaveraP6 service

Watch for wlsvcP6.exe task manager

With some luck, after a minute or two you should have race P6 (make sure that you still haven't P6 running in a console window, otherwise it will take place in port conflicts).

Good luck.

Concerning

Alex

Tags: Oracle Applications

Similar Questions

  • Received a call from the center of Windows Service saying my Internet download something and told me to go to run - > cmd - > and type in strive but then hung up

    OK my firefix in the computer played upwards and today I get a call from 'windows service center' on my internet download something wrong and some viruses (I did not really understand the cause of his accent) and she addressed me by my name and said that there was an error report sent to them... I don't use this computer sound more for my parents who could easily tell that it has been sent... then ask him which causes computer that I have more than one and she asked me to check for computer label... so I turn it on and she told me to go to run-> cmd-> and type strive I think but as soon as I pressed on enter she hung up so now im getting really worried...

    Hello

    1. do you ever run a repair of Microsoft call?

    Microsoft does not make unsolicited calls. Take a look at the thread below.
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-security/received-scam-phone-call/f7c13381-f0ab-42E3-A990-ae473257e3ce

  • Starting AdminServer (WebLogic) EM (Enterprise Manager) in Windows services

    Hello

    I installed

    WebLogic Server 1036 and forms/States 11 GR 2

    Installed WebLogic (AdminServer) to start with Windows Services!

    It starts with Windows and open localhost: 7001/console ' successfully

    echo off
    SETLOCAL
     set DOMAIN_NAME=FormsDomain
     set USERDOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\FormsDomain
     set SERVER_NAME=AdminServer
     set PRODUCTION_MODE=true
     set WLS_USER=weblogic
     set WLS_PW=weblogic1
     call C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd
    ENDLOCAL
    

    Everything is going well so far!

    However, I can't EM (Enterprise Manager) "localhost: 7001/em '.

    When I start the Server Admin Menu > Windows-Start Menu-Programs-Oracle Instance classic - FormsInst > start Weblogic Server Admin

    I can get ' localhost: 7001/em ' usually

    Can someone give me an idea?

    Hello

    Problem is with the classpath settings. Try calling setDomainEnv.cmd before installsvc.cmd.

    Another way is to start adminserver via command line (using startWeblogic.cmd), and then copy all classpath entries in atext file >.

    Then during the installation of the service try to use the file using classpath-@> attribute.

    You can find more information on in the link for the use of file classpath.txt below.

    Setting up an Instance of WebLogic Server as a Windows Service

    Concerning

    Rosario

  • Problem: Deployment of the server WL10.3 started as a Windows Service Instance

    Hello world

    I sent my J2EE Application to a stand-alone Server Instance WebLogic (in mode of development) has started from the level of command of Windows via startWebLogic.cmd. I also tested the deployment of a managed Server Environment(1 AdminServer+2 MS Servers in the cluster; development mode) cluster, all servers started from the command line. The application could be tested and everything worked fine.

    But:
    When I set up the WebLogic Server instances as a Windows service (as described http://e-docs.bea.com/wls/docs103/server_start/winservice.html) my application cannot be deployed at boot time.
    3 ClassNotFoundExceptions, I get:
    -at the start of the class "DMS-Startup" (oracle.dms.wls.DMSStartup)
    -at the start of the class "ODL-Startup" (oracle.core.ojdl.weblogic.ODLConfiguration)
    -at the start of the class 'Class of startup JPS' (oracle.security.jps.wls.JpsWlsStartupClass)

    The Service is started but under Administration Console/deployments the Enterprise Application is marked as 'New' as opposed to 'active '. Other deployments: adf.oracle.domain (1.0, 11.1.1.0.0), (1.2, 1.2.7.1) jsf and jstl (1.2, 1.2.0.1) appear as 'Active'.
    I tried to redeploy the Application directly from the JDeveloper for the autonomous WLS Runspace (one server) - as I did before.
    The deployment has failed:
    [Deployer: 149034] An exception has occurred for task [Deployer: 149026] deploy application... of AdminServer. :.
    weblogic.management.DeploymentException:
    # Incomplete deployment.
    # 25 November 2008 21:58:53
    Deployment failed

    Why the deployment on the WLS Instance has started from the command line and why does fail when started as a Windows Service?

    I am using WLServer 10.3 and JDeveloper 11 g on Windows Vista operating system - both installed via jdevstudio11110install.exe. My Web Application uses BC and ADF Faces.
    The Windows Service is configured in the following manner in a specific server under the USERDOMAIN_HOME directory script:
    Set DomainName = mydomain
    Set USERDOMAIN_HOME = C:\Oracle\Middleware\user_projects\domains\mydomain
    Set JAVA_OPTIONS = Dweblogic.Stdout =... Dweblogic.Stderr =...
    MEM_ARGS =-Xms40m - Xmx250m set
    call "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd".

    And there is another problem with the Windows Service:
    I'm not able to uninstall the service to a specific server scenario, affecting first the DomainName and the SERVER_NAME = AdminServer and that
    use of the call "C:\Oracle\Middleware\wlserver_10.3\server\bin\uninstallSvc.cmd".
    I must do this directly in the registry.
    Missing something? What's wrong?

    Help, please!
    Thank you
    Anita

    Published by: user586097 on 26.11.2008 11:55

    Published by: user586097 on 26.11.2008 12:00

    Published by: user586097 on 26.11.2008 12:02

    Hello

    I had the same problem and made an SR by Oracle. Solution, in the script to create the windows service, you must add a call to the setDomainEnv.cmd before the call to installSvc.cmd.

    ..
    MEM_ARGS =-Xms512m-Xmx512m set
    call "C:\Oracle\Middleware\user_projects\domains\USER_domain\bin\setDomainEnv.cmd".
    call "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd".
    ENDLOCAL

    It works now, Peter

  • Windows service pack 1 for x 64 8007045 D-based systems error

    I am trying to install updates, especially the windows service pack 1 for x 64 systems and I am getting the error 8007045 D. He gets almost throughout then this error appears.

    Anyone have any ideas?

    Ta

    Hello Mummyd,

    Thanks for your post.  If please make your way through the troubleshooting steps below and let us know the results of each utility so that we can better help you get this issue resolved.

    1. download / install and run the tool update system - CheckSur.  You can download the tool from the link below.

    Download the tool update system (64-bit)

    2. click Start type cmd (you should see the command prompt fill up) right click and select run as administrator

    Inside the command prompt, type sfc/scannow

    For more information regarding the file system checker.

    * If corruption is found, see How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    3. once the SFC is finished, check your hard drive for errors.

    4 restart the system update readiness tool. If errors have been eliminated, try to reinstall Service Pack 1. If this is not the case, go to step 5.

    5. perform a Startup Repair, when starting, try to install the Service Pack.

    We can't wait to hear back on your part.

    See you soon

  • Problem after installing Windows Service Pack 3 on Windows XP Home edition error Media pc: files which are required for Windows to run properly have been replaced by unknown...

    Original title: problem after installing Windows Service Pack 3 on Windows XP Home Media edition pc

    My pc runs Windows XP Home Media edition.  I installed Windows Service Pack 3 successfully, or so I thought. Whenever I turn on my pc a box opens indicating "files which are required for Windows to run properly have been replaced by unrecognized versions."  To maintain the stability of the system.  Windows must restore the original versions of these files.  Install your Windows XP Professional CD2.  I don't have any Windows XP Professional CD that I use the Home Media Edition. If I press Cancel repeatedly, the window disappears to return with the same information, but ask me to install Windows XP Professional CD3.  How can I stop this happening?

    Hello

    Step 1: I suggest you perform the SFC scan on the computer and check.

    SFC tool scans system files and replaces incorrect versions of system files by using the correct versions.

    To run the System File Checker tool, follow these steps:

    1. Click Start and type cmd in the box start the search.
    2. right click on cmd in the list programs and then click Run as administrator.
    If you are prompted for an administrator password or a confirmation, type your password or click on continue
    3. at the command prompt, type the following line and press ENTER:

    sfc/scannow

    Reference: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/system_file_checker.mspx?mfr=true

    Step 2: Also, look for error messages in the event viewer. If you find error messages after return the exact error message so that we can help you better.

    Reference:
    Using the event viewer
    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/snap_event_viewer.mspx?mfr=true

    Understanding of event viewer
    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/event_overview_01.mspx?mfr=true

    Procedure to view and manage event logs in Event Viewer in Windows XP
    http://support.Microsoft.com/kb/308427

  • System Event Notification service - cannot connect to a Windows Service. Windows could not connect to the System Event Notification service

    I am unable to connect to my network wireless with my laptop Sony, (Vista home premium). This follows an infection in my desktop PC with a Trojan which did not stop, but slow internet browsing. I reinstalled vista windows on the pc and it works fine now bur my still gives mobile me this message. "Unable to connect to a Windows Service. Windows could not connect to the System Event Notification service. This problem prevents limited users to logon to the system. As an administrator, you can view the system event log to see why the service did not respond. "I am the administrator on my pc and laptop. I tried to change the user nothing helps. I use Vista Home Premium Service Pack 1. Intel Core 2Duo T7250 2 GHz. 2 GB of RAM. 32-bit. Sony Vaio FZ31M. If you can give me instructions on how to remedy the situation, it would be appreciated. Thank you, Tony

    Hi 1234Tony,

    First of all, I suggest you that you also scan your laptop for infection by the virus. Second, reset TCP/IP stack Winsock settings. This could correct mistakes involving internet connectivity as a result of problems of installation of network software, due to a virus, trojan or malware infection or even due to disinfection of spyware security software.

    To repair and put back the Windows Vista

    1. Click the Start button.
    2. Type Cmd in start it the search text box.
    3. Press Ctrl-Shift-Enter keyboard shortcut to run command as administrator prompt. Allow elevation request.
    4. Type netsh winsock reset in the command line shell, and then press the Enter key.
    5. Restart the computer

      If please reply and let us know if your problem is resolved or if you need further assistance

    David O
    Microsoft Answers Support Engineer
    Visit our and tell us what you think.

  • I get the following message: windows service install could not be accessed. Anyone know what I can do?

    I can't download anything to my cmptr more.  I get the following message: windows service install could not be accessed.  Anyone know what I can do?

    Hello

    ·         You will remember to do recent changes on the computer before this problem?

    I suggest you follow the steps below:

    Method 1:

    Check if the installer of windows services are running, follow the steps below:

    a. Click Start, type Services.msc and press ENTER.

    b. double-click Windows Installer.

    c. set the start type for Windows Installer to manual.

    d. Click Start to start the service.

    e. click OK.

    Method 2:

    Re-record an installer of windows follow the steps below:

    a. click Start, click run and then type cmd in the dialog box, and then click command prompt.

    b. at the command prompt, type the following and press ENTER after each line:

    c. to unregister the type install windows MSIExec /Unregister.

    d. to re-register MSIExec/regserverwindows installer type.

    e. try to download.

    Method 3:

    If the above step fails the utility auditor system files to run it and check the missing or corrupt files follow the steps outlined in the article below:

    http://support.Microsoft.com/kb/929833

    I hope this helps.

  • installation of Windows services has stopped working when you try to install the software

    Unable to install software.tried cmd method, nothing happens

    Original title: installation of windows services has stopped working

    Hello Mohit,

    Welcome to the Microsoft Community Forums.

    I understand that you have a problem with the Windows Installer service.

    But I would like to know some more information on this issue to help you better.

    (1) what is the full error message?

    (2) what software are you trying to install?

    (3) have you tried to install any other software?

    (4) when you say, "tried cmd method" what exactly mean you?

    In the meantime, please try to follow the following suggestions to solve the problem.

    Method 1: First of all, try to follow the link below to troubleshoot the Windows Installer Service.

    How to fix problems with the Windows service install
    Note: See "how to reset the computer to start normally after a boot minimum troubleshooting" to prepare the computer to start as usual after a repair.
     

    I hope this helps. Otherwise, feel free write us back and we will be happy to help you.

    Thank you.
  • How to run the managed server weblogic as windows service

    Hello friends,

    I want a guide step by step to run the managed server and the application via the windows service.

    I am able to create admin server as a windows service. I tried a lot of managed server, but not luck.

    Please help me to solve it.

    Hello

    Here am attached the script to create a windows service for p6 service I used for my management environment.

    SETLOCAL

    Set DomainName = P6EPPM

    Set USERDOMAIN_HOME = C:\Oracle\Middleware\user_projects\domains\P6EPPM

    Define SERVER_NAME = P6

    Set PRODUCTION_MODE = true

    Set ADMIN_URL =http://p6eppmdev:7001

    CD % USERDOMAIN_HOME %

    call %USERDOMAIN_HOME%\bin\setDomainEnv.cmd

    call "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd".

    ENDLOCAL

    I hope it will work for you.

    Try this and updated the forum.

    Concerning

    Kumar

  • Error when setting up a server as a Windows Service WebLogic Instance.

    Hello!

    I have the Windows Server 2008 R2 Enterprise and installed Oracle WebCenter Content Server. I try to put in place a management server and a managed server to run as Windows services, with follow: [http://docs.oracle.com/cd/E12840_01/wls/docs103/server_start/winservice.html].
    First of all, I'm trying to set up the WebLogic as a service.
    For her i marked the own server script:

    SETLOCAL
    Set DomainName = base_domain
    Set USERDOMAIN_HOME = c:\Oracle\Middleware\user_projects\domains\base_domain
    Define SERVER_NAME = WebLogic
    Set WLS_USER = weblogic
    Set WLS_PW = password
    call "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd".
    ENDLOCAL

    With this batch file, I make the new Windows Service, but when I try to start it, I get the follow error: the service of base_domain_WebLogic of beasvc on the Local computer has started and stopped. Some services stop automatically if they are not in use by other services or programs.

    What may be the cause?

    I tried clear the event log, there is nothing to talk about the cause of the problem.
    And I tried to set the property of the logon service-> This account, where I put the user and the password I use to connect to the Windows Server.

    Ok. Send me an email. I copy the notes for you.

  • Expose weblogic Server OSB (domain unique topology) as a Windows Service

    Hi all

    We have a customer requirement in the dev environment (windows Server 2003) to display weblogic OSB server as windows service. We use a topology for domain of single server, where the OSB and Admin Server running in the same JVM.

    We are referring to this document (http://download.oracle.com/docs/cd/E12840_01/wls/docs103/server_start/winservice.html) for the exhibition of weblogic server as windows service, but somehow it does not work if the artifacts of OSB are also present on the management server. When we start the service, we receive a lot of questions (many errors in the server log file) due to lack of OSB JAVA_OPTIONS and CLASSPATH. The sbconsole wont start even.

    So what we did essentially, we changed the installSvc.cmd to call setDomainEnv.cmd instead of commEnv.cmd. This solved the problem and we could start sbconsole and publish agents and services buiness him. However we are still receiving an error in JCATransport due to which JCA all base adapters do not work. The error is:

    < exception in JCATransportAppListener.preStart, java.lang.IllegalStateException: ALSB_HOME environment variable not defined
    java.lang.IllegalStateException: ALSB_HOME environment variable not defined
    at com.bea.wli.sb.transports.jca.JCATransportProvider.loadAdapterList(JCATransportProvider.java:943)
    at com.bea.wli.sb.transports.jca.JCATransportProvider.getInstance(JCATransportProvider.java:80)
    at com.bea.wli.sb.transports.jca.JCATransportAppListener.preStart(JCATransportAppListener.java:16)
    to weblogic.application.internal.flow.BaseLifecycleFlow$ PreStartAction.run (BaseLifecycleFlow.java:282)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    Truncated. check the log file full stacktrace

    ALSB_HOME is already occupied in setDomainEnv.cmd during the creation of the service. We have also tried to set this variable in the windows environment (user variables and system variables), but his does not work. We get this error every time.

    Can someone help me please? is there something specific that needs to be done to run the OSB as a service (in single domain topology).

    Published by: Amit Sachdev on March 29, 2011 12:12 AM

    You can see the ID 1276742.1 metalink note as well. It is a known problem.

    Kind regards
    Anuj

  • Essbase Service does not appear on the list of Windows Services

    Hi gurus,

    I tried to install the Hyperion Essbase 6.2.4 on Windows Server 2003 version and most of the thing works except that the Essbase Service itself does not appear on the Panel of Windows Services, whether on the previous installation of Windows 2000 Server.

    I tried reinstalling the software but the problem is still not resolved. I need to have Essbase Service on the list to allow the availability of service 24 x 7.

    I know that the Essbase version is quite outdated, but I'd be happy to hear from you guys.

    All advice please?

    Thank you.

    In version 6, you need to set your ip to the service. Go to start run and type cmd and click ok
    Then in the command window type
    Essbase.exe - service installation and press ENTER. The device must install.

  • Order of windows services

    Hi guys,.
    I recently installed Oracle EBS R12.1.1 on Windows XP Pro, well I want to know in what order oracle windows services are running/loaded(with what parameters) to start windows-up... i want to batch files to start and stop the service manually.

    Thanks again for the response...
    Well I solved my problem by using the following note
    [339795.1 | https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=339795.1]

  • Support from Toshiba for Microsoft Windows Service Packs?

    Does Toshiba provide the downloads
    for the Microsoft Service Pack
    (For example, Windows XP Service Pack)?

    The easiest way for you to find information about the Windows Service Packs is to surf the site of Toshiba in your country and watch download & support.

    You will find the a Service Pack Microsoft of category.

    For example, the link for the Toshibe Europe is-> http://eu.computers.toshiba-europe.com/

Maybe you are looking for

  • Thunderbird deletes all emails at random times, but is set to "never erase" them.

    He always removes them when the program is closed and sometimes when it is minimumized. Also deleted the file archives. Most seem to be in the "basket", but not all. It started at the last update.

  • HP pavilion g6 2302ax: did not find drivers for HP pavilion 2302ax g6

    Hello Sir,I use the HP pavilion g6 2302ax model. I tried updating my drivers but I could not find the drivers for it on the site.Any help will be appreciated.

  • On Pdf Adobe reader.

    Dear Sir, by mistake I uninstall my software PDF from my laptop, and now when I am re installing an adobe Online PDF reader, all the icons in my laptop is to convert icon PDF. There is no virus in my laptop. Thank you.

  • Dell E7270 assigned to 2013 MDT

    Hello now I get an error when you deploy Windows 7 x 64 Enterprise for Dell E7270s. Windows comes to apply the settings of the system, and then comes up with an error window that says that Windows 7 could not configure one or more system components.

  • Lost ringtones and alert message tones blackBerry smartphones

    Hello.  I've just updated my Bold 9700 software to version 6.0.  In the process, I lost several tones ringtones and alert of the previous version of the software (I don't remember the version I had or the specific names of the tones).  Anyway for tho