<?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>Oracle WebLogic Application Server</title>
	<atom:link href="http://www.bea-weblogic.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bea-weblogic.com</link>
	<description>Bea Middleware&#039;s Blog</description>
	<lastBuildDate>Wed, 28 Dec 2011 14:51:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>What are the .lok Files Used For in a WebLogic Server (WLS) Domain?</title>
		<link>http://www.bea-weblogic.com/what-are-the-lok-files-used-for-in-a-weblogic-server-wls-domain.html</link>
		<comments>http://www.bea-weblogic.com/what-are-the-lok-files-used-for-in-a-weblogic-server-wls-domain.html#comments</comments>
		<pubDate>Wed, 28 Dec 2011 14:51:22 +0000</pubDate>
		<dc:creator>maclean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[LOCK]]></category>
		<category><![CDATA[WEBLOGIC]]></category>

		<guid isPermaLink="false">http://www.bea-weblogic.com/?p=466</guid>
		<description><![CDATA[Applies to: Oracle Weblogic Server &#8211; Version: 9.0 and later   [Release: and later ] Information in this document applies to any platform. Goal There are several files with a .lok extension in the WebLogic Server (WLS) domain directory. What are these &#8230; <a href="http://www.bea-weblogic.com/what-are-the-lok-files-used-for-in-a-weblogic-server-wls-domain.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Applies to:</h2>
<p>Oracle Weblogic Server &#8211; Version: 9.0 and later   [Release: and later ]<br />
Information in this document applies to any platform.</p>
<h2><a name="GOAL"></a>Goal</h2>
<p>There are several files with a .lok extension in the WebLogic Server (WLS) domain directory. What are these files used for?</p>
<p>&nbsp;</p>
<h2><a name="FIX"></a>Solution</h2>
<p>There are config.lok, EmbeddedLDAP.lok and XXXserver.lok files which are used by the admin server and managed server. Another lock file named edit.lok is used for the admin server only. Here are some more details on each:</p>
<ul>
<li><strong>config.lok</strong><br />
The config.lok file is just used for getting a file lock on the config.xml file, in order to ensure that config file updates run serially. It will not cause any problems if it exists in the directory.</li>
<li><strong>edit.lok</strong><br />
The edit lock is used to ensure that only one user at a time is editing the configuration. The edit lock is only used on the Admin server.</li>
<li><strong>EmbeddedLDAP.lok</strong><br />
This file locks access to the embedded LDAP server, in order to ensure that only a single process has access to this directory server. if two processes write to the same directory server, the directory server will have a problem.</li>
<li><strong>XXXServer.lok</strong><br />
The [server name].lok indicates that the server with name [server name] is running. This is used to prevent a server from being booted twice. If you are sure that this server process is shut down, you can delete it.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bea-weblogic.com/what-are-the-lok-files-used-for-in-a-weblogic-server-wls-domain.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>E1: WLS: Which Web Development Client To Use With WebLogic Web Server?</title>
		<link>http://www.bea-weblogic.com/e1-wls-which-web-development-client-to-use-with-weblogic-web-server.html</link>
		<comments>http://www.bea-weblogic.com/e1-wls-which-web-development-client-to-use-with-weblogic-web-server.html#comments</comments>
		<pubDate>Wed, 28 Dec 2011 14:49:09 +0000</pubDate>
		<dc:creator>maclean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[HTML CLIENT]]></category>
		<category><![CDATA[INSTALL]]></category>
		<category><![CDATA[JDK]]></category>
		<category><![CDATA[OC4J]]></category>
		<category><![CDATA[ORACLE WEBLOGIC SERVER (Q5242)]]></category>
		<category><![CDATA[WEB DEV CLIENT]]></category>
		<category><![CDATA[WEB DEVELOPMENT CLIENT]]></category>
		<category><![CDATA[WEBDEV]]></category>
		<category><![CDATA[WEBLOGIC]]></category>

		<guid isPermaLink="false">http://www.bea-weblogic.com/?p=464</guid>
		<description><![CDATA[Applies to: JD Edwards EnterpriseOne Tools &#8211; Version: 8.98 to 8.98 &#8211; Release: 8.98 to 8.98 Information in this document applies to any platform. Goal You have WebLogic Server installed as your Application Server.   You want to install a Web &#8230; <a href="http://www.bea-weblogic.com/e1-wls-which-web-development-client-to-use-with-weblogic-web-server.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Applies to:</h2>
<p>JD Edwards EnterpriseOne Tools &#8211; Version: 8.98 to 8.98 &#8211; Release: 8.98 to 8.98<br />
Information in this document applies to any platform.</p>
<h2><a name="GOAL"></a>Goal</h2>
<p>You have WebLogic Server installed as your Application Server.   You want to install a Web Dev client and want to know if there is a local WebLogic web server for the HTML client or not.</p>
<h2><a name="FIX"></a>Solution</h2>
<p>The only option is currently OC4J.  Installing IBM WebSphere Express on WebDev client is not compatible with Oracle WebLogic as the JAS/Web server.</p>
<p>You should not use IBM WebSphere Express because it uses IBM JDK.  When you generator serialized objects,  it will generate incompatible serialized specs because of the JDK mismatch.  The generator JVM <em>must </em>match with the server JVM. There is a caveat if you chooses to use JRockit JVM for Weblogic.</p>
<p>So you should install OC4J and change the JDK to a matching 1.6.x JDK.   Refer to <a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;id=1086577.1">Note 1086577.1</a><em>  JD Edwards EnterpriseOne Tools 8.98 Update 3 Oracle WebLogic Server 11g Certification</em>, where Appendix A <em>Generating JD Edwards EnterpriseOne Serialized Objects</em> states:</p>
<blockquote><p><em>To generate objects using an Oracle WebLogic application server, you must use JDK Version 1.6 on the client machine. Additionally, you must modify the gen_oas.bat file on the client machine to point to the location of your JDK Version 1.6.</em></p></blockquote>
<h2><a name="REF"></a>References</h2>
<p><a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;id=1124186.1">NOTE:1124186.1</a> &#8211; E1: WAS: Where to Download Websphere Application Server 7.0 Express for WebDev Client and Generation Machine<br />
<a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;id=705409.1">NOTE:705409.1</a> &#8211; JD Edwards EnterpriseOne Tools 8.9x Minimum Technical Requirements for Clients</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bea-weblogic.com/e1-wls-which-web-development-client-to-use-with-weblogic-web-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebLogic &#8211; How to enable Oracle JDBC Driver Debug in WLS?</title>
		<link>http://www.bea-weblogic.com/weblogic-how-to-enable-oracle-jdbc-driver-debug-in-wls.html</link>
		<comments>http://www.bea-weblogic.com/weblogic-how-to-enable-oracle-jdbc-driver-debug-in-wls.html#comments</comments>
		<pubDate>Wed, 28 Dec 2011 14:47:33 +0000</pubDate>
		<dc:creator>maclean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[DEBUGGING]]></category>
		<category><![CDATA[DYNAMIC ADV DEBUGANDTRACING]]></category>
		<category><![CDATA[DYNAMIC ADV DEBUG]]></category>
		<category><![CDATA[JAR]]></category>
		<category><![CDATA[JDBC DRIVER]]></category>
		<category><![CDATA[JDBC THIN]]></category>
		<category><![CDATA[ORACLE DATABASE]]></category>
		<category><![CDATA[TRACE]]></category>
		<category><![CDATA[WEBLOGIC]]></category>

		<guid isPermaLink="false">http://www.bea-weblogic.com/?p=462</guid>
		<description><![CDATA[Applies to: Oracle Weblogic Server &#8211; Version: 8.1 to 10.3.3 JDBC &#8211; Version: 10.1.0.2 and later    [Release: 10.1 and later] Information in this document applies to any platform. This document is applicable for all versions of WebLogic starting from WLS 8.1 and later all &#8230; <a href="http://www.bea-weblogic.com/weblogic-how-to-enable-oracle-jdbc-driver-debug-in-wls.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Applies to:</h2>
<p>Oracle Weblogic Server &#8211; Version: 8.1 to 10.3.3<br />
JDBC &#8211; Version: 10.1.0.2 and later    [Release: 10.1 and later]<br />
Information in this document applies to any platform.<br />
This document is applicable for all versions of WebLogic starting from WLS 8.1 and later all service packs on all supported platforms running with Oracle database.</p>
<h2><a name="GOAL"></a>Goal</h2>
<p>WebLogic &#8211; How to enable Oracle JDBC Driver Debug in WLS?</p>
<h2><a name="FIX"></a>Solution</h2>
<p>Please follow below steps for enabling Oracle JDBC Driver Debug in WebLogic.</p>
<p>1) Download the Oracle JDBC driver debug jar from the Oracle download site listed below. Debug Driver jars will have &#8220;_g&#8221; at the time end of the filename. For eg. ojdbc14_g.jar is for WebLogic 8.1:</p>
<p><a href="http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html">http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html</a></p>
<p>2) Add the downloaded oracle driver debug jar to very beginning of the classpath of the WebLogic startup scripts.</p>
<p>3) Enable JDBC Debug flags from console for the server instance.</p>
<p>4) Create OracleLog.properties file with content below on the file system where the WebLogic server is running and give it read/write permissions.</p>
<div><code>java.util.logging.ConsoleHandler.level = ALL<br />
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter<br />
handlers = java.util.logging.ConsoleHandler<br />
oracle.jdbc.level = FINE<br />
oracle.jdbc.connector.level = SEVERE<br />
oracle.jdbc.driver.level = INFO<br />
oracle.jdbc.internal.level = FINEST<br />
oracle.jdbc.oci.level = FINEST<br />
oracle.jdbc.oracore.level = FINEST<br />
oracle.jdbc.pool.level = FINEST<br />
oracle.jdbc.rowset.level = FINEST<br />
oracle.jdbc.util.level = FINEST<br />
oracle.jdbc.xa.level = FINEST<br />
oracle.jdbc.xa.client.level = FINEST<br />
oracle.jpub.level = FINEST<br />
oracle.net.level = FINEST<br />
oracle.sql.level = FINEST<br />
</code></div>
<p>5) Once you create the  properties file above add the arguments below to WebLogic startup script .</p>
<div><code>-Djava.util.logging.config.file=&lt;Location&gt;/OracleLog.properties -Doracle.jdbc.LogFile=&lt;Location&gt;/&lt;JDBCDebugLogFilename&gt;.log -Doracle.jdbc.Trace=true</code></div>
<p>For eg: if you want OracleLog.properties inside /tmp directory and want to cretae JDBC driver debug log with file name JDBCDebug.log under /tmp directory then your command line option will look like below.</p>
<div><code>-Djava.util.logging.config.file=/tmp/OracleLog.properties -Doracle.jdbc.LogFile=/tmp/JDBCDebug.log -Doracle.jdbc.Trace=true<br />
</code></div>
<p>6) Once you add the driver debug flags above to the startup script restart the WebLogic server instance. You should be seeing JDBC Driver debug log file with specified filename created inside specified directory location.</p>
<p>Below will be snippet of Oracle Driver debug information inside JDBC Driver debug log.</p>
<div>Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion<br />
FINE: DBConversion.DBConversion( svrCharSet=31, clientCharSet=null, svrNCharSet=2000)<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion isCharSetMultibyte<br />
FINE: DBConversion.isCharSetMultibyte(31)<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion getClientCharSet<br />
FINE: DBConversion.getDriverCharSet()<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion getClientCharSet<br />
FINE: DBConversion.getDriverCharSet()<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion StringToCharBytes<br />
FINE: DBConversion.StringToCharBytes(OracleTesting)<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion StringToCharBytes<br />
FINE: DBConversion.StringToCharBytes(unknown)<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion StringToCharBytes<br />
FINE: DBConversion.StringToCharBytes(OracleTesting-us)<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion StringToCharBytes<br />
FINE: DBConversion.StringToCharBytes(OracleTesting)<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion StringToCharBytes<br />
FINE: DBConversion.StringToCharBytes(JDBC Thin Client)<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion StringToCharBytes<br />
FINE: DBConversion.StringToCharBytes(1234)<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion StringToCharBytes<br />
FINE: DBConversion.StringToCharBytes(jdbc_ttc_impl)<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion StringToCharBytes<br />
FINE: DBConversion.StringToCharBytes(jdbc_0000)<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion StringToCharBytes<br />
FINE: DBConversion.StringToCharBytes(ALTER SESSION SET TIME_ZONE=&#8217;-4:00&#8242; NLS_LANGUAGE=&#8217;AMERICAN&#8217; NLS_TERRITORY=&#8217;AMERICA&#8217; )<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion StringToCharBytes<br />
FINE: DBConversion.StringToCharBytes(4400)<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion StringToCharBytes<br />
FINE: DBConversion.StringToCharBytes(AUTH_TERMINAL)<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion StringToCharBytes<br />
FINE: DBConversion.StringToCharBytes(AUTH_PROGRAM_NM)<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion StringToCharBytes<br />
FINE: DBConversion.StringToCharBytes(AUTH_MACHINE)<br />
Jun 17, 2009 11:32:51 AM oracle.jdbc.driver.DBConversion StringToCharBytes</div>
<p><strong><br />
</strong></p>
<p><strong>NOTE:<br />
</strong></p>
<p>Enabling JDBC Driver debug flags is verbose as it prints lot of debug information. Logging levels can be changed to different properties as FINE, SEVERE, FINEST, INFO etc. based upon the debugging requirement.</p>
<h2><a name="REF"></a>References</h2>
<p><a href="http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html" target="_blank">http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bea-weblogic.com/weblogic-how-to-enable-oracle-jdbc-driver-debug-in-wls.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebLogic Server (WLS) &#8211; Cluster with Managed Servers Using Different Versions of WLS (Mixed Cluster)</title>
		<link>http://www.bea-weblogic.com/weblogic-server-wls-cluster-with-managed-servers-using-different-versions-of-wls-mixed-cluster.html</link>
		<comments>http://www.bea-weblogic.com/weblogic-server-wls-cluster-with-managed-servers-using-different-versions-of-wls-mixed-cluster.html#comments</comments>
		<pubDate>Wed, 28 Dec 2011 14:46:39 +0000</pubDate>
		<dc:creator>maclean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ADMIN SERVER]]></category>
		<category><![CDATA[CLUSTER]]></category>
		<category><![CDATA[COMPATIBILITY]]></category>
		<category><![CDATA[DOMAIN]]></category>
		<category><![CDATA[UPGRADE]]></category>
		<category><![CDATA[VERSION]]></category>
		<category><![CDATA[WEBLOGIC]]></category>

		<guid isPermaLink="false">http://www.bea-weblogic.com/?p=460</guid>
		<description><![CDATA[Applies to: Oracle Weblogic Server &#8211; Version: 8.1 and later   [Release: and later ] Information in this document applies to any platform. Goal Is it possible to have a WebLogic Server domain where different managed servers are running different versions of &#8230; <a href="http://www.bea-weblogic.com/weblogic-server-wls-cluster-with-managed-servers-using-different-versions-of-wls-mixed-cluster.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Applies to:</h2>
<p>Oracle Weblogic Server &#8211; Version: 8.1 and later   [Release: and later ]<br />
Information in this document applies to any platform.</p>
<h2><a name="GOAL"></a>Goal</h2>
<p>Is it possible to have a WebLogic Server domain where different managed servers are running different versions of WLS? For example, can some managed servers be running WLS 10.3.3 and other managed servers running 10.3.0?</p>
<p>&nbsp;</p>
<h2><a name="FIX"></a>Solution</h2>
<p>No, that is not possible. All servers in a cluster must be at the same major, minor, and patch set version. Below is the documentation which has information on this. Please refer to “Compatibility Within a Domain” section.</p>
<p><a href="http://download.oracle.com/docs/cd/E14571_01/web.1111/e14529/compatibility.htm">http://download.oracle.com/docs/cd/E14571_01/web.1111/e14529/compatibility.htm</a></p>
<p>Only during the rolling upgrade process would you have servers at two different patch set levels in a cluster, and we expect the rolling upgrade process to complete within a few hours. This process is for upgrading a running WebLogic Server cluster with a patch, maintenance pack, or minor release without shutting down the entire cluster or domain. During the rolling upgrade of a cluster, each server in the cluster is individually upgraded and restarted while the other servers in the cluster continue to host your application. Below is the documentation which has information on this.</p>
<p><a href="http://download.oracle.com/docs/cd/E14571_01/web.1111/e13754/rolling_upgrade.htm#i1065782">http://download.oracle.com/docs/cd/E14571_01/web.1111/e13754/rolling_upgrade.htm#i1065782</a></p>
<h2><a name="REF"></a>References</h2>
<p><a href="http://download.oracle.com/docs/cd/E14571_01/web.1111/e14529/compatibility.htm" target="_blank">http://download.oracle.com/docs/cd/E14571_01/web.1111/e14529/compatibility.htm</a><br />
<a href="http://download.oracle.com/docs/cd/E14571_01/web.1111/e13754/rolling_upgrade.htm#i1065782" target="_blank">http://download.oracle.com/docs/cd/E14571_01/web.1111/e13754/rolling_upgrade.htm#i1065782</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bea-weblogic.com/weblogic-server-wls-cluster-with-managed-servers-using-different-versions-of-wls-mixed-cluster.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebLogic Server (WLS) HTTP Load Balancing Problems in Cluster Using Proxy Plug-in Support Pattern</title>
		<link>http://www.bea-weblogic.com/weblogic-server-wls-http-load-balancing-problems-in-cluster-using-proxy-plug-in-support-pattern.html</link>
		<comments>http://www.bea-weblogic.com/weblogic-server-wls-http-load-balancing-problems-in-cluster-using-proxy-plug-in-support-pattern.html#comments</comments>
		<pubDate>Wed, 28 Dec 2011 14:41:42 +0000</pubDate>
		<dc:creator>maclean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CLUSTER]]></category>
		<category><![CDATA[CONFIGURE PROXY]]></category>
		<category><![CDATA[LOAD BALANCED]]></category>
		<category><![CDATA[MULTICAST]]></category>
		<category><![CDATA[PLUG-IN]]></category>
		<category><![CDATA[PROXY]]></category>
		<category><![CDATA[WEBLOGIC]]></category>

		<guid isPermaLink="false">http://www.bea-weblogic.com/?p=457</guid>
		<description><![CDATA[Applies to: Oracle Weblogic Server &#8211; Version: 6.1 to 8.1 Information in this document applies to any platform. Purpose Problem Description The load balance of HTTP requests among WebLogic cluster nodes is uneven, i.e., one or more nodes in cluster &#8230; <a href="http://www.bea-weblogic.com/weblogic-server-wls-http-load-balancing-problems-in-cluster-using-proxy-plug-in-support-pattern.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Applies to:</h2>
<p>Oracle Weblogic Server &#8211; Version: 6.1 to 8.1<br />
Information in this document applies to any platform.</p>
<h2><a name="PURPOSE"></a>Purpose</h2>
<h3><a name="aref1"></a>Problem Description</h3>
<p>The load balance of HTTP requests among WebLogic cluster nodes is uneven, i.e., one or more nodes in cluster are receiving and executing more HTTP requests than the other nodes in same cluster.</p>
<h3><a name="aref2"></a>Problem Troubleshooting</h3>
<p>Please note that not all of the following items would need to be done. Some issues can be solved by only following a few of the items.</p>
<h2><a name="LASTREVIEW"></a>Last Review Date</h2>
<p>May 4, 2010</p>
<h2><a name="ADDINFO"></a><em>Instructions for the Reader</em></h2>
<div id="troubleshootingDescr"><em>A Troubleshooting Guide is provided to assist in debugging a specific issue. When possible, diagnostic tools are included in the document to assist in troubleshooting.</em></div>
<h2><a name="TRBLSHOOT"></a>Troubleshooting Details</h2>
<h3><a name="aref3"></a>Why does the problem occur?</h3>
<p>The problem of uneven load balancing of HTTP requests in a cluster can be characterized as:</p>
<h4>Uneven load-balance of HTTP requests due to uneven distribution of HTTP sessions</h4>
<p>The proxy forwards requests without any session cookie to a cluster node based on a round-robin load-balancing scheme and a new session is created on that node. Ideally all cluster nodes should receive an equal share of HTTP sessions. When that does not happen, nodes with more sessions get more volume of requests than other nodes because of the &#8220;sticky&#8221; load-balance policy. The net result is uneven load distribution among cluster nodes.</p>
<p>Requests with a session cookie are always forwarded to the node that is the &#8220;primary&#8221; host of the session, which is called sticky load-balancing or session affinity based load balancing. The investigation of uneven load balancing does not apply to this type of request.</p>
<p>A request with session cookie will have log entries like below in proxy debug log:</p>
<div><code>Mon May 10 13:14:40 2004 Parsing cookie JSESSIONID=Af48B06Xe6BvewE8yCNWKz62dsiu028qlO9GvkS41bg3n53RbJ2Z!-2032354160!-457294087<br />
Mon May 10 13:14:40 2004 getpreferredServersFromCookie: -2032354160!-457294087<br />
Mon May 10 13:14:40 2004 Hdrs from Client:[cookie]=[JSESSIONID=Af48B06Xe6BvewE8yCNWKz62dsiu028qlO9GvkS41bg3n53RbJ2Z!-2032354160!-457294087]</code></div>
<p>The plug-in maintains an in-memory list called the &#8220;General Server List&#8221; which is the list containing cluster nodes known to be in good health (Status: OK) at any point of time. The plug-in uses the General Server List to determine which cluster node to choose in order to forward a request without a session cookie. If there is no problem, the General Server List will be same as the Static List that is configured with the plug-in.</p>
<p>There are some conditions (as described below) that will cause the General Server List to shrink and become a subset of the Static List. When that occurs, there will be fewer nodes available to which the plug-in will forward requests without any session cookie and thus distribution of HTTP sessions will be uneven.</p>
<h4>Factors that affect General Server List</h4>
<ul>
<li>X-WebLogic-Cluster-List HTTP header in the response stream from a cluster node that services a particular request.
<div><strong>What is X-WebLogic-Cluster-List HTTP header?</strong><br />
The backend weblogic server that processes a request from plug-in, returns the list of live cluster members known to it at that point via a HTTP header X-WebLogic-Request-ClusterInfo in the response stream. The header will be returned only if there is a change in cluster list.</div>
<p>If the returned cluster list is truncated, then the plug-in&#8217;s General Server List will also become subset of the full cluster list. The backend cluster node will return a truncated list when it has a subset of cluster nodes in its own cluster view.</p>
<p>This is the most common cause of load-balance problems.</li>
<li>Any Exception that has occurred when the plug-in attempts to get a request serviced by a cluster node, i.e., when sending the HTTP request to a cluster node or when reading the response from it.
<p>If any Exception occurs in this process, the cluster node will be marked bad and will be taken out of General Server List temporarily.</li>
</ul>
<h3><a name="aref4"></a>Diagnosis</h3>
<ol>
<li>Configure the proxy plug-in to produce additional diagnostic data. Refer to General Diagnostic Process for Problems with WebLogic Server (WLS) Proxy Plug-in Support Pattern (<a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;id=780007.1">Note 780007.1</a>) for details.</li>
<li>Look at the proxy bridge page for General Server List
<p>If the list does not show all the cluster nodes with Status: <strong>OK</strong>, then the General Server List has been truncated to contain a subset of nodes.</p>
<div><code><strong>Original:</strong><br />
General Server List:</p>
<p>1. Host: '172.18.137.50' Port: 8001 Status: OK<br />
2. Host: '172.18.137.54' Port: 8001 Status: OK</p>
<p><strong>Truncated</strong>:<br />
General Server List:<br />
1. Host: '172.18.137.50' Port: 8001 Status: OK</code></div>
</li>
<li>The next step is to identify which factors, (a) or (b), or a combination of both, contribute to the problem.
<ul>
<li><strong>Truncated X-WebLogic-Cluster-List</strong>
<p>Search for X-WebLogic-Cluster-List in proxy log and see at what point a truncated list has been returned from backend cluster node. Determine which backend cluster node has returned the truncated X-WebLogic-Cluster-List by following the preceding log entries for the same request.</p>
<div><code><strong>Full cluster list:</strong><br />
Mon May 10 13:14:30 2004 Hdrs from WLS:[X-WebLogic-Cluster-Hash]=[sUuYnuyhFpkhw6ty44bkNczWnaA]<br />
Mon May 10 13:14:30 2004 Hdrs from WLS:[X-WebLogic-Cluster-List]=[-2032354160!-1408071374!38625!-1|-457294087!-408071370!38625!-1]<br />
...<br />
Mon May 10 13:14:30 2004 Parsing cluster list: -2032354160!-1408071374!38625!-1|-457294087!-1408071370!38625!-1<br />
Mon May 10 13:14:30 2004 Initializing lastIndex=0 for a list of length=2<br />
Mon May 10 13:14:30 2004 ### Got a new Server List of length 2 ###<br />
Mon May 10 13:14:30 2004 ###Response### : Srvr# [1] = [172.18.137.50:38625:65535]<br />
Mon May 10 13:14:30 2004 ###Response### : Srvr# [2] = [172.18.137.54:38625:65535]</p>
<p><strong>Truncated cluster list:</strong><br />
Tue May 11 12:22:01 2004 Hdrs from WLS:[X-WebLogic-Cluster-Hash]=[O2ukNQEbMOLzU+R2026DpZaYVtI]<br />
Tue May 11 12:22:01 2004 Hdrs from WLS:[X-WebLogic-Cluster-List]=[848189891!-1408071374!38625!-1]<br />
...<br />
Tue May 11 12:22:01 2004 Parsing cluster list: 848189891!-1408071374!38625!-1<br />
Tue May 11 12:22:01 2004 Initializing lastIndex=0 for a list of length=1<br />
Tue May 11 12:22:01 2004 ### Got a new Server List of length 1 ###<br />
Tue May 11 12:22:01 2004 ###Response### : Srvr# [1] = [172.18.137.50:38625:65535]</code></div>
</li>
<li><strong>Exception in request-response</strong>
<p>Look for &#8220;Exception objects created&#8221; under &#8220;Runtime statistics&#8221; on the proxy bridge page. If the count is greater than 0, then some exceptions have occurred.</p>
<p>Also look for &#8220;Exception&#8221; in the proxy log.</p>
<div><code><strong>Proxy bridge page after an error:</strong><br />
requests: 6<br />
Exception objects created: 1<br />
CONNECTION_REFUSED exceptions: 1</p>
<p><strong>Corresponding log entries in proxy log:</strong><br />
Tue May 11 12:22:00 2004 attempt #0 out of a max of 5<br />
Tue May 11 12:22:00 2004 trying connect to PRIMARY '172.18.137.54'/38625 /65535 at line 1138 for '/mywebapp/session.jsp'<br />
Tue May 11 12:22:00 2004 INFO: New NON-SSL URL<br />
Tue May 11 12:22:00 2004 *******Exception type [CONNECTION_REFUSED] (172.18.137.54:38625 errno = 0) raised at line 1536 of URL.cpp </code></div>
</li>
</ul>
</li>
</ol>
<h3><a name="aref5"></a>Resolution</h3>
<ul>
<li>If the problem is found to be X-WebLogic-Cluster-List returning truncated list, then find out which cluster node had returned that response and focus on that node. Most often the problem is due to Multicast causing instability in cluster. See the Multicast Errors Support Pattern (<a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;id=1092037.1">Note 1092037.1</a>) for a diagnosis of the multicast problem.</li>
<li>If some exceptions are reported by bridge page, find out what type of exceptions have occurred.
<p>If the problem could not be resolved, because one or both of the above factors continue to affect the General Server List, then you can set DynamicServerList=&#8221;OFF&#8221; so that the General Server List will always contain the full list of cluster nodes as configured in the Static List. For details, refer to <a href="http://download.oracle.com/docs/cd/E13222_01/wls/docs81/plugins/plugin_params.html#1143055" target="_blank">General Parameters for Web Server Plug-Ins</a> and look for description of DynamicServerList. But pay attention to the implications of setting DynamicServerList=&#8221;OFF&#8221;</li>
</ul>
<h3><a name="aref6"></a>External Resources</h3>
<p><a href="http://download.oracle.com/docs/cd/E13222_01/wls/docs81/plugins/plugin_params.html#1143055" target="_blank">General Parameters for Web Server Plug-Ins</a></p>
<p>How the plug-in handles failover:</p>
<ul>
<li>Apache plug-in: <a href="http://download.oracle.com/docs/cd/E13222_01/wls/docs81/plugins/apache.html#113634" target="_blank">http://download.oracle.com/docs/cd/E13222_01/wls/docs81/plugins/apache.html#113634</a></li>
<li>Microsoft IIS plug-in: <a href="http://download.oracle.com/docs/cd/E13222_01/wls/docs81/plugins/isapi.html#103628" target="_blank">http://download.oracle.com/docs/cd/E13222_01/wls/docs81/plugins/isapi.html#103628</a></li>
<li>SunOne/Netscape plug-in: <a href="http://download.oracle.com/docs/cd/E13222_01/wls/docs81/plugins/nsapi.html#114841" target="_blank">http://download.oracle.com/docs/cd/E13222_01/wls/docs81/plugins/nsapi.html#114841</a></li>
</ul>
<h3><a name="aref7"></a>Need further help?</h3>
<p>If you have followed the pattern, but still require additional help, you can:</p>
<ol>
<li>Query the <a title="My Oracle Support" href="https://support.oracle.com/" target="_blank">My Oracle Support</a> knowledge base using &#8220;load balancing plug-in,&#8221; as an example, to discover other published solutions.</li>
<li>Ask a more detailed question at the <a title="My Oracle Support" href="https://support.oracle.com/" target="_blank">My Oracle Support</a> Oracle WebLogic Server Community. Click on the Community tab to find the community.</li>
</ol>
<p>If this does not resolve your issue and you have a valid support contract, you can open a support request by logging in at <a title="My Oracle Support" href="https://support.oracle.com/" target="_blank">My Oracle Support</a>.</p>
<div><strong><br />
</strong></div>
]]></content:encoded>
			<wfw:commentRss>http://www.bea-weblogic.com/weblogic-server-wls-http-load-balancing-problems-in-cluster-using-proxy-plug-in-support-pattern.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Weblogic Server Is Throwing Out Of Memory Exception when start the server in development mode</title>
		<link>http://www.bea-weblogic.com/oracle-weblogic-server-is-throwing-out-of-memory-exception-when-start-the-server-in-development-mode.html</link>
		<comments>http://www.bea-weblogic.com/oracle-weblogic-server-is-throwing-out-of-memory-exception-when-start-the-server-in-development-mode.html#comments</comments>
		<pubDate>Mon, 15 Aug 2011 09:01:04 +0000</pubDate>
		<dc:creator>maclean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[WORKSHOP; OUT OF MEMORY; WLI; RUNTIME; CAPACITY PLAN]]></category>

		<guid isPermaLink="false">http://www.bea-weblogic.com/?p=455</guid>
		<description><![CDATA[Applies to: Oracle Weblogic Server &#8211; Version: 8.1 to 10.3.2 Oracle WebLogic Integration &#8211; Version: 8.1 to 10.3 Symptoms WebLogic Server is running out of memory after while the server running for a longer period of time like a day &#8230; <a href="http://www.bea-weblogic.com/oracle-weblogic-server-is-throwing-out-of-memory-exception-when-start-the-server-in-development-mode.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Applies to:</h2>
<p>Oracle Weblogic Server &#8211; Version: 8.1 to 10.3.2<br />
Oracle WebLogic Integration &#8211; Version: 8.1 to 10.3</p>
<h2><a name="SYMPTOM"></a>Symptoms</h2>
<p>WebLogic Server is running out of memory after while the server running for a longer period of time like a day or two. Servers were load tested and configuration was finalized after several capacity planning tests.</p>
<p>EXPECTED BEHAVIOR<br />
Out of Memory shouldn&#8217;t happen in production. Regular GC runs should keep the free memory available.</p>
<h2><a name="CAUSE"></a>Cause</h2>
<p>The issue is caused using development mode in production environment</p>
<p>Development mode will make server to cache the runtime information to support debugging, workshop test console and also debug logging will be enabled to support development. All of these contributes to lot of memory consumption, but in production this doesn&#8217;t scale to perform better. Hence switching to production mode helps achieving optimum results from WLS servers.</p>
<p>Also &#8220;java -client weblogic.Server&#8221; will be used to launch the servers instead of &#8220;java -server&#8221;. java -client is not optimal configuration for servers</p>
<h2><a name="FIX"></a>Solution</h2>
<p>Production WLI server is running in Development mode. Development mode is not optimized for production servers.</p>
<p>It is suggested to use production mode in production environments. To change the Server mode to production, please use the following steps:</p>
<p>1. Open WLI domain&#8217;s setDomainEnv.cmd and search for &#8220;set PRODUCTION_MODE=&#8221; and assign the value &#8220;true&#8221;.</p>
<p>2. Three other flags debugFlag, testConsoleFlag and iterativeDevFlag will be turned to false by the<br />
script in the further lines of code in setDomainEnv.cmd</p>
<h2><a name="REF"></a>References</h2>
<p><a href="http://download.oracle.com/docs/cd/E13226_01/workshop/docs81/doc/en/workshop/reference/commands/cmdStartWebLogicCommand.html" target="_blank">http://download.oracle.com/docs/cd/E13226_01/workshop/docs81/doc/en/workshop/reference/commands/cmdStartWebLogicCommand.html</a><br />
<a href="http://download-llnw.oracle.com/docs/cd/E13160_01/wli/docs10gr3/" target="_blank">http://download-llnw.oracle.com/docs/cd/E13160_01/wli/docs10gr3/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bea-weblogic.com/oracle-weblogic-server-is-throwing-out-of-memory-exception-when-start-the-server-in-development-mode.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using JManage MBean Browser In WebLogic Server Based Products</title>
		<link>http://www.bea-weblogic.com/using-jmanage-mbean-browser-in-weblogic-server-based-products.html</link>
		<comments>http://www.bea-weblogic.com/using-jmanage-mbean-browser-in-weblogic-server-based-products.html#comments</comments>
		<pubDate>Mon, 15 Aug 2011 09:00:25 +0000</pubDate>
		<dc:creator>maclean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.bea-weblogic.com/?p=453</guid>
		<description><![CDATA[Applies to: Oracle Weblogic Server &#8211; Version: 9.0 to 10.3 Goal The MBean Browser JManage has issues with showing and updating WLS Mbeans in WLS versions starting from 9.0 and later. Solution - The project home page of the free &#8230; <a href="http://www.bea-weblogic.com/using-jmanage-mbean-browser-in-weblogic-server-based-products.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Applies to:</h2>
<h2>Oracle Weblogic Server &#8211; Version: 9.0 to 10.3</h2>
<h2><a name="GOAL"></a>Goal</h2>
<h2>The MBean Browser JManage has issues with showing and updating WLS Mbeans in WLS versions starting from 9.0 and later.</h2>
<h2><a name="FIX"></a>Solution</h2>
<h2>- The project home page of the free project is: http://www.jmanage.org/</p>
<p>- The MBeanBrowser can be downloaded here: http://sourceforge.net/projects/jmanage/files/<br />
- The current non-Alptha- Beta-RC-version is 1.0.4.<br />
* jmanage-1.0.4.tar.gz = the product<br />
* jmanage-1.0.4-wl9-patch.zip = the patch needed for all WLS 9.X based installations.</p>
<p>- Always install the product with the WLS related patch in order to get the Browser running under WLS9.* and later.</p>
<p>- If there are any issues let, turn on debug output according to the FAQ:</p>
<p>http://www.jmanage.org/wiki/index.php/JManage_FAQ#How_do_I_debug_jManage_code.3F</h2>
<div><code>set DEBUG_OPTIONS=-Xdebug -Xnoagent -Djava.compiler=NONE<br />
-Xrunjdwp:transport=dt_socket, server=y, address=8000, suspend=n</code></div>
<h2>
Please note &#8211; the use of this product is not supported by Oracle Global Software Support.</h2>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bea-weblogic.com/using-jmanage-mbean-browser-in-weblogic-server-based-products.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading Weblogic Server (WLS) License from 8.1SP2 to 8.1SP6 or 9.2</title>
		<link>http://www.bea-weblogic.com/upgrading-weblogic-server-wls-license-from-8-1sp2-to-8-1sp6-or-9-2.html</link>
		<comments>http://www.bea-weblogic.com/upgrading-weblogic-server-wls-license-from-8-1sp2-to-8-1sp6-or-9-2.html#comments</comments>
		<pubDate>Mon, 15 Aug 2011 08:59:13 +0000</pubDate>
		<dc:creator>maclean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[UPGRADE; WEBLOGIC; SERVICE PACK]]></category>

		<guid isPermaLink="false">http://www.bea-weblogic.com/?p=451</guid>
		<description><![CDATA[Applies to: Oracle Weblogic Server &#8211; Version: 8.1 to 10.0 Information in this document applies to any platform. Goal How do I upgrade my license file from WLS 8.1 SP2 to WLS 8.1 SP6? Solution No license upgrade is needed &#8230; <a href="http://www.bea-weblogic.com/upgrading-weblogic-server-wls-license-from-8-1sp2-to-8-1sp6-or-9-2.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Applies to:</h2>
<p>Oracle Weblogic Server &#8211; Version: 8.1 to 10.0<br />
Information in this document applies to any platform.</p>
<h2><a name="GOAL"></a>Goal</h2>
<p>How do I upgrade my license file from WLS 8.1 SP2 to WLS 8.1 SP6?</p>
<h2><a name="FIX"></a>Solution</h2>
<p>No license upgrade is needed when upgrading service packs. You can use the same license file.</p>
<p>For example, the license file need not be updated when upgrading from:</p>
<ul>
<li>WLS8.1SP2 to WLS8.1SP6</li>
<li>WLS9.2 to WLS9.2MP2</li>
<li>WLS10.0 to WLS10.0MP1</li>
</ul>
<p>When upgrading from from one major version to another (for example, WLS8.1 to WLS9.2 or WLS9.2 to WLS10.0), you will need an updated license file. Please see How Can I Get a New WebLogic Server License? <a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;id=842520.1">Note 842520.1</a> for more details.</p>
<p>&nbsp;</p>
<h2><a name="REF"></a>References</h2>
<p><a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;id=842520.1">NOTE:842520.1</a> - How Can I Get a New WebLogic Server License?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bea-weblogic.com/upgrading-weblogic-server-wls-license-from-8-1sp2-to-8-1sp6-or-9-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What Is The Meaning Of &#8220;Exportable key maximum lifespan set to 500 uses&#8221;?</title>
		<link>http://www.bea-weblogic.com/what-is-the-meaning-of-exportable-key-maximum-lifespan-set-to-500-uses.html</link>
		<comments>http://www.bea-weblogic.com/what-is-the-meaning-of-exportable-key-maximum-lifespan-set-to-500-uses.html#comments</comments>
		<pubDate>Mon, 15 Aug 2011 08:58:02 +0000</pubDate>
		<dc:creator>maclean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[WEBLOGIC; ERROR MESSAGE; MAXIMUM]]></category>

		<guid isPermaLink="false">http://www.bea-weblogic.com/?p=449</guid>
		<description><![CDATA[Applies to: Oracle Weblogic Server &#8211; Version: 10.0 Information in this document applies to any platform. Goal What is the meaning of the following message in the WebLogic Server logs? &#60;Sep 11, 2009 11:04:35 AM CDT&#62; &#60;Info&#62; &#60;WebLogicServer&#62; &#60;BEA-000307&#62; &#60;Exportable &#8230; <a href="http://www.bea-weblogic.com/what-is-the-meaning-of-exportable-key-maximum-lifespan-set-to-500-uses.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Applies to:</h2>
<p>Oracle Weblogic Server &#8211; Version: 10.0<br />
Information in this document applies to any platform.</p>
<h2><a name="GOAL"></a>Goal</h2>
<p>What is the meaning of the following message in the WebLogic Server logs?</p>
<div>&lt;Sep 11, 2009 11:04:35 AM CDT&gt; &lt;Info&gt; &lt;WebLogicServer&gt; &lt;BEA-000307&gt; &lt;Exportable key maximum lifespan set to 500 uses.&gt;</div>
<h2><a name="FIX"></a>Solution</h2>
<p>When you have a low-strength client connecting to a high-strength server (domestic build), the SSL<br />
spec requires that security drop to the lowest common denominator. In order to do this, a second<br />
low-strength cert/key is made in memory and then signed with your high-strength certificate/key<br />
and used for that connection.<br />
This is part of the SSL specification as well. Obviously, this can be time consuming and you do<br />
not want to do it each time; therefore, WebLogic Server generates one on startup and will use it<br />
500 times by default before regenerating it.<br />
The 501st hit from a low-strength client will require the key to be regenerated; therefore,<br />
incurring the key regeneration time.</p>
<hr />
<p>&lt;&lt;End_of_Article&gt;&gt; FOLDER:ST.Middleware.AppServer.WLSConfigAndRuntime TOPIC:Core DOCUMENT-ID:887801.1 ALIAS: SOURCE:AWIZ 7776845.992 DOCUMENT-TYPE:HOWTO ZCXTECH TITLE:Need Explanation Of Error Message IMPACT:LOW SKILL-LEVEL:NOVICE STATUS:REVIEW_READY DISTRIBUTION:EXTERNAL ZCXCURRENT AUTHOR:SKAULWAR.US PRODID-5242 COMPONENT:WLSCORE.GENERAL MINVER:10.0 MAXVER: PORTID-0 FDRSEG-1283 FDRSEG-556 FDRSEG-557 FDRSEG-465</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bea-weblogic.com/what-is-the-meaning-of-exportable-key-maximum-lifespan-set-to-500-uses.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>java.lang.ClassFormatError When Using Eclipse JDT Compiler with WebLogic Server (WLS) 10.3.0</title>
		<link>http://www.bea-weblogic.com/java-lang-classformaterror-when-using-eclipse-jdt-compiler-with-weblogic-server-wls-10-3-0.html</link>
		<comments>http://www.bea-weblogic.com/java-lang-classformaterror-when-using-eclipse-jdt-compiler-with-weblogic-server-wls-10-3-0.html#comments</comments>
		<pubDate>Mon, 15 Aug 2011 08:55:13 +0000</pubDate>
		<dc:creator>maclean</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[COMPILATION; WEBLOGIC; JDK; COMPILER; JAVA.LANG.CLASSFORMATERROR]]></category>

		<guid isPermaLink="false">http://www.bea-weblogic.com/?p=445</guid>
		<description><![CDATA[Applies to: Oracle Weblogic Server &#8211; Version: 10.3 Information in this document applies to any platform. This document is applicable to WebLogic Server (WLS) 10.3 GA (10.3.0) only. Earlier versions of WLS do not show the problem, and WLS 10.3.1+ &#8230; <a href="http://www.bea-weblogic.com/java-lang-classformaterror-when-using-eclipse-jdt-compiler-with-weblogic-server-wls-10-3-0.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Applies to:</h2>
<h2>Oracle Weblogic Server &#8211; Version: 10.3<br />
Information in this document applies to any platform.<br />
This document is applicable to WebLogic Server (WLS) 10.3 GA (10.3.0) only. Earlier versions of WLS do not show the problem, and WLS 10.3.1+ is already fixed.</h2>
<h2><a name="SYMPTOM"></a>Symptoms</h2>
<p>A java.lang.ClassFormatError is observed when using the Eclipse JDT compiler with WebLogic Server (WLS) 10.3 GA (10.3.0).</p>
<p>Previous releases of WebLogic Server would work without any problem. But on a WLS 10.3.0 domain, this kind of error occurs:</p>
<div><code>App100', context-path: '', spec-version: 'null'] Root cause of ServletException.<br />
javax.servlet.ServletException: [HTTP:101249][weblogic.servlet.internal.WebAppServletContext@1b5e410 - appName: 'mainWebApp100', name: 'mainWebApp100', context-path: '', spec-version: 'null']: Servlet class jsp_servlet.__test for servlet /test.jsp could not be loaded because the requested class was not found in the classpath.<br />
java.lang.ClassFormatError: Illegal class name "[L[Ljava/lang/String;;" in class file jsp_servlet/__test.<br />
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:533)<br />
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:262)<br />
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:182)<br />
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)<br />
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)<br />
Truncated. see log file for complete stacktrace<br />
&gt;</code></div>
<h2><a name="CAUSE"></a>Cause</h2>
<p>The Eclipse JDT compiler used in conjunction with WLS 10.3 GA has a bug when trying to compile classes to the JDK 6 format. This problem is addressed by <a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=BUG&amp;id=8177354">bug 8177354</a>, which forces the compilation to use the JDK 5 format instead.</p>
<h2><a name="FIX"></a>Solution</h2>
<p>Patches are available for <a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=BUG&amp;id=8177354">bug 8177354</a>:</p>
<p>&nbsp;</p>
<pre>------------------------------------------
     PATCH REPOSITORY INFORMATION
------------------------------------------
  WLS Version | Patch ID |  Passcode
--------------+----------+----------------
    10.3 GA   | HEH5     |  JW6PS6W4</pre>
<p>&nbsp;</p>
<p>Fixed in: 10.3.1</p>
<p>To apply one of these patches, download the patch using Smart Update and apply: see <a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;id=885851.1">Note 885851.1</a> for step-by-step instructions. If your target system is offline, please refer to <a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;id=876004.1">Note 876004.1</a> for additional assistance. All the details about SmartUpdate are available in the <a title="WebLogic Server SmartUpdate documentation" href="http://download.oracle.com/docs/cd/E12839_01/doc.1111/e14143/toc.htm" target="_blank">SmartUpdate</a> documentation.</p>
<p>Patches are specifically tied to a particular release and maintenance pack of WebLogic Server (WLS). A patch for WLS 9.2.2, for example, very likely would not work on WLS 9.2.3. In a few cases, patches are also specific to particular operating systems. If you think you are experiencing the problem outlined in this note, but your WLS version is not included in the list of patches provided here, please contact support and ask for a version of the patch appropriate for you. Please reference this note as well as this bug number to help speed our service for you.</p>
<h2><a name="REF"></a>References</h2>
<h2><a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=BUG&amp;id=8177354">BUG:8177354</a> - [CR380619] WLS 10.3 - GETTING JAVA.LANG.CLASSFORMATERROR WHILE ACCESSING A PARTI</h2>
]]></content:encoded>
			<wfw:commentRss>http://www.bea-weblogic.com/java-lang-classformaterror-when-using-eclipse-jdt-compiler-with-weblogic-server-wls-10-3-0.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.860 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-20 22:35:42 -->
<!-- Compression = gzip -->
