Results 1 to 5 of 5

Thread: adding Weblogic 12.1.2.00 Admin Server as a window service

  1. #1

    adding Weblogic 12.1.2.00 Admin Server as a window service

    has anyone had any success adding weblogic 12.1.2.00 as a windows service. documentation is written for weblogic 10.3.x. created new CreateWLSSvc.cmd and modified installsvc.cmd. when running CreateWLSSvc from command prompt, get error message:

    Files\java\jdk1.7.0_51"\jre\bin;C:\Program was not expected at this time.


  2. #2

    Re: adding Weblogic 12.1.2.00 Admin Server as a window service

    Here it goes. replace X:\<WLS_HOME> with your weblogic home.

    1) Navigate to X:\<WLS_HOME>\user_projects\domains\<DOMA IN>\servers\AdminServer and create a folder called security

    2) Inside the folder create a file called boot.properties and include your weblogic username and secure password

    3) On X:\<WLS_HOME>\wlserver\server\bin, create a new file called InstallAdminServerSvc.cmd and add the following items to it, adjusting the paths accordingly

    echo off
    SETLOCAL
    set DOMAIN_NAME=<PUT YOUR DOMAIN NAME HERE>
    set USERDOMAIN_HOME=X:\<WLS_HOME>\user_projects\ domains\<YOUR DOMAIN NAME HERE>
    set SERVER_NAME=AdminServer
    set PRODUCTION_MODE=true
    cd %USERDOMAIN_HOME%
    call %USERDOMAIN_HOME%\bin\setDomainEnv.cmd
    call "X:\<WLS_HOME>\wlserver\server\bin\installSv c.cmd"
    ENDLOCAL

    4) Make sure the Admin Server is down

    5) Run InstallAdminServerSvc.cmd as administrator

  3. #3
    https://community.oracle.com/thread/...art=0&tstart=0


    Hi all,

    I did upgrading Weblogic 12.1.2 To 12.1.3.
    And did reconfiguration also.

    Reference -->https://dbaclass.com/article/steps-u...12-1-2-12-1-3/

    But after WebLogic upgrade, windows services for the domain


    instances are not starting,

    Can you help me please and resolve the above issue.


    Thanks in advance!

  4. #4
    SETLOCAL
    set DOMAIN_NAME=XXX
    set USERDOMAIN_HOME=E:\WebLogicSvr\user_projects\domai ns\XXX
    set SERVER_NAME=JDVXXX
    set PRODUCTION_MODE=true
    set ADMIN_URL=http://XXXXXX:7001
    set JAVA_VENDOR=Oracle
    set JAVA_HOME=E:\Java\JDK
    set JAVA_OPTIONS=-XX:MaxPermSize=350m -Xms32m -Xmx1024m -Djava.xml.rpc.ServiceFactory=oracle.j2ee.ws.client .ServiceFactoryImpl
    call "E:\WebLogicSvr\user_projects\domains\XXX\bin\setD omainEnv.cmd"
    call "E:\WeblogicSvr12_1_3\wlserver\server\bin\installS vc.cmd"
    ENDLOCAL


    Above is instance creating .cmd file.

    call "E:\WebLogicSvr\user_projects\domains\XXX\bin\setD omainEnv.cmd"
    call "E:\WeblogicSvr12_1_3\wlserver\server\bin\installS vc.cmd"

    First call is using weblogic 12.1.2 (old)
    Second call is using weblogic 12.1.3 (new)
    **can you justify these calls?

    Thanks

  5. #5
    Senior Member
    Join Date
    Mar 2002
    Location
    Seal Beach, CA
    Posts
    1,319
    It seems you are trying to create a Windows service to start up your JDV instance, rather than the AdminServer service that was the original subject of this thread.

    Is that what you are trying to do? If so, then I find that it's easier to write a WebLogic script to start up an instance (or instances), put that in a batch file, and make a service out of that. It does depend on having NodeManager and AdminServer up and running first though.
    Ken Wong
    Certified in CNC Implementation and Oracle Cloud Architect
    B73.1.1 through E920
    DB2/400, Oracle, SQL Server
    AS/400, Linux, Windows, Citrix, OAS/WebLogic, WebSphere
    AIS, One View, Orchestrator, UPK
    VMWare, AWS, Azure, Oracle Cloud

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
The legal restrictions and terms of use applicable to this site are available here.
Use of this site signifies your agreement to the terms of use.
JDELIST is NOT affiliated with JD Edwards® & Company, Oracle or Peoplesoft. Contents of this site are neither endorsed nor approved by JD Edwards® & Company and, or Oracle.