BEA Logo BEA WebLogic Server Release 1.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

BEA WebLogic Server Release Notes

 

BEA WebLogic Server Release Version: 4.5.2
Date: June 2000

About BEA WebLogic Server 4.5.2

Getting Started

Year 2000 Compliance

Using the Documentation

Upgrading from Pre-4.5.1 Versions

The New Class Loader, Changes to CLASSPATH and Starting the Server

JMS Messages Upgrade Issues

EJB Upgrade Requirements

Microsoft SDK for Java Upgrade Issues

JDBC Upgrade Issues

Changes

International encoding in JSP, and Servlets

New Features

Java 2 version 1.2 Support

Swing libraries changes

Cloudscape database upgrade

EJB changes

Microsoft SDK for Java changes

WebLogic Server changes

Menu changes

Property-related changes

Deprecated APIs

Deprecated services

Platform changes

WebLogic code example changes

Jolt for WebLogic changes

WebLogic RMI/JNDI changes

WebLogic Enterprise Connectivity changes

WebLogic HTTP Servlets and JHTML changes

WebLogic JDBC, the native jdbcKona drivers, and dbKona changes

JMS changes

JSP changes

Netscape (NSAPI) and MS-IIS (ISAPI) plug-ins changes

Security changes

Documentation changes

Known Problems

Examples

EJBs

Tools and 3rd Party Containers

HTTP servlets

JMS

Security

JSP

RMI

Platform

WebLogic Server

WebLogic Tour

ZAC

Third-party software

About BEA WebLogic Server 4.5.2

Resolved and known outstanding issues with the 4.5 releases are listed in this document. WebLogic Server release version 4.5.2 is composed of release version 4.5.1, all changes in the 4.5.1 service packs, and additional fixes to the product. There are some differences between the 4.5.1 release with service pack installed and the 4.5.2 release. These differences are documented at the 4.5.1 vs. 4.5.2 page.

WebLogic Server is an application server, a runtime environment that provides infrastructure services such as database access, transaction coordination, and component framework for distributed applications. WebLogic Server also provides administrative features such as configurable security, management and application deployment tools, and clustering to promote high availability and scalability.

WebLogic Server operates at the center of a multitier architecture. Business logic is concentrated in WebLogic Server, allowing client applications to concentrate on the presentation layer. Clients can be very light-weight, greatly simplifying application deployment. Complete enterprise applications can be built with nothing more than WebLogic Server and a web browser on the client.

WebLogic Server also manages access to database systems, TP monitors, and other shared resources on behalf of clients. It presents a consistent development environment that is independent from specific back-end services employed. For example, code to perform a database query is identical, whether the query actually executes on an Oracle, Sybase, Informix, or IBM DB2 database. Changing from one database vendor to another only requires changing the software layer that WebLogic Server uses to access the database.

WebLogic Server supports a variety of published application development standards that make it easy to develop or acquire software components that can be easily integrated into an enterprise application. WebLogic Server supports the Java 2 Platform, Enterprise Edition, a collection of Java APIs that allow developers to build powerful, component-based applications.

Getting Started

This release introduces functionality that requires configuration and preparation.

For New Users

If you are a new user, please follow this installation plan:

For Current Users

BEA is always ready to support and help you. For help, please contact weblogic-support@bea.com or call 1-408-570-8070. For more support information, please read the customer support page at http://www.weblogic.com/docs45/techsupport/index.html.

Year 2000 Compliance

Since WebLogic Server is already Year 2000 compliant, there have been no issues or changes regarding this issue. For more information on Year 2000 compliance, see our Year 2000 Readiness Statement. This statement can be read online at http://www.weblogic.com/products/year2000.html.

Using the Documentation

All WebLogic documentation for this release is available:

In particular, see:

Upgrading from Pre-4.5.1 Versions

This section lists major upgrade issues. If you are upgrading from an earlier version of WebLogic Server please keep these points in mind. See later sections for information about other changes.

All changes listed are against WebLogic Server, version 4.5.0 or 4.5.1. If you are upgrading from a version earlier than 4.5.0, read the release notes for 4.5.0 at http://www.weblogic.com/docs/classdocs/release_notes450.html.

If you are using WebLogic 3.1.x, in addition to the 4.5.0 and 4.5.1 notes, read the release notes for the 4.0 release. Those notes contain details of what changed between 3.1.x and 4.0. You can view the release notes for 4.0 at http://www.weblogic.com/docs40/classdocs/release_notes.html

