??xml version="1.0" encoding="utf-8" standalone="yes"?>337P日本欧洲亚洲大胆精品,亚洲中文无码卡通动漫野外,中文字幕亚洲日韩无线码http://www.tkk7.com/wueddie/category/3483.htmlzh-cnMon, 20 Feb 2017 01:59:42 GMTMon, 20 Feb 2017 01:59:42 GMT60java.sql.BatchUpdateException: IO Error: Connection resethttp://www.tkk7.com/wueddie/archive/2017/02/20/432322.htmlInPracticeInPracticeMon, 20 Feb 2017 01:28:00 GMThttp://www.tkk7.com/wueddie/archive/2017/02/20/432322.htmlhttp://www.tkk7.com/wueddie/comments/432322.htmlhttp://www.tkk7.com/wueddie/archive/2017/02/20/432322.html#Feedback0http://www.tkk7.com/wueddie/comments/commentRss/432322.htmlhttp://www.tkk7.com/wueddie/services/trackbacks/432322.html

InPractice 2017-02-20 09:28 发表评论
]]>
Lessons learned - Oracle GI and Database Installation on SUSE 12http://www.tkk7.com/wueddie/archive/2016/07/28/431361.htmlInPracticeInPracticeThu, 28 Jul 2016 08:55:00 GMThttp://www.tkk7.com/wueddie/archive/2016/07/28/431361.htmlhttp://www.tkk7.com/wueddie/comments/431361.htmlhttp://www.tkk7.com/wueddie/archive/2016/07/28/431361.html#Feedback0http://www.tkk7.com/wueddie/comments/commentRss/431361.htmlhttp://www.tkk7.com/wueddie/services/trackbacks/431361.html asm listdisks --DATA ls /dev/oracleasm/disks Installation tasks: Issue 3: always failed due to user equivalence check after starting installer OUI with user oracle. however if I manully check with runcluvfy, no issue found at all. ./runcluvfy.sh stage -pre crsinst -n , -verbose I worked around it by using another user to replace user oracle. but it triggered next issue. Issue 4: cannot see ASM disks in OUI. no matter how I change the disk dicovery path. the disk list is empty. but I can find disk manully. /usr/sbin/oracleasm-discover 'ORCL:*' Discovered disk: ORCL:DATA Root cause is that the ASM is configured and created with user oracle. and I aming installing GI with different user other than oracle; so I cannot see the Disk created. change owner of disk device file solved the issue. ls /dev/oracleasm/disks chown /dev/oracleasm/disks -R Issue 5: root.sh execution failed. Failed to create keys in the OLR, rc = 127, Message: clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory fixed the issue with command below: zypper in libcap1 ohasd failed to start Failed to start the Clusterware. Last 20 lines of the alert log follow: 2016-07-24 23:10:28.502: [client(1119)]CRS-2101:The OLR was formatted using version 3. I found a good document from SUSE, Oracle RAC 11.2.0.4.0 on SUSE Linux Enterprise Server 12 - x86_64, it make it clear that SUSE 12 is supported by Oracle GI 11.2.0.4, it also mentioned Patch 18370031. "During the Oracle Grid Infrastructure installation, you must apply patch 18370031 before configuring the software that is installed. " The patch 18370031 is actually mentioned in "Oracle quick installation guide on Linux", but not mentioned in "Oracle quick installation guide on Linux". I majored followed up with later one and missed Patch 18370031. issue disappeared after I installed the patch 18370031. ./OPatch/opatch napply -oh -local /18370031 Errors in file : ORA-27091: unable to queue I/O ORA-15081: failed to submit an I/O operation to a disk ORA-06512: at line 4 solved by change owner of disk DATA related file ls -l /dev/oracleasm/iid chown on folder /dev/oracleasm/iid and some .* hidden file. Issue during DB installation Issue 6: report error: in invoking target 'agent nmhs' vi $ORACLE_HOME/sysman/lib/ins_emagent.mk Search for the line $(MK_EMAGENT_NMECTL) Change it to: $(MK_EMAGENT_NMECTL) -lnnz11 refer to https://community.oracle.com/thread/1093616?tstart=0

