posted 18 years ago
hi all
i got a trouble: i install a weblogic server windows service. then i want to start it. but after i prees the start button, the service immediately stops. i watched the log. the log says that the server tries to start, it's running some commands, but then an exception falls:
<Feb 9, 2006 5:02:50 PM EET> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Server installed as Windows NT service with incorrect password for user weblogic; The password may have been changed since the server was installed as a Windows NT Service. Contact the Windows NT system administrator.
weblogic.security.SecurityInitializationException: Server installed as Windows NT service with incorrect password for user weblogic; The password may have been changed since the server was installed as a Windows NT Service. Contact the Windows NT system administrator.
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceManagerDelegateImpl.java:795)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:893)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:775)
at weblogic.security.SecurityService.start(SecurityService.java:133)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
>
it says that the password is wrong. but i can swear it's right!! please, look at the part of my installService.bat and say what i'm doing wrong:
set DOMAIN_NAME=Workspace
set SERVER_NAME=AdminServer
set WLS_USER=weblogic
set WLS_PW=weblogic
set ADMIN_URL=t3://localhost:45000
set PRODUCTION_MODE=true
...
set CMDLINE="%JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -classpath \"%CLASSPATH%\" -Dweblogic.Name=%SERVER_NAME% -Dweblogic.management.username=%WLS_USER% -Dweblogic.management.password=%WLS_PW% -Dweblogic.management.server=\"%ADMIN_URL%\" -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy=\"%WL_HOME%\server\lib\weblogic.policy\" weblogic.Server"
...
"%WL_HOME%\server\bin\beasvc" -install -svcname:"%DOMAIN_NAME% WebLogic 9.0" -javahome:"%JAVA_HOME%" -execdir:"%USERDOMAIN_HOME%" -extrapath:"%EXTRAPATH%" -password:"%WLS_PW%" -cmdline:%CMDLINE%
thanx in advance
andrei