Where is ons.jar




















I guess you are right. After reading your last comment I took a break, ahd some coffee, and now you sound perfectly right to me! Thanks for your inputs, i will get this jar added to our internal repository. I was confused as I could not find maven stanza for this ons jar anywhere on internet. Show 2 more comments. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog.

Does ES6 make JavaScript frameworks obsolete? Your application is using Oracle Database 12 c Release 1 Client-side ONS daemon configuration is typical of applications that run on a middle-tier server such as the Oracle Application Server.

Clients in this scenario directly configure ONS by updating the ons. The location of the file may be different depending on the platform. Example demonstrates an ons. For client-side ONS daemon configuration, if the operating system OS user that starts the connection pool and the OS user that starts the client-side daemon are different, then they both must belong to the same OS group.

Also, the value of the allowgroup parameter must be set to true in the ons. You must make sure that an ONS daemon is running at all times. Using the onsctl Command. Table is a summary of the commands that onsctl supports.

In Oracle RAC If you have a UCP application that is already using the walletfile parameter in the ONS remote configuration string or local configuration file, then the only requirement is that, for the same topology, the wallet file on the client side must have the same content as the wallet file on the server side.

You can make a copy of the server-side file and make it available on the client side. For UCP applications that are using Oracle RAC features without setting the walletfile parameter, you must perform one of the following:. Add the walletfile parameter setting to the ONS remote configuration string or local configuration file, as shown in Example Keep in mind that, for the same topology, the wallet file on the client side must have the same content as the wallet file on the Oracle RAC server side.

Run the following command to remove the walletfile parameter setting from both client and server ONS configuration string and the local configuration file:. Applications have to use explicit ONS configuration remote or local instead, and make one of the changes previously discussed. The service name is used to map the connection pool to the service. In addition, the factory class must be an Oracle factory class.

The following example demonstrates configuring the connection URL as shown in Example :. Previous Next JavaScript must be enabled to correctly display this content.

Note: Borrowed connections are immediately aborted and closed during unplanned shutdown scenarios. This section discusses how a connection failover is presented to an application and what steps the application takes to recover, in the following sections: What the Application Sees How FCF Works.

When an application receives a Closed Connection error message, it should do the following: Retry the connection request. This is essential, because the old connection is no longer open. Replay the transaction. All work done before the connection was closed has been lost. Note: The application should not try to roll back the transaction. A typical failover scenario may work like the following: A database instance fails, leaving several stale connections in the cache.

Each individual connection receives a SQL exception and must retry. The application uses service names to connect to the database. The application cannot use service identifiers. If failover events are not propagated, then connection failover cannot occur. ValidConnection conn. OracleDataSource" ; pds. Note: FCF must also be enabled to use run-time connection load balancing and connection affinity.

For example, to exclude messages from the topology subcomponent, you use the following format: [all,! Following are the valid values for components: internal ons If you specify the component as internal , then there are no valid values for subcomponent. Do not use this option on the client-side. Configuration information within ons. Some parameters in the ons.

A list of other ONS daemons to talk to. Node values are given as a comma-delimited list of either host names or IP addresses plus ports. The port value that is given is the remote port that each ONS instance is listening on.

In order to maintain an identical file on all nodes, the host:port of the current ONS node can also be listed in the nodes list. It will be ignored when reading the list.

The nodes listed in the nodes line correspond to the individual nodes in the Oracle RAC instance. Listing the nodes ensures that the middle-tier node can communicate with the Oracle RAC nodes. At least one middle-tier node and one node in the Oracle RAC instance must be configured to see one another. As long as one node on each side is aware of the other, all nodes are visible. In particular, if one ONS configuration file cluster node is aware of the middle tier, then all nodes in the cluster are aware of it.

The level of messages that should be logged by ONS. This value is an integer that ranges from 1, which indicates least messages logged, to 9, which indicates most messages logged. The default value is 3. A log file that ONS should use for logging messages. This means that if you want to turn on SSL for one ONS instance, then you must turn it on for all instances that are connected. We do not track visitors or have visitors tracked by 3rd parties.

Personal Library. Knowledge Base Menu Sitemap. Concept - DB Password Encryption 7. Cookbook - Database Ant Tools tools-misc. Cookbook - Database Maintenance. Cookbook - Database Tuning. Cookbook - DB Password Encryption 7.

Cookbook - Oracle Text Index. Guide - Managing Context Indexes. Reference - Attributes of Persistent Objects. Reference - Database ER Models. Support Article - Oracle Server Compatibility. ICM 7. Share this document. Table of Contents 1 Introduction 1.



0コメント

  • 1000 / 1000