Dev Weblogic can not bind address which is not used - weblogic

I've encounter a problem that I cannot start up weblogic 11gR1 development server in oepe eclipse after one time I stop the server start up progress before it finish all task in the start up progress.
Here's the error message I got every time I try to start up 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
The start up progress was frozed at the 87% of "starting weblogic progress" in eclipse,
then eclipse throw out an error message dialog that server start up failed without any further error message.
You might say that there is a process using port 7001, but this is the first time
I start up dev server in eclipse after restarting my computer, and I've check out port 7001 by netstat cmd before I start my dev server, so I am sure that 7001 is available before I start dev server.
And this is what I got after starting up my weblogic server.
netstat after starting up weblogic dev server in eclipse
http://i57.tinypic.com/2hyk42.png
I don't understand what's wrong is going on my dev environment.
I have re-install my oepe eclipse, weblogic dev server and reset eclipse and weblogic domain, delete any oracle related setting file in my user directory,
but still I can not start up my dev server to test if my project is ok.
My OS is windows 7 without admin privileges,
eclipse is oepe-helios-all-in-one-11.1.1.6.1.201010012100-win32
with server adapter weblogic 11gR1 patchSet2
Does anyone know what's wrong is going on my enviroment?
Any help or suggestion is appreciated. Thank you.

Try to modify your config.xml file for your domain at:
D:\Oracle\Middleware\user_projects\domains\cg\config\config.xml
Check the following:
<listen-port>7001</listen-port>
<listen-address>127.0.0.1</listen-address>
You may need to change the listen-address to be your actual IP or hostname. You can also change listen-port to something else just to see if 7001 is truly the problem.
That said, normally a server will never reach the RUNNING state if you have binding problems. Check to see if you can reach the admin console at:
http://127.0.0.1:7001/console

Related

Independent Manage servers in weblogic

I have two servers Server A and Server B :
I want to make admin server on Server A and manage servers on server B .Manage servers on B will be pointing to Server A admin . I tried using this configuration but manage servers are not able to start giving below error, Admin server A is running
Configuration :
Server A : Only Admin , Port 9001
Server B : No admin , Only 2 Manage servers : Port 7002, 7003 pointing to Server A admin
**Error logs :
<May 7, 2014 4:11:40 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with IBM J9 VM Version 2.3 from IBM Corporation>
<May 7, 2014 4:11:41 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 MP3 Mon Mar 10 08:28:41 EDT 2008 1096261 >
<May 7, 2014 4:11:44 PM IST> <Emergency> <Management> <BEA-141151> <The admin server could not be reached at http://172.21.153.108.>
<May 7, 2014 4:11:44 PM IST> <Info> <Configuration Management> <BEA-150018> <This server is being started in managed server independence mode in the absence of the admin server.>
<May 7, 2014 4:11:44 PM IST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : /usr/local/bea/bea92/license.bea>
<May 7, 2014 4:11:44 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<May 7, 2014 4:11:44 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<May 7, 2014 4:11:44 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file /usr/local/bea/bea92/user_projects/domains/RxConnect/servers/Store_MS1/logs/Store_MS1.log is opened. All server side log events will be written to this file.>
<May 7, 2014 4:11:48 PM IST> <Error> <Security> <BEA-090870> <The realm "myrealm" failed to be loaded: weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: java.lang.IllegalArgumentException: port out of range:-1.
weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: java.lang.IllegalArgumentException: port out of range:-1
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:469)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:822)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:851)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1007)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:854)
Truncated. see log file for complete stacktrace
com.bea.common.engine.ServiceInitializationException: java.lang.IllegalArgumentException: port out of range:-1
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:342)
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:292)
at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:263)
at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:71)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:461)
Truncated. see log file for complete stacktrace
java.lang.IllegalArgumentException: port out of range:-1
at java.net.InetSocketAddress.<init>(InetSocketAddress.java:136)
at java.net.Socket.<init>(Socket.java:226)
at netscape.ldap.LDAPConnSetupMgr.connectServer(LDAPConnSetupMgr.java:499)
at netscape.ldap.LDAPConnSetupMgr.openSerial(LDAPConnSetupMgr.java:435)
at netscape.ldap.LDAPConnSetupMgr.connect(LDAPConnSetupMgr.java:274)
Truncated. see log file for complete stacktrace
>
<May 7, 2014 4:11:48 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<May 7, 2014 4:11:48 PM IST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
weblogic.security.service.SecurityServiceRuntimeException: [Security:090399]Security Services Unavailable
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:898)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1029)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:854)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
>
<May 7, 2014 4:11:48 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<May 7, 2014 4:11:48 PM IST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<May 7, 2014 4:11:48 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>**

