随笔:45 文章:5 评论:25 引用:0
BlogJava 首页 发新随笔
发新文章 联系 聚合管理

2009年2月25日

由于是别的人文章,在此就记下个LINK吧 http://blog.csdn.net/ferry_passion/article/details/7607489
posted @ 2012-07-25 21:42 Hill 阅读(239) | 评论 (0)编辑 收藏
 
快过年了,但在2011年还有不到2个月的时候,发篇随笔吧~
今年的计划到目前看,都基本实现了。但是,我知道,挑战和未来的规划也已经开始。
以后一段日子本人将专注分布式应用的学习和研究,希望能与大家分享一下心得体会吧。本论坛的高手很多,也希望能得到你们的指导。
分布式计算、分布式存储、虚拟化技术---->新的系统分析、设计方式;OSGI/Hadoop/Hbase....

今年过年也有很重要的事要做~期待中~
posted @ 2011-11-19 11:32 Hill 阅读(334) | 评论 (1)编辑 收藏
 
     摘要: ORA-01461: can bind a LONG value only for insert into a LONG column(点睛)  阅读全文
posted @ 2009-10-13 15:11 Hill 阅读(2239) | 评论 (0)编辑 收藏
 
     摘要: set_context与set_identifier  阅读全文
posted @ 2009-09-04 17:32 Hill 阅读(327) | 评论 (0)编辑 收藏
 
     摘要: Ibatis中#和$两个符号的使用区别  阅读全文
posted @ 2009-09-01 17:45 Hill 阅读(1861) | 评论 (0)编辑 收藏
 
     摘要: java这样也能写,我还真没用过。学习学习  阅读全文
posted @ 2009-07-15 16:16 Hill 阅读(301) | 评论 (0)编辑 收藏
 
     摘要: 在很多大型应用中都会对数据进行切分,并且采用多个数据库实例进行管理,这样可以有效提高系统的水平伸缩性。而这样的方案就会不同于常见的单一数据实例的方案,这就要程序在运行时根据当时的请求及系统状态来动态的决定将数据存储在哪个数据库实例中,以及从哪个数据库提取数据。  阅读全文
posted @ 2009-07-11 19:24 Hill 阅读(287) | 评论 (0)编辑 收藏
 
     摘要: 很多人在进行数据迁移时,希望把数据导入不同于原系统的表空间,在导入之后却往往发现,数据被导入了原表空间。
本例举例说明解决这个问题:  阅读全文
posted @ 2009-07-11 11:44 Hill 阅读(239) | 评论 (0)编辑 收藏
 
     摘要: 很多人在进行数据迁移时,希望把数据导入不同于原系统的表空间,在导入之后却往往发现,数据被导入了原表空间。
本例举例说明解决这个问题:  阅读全文
posted @ 2009-07-11 11:44 Hill 阅读(213) | 评论 (0)编辑 收藏
 
     摘要: 根据项目需要,最近在做一个关于owc透视表的功能(PivotTable),这个东西啊让我可是郁闷了将近10天,网上很多资源都是直接连接数据源的方式,但对于实现系统开发来说,不实用,因为b/s系统多数是分层架构,并且部署实施时,很难由客户端直接向数据库服务器发出请求。原因就不多说了。
  阅读全文
posted @ 2009-07-02 12:02 Hill 阅读(851) | 评论 (2)编辑 收藏
 
     摘要: Struts2上传文件  阅读全文
posted @ 2009-06-15 17:41 Hill 阅读(243) | 评论 (0)编辑 收藏
 
     摘要: 注意:在jdk1.4下运行时,不要多加jar包。struts2-core,xwork这两个转换成jdk1.4下的版本后,别的不会再转了。如果使用别的包时,转一个加一个试试,struts2在加入jar包时,可能有问题,使用时小心。  阅读全文
posted @ 2009-06-12 15:40 Hill 阅读(1252) | 评论 (0)编辑 收藏
 
     摘要: 在jsp中操作FCKeditor  阅读全文
posted @ 2009-06-09 14:34 Hill 阅读(433) | 评论 (0)编辑 收藏
 
     摘要: row_number() /rank()/dense_rank()学习之二  阅读全文
posted @ 2009-06-08 14:27 Hill 阅读(126) | 评论 (0)编辑 收藏
 
     摘要: ORACLE分析函数学习  阅读全文
