Before you begin
You must install a Web service before you can configure persistence. See Install a Web service.
Note: This section applies to JAX-WS Web services only.
WebLogic Server provides a default Web service persistence store that provides a built-in, high-performance storage solution for Web services. The Web service persistence store is used by advanced features, such as Web services reliable messaging, to support long running requests and to survive server restarts.
The following table describes the components of the Web service persistence store.
Component | Description |
---|---|
Logical store | Provides the business configuration requirements and connects the Web service to the physical store and buffering queue. |
Physical store | Handles the I/O operations to save and retrieve data from the physical storage (such as file, DBMS, and so on). |
Buffering queue | Stores buffered requests and responses for the Web service. |
You can configure Web service persistence at the following levels: WebLogic Server and Web service endpoint. The Web service persistence configured at the server level defines the default persistence store for all Web services and clients running on that server.
Use one of the following methods to configure Web service persistence for WebLogic Server:
For more information about Web service persistence and its configurable components, see "Managing the Persistence of Web Services" in Developing JAX-WS Web Services for Oracle WebLogic Server.
To configure Web service persistence manually:
Note: You can name the resources described in the following procedure as
desired, except the Work Manager; it must be named
weblogic.wsee.mdb.DispatchPolicy
. You should not modify
the names of resources in a production environment.
Note: It is strongly recommended that you configure the JMS module as a uniform distributed destination (UDD).
To configure distributed destinations manually and for more information, see "Using Distributed Destinations" in Developing JMS Applications for Oracle WebLogic Server..
In a single server environment, target the persistent store (for
example, WseeFileStore
) to the single WebLogic
Server instance. In a clustered environment, configure a separate
physical store for each Managed Server in the cluster (for example,
WseeFileStore_
servername
).
In a single server environment, target the JMS server (for
example, WseeJaxwsJmsServer
) to the single WebLogic
Server instance. In a clustered environment, configure a separate
JMS server for each Managed Server in the cluster (for example,
WseeJaxwsJmsServer_
servername
).
WseeFileStore_
server_name
as the physical store. Target the SAF agent to the source WebLogic
Server instance. For details, see Create Store-and-Forward
agents.
In a single server environment, target the SAF agent (for
example, ReliableWseeSAFAgent
) to the single
WebLogic Server instance. In a clustered environment, configure a
separate SAF agent for each Managed Server in the cluster (for
example,
ReliableWseeSAFAgent_
servername
).
weblogic.wsee.BufferedRequestQueue
weblogic.wsee.BufferedRequestErrorQueue
weblogic.wsee.BufferedResponseQueue
weblogic.wsee.BufferedResponseErrorQueue
In a single-server environment, target the queues to the JMS server created in a previous step. In a clustered environment, create a JMS uniform distributed destination (UDD) and target it to the JMS subdeployment. For details, see Configure JMS system modules and add JMS resources.
weblogic.wsee.jaxws.mdb.DispatchPolicy
to enable the
Web service to execute multiple work items concurrently within a
container. For details, see Create application-scoped
Work Managers.
- To create a new logical store, click New and provide values for the fields. Click Finish to create the new logical store.
- To edit an existing logical store, click the name of the logical store in the table, edit property values, as required, and click Save to save the new configuration values.
- To delete an existing logical store, click the checkbox next to the logical store(s) that you want to delete, and click Delete.
Note: Web services are deployed as part of an Enterprise application, Web application, or EJB. To understand how Web services are displayed in the Administration Console, see View installed Web services.