how to start remote host weblogic server

I create a weblogic cluster system on different hosts(10.0.0.192 and 10.0.0.32). When I try to start weblogic server at 10.0.0.32 from 10.0.0.192 admin console, It just stucks. From "summary of servers" it says "STARTING TASK IN PROGRESS(9 minutes)".
By the way both weblogic server's node manager status are "Reachable".
Here is log file(from 10.0.0.32)
<Dec 16, 2013 2:12:02 PM EET> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Dec 16, 2013 2:12:02 PM EET> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Dec 16, 2013 2:12:02 PM EET> <Notice> <WebLogicServer> <BEA-000395> <The following extensions directory contents added to the end of the classpath:
C:\Oracle\Middleware_12.1.1.0\user_projects\domains\base_domain\lib\sipactivator.jar.>
<Dec 16, 2013 2:12:02 PM EET> <Info> <Server> <BEA-002647> <The service plug-in, com.oracle.core.sip.activator, was added from C:\Oracle\Middleware_12.1.1.0\user_projects\domains\base_domain\lib\sipactivator.jar.>
<Dec 16, 2013 2:12:02 PM EET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.14-b01 from Sun Microsystems Inc..>
<Dec 16, 2013 2:12:24 PM EET> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 13340309 Thu Feb 16 18:30:21 IST 2012
WebLogic Server Temporary Patch for 13019800 Mon Jan 16 16:53:54 IST 2012
WebLogic Server Temporary Patch for BUG13391585 Thu Feb 02 10:18:36 IST 2012
WebLogic Server Temporary Patch for 13516712 Mon Jan 30 15:09:33 IST 2012
WebLogic Server Temporary Patch for BUG13641115 Tue Jan 31 11:19:13 IST 2012
WebLogic Server Temporary Patch for BUG13603813 Wed Feb 15 19:34:13 IST 2012
WebLogic Server Temporary Patch for 13424251 Mon Jan 30 14:32:34 IST 2012
WebLogic Server Temporary Patch for 13361720 Mon Jan 30 15:24:05 IST 2012
WebLogic Server Temporary Patch for BUG13421471 Wed Feb 01 11:24:18 IST 2012
WebLogic Server Temporary Patch for BUG13657792 Thu Feb 23 12:57:33 IST 2012
WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 >
<Dec 16, 2013 2:12:46 PM EET> <Emergency> <Management> <BEA-141151> <The Administration Server could not be reached at http://192.168.145.1:7001.>
<Dec 16, 2013 2:12:46 PM EET> <Info> <Configuration Management> <BEA-150018> <This server is being started in Managed Server independence mode in the absence of the Administration Server.>
<Dec 16, 2013 2:12:46 PM EET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
<Dec 16, 2013 2:12:46 PM EET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>
<Dec 16, 2013 2:12:46 PM EET> <Notice> <LoggingService> <BEA-320400> <The log file C:\Oracle\Middleware_12.1.1.0\user_projects\domains\base_domain\servers\10-0-0-32-server\logs\10-0-0-32-server.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms, such as Windows.>
<Dec 16, 2013 2:12:46 PM EET> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Oracle\Middleware_12.1.1.0\user_projects\domains\base_domain\servers\10-0-0-32-server\logs\10-0-0-32-server.log00004. Log messages will continue to be logged in C:\Oracle\Middleware_12.1.1.0\user_projects\domains\base_domain\servers\10-0-0-32-server\logs\10-0-0-32-server.log.>
<Dec 16, 2013 2:12:46 PM EET> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware_12.1.1.0\user_projects\domains\base_domain\servers\10-0-0-32-server\logs\10-0-0-32-server.log is opened. All server side log events will be written to this file.>
i see below error
http://192.168.145.1:7001.>
This main causes of this error are
Admin server is down or unavailable or not pingable
The admin port is not opened or not enabled in firewall
you are trying to access the admin server with http port....generally we reach admin with https port...
Please check these solutions..let me know if you need anything