posted @ 2009-06-08 14:04 Hill 阅读(190) | 评论 (0)编辑 收藏
 
     摘要: Selecting the first n rows with Oracle  阅读全文
posted @ 2009-06-08 11:56 Hill 阅读(172) | 评论 (0)编辑 收藏
 
     摘要: document.selection.createRange方法  阅读全文
posted @ 2009-05-31 13:51 Hill 阅读(11210) | 评论 (3)编辑 收藏
 
     摘要: 处理中文问题  阅读全文
posted @ 2009-05-27 17:16 Hill 阅读(1957) | 评论 (0)编辑 收藏
 
     摘要: 向原作者学习一下,从感性上  阅读全文
posted @ 2009-05-27 14:59 Hill 阅读(98) | 评论 (0)编辑 收藏
 
     摘要: 在以前的一篇文中介绍到,当用parameterMap作为ibatis映射输入参数时,要在ibatis的配置文件中
作相应的声明。但我们也可以不在ibatis映射文件中作声明,应用方法如下:   阅读全文
posted @ 2009-05-27 14:06 Hill 阅读(3428) | 评论 (0)编辑 收藏
 
     摘要: 关于自动完成的别人的例子,学习一下。  阅读全文
posted @ 2009-05-08 15:27 Hill 阅读(169) | 评论 (0)编辑 收藏
 
     摘要: 今天遇到要用replaceAll(),看到很多人对其也有困惑.我在此记录下来  阅读全文
posted @ 2009-04-29 10:59 Hill 阅读(116704) | 评论 (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 阅读(857) | 评论 (0)编辑 收藏
 
     摘要: 简单来说序列化就是一种用来处理对象流的机制,所谓对象流也就是将对象的内容进行流化,流的概念这里不用多说(就是I/O),我们可以对流化后的对象进行读写操作,也可将流化后的对象传输于网络之间(注:要想将对象传输于网络必须进行流化)!在对对象流进行读写操作时会引发一些问题,而序列化机制正是用来解决这些问题的!
  阅读全文
posted @ 2009-03-12 15:11 Hill 阅读(549) | 评论 (1)编辑 收藏
 
     摘要: 是Logic 标签库中最复杂的标签,也是用途最广的一个标签,它能够在一个循环中遍历数组、Collection、Enumeration、Iterator 或 Map 中的所有元素。   阅读全文
posted @ 2009-03-09 10:34 Hill 阅读(1508) | 评论 (0)编辑 收藏
 
     摘要: Tiles框架为创建Web页面提供了一种模板机制,它能将网页的布局和内容分离。它允许先创建模板,然后在运行时动态地将内容插入到模板中。Tiles 框架建立在JSP的include指令的基础上,但它提供了比JSP的 include指令更强大的功能  阅读全文
posted @ 2009-03-06 11:20 Hill 阅读(311) | 评论 (0)编辑 收藏
 
     摘要: 大家都清楚在用PowerDesigner的时候,当你输入Name的时候Code是会自动帮你按照Name的内容填上的.

这个功能虽然好用,但是我需要在Name这一项加上一个中文的注释,这个时候怎么办呢?

下面两个例子,相信对你相当有用.  阅读全文
posted @ 2009-03-02 17:45 Hill 阅读(1489) | 评论 (0)编辑 收藏
 
     摘要: 近来读了一篇《怎样成为优秀的软件模型设计者》的文章,感触颇深。仔细对比分析,发现原来我自己和周围的软件开发人员平常的一些自认为对的做法,有很多是有问题的。  阅读全文
posted @ 2009-02-25 18:20 Hill 阅读(175) | 评论 (0)编辑 收藏
 
     摘要: 第一次感觉到“分享”的重要性,过去,只会想办法去获得,却没有意识到“分享”是更加值得去“获得”的能力与心态  阅读全文
posted @ 2009-02-25 18:06 Hill 阅读(121) | 评论 (0)编辑 收藏
CALENDER
<2009年2月>
25262728293031
1234567
891011121314
15161718192021
22232425262728
1234567

常用链接

留言簿(3)

随笔档案

文章档案

搜索

  •  

最新评论

阅读排行榜

评论排行榜


Powered By: 博客园
模板提供沪江博客