ITeye博客

Hide From All

RobertLeeJesus · 共 138 篇文章

Solaris Compiz Desktop Effect doesn't work.

When I enable the Solaris Desktop Effect to Normal, then the System is dead. After I force to restart it, it is still dead when the Gnome is launched. Solution: 1. In $HOME/.gconf/desktop/gnome/applications/window_manager/%gconf.xml, replacing in the default property the string "/usr/bin/compiz" wi…

2009-03-01 23:34 · Linux - Miscellaneous · 评论(0)

exp/imp

exp 将数据库内的各对象以二进制方式下载成dmp文件,方便数据迁移。 buffer:下载数据缓冲区,以字节为单位,缺省依赖操作系统 consistent:下载期间所涉及的数据保持read only,缺省为n direct:使用直通方式 ,缺省为n feeback:显示处理记录条数,缺省为0,即不显示 file:输出文件,缺省为expdat.dmp filesize:输出文件大小,缺省为操作系统最大值 indexes:是否下载索引,缺省为n,这是指索引的定义而非数据,exp 不下载索引数据 log:log文件,缺省为无,在标准输出显示 owner:指明下载的用户名 query:选择记录的一个…

2009-02-25 00:17 · Oracle · 评论(0)

Oracle Appserver - Common Logging - Log4j

In Oracle Appserver, when an EAR file is deployed, which contains common loggin and log4j, it says No Suitable Log Constructor when you try to get a log from log factory.After investigation, it is caused by the parent/child class loader. 1. In OraAS/j2ee/INST_NAME/config/application.xml, we can see…

2009-02-24 11:42 · J2SE&J2EE · 评论(0)

Common Logging

1. Specify the log implementation. commons-logging.properties 2. Guess which log implementation should be used. There are two base abstractions used by JCL: Log (the basic logger) and LogFactory (which knows how to create Log instances). Specifying a particular Log implementation is very useful (wh…

2009-02-24 00:27 · J2SE&J2EE · 评论(0)

Log4j

1. Default property file. CLASSPATH/log4j.configuration 2. Overrided property file. log4j.configuration=log4j.configuration 3. Default initialization algorithm Setting the log4j.defaultInitOverride system property to any other value then "false" will cause log4j to skip the default initialization p…

2009-02-24 00:16 · J2SE&J2EE · 评论(0)

JDK 1.4 Logging

1. Default property file. By default, JDK 1.4's logging package looks in the JAVA_HOME/lib/logging.properties file for logging configuration. 2. Overrided property file. java -Djava.util.logging.config.file=mylogging.properties com.company.MyClass 3. Property file sample. # specify the handlers to …

2009-02-23 23:26 · J2SE&J2EE · 评论(0)

Map net drive in Windows

net use R: \\host\folder password /USER:user /PERSISTENT:YES

2009-02-22 19:28 · 杂项 · 评论(0)

Instal cvsnt in windows

See attachment!

2009-02-22 00:33 · 杂项 · 评论(0)

Oracle Db Knowledge

See Attachment!

2009-02-22 00:25 · Oracle · 评论(0)

Install Oracle Db in Windows XP

See attachment!

2009-02-22 00:22 · Oracle · 评论(0)

Java Knowledge - Miscelaneous

See attachment!

2009-02-22 00:16 · J2SE&J2EE · 评论(0)

ant 和 java的关系

1. ant中的javac使用哪个jdk的bootstrap class path? 默认情况下使用启动ant的那个jdk所在的bootstrap class path, 但是这个bootstrap class path可以在javac中指定。 2. java 1.6 compiler使用target=1.5 source=1.5编译过的类是可以在1.5jre上运行的。

2009-02-10 18:19 · J2SE&J2EE · 评论(0)

我的本科毕业设计 - 计算机科学与技术

Cool Paper!

2009-01-31 21:01 · 杂项 · 评论(0)

How to make a process run after the user logs out?

nohup nohup sort sales.dat &

2009-01-04 18:05 · Linux - Miscellaneous · 评论(0)

进行有效编辑的七种习惯(vim)

如果你的很多时间是用来敲纯文本,写程序或HTML,那么有效地使用一个好的编 辑器能节省你不少时间。这篇文章里的指导和提示将有助于你更快工作,更少犯 错误。 文中采用开源文本编辑器Vim(Vi IMproved)说明有效编辑的思想,但这些思想也 适用于其他编辑器。择合适的编辑器只是有效编辑的第一步,对于哪个编辑器更 好的讨论将占很大地方,这里就不提了。如果你不知道该用哪个编辑器,或者对 现在所使用的不太满意,不妨试试Vim;你是不会失望的。 [Vim命令和选项用粗体表示] 第一部分:编辑一个文件 快速定位 编辑中大部分时间是花费在阅读、查错和寻找应该进行编辑的地方上,而不是插 入新文字或进行修…

2008-12-16 11:52 · Linux - Miscellaneous · 评论(0)