The New Class Loader, Changes to CLASSPATH and Starting the Server

Beginning with WebLogic Server release 4.5.1, you can deploy an EJB on a server that is already running; this is called "hot deployment." For information on hot deployment, see Using WebLogic Server hot deploy at http://www.weblogic.com/docs45/techdeploy/hotdeploy.html. In order to implement hot deployment, WebLogic uses a new class loader. There are major changes in how you set your environment and start the WebLogic Server and how you build and deploy EJBs. You will need to change how you specify the classpath for the Server, where server and client code is located, and how you invoke the Server. Hot deployment, using the new class loader, is not supported under the Microsoft SDK for Java, though changes do affect how you start the server under jview. If you are using EJBs, see the section "EJB Upgrade Requirements".

The instructions for setting the CLASSPATH both for the Server and for client applications, and for starting the server have changed. See the Installation Guide at http://www.weblogic.com/docs45/install/install_overview.html, and Setting up and Starting the WebLogic Server at http://www.weblogic.com/docs45/install/startserver.html, for details on how to set the CLASSPATH correctly.

If you are running the WebLogic Server from the command line, follow the instructions contained in Setting up and Starting the WebLogic Server at http://www.weblogic.com/docs45/install/startserver.html.

To make client-related distribution easier, we supply all of the third-party jars both as separate jar/zip files, in the subdirectory /weblogic/lib/unpacked_jars/ as well as a single .jar /weblogic/lib/weblogicaux.jar. Please note that there is no need to add both of these to the CLASSPATH. They are provided for convenience in deploying your client.

JMS Messages Upgrade Issues

Because of a change in the serialization format for JMS messages between WebLogic Servers version 4.5.0 and 4.5.1, all messages in the database of a server version 4.5.0 and 4.5.1 need to be upgraded for use in the server version 4.5.2.

BEA recommends that before you upgrade to version 4.5.2 that you process any outstanding persistent JMS messages. The remaining messages will be automatically upgraded when the version 4.5.2 server starts. Once upgraded, there is no process for reverting messages to the previous format.

JMS ObjectMessages stored in queues are not compatible between versions. Old messages will get automatically converted the first time the Server is started. Once converted, messages cannot be converted back to the older version.

EJB Upgrade Requirements

If you are an EJB user, you must do a clean build of all your stubs and skeletons with this release. You must delete old EJB classes and recompile with ejbc.

For information on using EJBs with the new class loader, see Troubleshooting your WebLogic EJB Application at http://www.weblogic.com/docs/techsupport/ejb.html.

Support for .ser files has been deprecated in the deployment of EJBs. You should use .jar files for your deployments instead. Only .jar files are supported for hot deployment. Even if you are running the Server with Microsoft's SDK for Java, you will need to use .jar files.

If you are using EJBs and the Microsoft SDK for Java, you will need to:

  1. Download and install a Java SDK from Sun to provide access to a jar tool.

  2. Add the Java SDK bin to your PATH and the classes.zip to your classpath in order for the jar tool to work.

  3. Use the jar tool to package your EJBs into a .jar file for deployment as described in Building Enterprise JavaBean Examples at http://www.weblogic.com/docs45/examples/ejb/building.html.

  4. Add the EJB .jar files that are being deployed to the classpath of the WebLogic Server before you start the Server.

  5. We have added notes on setting up EJBs with clustered servers. Please see, Using Enterprise JavaBeans in WebLogic Clusters at http://www.weblogic.com/docs45/classdocs/API_cluster.html#usingejb.

  6. If you are using the EJB examples, and you deploy an EJB, and then rebuild the example, you will not be able to redeploy the EJB unless you rename the .jar file.

Microsoft SDK for Java Upgrade Issues

Installation of the RMI classes, needed by the WebLogic Server and WebLogic COM, is an installation option when you use the InstallShield. These RMI classes are not included in the .zip file installation and are unsupported in the Microsoft JVM.

If you don't install with this option selected, you will not be able to start the Server using jview. You will need to reinstall the distribution, selecting the option, to get the correct classes. The classes can not be automatically installed because they might be incompatible if you are using a different Java JVM than Microsoft's.

Changes have also been made in how to start the Server using jview. We have added startup scripts for starting the WebLogic Server and the Console when running under the Microsoft SDK for Java.

Add c:\java \lib\classes.zip to the /cp option, where c:\java is the path to your JDK directory. For additional information, see the Install Guide at http://www.weblogic.com/docs45/install/install_overview.html.