InPractice 2016-07-28 16:55 发表评论
]]>
包结构命名的新方?/title><link>http://www.tkk7.com/wueddie/archive/2006/04/01/38580.html</link><dc:creator>InPractice</dc:creator><author>InPractice</author><pubDate>Sat, 01 Apr 2006 01:26:00 GMT</pubDate><guid>http://www.tkk7.com/wueddie/archive/2006/04/01/38580.html</guid><wfw:comment>http://www.tkk7.com/wueddie/comments/38580.html</wfw:comment><comments>http://www.tkk7.com/wueddie/archive/2006/04/01/38580.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/wueddie/comments/commentRss/38580.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wueddie/services/trackbacks/38580.html</trackback:ping><description><![CDATA[J2EE目中基本都是遵循分层架构的Q自然包l构也是Z分层的。DAO层有DAO package。service 层有service package。在q些包下面再Ҏ模块划分子包?br /><br />我觉得另一U可行的Ҏ是根据模块划分包Q如果包比较复杂Q比如有过十个的类Q再Ҏ层来划分子包。一般的模块比较单,无需划分子包?br /><br />从高内聚Q低偶合的原则来_q样划分h更高的内聚性。如果按层划分。其实同层的cdƈ入多大的关系。考虑一下DAO层。这些DAO之间有多联p? <br /><br />新划分方法的好处是如果需要修Ҏ个模块,修改的地方相寚w中。因为都位于一个包内?br /><br />现在分层架构已经非常普遍Q没有必要在包的划分上体现分层架构。在cd上体现分层架构即可。就是说分层架构无需通过包结构来体现?br /><br />新的划分Ҏ可能有一个问题。各个模块之间可能有实现上的冗余。如果采用这个方案,需要在q点上采取预防措施?br /><br />当然q还是想法,没有在项目中实践。希望大家能指出q个Ҏ可能带来的问题?br /><img src ="http://www.tkk7.com/wueddie/aggbug/38580.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wueddie/" target="_blank">InPractice</a> 2006-04-01 09:26 <a href="http://www.tkk7.com/wueddie/archive/2006/04/01/38580.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>如何减少软g的BUGQ?/title><link>http://www.tkk7.com/wueddie/archive/2006/02/19/31522.html</link><dc:creator>InPractice</dc:creator><author>InPractice</author><pubDate>Sun, 19 Feb 2006 10:01:00 GMT</pubDate><guid>http://www.tkk7.com/wueddie/archive/2006/02/19/31522.html</guid><wfw:comment>http://www.tkk7.com/wueddie/comments/31522.html</wfw:comment><comments>http://www.tkk7.com/wueddie/archive/2006/02/19/31522.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/wueddie/comments/commentRss/31522.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wueddie/services/trackbacks/31522.html</trackback:ping><description><![CDATA[ <p> <font style="background-color: rgb(192, 192, 192);">每次目l束Q都会发现有一堆的Bug。如何分析这些BugQ避免重y覆辙?br /><br />有两U分析方法, ҎDeveloper在修复Bug旉择的CommonCauseQ选择比重最大的CommonCauseQ?br /><br />然后从各个方面分析RootcCause。ȝ出可以改q的地方?br /><br />我很隄解这U方法,主要是觉得每ơ都是泛泛而谈Q对减少BUG没有真正的帮助?/font> </p> <p> <br /> </p> <p> <font style="background-color: rgb(192, 192, 192);">(我确信这U分析方法没有太大的意义,因ؓ~Z对底层原因的了解. 而且Developer在选择common Cause的时候完全可能没有合适的而Q选一?l常看到的一个例子是~ZUT. q个׃一定是真正的原?事实往往是做了UT却没有发现出Bug.q种分析Ҏ是典型的不深入实际的夸作风, 依赖l计的数据而没有看到统计数据事实上可能存在问题. q样的工作肯定效率不? )</font> </p> <p> <font style="background-color: rgb(192, 192, 192);"> <br /> </font> </p> <p> <font style="background-color: rgb(192, 192, 192);">下面是我的一些思考?br />分析的基应该是BugQ而不是commonCause。直接从CommonCause开始分析,臛_可能遗漏一下重要有价值的发现?br />有些Bug是有可能避免的。而有些bug可以说没有什么好的对{。我们应该集中分析有可能避免的Bug?br />至于如何分析具体Bug是否能避免,首先应该是造成该Bug的Developer自己分析Q让大家知道Bug是如何Ş成的Q然后由大家集体军_。(q样做的风险是大家能否接受。)<br />其次ҎBug引入的时_和最l测试出的时_ȝ有没有可以改q的大方?br />能够由developer改进而消除的Bug。是最有希望避免再ơ发生的?br />比如Q有些bug是打字错误造成界面上显C的内容有瑕疵,一个可行的改进是每ơ都从需求文拷贝?br />注意必须要有措施能保证该l验能被所有Developer知道?br />另一个例子是Q我有一ơ,是的Q我有一ơ再修正bug是没有清除彻底。在ȝ的时候我掌握了全局查找、替换的技巧。有效地避免了类似的错误再次发生?br /><br />q所有错误都能由devloper来消除,有一些只能由Tester来消除。比如,一般来_TesterL比Developer对界面敏感,更能发现界面bug?br />我觉得随着单元试的进步,现在对Developer的测试水q的要求也提高了。这也许不尽合理。developer对实现花了很多精力,他不可能在测试上辑ֈ同样的水准?br /></font> </p> <img src ="http://www.tkk7.com/wueddie/aggbug/31522.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wueddie/" target="_blank">InPractice</a> 2006-02-19 18:01 <a href="http://www.tkk7.com/wueddie/archive/2006/02/19/31522.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Throw away unnecessary interface!http://www.tkk7.com/wueddie/archive/2006/02/19/31494.htmlInPracticeInPracticeSun, 19 Feb 2006 09:30:00 GMThttp://www.tkk7.com/wueddie/archive/2006/02/19/31494.htmlhttp://www.tkk7.com/wueddie/comments/31494.htmlhttp://www.tkk7.com/wueddie/archive/2006/02/19/31494.html#Feedback0http://www.tkk7.com/wueddie/comments/commentRss/31494.htmlhttp://www.tkk7.com/wueddie/services/trackbacks/31494.htmlThis is the feature of Ploymophism of OOP, such as Java. 

