|
|
Description and Workaround or Solution
|
|
|
|
|
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.
|
|
|
|
|
The weblogic.Deployer tool interprets any extra string values between command-line arguments as a file specification. For example, if you enter the command:
java weblogic.Deployer -activate -nostage true -name myname -source c:\myapp\mymodule
the tool attempts to activate a file specification named “true”, because the -nostage option takes no arguments and “true” is an extraneous string value.
|
|
|
|
|
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.
Reboot the partitioned servers after they rejoin the cluster.
|
|
|
|
|
If a deployment plan has overrides of non-configurable elements, WebLogic Server does not currently reject the elements or fail to parse them.
Use configurable elements that use these annotations:
|
|
|
|
|
If you deploy a web app with virtual hosts as targets, you cannot then change the targeting information unless you redeploy the entire web app with new target information.
Redeploy the web app with new targets information.
|
|
|
|
|
ClassLoader.getResources() was only returning the first matching entry in an application.
ClassLoader.getResources()now returns all the matching entries found in the application.
|
|
|
|
|
Some OS and NFS combinations result in deployment failures or configuration updates with an exception like:
weblogic.management.DeploymentException: Attempt to operate 'distribute' on null BasicDeploymentMBean
- Run statd() and lockd() processes on every NFS client that accesses a remote NFS volume.
- If multiple servers that share the same domain root are started with different user Ids of same group, set the correct "umask" for the server processes so that a file created by one server can be opened for read/write by other servers without security exceptions.
|
|
|
|
|
WebLogic Server 9.x encountered an error when deploying an application using a WebLogic Server 8.1 weblogic.Deployer client.
This release of WebLogic Server can now handle deployments from a WebLogic Server 8.1 weblogic.Deployer client.
|
|
|
|
|
While using the WebLogic Administration Console with applications or EJBs deployed on a Managed Server that depend on a deployed library, you may encounter a java.lang.NoClassDefFoundError
The WebLogic Server Administration Console needs access to any shared library deployments so that Java data types and annotations can be processed. Therefore, all shared library deployments should always be targeted to the Administration Server in addition to any Managed Servers or clusters.
|
|
|
|
|
WebLogic Server could not deploy more than two versions of an application library. Attempting to do so resulted in an error like:
Cannot deploy or redeploy application 'test-app-lib [LibSpecVersion=9.2.0,LibImplVersion=9.2.0.2]' because the maximum number of application versions (2) for application 'test-app-lib' is exceeded
The limit on the number of deployed versions has been removed. Now, more than two versions of an application library can be deployed.
|
|
|
|
|
When you partially redeploy a single module from a set of inter-dependent modules, the deployment operation could throw an exception if any of the dependent modules (such as children) are not included in the partial redeploy list.
In development mode, WebLogic Server now traces the dependencies between various modules and, rather than throwing an exception, it automatically deploys any required modules.
|
|
|
|
|
In some scenarios, redeployment failed with a CannotRedeployException. The exception was caused by the web app’s Module-URI being registered in the AppClassLoaderManager instead of its module-id (context-root). This occurred only during a classloader bounce in WebAppModule.
WebLogic Server now registers a web app’s module-id with the AppClassLoaderManager.
|
|
|
|
|
If you deploy a web app as an archive war file, then context.getRealPath() returns null. This behavior can lead to certain failures in cases where the web app is dependent on the path.
Use the <show-archived-real-path-enabled> flag to specify that context.getRealPath() returns the path of the resource from the Server's internal webapp extraction directory for archived web applications. The flag can be configured in two ways:
- At domain level in
config.xml. For example:
<web-app-container> <show-archived-real-path-enabled>true </show-archived-real-path-enabled> </web-app-container>
- At the web app level in
weblogic.xml. For example:
<container-descriptor> <show-archived-real-path-enabled>true </show-archived-real-path-enabled> </container-descriptor>
The value of <show-archived-real-path-enabled> set in the web app has precedence over the value set at the domain level. The default value of this property is false.
Note that, if this path is used to dynamically copy some content to this directory location, the content will end up in the Server's internal web app extraction directory. When the web app is recompiled for any reason, the web app may be re-extracted and previously copied content will be lost.
|
|
|
|
|
In the interest of faster server startup, a remote deployer EJB used only by WebLogic 9.0 or 9.1 weblogic.Deployer clients is no longer started by default. If you use 9.0 or 9.1 weblogic.Deployer with default settings, an error message will be displayed:
While trying to lookup 'weblogic.remote.Deployer' didn't find subcontext 'remote'. Resolved 'weblogic'
If you require deployment from a 9.0 or 9.1 weblogic.Deployer using the -remote option, you need to set the DeploymentConfigurationMBean.RemoteDeployerEJBEnabled attribute to true. To set this attribute using the WebLogic Server Administration Console, on the Domain: Configuration: General tab, click Advanced and check Enable Remote Deployer EJB.
|
|
|
|
|
WebLogic Server was invoking weblogic.application.ApplicationLifecycleListener callbacks with an internal kernel identity instead of the anonymous user identity.
WebLogic Server now invokes these ApplicationLifecycleListener callbacks with the anonymous user identity. As part of this change, the user identity will be different for the execution of these callbacks.
If your implementation of these callbacks is depending upon the permissions of the internal kernel identity, then the callback implementation may encounter errors when run with the anonymous user identity. You should either modify the callback implementation to use a different identity or specify a deployment principal name on the application deployment MBean.
|
|
|
|
|
An application deployed to an individual managed server in a cluster was not removed from the staging directory during undeployment. This could cause errors if the application was later targeted to a different individual server in the cluster. The deployment could fail with the following error:
An error occurred during activation of changes, please see the log for details. [Deployer:149257]Rejecting attempt to distribute application, 'webapp_900', while the application is running.
WebLogic Server now ensures that the application and stage files are removed if the application is no longer targeted to any cluster members.
|
|
|
|
|
WebLogic Server would fail to apply deployment plan overrides if a default namespace was not set in the weblogic.xml descriptor. This would result in a VALIDATION PROBLEMS WERE FOUND error.
WebLogic Server was modified to inherit the namespace from the parent attribute when merging deployment plan overrides with the weblogic.xml descriptor.
|
|
|
|
|
Performing a partial build through WebLogic Workshop could result in a deployment error, due to a partial redeploy.
This has been fixed by reconciling WebLogic Server 8.1-style MBeans in the compatibility processor of the DynamicUpdateOperation.
|
|
|
|
|
Changes made to the deployment plan while one managed server is down were not propagated to the managed server when it was brought back up. WebLogic Server was not using the file timestamps when determining whether to download the archive and plan files during startup of the managed server.
WebLogic Server’s startup has been modified to use the plan and archive timestamp. If the plan or archive are out of date, then WebLogic Server downloads new versions when the managed server starts up.
|
|
|
|
|
WebLogic Server ignored the deployment order attribute when specified in a startup class element in config.xml. Since the deployment order was ignored, WebLogic Server ran startup classes based on the order of the startup class name and the load before app deployments property value.
If deployment order is specified, it will no longer be ignored and will be used to determine execution order for startup classes.
|
|
|
|
|
In a multi-clustering ALSB domain, when you change a Business Service configuration (for example, Web Service URL modification), the managed servers which are not part of the ALSB cluster fall into the SUSPENDED state.
This problem has been resolved.
|
|
|
|
|
The retirement operation which was executed when an Administration Server was restarted, used to fail with UnreachableHostException. As a result of this failure, both (old and new) versioned applications became active.
This problem has been resolved.
|
|
|