JDBC Upgrade Issues

If you are a jdbcKona/MSSQLServer4 or jdbcKona/Informix4 user, you must update your JDBC driver for use with this release.

If you have previously purchased one of the type 4 JDBC drivers from BEA or WebLogic (jdbcKona/Informix4 of jdbcKona/MSSQLServer4), you must upgrade these drivers to the current release for use with WebLogic Server 4.5.2. You can obtain updated drivers from the same location you obtained WebLogic Server.

If you will be using these type 4 drivers with WebLogic Server, you must specify the classpath differently. Please see:

Changes

In addition to the items listed in the upgrade section, this section discusses additional changes in the 4.5.1 and 4.5.2 releases.

International encoding in JSP, and Servlets

International character set encoding (multibyte charsets) is now supported in servlets, including HTTP, JSP and JHTML. In order to properly read and transmit multibyte JSP files, the JSP servlet needs to know which charset converter to use for a particular file. There are two ways to specify this:

New Features

The following new features were added in releases 4.5.1 and 4.5.2:

Java 2 version 1.2 Support

WebLogic Server is designed to work both under Java 1.1 and Java 2. BEA currently tests WebLogic Server under both environments. However, BEA recommends that customers only deploy on a version of Java that is certified for your specific hardware platform.

We have included both the 1.1.7 and 1.2 JREs in the Windows InstallShield distribution. This gives you flexibility in moving between environments when testing and starting the Server.

Please see both our Platform Support document at http://www.weblogic.com/docs45/platforms/index.html, and Running WebLogic with the Java 2 SDK at http://www.weblogic.com/docs45/techsupport/java12.html.

The following issues were addressed in the 4.5.1 release:

Swing libraries changes

The GUI products in this release use version 1.0.3 of the Swing GUI libraries.

You can compile and use your own clients with Swing 1.1.1, though you will probably need to load the libraries in the /lib/unpacked_jars directory rather than the weblogicaux.jar.

Cloudscape database upgrade

The evaluation copy of Cloudscape, the pure-Java relational database management system, which is included in your WebLogic distribution has been upgraded to version 3.0.1. This evaluation version is fully functional but has a license that will expire. To check the expiration date, put cloudscape.jar into your CLASSPATH and run the command:

java COM.cloudscape.tools.sysinfo

EJB changes

See the upgrade section for more information about EJB changes.

The following issues were addressed release 4.5.1:

Microsoft SDK for Java changes

Hot deployment is not supported under the Microsoft SDK for Java. See the upgrade issues section for more information about changes.

Synchronization on multi-processor, Windows NT machines can be relatively slow due to hardware bottlenecks and efforts to coordinate activities between contending threads. This can result in a decrease of overall performance. See Bug Id 4256394 on the Java Developer Connection's Bug Parade for more details.

The following issues were addressed in release 4.5.1:

WebLogic Server changes

The following issues were addressed in release 4.5.1:

We changed the distributed garbage collection server to always indicate that it is running by adding entries to the Server log file. A typical entry is:

Thu Aug 19 19:44:28 PDT 1999:<I> <DGCserver>

Freed 1086 objects in 30 ms, 24 exported object remain.

We have changed the messages of outgoing exceptions from the server to include a stack trace from the server. The stack trace is contained in the message, and begins with "Begin server side stack trace" and ends with "End server side stack trace".

If the Server is started with an incorrect classpath -- such as one used in previous versions of WebLogic Server -- an error message is written to the log and the Server does not start.

Menu changes

The following issues were addressed in release 4.5.1:

We have improved the menus that are created when you install WebLogic Server on Windows NT using the InstallShield distribution.

There are new options for:

In addition to the current options, which include:

Property-related changes

There a number of property-related changes involved in upgrading from an earlier version of WebLogic Server to 4.5.2. We highly recommend that you use the properties file included with this release. For details on all properties shown here, refer to Setting WebLogic Properties at http://www.weblogic.com/docs45/admindocs/properties.html.

Deprecated properties

The following issues were addressed in release 4.5.1:

Container-managed file persistence is deprecated.

New and changed properties

The following issues were addressed in release 4.5.1:

Deprecated APIs

JDBC driver libraries

The JDBC type 2 drivers jdbcKona/Sybase and jdbcKona/MSSQLServer are deprecated as of release 4.5.1.

JHTML