Weird behavior while weblogic bootup

I am trying to boot weblogic (12c) .
I am facing a weird problem , while the weblogic server starts ,It tries to listen to port which is free.
But it gives the error that the port is in use(as shown in the first line of logs below),but then suddenly in the next line it starts listening the port. Any idea why this kind of behavior ?
<Jul 24, 2013 3:25:20 PM IST> <Error> <Server> <BEA-002606> <The server is unable to create a server socket for listening on channel "Default". The address 10.19.218.207 might be incorrect or another process is using port 12110: java.net.BindException: Address already in use>
<Jul 24, 2013 3:25:20 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 0:0:0:0:0:0:0:1:12110 for protocols iiop, t3, ldap, snmp, http.>
<Jul 24, 2013 3:25:20 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:250:56ff:fe8a:29cc:12110 for protocols iiop, t3, ldap, snmp, http.>
<Jul 24, 2013 3:25:20 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 127.0.0.1:12110 for protocols iiop, t3, ldap, snmp, http.>

Inability to start weblogic BEA-002606

I run a managed instance of Weblogic 10.3 on my mac box. One day i tried starting it and i got this error message
<Jun 2, 2013 5:19:34 PM EDT> <Notice> <LoggingService> <BEA-320400> <The log file /Users/xx/bfdev/bea10/user_projects/domains/xx/servers/admin/logs/xx.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Jun 2, 2013 5:19:34 PM EDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /Users/xx/bfdev/bea10/user_projects/domains/xx/servers/admin/logs/xx.log00101. Log messages will continue to be logged in /Users/xx/bfdev/bea10/user_projects/domains/xx/servers/admin/logs/benefitfocusDomain.log.>
<Jun 2, 2013 5:19:34 PM EDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Jun 2, 2013 5:19:34 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Jun 2, 2013 5:19:34 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Jun 2, 2013 5:19:34 PM EDT> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default[3]". The address fe80:0:0:0:2acf:e9ff:fe64:20eb%0 might be incorrect or another process is using port 7001: java.net.BindException: Can't assign requested address.>
*<Jun 2, 2013 5:19:34 PM EDT> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default[2]". The address fe80:0:0:0:0:0:0:1%0 might be incorrect or another process is using port 7001: java.net.BindException: Can't assign requested address.>
<Jun 2, 2013 5:19:34 PM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
**<Jun 2, 2013 5:19:34 PM EDT> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 127.0.0.1, 0:0:0:0:0:0:0:1, fe80:0:0:0:0:0:0:1%1>
<Jun 2, 2013 5:19:34 PM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[5]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.>
<Jun 2, 2013 5:19:34 PM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.2.93:7001 for protocols iiop, t3, ldap, snmp, http.>
<Jun 2, 2013 5:19:34 PM EDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.1.2:7001 for protocols iiop, t3, ldap, snmp, http.>**
<Jun 2, 2013 5:19:34 PM EDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "admin" for domain "xx" running in Development Mode>*
<Jun 2, 2013 5:19:34 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Jun 2, 2013 5:19:34 PM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
Since i am a new mac user, assigning and reassigning port numbers is an area i have little knowledge. Any help would be appreciated on this issue.
PS: NO vague answers. Specific responses on which steps to take would be of help here as i have tried google-ing and it has been hell.
I would manually edit the config.xml file that lives in your:
<domain home>/config directory.
Find your
<server>
and edit the
<listen-address>
to use the exact IP of your machine. You can also change
<listen-port>
in there to something other than the default. Try something like 65501 to see if you can bring it up. And yes, weblogic is hell.
When you change the IP address
Change the IP Address in
/etc/hosts - IP address was changed [Linux]

How restart weblogic server after Authentication error