In some projects, the struts framework was adopted, so all the field need to be persisted is in ActionForm. In order to avoid that the Service layer /DAO layer will depends on the struts. One way is to define a interface which have getter and
setter to access all the fields need to be persisted. The design is like this:

XXXActionForm --------> XXXInterface <--------------ServiceLayer/DAO Layer
                                          most of them are 
                                          getter and setter
 
I can understand this concern, it seems follow the paterns in Enterprise Application Architecture Pattern. but I can not agree this kinds of design. I believe this is misuse of interface.

First, in this kinds of design, if we add some fields, we need update the actionForm, them also need to update interface.
It is boring, and in this case, the interface can not provide any abstraction so the interface need to evolve as the implementation changed.

Second, there is only one  kind of implementaion in the system, so the interface can not provide the benifit from making use of polymorphism.

In a word, we can get nothing design benefit from Interface in this case, And Have burden to keep the implementaion and interface synchronized.



InPractice 2006-02-19 17:30 发表评论
]]>
վ֩ģ壺 Ļ˵| ҳ˿| þAV| ѻɫӰ߹ۿ| ղһ| ĻѾþ| 18ͬ־videosվ| 8xƵ| av뾫Ʒ4 | ѻɫƬվ| ޴ɫwwwַ| ѹۿ| һa뼺Ӳִѿ51Ʒ | պĻۺ | һëƬѿ| ޺һ| þžžƷƵ| 123Һ| ѳavӰ| ѿjŽŮjѿ| ޾Ʒ˳߹ۿ| ŮƬѹۿƵ| Ʒר| avƬ߹ۿ| 91㽶߹ۿȫ| ޹Ʒþþϼ1 | ѲƵ| ޾ƷƵ߹ۿ| ݹѾþþ91| þþþùɫAVѹۿ| ձva߹ۿ| ëƬѹۿַ| aaaëƬѹۿ| Avһ| ޳avƬþ| 99reƵƷ| Ʒav벻| þþƷAVý| ŷxxxxx| aƵѹۿƵ aëƬȫ | ĻһëƬ|