JHTMLis deprecated as of release 4.5.2. Though we will continue to support JHTML, there will be no further development and developers should switch to using JSP instead.

Deprecated services

The following issues were addressed in release 4.5.1:

Legacy VisiBroker-WebLogic Bridge

Although this service is currently still supported, we are deprecating proprietary interfaces for use with CORBA in favor of the standard RMI/IIOP model. The CORBA-VisiBroker example has been deprecated and removed from this release. Note that access to WebLogic Events and WebLogic Remote services from a CORBA client is not supported under Java 2.

WebLogic Beans (T3Beans)

Although this service is currently still supported, we are deprecating the proprietary interfaces used with WebLogic Beans in favor of the standard Enterprise Java Bean model. The WebLogic Beans examples in examples/beant3 have been deprecated and removed from this release.

WebLogic Remote

Although this service is currently still supported, we are deprecating proprietary interfaces used with WebLogic Remote in favor of the standard RMI model. The WebLogic Remote examples have also been removed from this release.

WebLogic Utilities

The utility class weblogic.common.Utilities has been deprecated.

Platform changes

The following issues were addressed in release 4.5.1:

Windows 95 and 98

We no longer support Windows 95 as a platform for WebLogic Server, and we have limited our Windows 98 support to "client only". See WebLogic Platform Support documentation for details of our Windows 98 support at http://www.weblogic.com/docs45/platforms/index.html.

WebLogic code example changes

The following issues were addressed in release 4.5.1:

Because of the class loader changes, we have changed how the examples shipped with the distribution are built and run. Instead of compiling examples into the /weblogic/classes directory, we now build them into the /weblogic/myserver directory, and direct the output into one of three directories:

Instructions on building the examples and running the client applications are found in the examples documentation Guide to WebLogic Code Examples at http://www.weblogic.com/docs45/examples/index.html.

There are a set of scripts supplied with the distribution to help you configure your development environment for running the examples. Modify the scripts as described in Setting Your Development Environment, at http://www.weblogic.com/docs45/techstart/environment.html, and use them prior to building or running the examples.

Note: All the pre-built examples shipped with the distribution are built with a Java SDK. If you are using Microsoft SDK for Java, you will need to rebuild the examples before you run them, and in many cases (such as EJBs) where the example code is loaded at start-up, you will need to do this before you start the Server.

An example of a JNDI lookup has been added to the multihello example.

The following issue was addressed in release 4.5.1:

We have also removed examples that reference deprecated services, and updated examples that previously used deprecated classes.

Jolt for WebLogic changes

The following issues were addressed in release 4.5.1:

The Jolt connection pools shown in the default weblogic.properties file are consolidated into a single pool that uses the public TUXEDO Server provided by BEA. You can use this pool for trying the Jolt examples (EJB and servlets), and modify it if you have a different TUXEDO Server that you would like to use.

WebLogic RMI/JNDI changes

If you use RMI, you must do a clean build of all your stubs and skeletons with this release. You must delete old RMI and EJB classes and recompile.

An example of a JNDI lookup has been added to the multihello example.

These examples have been removed:

The following issues were addressed in release 4.5.1:

WebLogic Enterprise Connectivity changes

The following issues were addressed in release 4.5.1:

WebLogic HTTP Servlets and JHTML changes

JHTML is deprecated as of 4.5.1. Although we will continue to support JHTML. There will be no further development and developers should switch to using JSP instead.

The following issues were addressed in release 4.52:

The following issues were addressed in release 4.5.1:

WebLogic JDBC, the native jdbcKona drivers, and dbKona changes

Oracle 8 client libraries are now supported on Windows NT, Solaris, Reliant UNIX, SGI IRIX, Compaq Tru64 Unix, IBM AIX, and HPUX 11.0. See jdbcKona Platform Support at http://www.weblogic.com/docs45/platforms/index.html#jdbc.

The jdbcKona/Oracle native libraries for Windows, Solaris, AIX, HPUX10, and HPUX11 are at "34" (for example, libweblogicoci34.sl or weblogicoci34.dll).

The jdbcKona/Sybase and jdbcKona/MSSQLServer libraries for Windows, Solaris, AIX, SGI, HPUX10, and HPUX11 are at "26" (for example, libweblogicsyb26.so or weblogicsyb26.dll). These libraries have been deprecated.

The .dlls for Microsoft SDK for Java follow the pattern "weblogic" + "ms" + DBMS + version.

