隨筆:45 文章:5 評論:25 引用:0
          BlogJava 首頁 發新隨筆
          發新文章 聯系 聚合管理

          2009年1月13日

          由于是別的人文章,在此就記下個LINK吧 http://blog.csdn.net/ferry_passion/article/details/7607489
          posted @ 2012-07-25 21:42 Hill 閱讀(249) | 評論 (0)編輯 收藏
           
          快過年了,但在2011年還有不到2個月的時候,發篇隨筆吧~
          今年的計劃到目前看,都基本實現了。但是,我知道,挑戰和未來的規劃也已經開始。
          以后一段日子本人將專注分布式應用的學習和研究,希望能與大家分享一下心得體會吧。本論壇的高手很多,也希望能得到你們的指導。
          分布式計算、分布式存儲、虛擬化技術---->新的系統分析、設計方式;OSGI/Hadoop/Hbase....

          今年過年也有很重要的事要做~期待中~
          posted @ 2011-11-19 11:32 Hill 閱讀(349) | 評論 (1)編輯 收藏
           
               摘要: ORA-01461: can bind a LONG value only for insert into a LONG column(點睛)  閱讀全文
          posted @ 2009-10-13 15:11 Hill 閱讀(2259) | 評論 (0)編輯 收藏
           
               摘要: set_context與set_identifier  閱讀全文
          posted @ 2009-09-04 17:32 Hill 閱讀(345) | 評論 (0)編輯 收藏
           
               摘要: Ibatis中#和$兩個符號的使用區別  閱讀全文
          posted @ 2009-09-01 17:45 Hill 閱讀(1883) | 評論 (0)編輯 收藏
           
               摘要: java這樣也能寫,我還真沒用過。學習學習  閱讀全文
          posted @ 2009-07-15 16:16 Hill 閱讀(317) | 評論 (0)編輯 收藏
           
               摘要: 在很多大型應用中都會對數據進行切分,并且采用多個數據庫實例進行管理,這樣可以有效提高系統的水平伸縮性。而這樣的方案就會不同于常見的單一數據實例的方案,這就要程序在運行時根據當時的請求及系統狀態來動態的決定將數據存儲在哪個數據庫實例中,以及從哪個數據庫提取數據。  閱讀全文
          posted @ 2009-07-11 19:24 Hill 閱讀(319) | 評論 (0)編輯 收藏
           
               摘要: 很多人在進行數據遷移時,希望把數據導入不同于原系統的表空間,在導入之后卻往往發現,數據被導入了原表空間。
          本例舉例說明解決這個問題:  閱讀全文
          posted @ 2009-07-11 11:44 Hill 閱讀(257) | 評論 (0)編輯 收藏
           
               摘要: 很多人在進行數據遷移時,希望把數據導入不同于原系統的表空間,在導入之后卻往往發現,數據被導入了原表空間。
          本例舉例說明解決這個問題:  閱讀全文
          posted @ 2009-07-11 11:44 Hill 閱讀(229) | 評論 (0)編輯 收藏
           
               摘要: 根據項目需要,最近在做一個關于owc透視表的功能(PivotTable),這個東西啊讓我可是郁悶了將近10天,網上很多資源都是直接連接數據源的方式,但對于實現系統開發來說,不實用,因為b/s系統多數是分層架構,并且部署實施時,很難由客戶端直接向數據庫服務器發出請求。原因就不多說了。
            閱讀全文
          posted @ 2009-07-02 12:02 Hill 閱讀(874) | 評論 (2)編輯 收藏
           
               摘要: Struts2上傳文件  閱讀全文
          posted @ 2009-06-15 17:41 Hill 閱讀(264) | 評論 (0)編輯 收藏
           
               摘要: 注意:在jdk1.4下運行時,不要多加jar包。struts2-core,xwork這兩個轉換成jdk1.4下的版本后,別的不會再轉了。如果使用別的包時,轉一個加一個試試,struts2在加入jar包時,可能有問題,使用時小心。  閱讀全文
          posted @ 2009-06-12 15:40 Hill 閱讀(1257) | 評論 (0)編輯 收藏
           
               摘要: 在jsp中操作FCKeditor  閱讀全文
          posted @ 2009-06-09 14:34 Hill 閱讀(446) | 評論 (0)編輯 收藏
           
               摘要: row_number() /rank()/dense_rank()學習之二  閱讀全文
          posted @ 2009-06-08 14:27 Hill 閱讀(139) | 評論 (0)編輯 收藏
           
               摘要: ORACLE分析函數學習  閱讀全文
          posted @ 2009-06-08 14:04 Hill 閱讀(203) | 評論 (0)編輯 收藏
           
               摘要: Selecting the first n rows with Oracle  閱讀全文
          posted @ 2009-06-08 11:56 Hill 閱讀(180) | 評論 (0)編輯 收藏
           
               摘要: document.selection.createRange方法  閱讀全文
          posted @ 2009-05-31 13:51 Hill 閱讀(11248) | 評論 (3)編輯 收藏
           
               摘要: 處理中文問題  閱讀全文
          posted @ 2009-05-27 17:16 Hill 閱讀(1967) | 評論 (0)編輯 收藏
           
               摘要: 向原作者學習一下,從感性上  閱讀全文
          posted @ 2009-05-27 14:59 Hill 閱讀(106) | 評論 (0)編輯 收藏
           
               摘要: 在以前的一篇文中介紹到,當用parameterMap作為ibatis映射輸入參數時,要在ibatis的配置文件中
          作相應的聲明。但我們也可以不在ibatis映射文件中作聲明,應用方法如下:   閱讀全文
          posted @ 2009-05-27 14:06 Hill 閱讀(3439) | 評論 (0)編輯 收藏
           
               摘要: 關于自動完成的別人的例子,學習一下。  閱讀全文
          posted @ 2009-05-08 15:27 Hill 閱讀(178) | 評論 (0)編輯 收藏
           
               摘要: 今天遇到要用replaceAll(),看到很多人對其也有困惑.我在此記錄下來  閱讀全文
          posted @ 2009-04-29 10:59 Hill 閱讀(116732) | 評論 (5)編輯 收藏
           

          今天打算啟用一下Oracle Database 11g的Database Control,發現初始并未安裝:

          [oracle@test126 ~]$ emctl start
          EM Configuration issue. /opt/oracle/product/11.1.0/test126.hurray.com.cn_dodd not found.

           

          遇到這類問題,可以通過重新配置,來創建EM的配置文件:

          [oracle@test126 11.1.0]$ emca -config dbcontrol db -repos recreate

           

          STARTED EMCA at Aug 28, 2007 11:54:40 AM
          EM Configuration Assistant, Version 11.1.0.5.0 Production
          Copyright (c) 2003, 2005, Oracle. All rights reserved.

          Enter the following information:
          Database SID: dodd
          Listener port number: 1521
          Password for SYS user:
          Password for DBSNMP user:
          Password for SYSMAN user:
          Password for SYSMAN user: Email address for notifications (optional): eygle@eygle.com
          Outgoing Mail (SMTP) server for notifications (optional):
          -----------------------------------------------------------------

          You have specified the following settings

          Database ORACLE_HOME ................ /opt/oracle/product/11.1.0

          Local hostname ................ test126.hurray.com.cn
          Listener port number ................ 1521
          Database SID ................ dodd
          Email address for notifications ............... eygle@eygle.com
          Outgoing Mail (SMTP) server for notifications ...............

          -----------------------------------------------------------------
          Do you wish to continue? [yes(Y)/no(N)]: Y
          Aug 28, 2007 11:56:58 AM oracle.sysman.emcp.EMConfig perform
          INFO: This operation is being logged at /opt/oracle/cfgtoollogs/emca/dodd/emca_2007_08_28_11_54_40.log.
          Aug 28, 2007 11:57:01 AM oracle.sysman.emcp.EMReposConfig invoke
          INFO: Dropping the EM repository (this may take a while) ...
          Aug 28, 2007 11:57:16 AM oracle.sysman.emcp.EMReposConfig invoke
          INFO: Repository successfully dropped
          Aug 28, 2007 11:57:16 AM oracle.sysman.emcp.EMReposConfig createRepository
          INFO: Creating the EM repository (this may take a while) ...


          Aug 28, 2007 12:08:35 PM oracle.sysman.emcp.EMReposConfig invoke
          INFO: Repository successfully created
          Aug 28, 2007 12:08:47 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
          INFO: Uploading configuration data to EM repository (this may take a while) ...
          Aug 28, 2007 12:11:45 PM oracle.sysman.emcp.EMReposConfig invoke
          INFO: Uploaded configuration data successfully
          Aug 28, 2007 12:11:51 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
          INFO: Software library configured successfully.
          Aug 28, 2007 12:11:51 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
          INFO: Deploying Provisioning archives ...
          Aug 28, 2007 12:12:13 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
          INFO: Provisioning archives deployed successfully.
          Aug 28, 2007 12:12:13 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
          INFO: Securing Database Control (this may take a while) ...
          Aug 28, 2007 12:12:39 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
          INFO: Database Control secured successfully.
          Aug 28, 2007 12:12:39 PM oracle.sysman.emcp.util.DBControlUtil startOMS
          INFO: Starting Database Control (this may take a while) ...
          Aug 28, 2007 12:14:04 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
          INFO: Database Control started successfully
          Aug 28, 2007 12:14:04 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
          INFO: >>>>>>>>>>> The Database Control URL is https://test126.hurray.com.cn:1158/em <<<<<<<<<<<
          Aug 28, 2007 12:14:16 PM oracle.sysman.emcp.EMDBPostConfig invoke
          WARNING:
          ************************ WARNING ************************

          Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted. The encryption key has been placed in the file: /opt/oracle/product/11.1.0/test126.hurray.com.cn_dodd/sysman/config/emkey.ora. Please ensure this file is backed up as the encrypted data will become unusable if this file is lost.

          ***********************************************************
          Enterprise Manager configuration completed successfully
          FINISHED EMCA at Aug 28, 2007 12:14:16 PM

           

          Oracle 10g中,配置方法與此相同。
          配置完成之后就可以啟動EM了:

          [oracle@test126 11.1.0]$ emctl start dbconsole
          Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
          Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
          https://test126.hurray.com.cn:1158/em/console/aboutApplication
          Starting Oracle Enterprise Manager 11g Database Control ........ started.
          ------------------------------------------------------------------
          Logs are generated in directory /opt/oracle/product/11.1.0/test126.hurray.com.cn_dodd/sysman/log

           

          如果是Linux環境,你可能還需要在iptables中開放1158端口,增加如下一行:
          -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 1158 -j ACCEPT

          重新啟動防火墻之后就可以通過IE在遠端連接EM的Database Control了:

          [root@test126 sysconfig]# service iptables restart
          Flushing firewall rules: [ OK ]
          Setting chains to policy ACCEPT: filter [ OK ]
          Unloading iptables modules: [ OK ]
          Applying iptables firewall rules: [ OK ]
          Loading additional iptables modules: ip_conntrack_netbios_ns [ OK ]

           


          -The End-

          posted @ 2009-04-23 15:13 Hill 閱讀(867) | 評論 (0)編輯 收藏
           
               摘要: 簡單來說序列化就是一種用來處理對象流的機制,所謂對象流也就是將對象的內容進行流化,流的概念這里不用多說(就是I/O),我們可以對流化后的對象進行讀寫操作,也可將流化后的對象傳輸于網絡之間(注:要想將對象傳輸于網絡必須進行流化)!在對對象流進行讀寫操作時會引發一些問題,而序列化機制正是用來解決這些問題的!
            閱讀全文
          posted @ 2009-03-12 15:11 Hill 閱讀(556) | 評論 (1)編輯 收藏
           
               摘要: 是Logic 標簽庫中最復雜的標簽,也是用途最廣的一個標簽,它能夠在一個循環中遍歷數組、Collection、Enumeration、Iterator 或 Map 中的所有元素。   閱讀全文
          posted @ 2009-03-09 10:34 Hill 閱讀(1521) | 評論 (0)編輯 收藏
           
               摘要: Tiles框架為創建Web頁面提供了一種模板機制,它能將網頁的布局和內容分離。它允許先創建模板,然后在運行時動態地將內容插入到模板中。Tiles 框架建立在JSP的include指令的基礎上,但它提供了比JSP的 include指令更強大的功能  閱讀全文
          posted @ 2009-03-06 11:20 Hill 閱讀(321) | 評論 (0)編輯 收藏
           
               摘要: 大家都清楚在用PowerDesigner的時候,當你輸入Name的時候Code是會自動幫你按照Name的內容填上的.

          這個功能雖然好用,但是我需要在Name這一項加上一個中文的注釋,這個時候怎么辦呢?

          下面兩個例子,相信對你相當有用.  閱讀全文
          posted @ 2009-03-02 17:45 Hill 閱讀(1497) | 評論 (0)編輯 收藏
           
               摘要: 近來讀了一篇《怎樣成為優秀的軟件模型設計者》的文章,感觸頗深。仔細對比分析,發現原來我自己和周圍的軟件開發人員平常的一些自認為對的做法,有很多是有問題的。  閱讀全文
          posted @ 2009-02-25 18:20 Hill 閱讀(180) | 評論 (0)編輯 收藏
           
               摘要: 第一次感覺到“分享”的重要性,過去,只會想辦法去獲得,卻沒有意識到“分享”是更加值得去“獲得”的能力與心態  閱讀全文
          posted @ 2009-02-25 18:06 Hill 閱讀(129) | 評論 (0)編輯 收藏
           
          <a href="javascript:self.close()">close</a>
          <!--IE7 -->
          <a href="javascript:window.open('','_self','');window.close();">direct close</a>
          <!--IE6-->
          <input type="button" value="click" onclick="javascript:window.opener=null;window.close();return false;">
          posted @ 2009-02-24 15:11 Hill 閱讀(122) | 評論 (0)編輯 收藏
           
               摘要: 學習JavaMail可以借鑒一下。用到時,可以參考  閱讀全文
          posted @ 2009-02-23 17:50 Hill 閱讀(180) | 評論 (0)編輯 收藏
           
               摘要: 介紹了oracle9i的xmltype數據類型的基本使用
          包括:建立含有xmltype數據類型的表
          插入(insert)數據
          查詢(select)數據
          更新(update)數據
          添加超過4k字節的xml文檔到xmltype型字段
          適合初學者。
            閱讀全文
          posted @ 2009-02-13 11:27 Hill 閱讀(2085) | 評論 (0)編輯 收藏
           
               摘要: RAC就是real application clusters的縮寫,Oracle Real Application Clusters (RAC)可以支持24 x 7 有效的數據庫應用 系統,您可以在由低成本的服務器構成的高可用性系統上自由部署您的應用,而無需修改您的應用程序。已經有超過4200個用戶從中受益。現在Oracle在 10g RAC中更提供免費的集群軟件和存儲管理軟件,為您降低應用成本。擁有RAC您無需再為成本而犧牲性能和 可靠性。
            閱讀全文
          posted @ 2009-02-04 10:39 Hill 閱讀(823) | 評論 (0)編輯 收藏
           
               摘要: 新人新問題,感覺問問自己這些問題,也算是指明一個學習方向吧,感覺也不容易啊,努力學習中  閱讀全文
          posted @ 2009-02-03 11:13 Hill 閱讀(407) | 評論 (8)編輯 收藏
           
               摘要: 本人是新人,要從頭學習起,希望老手們能介紹經驗啊,謝謝  閱讀全文
          posted @ 2009-02-03 11:11 Hill 閱讀(228) | 評論 (0)編輯 收藏
           
               摘要: 刪 除 數 據
          刪除表中數據的方法有兩種,在指定的表或視圖中刪除滿足給定條件的數據可以使用DELETE語句;如果要清除表中全部數據,則還可以使用TRUNCATE TABLE語句  閱讀全文
          posted @ 2009-02-03 11:04 Hill 閱讀(1562) | 評論 (4)編輯 收藏
           
          1Z0-042
          安裝和配置 Oracle Database 10g
          監控和維護 Oracle Database 10g,并排除 Oracle Database 10g 中的故障
          為 Oracle Database 10g 配置 Oracle Net Services
          Oracle Database 10g 的備份和恢復
          在 Oracle Database 10g 中創建和管理用戶賬戶
          1Z0-043
          使用 RMAN 創建和管理備份集和映像副本
          將數據庫恢復到過去某一時刻的狀態
          使用 Oracle 閃回技術恢復數據庫
          檢測塊損壞情況并采取相應的措施修復損壞的塊
          使用各種數據庫 Advisor 來監控和提高數據庫的性能
          使用資源管理器來控制數據庫資源的使用情況
          使用調度程序來簡化管理任務
          提高監聽程序的安全性
          復查數據庫日志文件以便進行診斷
          為數據庫和單獨的會話自定義基于語言的行為

          專題的研究如:RMAN、RAS、STATSPACT、 DATAGUARD、TUNING、BACKUP&RECOVER等等
          posted @ 2009-02-03 10:51 Hill 閱讀(172) | 評論 (0)編輯 收藏
           
               摘要: 我是剛參加工作不久的新人,想通過參加一些相關的認證提高自己的工作能力,希望大家給點意見,謝謝


          為了進一步提高Oracle認證的可選性,Oracle公司現在可以提供4種不同的認證,這些都是專為從事Oracle領域工作的人員包括DBA、開發人員以及管理人員所設計的  閱讀全文
          posted @ 2009-02-03 10:14 Hill 閱讀(146) | 評論 (0)編輯 收藏
           
               摘要: JdbcTemplate是core包的核心類。它替我們完成了資源的創建以及釋放工作,從而簡化了我們對JDBC的使用。它還可以幫助我們避免一些常見的錯誤,比如忘記關閉數據庫連接。JdbcTemplate將完成JDBC核心處理流程,比如SQL語句的創建、執行,而把SQL語句的生成以及查詢結果的提取工作留給我們的應用代碼。它可以完成SQL查詢、更新以及調用存儲過程,可以對ResultSet進行遍歷并加以提取。它還可以捕獲JDBC異常并將其轉換成org.springframework.dao包中定義的,通用的,信息更豐富的異常。

            閱讀全文
          posted @ 2009-01-13 18:07 Hill 閱讀(778) | 評論 (0)編輯 收藏
          CALENDER
          <2009年1月>
          28293031123
          45678910
          11121314151617
          18192021222324
          25262728293031
          1234567

          常用鏈接

          留言簿(3)

          隨筆檔案

          文章檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜


          Powered By: 博客園
          模板提供滬江博客

          主站蜘蛛池模板: 鄂伦春自治旗| 石台县| 崇文区| 凌海市| 永川市| 长沙县| 民和| 汝阳县| 隆昌县| 会东县| 观塘区| 三门峡市| 永新县| 长阳| 丰都县| 邢台县| 东乡族自治县| 临夏县| 绥芬河市| 伊宁市| 宝清县| 仁怀市| 石家庄市| 华安县| 仁寿县| 宁晋县| 馆陶县| 长汀县| 五大连池市| 雷波县| 大埔县| 江陵县| 惠水县| 宝兴县| 巴塘县| 通山县| 辽宁省| 中宁县| 鲁山县| 柳林县| 勐海县|