Typeconverter class. The description in msdn provides a unified method to convert the value type to other types, as well as access standard values and sub-attributes.Let's take a look at the example to translate a string into a type converter with a point structure.Public class pointconverter: typeconverter {Public override bool canconvertfrom (itypedescriptorcontext context, type sourcetype ){If (sourcetype = typeof (string) {return true ;}Return bas
TCP transmission: Use the socket service to implement a text converter, socket Text Converter
Reprinted please indicate the source, thank you: http://blog.csdn.net/harryweasley/article/details/45665291
I recently read a teaching video and learned socket programming. There is an example in which I feel that it is well written. I will organize it here to help me recall and view it.
Requirement: Text
; requestmappinghandlermappingAnnotationmethodhandleradapter-> RequestmappinghandleradapterAnnotationmethodhandlerexceptionresolver-> ExceptionhandlerexceptionresolverAll of the above are automatically registered after using the Annotation-driven.and the corresponding respectively provided abstracthandlermethodmapping, Abstracthandlermethodadapter and Abstracthandlermethodexceptionresolver to make it easier for users to implement custom implementation classes.
Spring MVC
Java code
As can
Oracle's Clusterware contains two important components: OCR (including local component OLR) and voting disks--OCR managing configuration information for Oracle Clusterware and Oracle RAC databases--OLR is located locally on each node and manages the Clusterware configuration information for the local node--voting disks Manage member relationship information. Each voting disk must be accessible to all nodes
Label:OCR is like a registry of Windows that stores all the configuration information associated with a cluster, RAC database. It is also a common configuration, which means that multiple nodes share the same configuration information. Therefore, the configuration should be stored on the shared disk. This paper mainly describes the OCR of cluster and the forgetfulness problem of OCR based on Oracle 10g RAC.
object to a string in some way.
To achieve these transformations, there is a magician in Struts 2.0 who can help you--converter. With it, you don't have to repeat this code over and over again:
Date birthday = dateformat.getinstance (dateformat.short). Parse (strdate);
OK, now let's take a look at an example.
Converters--hello World
At the end of my last article, "Internationalizing in Struts 2.0 (i18n) Your application," I gave an example tha
The OCR and Voting Disk backups in Oracle RAC are described in my blog: common maintenance tools and commands of Oracle RAC. Now I will explain it separately, because OCR and Voting Disk are too important for the RAC system.Oracle RAC commonly used maintenance tools and commands: http://www.bkjia.com/database/201202/120555.html1. Voting DiskThe Voting Disk file is mainly used to record the node member statu
OCR is like a Windows registry that stores all configuration information related to the cluster and Rac database. It is also a public configuration, that is, multiple nodes share the same configuration information. Therefore, this configuration should be stored on the shared disk. This article mainly describes the OCR of the cluster and the amnesia caused by OCR
OCR and voting Disk backups in Oracle RAC are described in my blog: oracle RAC Common maintenance tools and commands , and now take it separately to make a note, because OCR and voting disk Is too important for a RAC system.Oracle RAC Common maintenance tools and commandsHttp://blog.csdn.net/tianlesoftware/archive/2010/03/09/5358573.aspxa. Voting DiskVoting Disk This file is mainly used to record node membe
OCR is like a Windows registry that stores all configuration information related to the cluster and RAC database. It is also a public configuration, that is, multiple nodes share the same configuration information. Therefore, this configuration should be stored on the shared disk. This article mainly describes the OCR of the cluster and the amnesia caused by OCR
As a cluster, oraclecluster needs shared storage to store the configuration information of the entire cluster. ocr is the place where the configuration information is stored in use cases. The storage capacity of ocr is generally not too large.
As a cluster, oracle cluster needs shared storage to store the configuration information of the entire cluster. ocr is th
11gR2 RAC exclusive mode replace votedisk encounters PROC-26, restore ocr encounters CRS-4000, PROT-35, proc-26crs-4000
Link: http://blog.itpub.net/23135684/viewspace-748816/
The storage data of the 11gR2 RAC system is completely lost. The software of all nodes is installed on the local disk, and the local disk retains the OCR backup, the following describes how to restore the normal operation of Clusterwar
Managing Oracle clusterware (OCR)Oracle Clusterware places the configuration information of the entire cluster on shared storage. The information includes the list of cluster nodes, the ing between cluster database instances and nodes, and the CRS Application resource information. The storage location is on the OCR Disk. in the entire cluster, only one Node can perform read and write operations on the
1. Oracle Cluster Registry (OCR)
OCR is used to solve the amnesia problem in the cluster,
The Cluster Environment configuration file is not stored in a centralized manner, but each node has a local copy. When the cluster runs normally, you can change the cluster configuration on any node, in addition, this change will be automatically synchronized to other nodes.
There is A special situation: node A is
View the OCR storage location
[[emailprotected] ~]$ ocrcheckStatus of Oracle Cluster Registry is as follows : Version : 2 Total space (kbytes) : 262120 Used space (kbytes) : 5432 Available space (kbytes) : 256688 ID : 982267297 Device/File Name : /oradata/crs_data/ocr.dat Device/File integrity check succeeded
Ma JianEmail:[email protected]Published: 2012.07.02Update:2012.07.09Supplemental non-Simplified Chinese version contentSince the release of Modi-based Djvutoy, Freepic2pdf, and Pdg2pic, many people are asking the same question: Can you not install Office 2003/2007 or SharePoint Designer 2007, Let Modi-based software normal OCR? After all, for Simplified Chinese, even if you install only Modi in SharePoint Designer 2007, nearly 650 MB, the office 2007
Able2extract Professional is a versatile PDF converter that can convert any PDF file to Word (DOC), Excel (XLS), PowerPoint (PPT), publisher, OpenOffice (o Dt/odp/ods), HTML, AutoCAD (DWG/DXF), or picture files (Bmp/jpg/png/gif/tiff).A feature of the Able2extract Pro is the conversion of the image PDF, which makes it easy to convert a scanned PDF or an image-based PDF to an editable word, Excel file with OCR
Oracle Clusterware puts the entire cluster's configuration information on shared storage, which includes a list of cluster nodes, a cluster database instance to a node map, and CRS application resource information. It is also stored on an OCR disk (or OCFS file). Therefore, the importance of this configuration file is self-evident. Any action that makes an OCR configuration change is recommended to back up
P509 WenpingIf you use dbca to create databases, cluster services, or use netca to configure cluster listeners,The corresponding configuration results are automatically written into the OCR registration records. However, if you have manually created a database (create database) and manually editedThe listener file is not recorded in OCR. This requires the Administrator to use the srvctl add command to manua
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.