The JDBC type 2 drivers jdbcKona/Sybase and jdbcKona/MSSQLServer are now deprecated due to threading limitations in the DbLib. Deprecated features remain for backwards compatibility only. They exist only for deployments that have not yet migrated to other solutions.

Specifically, these drivers have not been and will not be updated to match the latest DMBS features or platform developments nor have they been updated to run under a JDK 1.2 environment. While these drivers may work in many customer situations, some customers have had problems.

To connect to a Sybase installation, we recommend the jConnect driver freely available from Sybase at http://www.sybase.com/products/internet/jconnect/.

For Microsoft SQLServer, use the jdbcKona/MSSQLServer type 4 JDBC driver available from BEA. You can download an evaluation copy of the driver from the same location you downloaded WebLogic Server. Your sales representative can help you with questions about this driver. See the upgrade section for more changes.

Support for JDBC 2.0 and WebLogic multitier driver

You may use third-party JDBC 2.0 drivers with WebLogic JDBC and WebLogic Server. Such use requires that you run WebLogic Server or WebLogic JDBC under Java 2 (JDK 1.2.x). There are currently limitations regarding the use of Java 2 that you should consider when using JDBC 2.0 drivers. These limitations are discussed in the Platform Support page at http://www.weblogic.com/docs45/platforms/index.html.

When you use a third-party JDBC 2.0 driver in a multitier configuration, all of the driver's calls and the returned data are transparently passed through the WebLogic multitier driver. This allows you to use any functionality available in that driver in a WebLogic multitier configuration. You will need to modify your code by changing the connection URL and driver name. For details, see Using Third-party JDBC 2.0 Drivers in a Multitier Configuration at http://www.weblogic.com/docs45/classdocs/API_jdbct3.html#jdbc20.

JMS changes

We have added a DDL file (jms_db2.ddl) for IBM DB2. Currently this is only supported for DB2 on NT. (DDL files are located in weblogic/classes/jms/ddl.)

The following issues were addressed in release 4.5.2:

The following issues were addressed in release 4.5.1:

JSP changes

The following issues were addressed in release 4.5.2:

The following issues were addressed in release 4.5.1:

Netscape (NSAPI) and MS-IIS (ISAPI) plug-ins changes

The following issues were addressed in release 4.5.2:

The following issues were addressed in release 4.5.1:

Security changes

The following issue was addressed in release 4.5.2:

The following issues were addressed in release 4.5.1:

Documentation changes

There is new documentation on WebLogic Clusters as of release 4.5.2:

As of release 4.5.1 there are specific directions for setting up and configuring WebLogic for JMS, JSP and EJB.

The Installation Guide is now available in pdf and print formats. The print format is included in the product box. You may download a pdf version at http://www.weblogic.com/docs45/API_users_guide.html, or view the online guide at http://www.weblogic.com/docs45/install/install_overview.html.

We have added documentation for Using VisualCafé with WebLogic at http://www.weblogic.com/docs45/classdocs/vcafe.html.

See Using WebLogic JDBC with Sybase PowerJ at http://www.weblogic.com/docs45/classdocs/powerj.html.

Other documents have been updated as needed.

Known Problems

This section lists problems about which you should be aware.

Examples

EJBs

Tools and 3rd Party Containers

where weblogic.home is the root directory of your WebLogic installation. In general, that's the same directory as specified by the property weblogic.system.home, which sets the directory where the Server finds the global weblogic.properties file for startup. As you can locate your weblogic.properties files outside the WebLogic installation, you need to define the weblogic.home property so that products from 3rd party vendors can find the WebLogic installation.

HTTP servlets

Register 6 contains wrong type There are two workarounds:

JMS

Security

JSP

RMI

Platform

WebLogic Server

WebLogic Tour

ZAC

Third-party software

4.5.2 -- Cloudscape evaluation version 3.0.1

4.5.1 -- Cloudscape evaluation version 2.0.1

If you are using the evaluation version of Cloudscape bundled with this release of WebLogic, and you are starting the server from the command line, you must also add weblogic/eval/cloudscape/lib/cloudscape.jar to the Java system classpath with -classpath option. Both the JMS and EJB examples use the evaluation Cloudscape database. For details, see Using the Cloudscape database with WebLogic at http://www.weblogic.com/docs45/techsupport/cloudscape.html and Setting up and Starting WebLogic Server at http://www.weblogic.com/docs45/install/startserver.html.

Copyright 2000 BEA Systems, Inc. All rights reserved.

Last updated 5/24/2000