换成了64位JDK环境,weblogic无法启动的解决办法

上一篇 / 下一篇  2009-11-19 10:09:22 / 个人分类:WebApplication

在32位的weblogic的环境中,修改了Envdomain.cmd的环境变量,指定为64位的JDK,但是在启动中输入root Name后却直接出现提示退出,以下是baidu的结果。

It asks for a user name. I enter the admin and it fails. What library is it referring to in the error.

I have tried setting OWLS_PW and OWLS_USER
and
JAVA_OPTIONS=-Dweblogic.managerment.allowPasswordEcho=true


Enter username to boot WebLogic server:admin
<Jul 21, 2009 6:34:46 PM EDT> <Error> <Security> <BEA-090783> <Server is Running in Development Mode and Native Library(terminalio) to read the password securely from commandline is not found.>
<Jul 21, 2009 6:34:46 PM EDT> <Notice> <WebLogicServer> <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now>
<Jul 21, 2009 6:34:46 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

The PATH variable might be messed up in that environment.

This is what WLS doc says about that error:
BEA-090771Error: Server is Running in Development Mode and Native Library(terminalio) to read the password securely from commandline is not found.

Description
Server is Running in Development Mode and Native Library(terminalio) to read the password securely from commandline is not found.
Cause
Server could not start because it didn't find the Native Library to read the password securely from commandline in the PATH or -Dweblogic.management.allowPasswordEcho=false is set.
Action
Verify that terminalio library exists in the path. You can set this by specifying -Djava.library.path to the directory where this library exists or you can use boot.properties to store the password or you can use -Dweblogic.management.allowPasswordEcho=true to enter the password in echo mode.

Try these steps
1. Unset the JAVA_OPTIONS variable, and try starting the managed server using the following command:
./startManagedWeblogic.sh soa_server1

2. set WLS_USER & WLS_PW environment variables with corresponding username & password and try executing the start command
./startManagedWeblogic.sh soa_server1

From your post it seems like there is a typo error in the command you used:
"
JAVA_OPTIONS=-Dweblogic.managerment.allowPasswordEcho=true
"
You have wrongly typed as 'managerment' instead of 'management'
If you are using this option unset the WLS_USER & WLS_PW environment variables.

Try the above steps and let me know whether it works or not.

http://forums.oracle.com/forums/thread.jspa?threadID=932173


TAG:

 

评分:0

我来说两句

Open Toolbar