Weblogic在启动的时could not obtain an exclusive lock to the embedded ldap data files directory
看看在你的系统中是否已经启动一个weblogic服务,可以关掉以前的weblogic服务 (直接任务管理器中,找到javaw.exe进程结束掉一个,呵呵)
如果没有,你到工作管理員, 找javaw.exe, 把它刪掉, server 再起看看應該就可以了
cmd出现的问题
The WebLogic Server did not start up properly.
Exception raised: 'weblogic.management.configuration.ConfigurationException: [Ma
nagement:141137]Managed Server was attempting to boot in Managed Server Independ
ence mode, but was unable to complete the boot process as the Managed Server was
unable to locate the cached configuration file: c:\bea\user_projects\domains\my
domain\.\msi-config.xml'
Reason: weblogic.management.configuration.ConfigurationException: [Management:14
1137]Managed Server was attempting to boot in Managed Server Independence mode,
but was unable to complete the boot process as the Managed Server was unable to
locate the cached configuration file: c:\bea\user_projects\domains\mydomain\.\ms
i-config.xml
2.在部署数据库连接池设置主机名时开始写的是localhost,但是在测试时怎么也测试不成功,后来同事发来了具体的URL,然后替换
成功,具体我想因为这是因为写localhost的话,那么在程序寻找主机名时,他会去找的是127.0.0.1,这样怎么测试也是不会成功的。