隨筆:45 文章:5 評(píng)論:25 引用:0
          BlogJava 首頁(yè) 發(fā)新隨筆
          發(fā)新文章 聯(lián)系 聚合管理

          2009年2月24日

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

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

          今天打算啟用一下Oracle Database 11g的Database Control,發(fā)現(xiàn)初始并未安裝:

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

           

          遇到這類問題,可以通過(guò)重新配置,來(lái)創(chuàng)建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中,配置方法與此相同。
          配置完成之后就可以啟動(dòng)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環(huán)境,你可能還需要在iptables中開放1158端口,增加如下一行:
          -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 1158 -j ACCEPT

          重新啟動(dòng)防火墻之后就可以通過(guò)IE在遠(yuǎn)端連接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) | 評(píng)論 (0)編輯 收藏
           
               摘要: 簡(jiǎn)單來(lái)說(shuō)序列化就是一種用來(lái)處理對(duì)象流的機(jī)制,所謂對(duì)象流也就是將對(duì)象的內(nèi)容進(jìn)行流化,流的概念這里不用多說(shuō)(就是I/O),我們可以對(duì)流化后的對(duì)象進(jìn)行讀寫操作,也可將流化后的對(duì)象傳輸于網(wǎng)絡(luò)之間(注:要想將對(duì)象傳輸于網(wǎng)絡(luò)必須進(jìn)行流化)!在對(duì)對(duì)象流進(jìn)行讀寫操作時(shí)會(huì)引發(fā)一些問題,而序列化機(jī)制正是用來(lái)解決這些問題的!
            閱讀全文
          posted @ 2009-03-12 15:11 Hill 閱讀(556) | 評(píng)論 (1)編輯 收藏
           
               摘要: 是Logic 標(biāo)簽庫(kù)中最復(fù)雜的標(biāo)簽,也是用途最廣的一個(gè)標(biāo)簽,它能夠在一個(gè)循環(huán)中遍歷數(shù)組、Collection、Enumeration、Iterator 或 Map 中的所有元素。   閱讀全文
          posted @ 2009-03-09 10:34 Hill 閱讀(1521) | 評(píng)論 (0)編輯 收藏
           
               摘要: Tiles框架為創(chuàng)建Web頁(yè)面提供了一種模板機(jī)制,它能將網(wǎng)頁(yè)的布局和內(nèi)容分離。它允許先創(chuàng)建模板,然后在運(yùn)行時(shí)動(dòng)態(tài)地將內(nèi)容插入到模板中。Tiles 框架建立在JSP的include指令的基礎(chǔ)上,但它提供了比JSP的 include指令更強(qiáng)大的功能  閱讀全文
          posted @ 2009-03-06 11:20 Hill 閱讀(321) | 評(píng)論 (0)編輯 收藏
           
               摘要: 大家都清楚在用PowerDesigner的時(shí)候,當(dāng)你輸入Name的時(shí)候Code是會(huì)自動(dòng)幫你按照Name的內(nèi)容填上的.

          這個(gè)功能雖然好用,但是我需要在Name這一項(xiàng)加上一個(gè)中文的注釋,這個(gè)時(shí)候怎么辦呢?

          下面兩個(gè)例子,相信對(duì)你相當(dāng)有用.  閱讀全文
          posted @ 2009-03-02 17:45 Hill 閱讀(1497) | 評(píng)論 (0)編輯 收藏
           
               摘要: 近來(lái)讀了一篇《怎樣成為優(yōu)秀的軟件模型設(shè)計(jì)者》的文章,感觸頗深。仔細(xì)對(duì)比分析,發(fā)現(xiàn)原來(lái)我自己和周圍的軟件開發(fā)人員平常的一些自認(rèn)為對(duì)的做法,有很多是有問題的。  閱讀全文
          posted @ 2009-02-25 18:20 Hill 閱讀(180) | 評(píng)論 (0)編輯 收藏
           
               摘要: 第一次感覺到“分享”的重要性,過(guò)去,只會(huì)想辦法去獲得,卻沒有意識(shí)到“分享”是更加值得去“獲得”的能力與心態(tài)  閱讀全文
          posted @ 2009-02-25 18:06 Hill 閱讀(129) | 評(píng)論 (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) | 評(píng)論 (0)編輯 收藏
          CALENDER
          <2009年2月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          1234567

          常用鏈接

          留言簿(3)

          隨筆檔案

          文章檔案

          搜索

          •  

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜


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

          主站蜘蛛池模板: 舟山市| 昌邑市| 灵璧县| 楚雄市| 义乌市| 永安市| 桓台县| 宜章县| 武隆县| 万载县| 新兴县| 治县。| 南通市| 玉田县| 弥渡县| 木兰县| 墨竹工卡县| 乡城县| 南昌市| 磐安县| 大关县| 大庆市| 安岳县| 麦盖提县| 兴宁市| 高陵县| 连山| 葫芦岛市| 济宁市| 桂平市| 东安县| 梓潼县| 扶风县| 太白县| 岐山县| 东方市| 九江市| 长宁区| 正定县| 渭源县| 姚安县|