<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ghattu&#039;s Technology Blog &#187; embeddedLdap</title>
	<atom:link href="http://ghattus.com/tag/embeddedldap/feed/" rel="self" type="application/rss+xml" />
	<link>http://ghattus.com</link>
	<description>A blog about technology that I work on in my day to day job</description>
	<lastBuildDate>Thu, 03 Dec 2009 00:56:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WebLogic EmbeddedLDAP&#039;s MasterFirst Attribute saved my day!</title>
		<link>http://ghattus.com/2009/08/10/weblogic-embeddedldaps-masterfirst-attribute-saved-my-day/</link>
		<comments>http://ghattus.com/2009/08/10/weblogic-embeddedldaps-masterfirst-attribute-saved-my-day/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 16:43:47 +0000</pubDate>
		<dc:creator>sghattu</dc:creator>
				<category><![CDATA[embeddedLdap]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[WebLogic]]></category>
		<category><![CDATA[boot.properties]]></category>
		<category><![CDATA[MasterFirst]]></category>

		<guid isPermaLink="false">http://ghattus.com/?p=110</guid>
		<description><![CDATA[While provisioning WebLogic environments to a new infrastructure, recently we started experiencing a problem where the Managed Server had problems starting up. It consistently failed with the error shown below.  &#60;Aug 3, 2009 12:38:48 PM EDT&#62; &#60;Notice&#62; &#60;Security&#62; &#60;BEA-090082&#62; &#60;Security initializing using security realm myrealm.&#62; &#60;Aug 3, 2009 12:38:48 PM EDT&#62; &#60;Critical&#62; &#60;Security&#62; &#60;BEA-090402&#62; &#60;Authentication [...]]]></description>
			<content:encoded><![CDATA[<p>While provisioning WebLogic environments to a new infrastructure, recently we started experiencing a problem where the Managed Server had problems starting up. It consistently failed with the error shown below.<span id="more-110"></span></p>
<blockquote><p><em> &lt;Aug 3, 2009 12:38:48 PM EDT&gt; &lt;Notice&gt; &lt;Security&gt; &lt;BEA-090082&gt; &lt;Security initializing using security realm myrealm.&gt;<br />
&lt;Aug 3, 2009 12:38:48 PM EDT&gt; &lt;Critical&gt; &lt;Security&gt; &lt;BEA-090402&gt; &lt;Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.&gt;<br />
&lt;Aug 3, 2009 12:38:48 PM EDT&gt; &lt;Critical&gt; &lt;WebLogicServer&gt; &lt;BEA-000386&gt; &lt;Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.<br />
weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.<br />
        at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:941)<br />
        at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1029)<br />
        at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:854)<br />
        at weblogic.security.SecurityService.start(SecurityService.java:141)<br />
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)<br />
        Truncated. see log file for complete stacktrace<br />
&gt;<br />
&lt;Aug 3, 2009 12:38:48 PM EDT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to FAILED&gt;<br />
&lt;Aug 3, 2009 12:38:48 PM EDT&gt; &lt;Error&gt; &lt;WebLogicServer&gt; &lt;BEA-000383&gt; &lt;A critical service failed. The server will shut itself down&gt;<br />
&lt;Aug 3, 2009 12:38:48 PM EDT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to FORCE_SHUTTING_DOWN&gt;</em></p></blockquote>
<p>From the error message it looked like the boot.properties on the Managed Server does not have the right username and password, we made sure it was updated. Tried to re-start the server, same issue. We tried to delete the entire LDAP directory on the Managed Server side so that it syncs the latest from Admin Server which should not have any issues, but that didn&#8217;t work either.</p>
<p>Well, now we ran out of options and contacted Oracle Support, they looked at it and asked us to do a couple of other things which did not work either. Finally, before we escalated further Oracle Support Engineer asked us to try one more last thing that is to enable MasterFirst on EmbeddedLDAP. Honestly I never knew such attribute existed and the help for that attribute looks something like this.</p>
<blockquote><p><em>MasterFirst-Specifies whether a Managed Server should always connect to the embedded LDAP server on the Administration Server, instead of connecting to the local replicated LDAP server.</em></p></blockquote>
<p>Miraculously enabling this attribute did seem to work and the Managed Server started up happily without any issues. Now the question is, Why do we need to specifically enable this attribute when we do not have issues in other environments? The answer is we don&#8217;t know &#8220;yet&#8221;. We suspect its Network, but not entirely sure and we will find out very soon. But whatever it is &#8220;MasterFirst&#8221; did save my day and probably days!</p>
]]></content:encoded>
			<wfw:commentRss>http://ghattus.com/2009/08/10/weblogic-embeddedldaps-masterfirst-attribute-saved-my-day/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

