|
The following sections describe known problems in WebLogic Server 10.3, as well as problems that were resolved in earlier versions. Entries include a description of the problem, and a workaround or solution where appropriate. A notation in the Fixed In column indicates that the problem has been resolved.
For information about new and changed functionality in WebLogic Server, see “What’s New in WebLogic Server”.
The
security-permission element is available in the weblogic.xml and weblogic-ejb-jar.xml deployment descriptors, but is not available in the weblogic-application.xml descriptor. Therefore, in an Enterprise application, you can only apply security policies to JAR files that are EJBs or Web applications.
|
|||
If you deploy an application to a cluster and one or more clustered servers are unavailable (for example, servers partitioned from the cluster due to a network outage), the deployment operation may appear to hang. In addition, the partitioned servers may not deploy the application even after they successfully rejoin the cluster.
|
|||
Internal fields and methods were incorrectly documented in the API reference. These fields and methods have been deprecated and are no longer documented. You should remove any usage of these fields or methods.
For a complete list, refer to
“Deprecated Functionality” in Release Notes.
|
|||
Deployment may fail to complete and could timeout if a transient network error prevented the send of the completion message from the managed server to the administration server.
|
|||
Continuous improvements are made to the WebLogic Server documentation. The latest documentation for WebLogic Server is available from the WebLogic Server Product Documentation Web site at the following location:
http://e-docs.bea.com/wls/docs103/index.html
The MBean Reference will not document the interfaces to the SAML 2.0 Identity Asserter and SAML 2.0 Credential Mapping provider. Instead, the Javadoc for these MBean interfaces has been generated in a separate location that will be accessible from e-docs. The sections in Securing WebLogic Server that explain how to configure and manage the SAML 2.0 providers have been revised to include a link to this separate location.
For information about the MBean interfaces to the SAML 2.0 security providers, users need to refer to
http://e-docs.bea.com/wls/docs103/saml2_javadocs.
|
|||
|
|||
BEA WebLogic Express is no longer available from Oracle, therefore its description has been removed from the WebLogic Server 10.3 documentation. All WebLogic Express functionality is available and supported in other Oracle WebLogic Server products. You can upgrade your 10.0 and earlier WebLogic Express applications to WebLogic Server 10.3.
|
The EJB container always uses an outer join in a CMP bean finder when eager relationship-caching is turned on. Typically, inner joins are faster to execute than outer joins with the drawback that inner joins do not return rows which do not have data in the corresponding joined table.
In WLS 10.3, a new configuration element,
<use-inner-join>, has been added in weblogic-cmp-rdbms-jar.xml, as an attribute of <weblogic-rdbms-bean>, as shown here:
<weblogic-rdbms-bean>
|
|||
Currently, there is no way to serialize a business object in the EJB3 specification, which is different than a traditional component object.
When you need to serialize a business object, first invoke
BusinessObject._WL_getBusinessObjectHandle() to get the business handle object, then serialize the business handle object. To recover from this serialization, just deserialize to get the business handle object, then invoke its getBusinessObject().
|
|||
When cache miss ratio is too high, and you have enabled ready bean instances in cache, it can adversely affect performance.
For CMP beans, if you enable the feature in Data Direct, the container will not maintain the ready instances in cache. If the feature is enabled in Data Direct, the cache will only keep the active instances. A bean instance only has one state (active). Once the involved transaction is committed or rolled back, the bean instance is removed from active cache to the pool immediately.
|
|||
When filtering out just the
org.apache.openjpa.* packages (but not the com.solarmetric.* and kodo.* packages), deployment of the application will fail with an exception message similar to this:
java.lang.IllegalArgumentException: interface
When deploying an application-provided version of OpenJPA, all three Kodo-related packages must be filtered using the
prefer-application- libraries directive:
<weblogic-application>
The Kodo and
com.solarmetric packages must be filtered even if you want to disable all Kodo features (that is, only use OpenJPA).
Additionally, if you want to provide your own version of
openjpa.jar, but use the WebLogic-provided Kodo jar, the application must still exclude kodo.* and com.solarmetric.*, and the application must bundle the Kodo jar from the WebLogic distribution.
Applications may also need to exclude
serp.* and bundle their own version of it at some point in the future if new APIs or bug fixes are introduced in that codebase. However, there are no interdependencies with serp as there are between the org.apache.openjpa.*, kodo.*, and com.solarmetric.* packages.
|
|||
In prior releases, the
DataCacheTimeout attribute was initialized and cached inside the ClassMetaData the first time it was accessed. After a configuration update, DataCacheTimeout still used the original cached value, although the configuration was updated.
This issue has been fixed in WLS 10.3.
DataCacheTimeout will use the newly configured global default value, with one limitation. For those classes that have a @DataCache annotation with a DataCacheTimeout value equal to the old default value, the DataCacheTimeout value will be equal to the newly configured default. For example, if the global configuration is set to 10 seconds, and a @DataCache annotation override is 10 seconds, if the global default is updated to 20 seconds, the @DataCache annotation is also updated to 20 seconds because it is the same as the original global default value.
|
|||
|
The JDT project provides a set of plug-ins that add the capabilities of a full-featured JAVA IDE to the Eclipse platform. Use the JDT compiler for improved performance as compared to Javac.
For
For WLS, use the
Please refer to http://www.bea.com/ns/weblogic/920/domain.xsd for more information. |
|||
|
The second case can be resolved by downloading the needed classes from the server side. If network downloading is disabled, however, the invocation will fail still. If network downloading isn't permitted in the user's environment, it is recommended that you run
appc first, then add the generated classes to the classpath of the client side.
|
|||
The cache hit and miss counts may rise unexpectedly when manipulating entities without version data. The extra cache access occurs when the EntityManager closes and all contained entities are detached. Entities without version fields appear to the system to be missing their version data, and the system responds by checking their version in the cache before detachment.
|
|||
When using the MySQL database, and OpenJPA is configured to automatically run the mapping tool at runtime and create tables within the default schema (for example,
<property name='openjpa.jdbc.SynchronizeMappings' value='buildSchema'/> <property name='openjpa.jdbc.Schema' value='<MySQL database name>' />), OpenJPA will try to create the table even if the table already exists in the database. A PersistenceException will be thrown to indicate that the table already exists and the table creation statement fails.
|
|||
In previous WLS releases, it was possible that some classes could be loaded without enhancement if the module in which the
persistence.xml was defined was declared after some of the dependent modules referencing those persistent classes (for example, if SB.jar is dependent on persistent classes defined in domain.jar, and domain.jar is declared after SB.jar in an EAR). In this case, the dependent module which does not have the persistence.xml declared in it gets loaded, and the persistent entity classes are not enhanced. This can result in the following error:
java.lang.NoSuchMethodError: pcGetManagedFieldCount
In WLS 10.3, the classloader hooks for runtime enhancement for all the EJBs are installed first. The webapp modules are then processed in order after their classloader initialization completes. This resolves the issue.
There is a narrow possibility that the
NoSuchMethodError message could still occur if all of the following conditions are true: (a) a custom class loader configuration is defined, (b) two webapp modules share the same classloader and persistence classes, (c) one of the modules has persistence.xml and the other module doesn't, and (d) the webapp module that has the persistence.xml is not declared or occurs earlier in the order of the modules of the EAR. In this case, some entity classes may load without enhancements. To prevent this, the modules should be ordered in the opposite way.
|
|||
On a Microsoft Vista system, the generic installer normally must be run with administrative permissions for all installation tasks to be successful. Administrative permissions are required if:
|