oracle - Launch weblogic app as widows service. Unable to load jvm.dll -
i create windows service weblogic application using util beasvc. when app use 32bit jvm - ok. if use 64 bit jvm - beasvc -debug "myservice" show аn error. parametr -client :
java home: ....... c:\program files\java\jdk1.8.0_144 delay: ....... 0 thread created successfully! error in java application ....... following line contains specific error details ....... unable find jvm!
with parametr -server :
java home: ....... c:\program files\java\jdk1.8.0_144 delay: ....... 0 thread created successfully! error in java application ....... following line contains specific error details ....... unable load 'c:\program files\java\jdk1.8.0_144\jre\bin\server\jvm.dll'
os= windows server 2008 64bit weblogic server version: 10.3.6.0
line form installsvc.cmd "c:/oracle/middleware/wlserver_10.3/server/bin/beasvcx64.exe" -install -svcname:"beasvc base_domain_adminserver" -javahome:"c:\program files\java\jdk1.8.0_144" -execdir:"c:/oracle/middleware/user_projects/domains/base_domain" -maxconnectretries:"%max_connect_retries%" -host:"%host%" -port:"%port%" -extrapath:"%extrapath%" -password:"%wls_pw%" -cmdline:%cmdline%
i solved problem. weblogic can work in 2 modes: 32 or 64 bits. condition must set in file %wl_home%\common\bin\commenv.cmd
, define parameters
set wl_use_x86dll=false set wl_use_ia64dll=false set wl_use_amd64dll=true @rem java_use_64bit, true if jvm uses 64 bit operations set java_use_64bit=true
Comments
Post a Comment