0 Replies Latest reply: Apr 25, 2013 2:05 PM by 978623 RSS

    ERROR when running adminserver as windows service

    978623
      Hello all,
      I am running:
      windows 2008 server
      oracle weblogic server 11g
      oracle forms and reports
      JDK 1.7

      I am trying to make my admin server start as a window service. Basically i want the adminserver to automatically start itself when the server/computer is turned on and also if for some reason it is turned off it will automatically restart (if this is possible).


      -I wrote the script to install it as a service

      -It says it is successfully installed but there is a error

      here is bottom half of the output i got. the error is at bottom:
      ---------------------------------------------------------------------------------------------------------------------------------
      C:\Oracle\Middleware\user_projects\domains\FRClassicDomain>rem *** Install the s
      ervice

      C:\Oracle\Middleware\user_projects\domains\FRClassicDomain>"C:\Oracle\MIDDLE~1\W
      LSERV~1.3\server\bin\beasvc" -install -svcname:"beasvc FRClassicDomain_nyct2bwyu
      gosdv1 " -javahome:"C:\PROGRA~1\Java\JDK17~1.0" -execdir:"C:\Oracle\Middleware\u
      ser_projects\domains\FRClassicDomain" -maxconnectretries:"" -host:"" -port:"" -e
      xtrapath:"C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\;C:\Oracle\MIDDLE~
      1\WLSERV~1.3\server\bin;C:\PROGRA~1\Java\JDK17~1.0\jre\bin;C:\PROGRA~1\Java\JDK1
      7~1.0\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\oci920_8" -passwor
      d:"FRweblogic2" -cmdline:"-server -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+Use
      Spinning -Dweblogic.ProductionModeEnabled=true -da -Dplatform.home=C:\Oracle\
      MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.h
      ome=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Xms512m -Xmx1024m -XX:PermSize=256m
      -XX:MaxPermSize=512m -Doracle.home=C:\Oracle\Middleware\UGOSas1 -Ddomain.home=C:
      \Oracle\Middleware\user_projects\domains\FRClassicDomain -Dcommon.components.hom
      e=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.
      Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Oracle\MIDDLE~1
      \USER_P~1\domains\FRCLAS~1 -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules
      \oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\Oracle\MIDD
      LE~1\USER_P~1\domains\FRCLAS~1\config\FMWCON~1\servers\nyct2bwyugosdv1 -Doracle
      .domain.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\FRCLAS~1\config\FMWCON~1
      -Digf.arisidbeans.carmlloc=C:\Oracle\MIDDLE~1\USER_P~1\domains\FRCLAS~1\config\
      FMWCON~1\carml -Digf.arisidstack.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\FRCLA
      S~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Oracle\MIDDLE
      ~1\USER_P~1\domains\FRCLAS~1\config\fmwconfig\jps-config.xml -Doracle.deployed.a
      pp.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\FRCLAS~1\servers\nyct2bwyugosdv1 \tmp
      \_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Ora
      cle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\
      modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.pr
      otocol -Dweblogic.jdbc.remoteEnabled=false -Dwc.oracle.home=C:\Oracle\Middlewa
      re\UGOSas1 -Dclassic.oracle.home=C:\Oracle\Middleware\UGOSas1 -Dem.oracle.home=
      C:\Oracle\Middleware\oracle_common -Djava.awt.headless=true -Dweblogic.managemen
      t.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logError
      sToConsole=false -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1036\profiles\d
      efault\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\defaul
      t\sysext_manifest_classpath -classpath \"C:\Oracle\MIDDLE~1\patch_wls1036\profil
      es\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_oc
      p371\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\PROGRA~1\Java
      \JDK17~1.0\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.ja
      r;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modul
      es\features\weblogic.server.modules_10.3.6.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\s
      erver\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;C:\Oracle\MIDDLE~1\O
      RACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\Oracle\MIDDLE~1\patch_wls103
      6\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\
      patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\PROGR
      A~1\Java\JDK17~1.0\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblog
      ic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE
      ~1\modules\features\weblogic.server.modules_10.3.6.0.jar;C:\Oracle\MIDDLE~1\WLSE
      RV~1.3\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;C:\Oracle\Mi
      ddleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\oracle_commo
      n\modules\oracle.dms_11.1.1\dms.jar;C:\Oracle\Middleware\oracle_common\modules\o
      racle.jmx_11.1.1\jmxframework.jar;C:\Oracle\Middleware\oracle_common\modules\ora
      cle.jmx_11.1.1\jmxspi.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.odl_
      11.1.1\ojdl.jar;C:\Oracle\Middleware\UGOSas1\common\wlst\lib\adf-share-mbeans-wl
      st.jar;C:\Oracle\Middleware\UGOSas1\common\wlst\lib\mdswlst.jar;C:\Oracle\Middle
      ware\UGOSas1\common\wlst\resources\auditwlst.jar;C:\Oracle\Middleware\UGOSas1\co
      mmon\wlst\resources\jps-wlst.jar;C:\Oracle\Middleware\UGOSas1\common\wlst\resour
      ces\jrf-wlst.jar;C:\Oracle\Middleware\UGOSas1\common\wlst\resources\oamap_help.j
      ar;C:\Oracle\Middleware\UGOSas1\common\wlst\resources\oamAuthnProvider.jar;C:\Or
      acle\Middleware\UGOSas1\common\wlst\resources\ossoiap_help.jar;C:\Oracle\Middlew
      are\UGOSas1\common\wlst\resources\ossoiap.jar;C:\Oracle\Middleware\UGOSas1\commo
      n\wlst\resources\sslconfigwlst.jar;C:\Oracle\Middleware\UGOSas1\common\wlst\reso
      urces\wsm-wlst.jar;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\commons-cli-1.1.jar;C
      :\Oracle\MIDDLE~1\ORACLE~1\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar
      ;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~
      1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\serv
      er\lib\xqrl.jar\" -Dweblogic.Name=theserver84 -Dweblogic.management.usernam
      e=FRweblogic -Dweblogic.ProductionModeEnabled=true -Djava.security.policy=\"C:\O
      racle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy\" weblogic.Server"
      beasvc FRClassicDomain_theserver84 installed.

      C:\Oracle\Middleware\user_projects\domains\FRClassicDomain>-log:"C:\Oracle\Middl
      eware\user_projects\domains\FRClassicDomain\servers\AdminServer\logs\AdminServer
      -stdout.txt"
      The filename, directory name, or volume label syntax is incorrect.

      C:\Oracle\Middleware\user_projects\domains\FRClassicDomain>ENDLOCAL

      C:\Oracle\Middleware\user_projects\domains\FRClassicDomain>pause
      Press any key to continue . . .
      ------------------------------------------------------------------------------------------------------------------------------------------
      -There happens to be no "AdminServer-stdout.txt" file at this required directory and still produces this error if i make a .txt document with exact file name.

      -Is this suppose to be here already? am i supposed to create it? This seems to be a simple probhlem that i may not be getting. Ant help will be approtiated.

      thank you