I am trying to restart my weblogic server (Weblogic Server Version: 10.3.5). It throws the below error. I used to restart is regularly earlier but it is throwing this error today.
I have replaced the boot.properties file with the correct username and password and on trying to restart, I see that it is getting encrypted, but the server is not starting up. I have also tried modifying the config.xml and entered the decrypted password, but still I get the error.
Starting WLS with line:
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java -server -Xms2048M -Xmx2048M -XX:MaxPermSize=512M -Dweblogic.Name=ManagedServer -Djava.security.policy=/u01/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.security.SSL.trustedCAKeyStore=/u01/Oracle/Middleware/wlserver_10.3/server/lib/cacerts -da -Dplatform.home=/u01/Oracle/Middleware/wlserver_10.3 -Dwls.home=/u01/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/u01/Oracle/Middleware/wlserver_10.3/server -Dweblogic.management.discover=false -Dweblogic.management.server=http://kbzuatapp:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/u01/Oracle/Middleware/patch_wls1035/profiles/default/sysext_manifest_classpath:/u01/Oracle/Middleware/patch_ocp360/profiles/default/sysext_manifest_classpath -Djava.security.egd=file:/dev/./urandom weblogic.Server
<Oct 19, 2012 8:01:35 PM MMT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Oct 19, 2012 8:01:36 PM MMT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Oct 19, 2012 8:01:36 PM MMT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with OpenJDK 64-Bit Server VM Version 19.0-b09 from Sun Microsystems Inc.>
<Oct 19, 2012 8:01:37 PM MMT> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:Error: Failed to get value from Standard Input
Enter password to boot WebLogic server:
<Oct 19, 2012 8:01:37 PM MMT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
<Oct 19, 2012 8:01:38 PM MMT> <Error> <Configuration Management> <BEA-150021> <The admin server failed to authenticate the identity of the user starting the managed server. The reason for the error is .>
<Oct 19, 2012 8:01:38 PM MMT> <Emergency> <Management> <BEA-141151> <The admin server could not be reached at http://kbzuatapp:7001.>
<Oct 19, 2012 8:01:38 PM MMT> <Info> <Configuration Management> <BEA-150018> <This server is being started in managed server independence mode in the absence of the admin server.>
<Oct 19, 2012 8:01:38 PM MMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Oct 19, 2012 8:01:38 PM MMT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Oct 19, 2012 8:01:38 PM MMT> <Notice> <LoggingService> <BEA-320400> <The log file /u01/Oracle/Middleware/user_projects/domains/KBZUAT/servers/ManagedServer/logs/ManagedServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Oct 19, 2012 8:01:38 PM MMT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /u01/Oracle/Middleware/user_projects/domains/KBZUAT/servers/ManagedServer/logs/ManagedServer.log00011. Log messages will continue to be logged in /u01/Oracle/Middleware/user_projects/domains/KBZUAT/servers/ManagedServer/logs/ManagedServer.log.>
<Oct 19, 2012 8:01:38 PM MMT> <Notice> <Log Management> <BEA-170019> <The server log file /u01/Oracle/Middleware/user_projects/domains/KBZUAT/servers/ManagedServer/logs/ManagedServer.log is opened. All server side log events will be written to this file.>
<Oct 19, 2012 8:01:41 PM MMT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Oct 19, 2012 8:01:41 PM MMT> <Critical> <Security> <BEA-090403> <Authentication for user denied>
<Oct 19, 2012 8:01:41 PM MMT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user denied
weblogic.security.SecurityInitializationException: Authentication for user denied
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:965)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
Caused By: javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User javax.security.auth.login.LoginException: [Security:090301]Password Not Supplied
at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:261)
at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
Any help would be great. Thanks!
Got the solution. I deleted the edit.lok file and then tried the restart. It worked.
As for me, I had to edit the file boot.properties and set there AGAIN the login and password for the weblogic server. The previous values were encrypted and obviously, some SW couldn't manage it correctly.
try to remove the ManagedServerDir/data/ldap directory.
do not forget to backup
Just do a root level search for boot.properties & edit.lok in the weblogic server and delete them. (take the back up before deleting it) and restart the server.
It works :-)
I have solved in this way:
Under {domain}\servers\AdminServer\data\ldap delete just files on the root and not the ones inside ldapfiles
Remove username - passwrod from boot.properties file under {domain}\servers\AdminServer\security
After the restart, it asks me the credentails and it works as expected.