我遇到了一个问题,我无法在oepe eclipse中启动weblogic 11gR1开发服务器一段时间后我在启动进程完成所有任务之前停止服务器启动进度。
这是我每次尝试启动weblogic 11gR1时收到的错误消息。
JAVA Memory arguments: -Xms400m -Xmx512m -Xss512k -XX:PermSize=128m -XX:MaxPermSize=512m
.
WLS Start Mode=Development
.
CLASSPATH=D:\workspace\ CommonLib\antlr-2.7.6rc1.jar;D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\java\32bit\JDK16~2.0_2\lib\tools.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;D:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
.
PATH=D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;D:\java\32bit\JDK16~2.0_2\jre\bin;D:\java\32bit\JDK16~2.0_2\bin;D:\Informatica\9.0.1\clients\tools\datadirect;D:\Informatica\9.0.1\clients\DeveloperClient\bin;D:\app\Administrator\product\11.2.0\client_1\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;D:\java\32bit\jdk1.6.0_21\bin;;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\oci920_8
.
starting weblogic with Java version:
Listening for transport dt_socket at address: 8453
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode)
Starting WLS with line:
D:\java\32bit\JDK16~2.0_2\bin\java -client -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms400m -Xmx512m -Xss512k -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer -Djava.security.policy=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djava.awt.headless=true -Duser.language=en -Duser.country=US -Xverify:none -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole... -Dplatform.home=D:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath weblogic.Server
Listening for transport dt_socket at address: 8453
<Jun 19, 2014 10:24:20 AM CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 17.0-b17 from Sun Microsystems Inc.>
<Jun 19, 2014 10:24:20 AM CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
<Jun 19, 2014 10:24:21 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jun 19, 2014 10:24:21 AM CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Jun 19, 2014 10:24:21 AM CST> <Notice> <LoggingService> <BEA-320400> <The log file D:\Oracle\Middleware\user_projects\domains\cg\servers\AdminServer\logs\AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Jun 19, 2014 10:24:21 AM CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\Oracle\Middleware\user_projects\domains\cg\servers\AdminServer\logs\AdminServer.log00003. Log messages will continue to be logged in D:\Oracle\Middleware\user_projects\domains\cg\servers\AdminServer\logs\AdminServer.log.>
<Jun 19, 2014 10:24:21 AM CST> <Notice> <Log Management> <BEA-170019> <The server log file D:\Oracle\Middleware\user_projects\domains\cg\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<Jun 19, 2014 10:24:21 AM CST> <Error> <Socket> <BEA-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that wlntio.dll is in: 'D:\java\32bit\JDK16~2.0_2\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;D:\java\32bit\JDK16~2.0_2\jre\bin;D:\java\32bit\JDK16~2.0_2\bin;D:\Informatica\9.0.1\clients\tools\datadirect;D:\Informatica\9.0.1\clients\DeveloperClient\bin;D:\app\Administrator\product\11.2.0\client_1\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;D:\java\32bit\jdk1.6.0_21\bin;;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\oci920_8'
>
<Jun 19, 2014 10:24:22 AM CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Jun 19, 2014 10:24:23 AM CST> <Warning> <Store> <BEA-280101> <The persistent file store "_WLS_AdminServer" is forced to use buffered I/O and so may have significantly degraded performance. Either the OS/hardware environment does not support the chosen write policy or the native wlfileio library is missing. See store open log messages for the requested and final write policies. See the documentation on store synchronous write policy configuration for advice.>
<Jun 19, 2014 10:24:24 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Jun 19, 2014 10:24:24 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jun 19, 2014 10:24:24 AM CST> <Notice> <LoggingService> <BEA-320400> <The log file D:\Oracle\Middleware\user_projects\domains\cg\servers\AdminServer\logs\cg.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Jun 19, 2014 10:24:24 AM CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\Oracle\Middleware\user_projects\domains\cg\servers\AdminServer\logs\cg.log00003. Log messages will continue to be logged in D:\Oracle\Middleware\user_projects\domains\cg\servers\AdminServer\logs\cg.log.>
<Jun 19, 2014 10:24:24 AM CST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Jun 19, 2014 10:24:24 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Jun 19, 2014 10:24:24 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Jun 19, 2014 10:24:24 AM CST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default[3]". The address 127.0.0.1 might be incorrect or another process is using port 7001: java.net.BindException: Address already in use: JVM_Bind.>
<Jun 19, 2014 10:24:24 AM CST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:0:5efe:c0a8:d750:7001 for protocols iiop, t3, ldap, snmp, http.>
<Jun 19, 2014 10:24:24 AM CST> <Warning> <Server> <BEA-002611> <Hostname "%Host DNS name%", maps to multiple IP addresses: 192.168.215.80, fe80:0:0:0:20da:75b4:f1db:efa3%11>
<Jun 19, 2014 10:24:24 AM CST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:20da:75b4:f1db:efa3:7001 for protocols iiop, t3, ldap, snmp, http.>
<Jun 19, 2014 10:24:24 AM CST> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.>
<Jun 19, 2014 10:24:24 AM CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.215.80:7001 for protocols iiop, t3, ldap, snmp, http.>
<Jun 19, 2014 10:24:24 AM CST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "cg" running in Development Mode>
<Jun 19, 2014 10:24:24 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Jun 19, 2014 10:24:24 AM CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
Listening for transport dt_socket at address: 8453
启动进度在eclipse的“开始weblogic进度”的87%时被冻结, 然后eclipse抛出一个错误消息对话框,服务器启动失败,没有任何进一步的错误消息。
您可能会说有一个使用端口7001的进程,但这是第一次 重新启动计算机后,我在eclipse中启动了dev服务器,在启动dev服务器之前,我已经通过netstat cmd检查了端口7001,所以我确信7001在启动dev服务器之前可用。
这是我启动weblogic服务器后得到的。 在eclipse中启动weblogic dev服务器之后的netstat
http://i57.tinypic.com/2hyk42.png
我不明白我的开发环境出了什么问题。 我已经重新安装了我的oepe eclipse,weblogic dev服务器并重置了eclipse和weblogic域,删除了我的用户目录中任何与oracle相关的设置文件, 但我仍然无法启动我的开发服务器来测试我的项目是否正常。
我的操作系统是没有管理员权限的Windows 7, eclipse是oepe-helios-all-in-one-11.1.1.6.1.201010012100-win32 与服务器适配器weblogic 11gR1 patchSet2
有谁知道我的环境出了什么问题? 任何帮助或建议表示赞赏。谢谢。
答案 0 :(得分:0)
尝试在以下位置修改域名的config.xml文件:
D:\Oracle\Middleware\user_projects\domains\cg\config\config.xml
检查以下内容:
<listen-port>7001</listen-port>
<listen-address>127.0.0.1</listen-address>
您可能需要将listen-address
更改为您的实际IP或主机名。您也可以将listen-port
更改为其他内容,以查看7001是否真的成为问题。
也就是说,如果您遇到绑定问题,通常服务器永远不会达到RUNNING
状态。检查您是否可以访问管理控制台:
http://127.0.0.1:7001/console