锘??xml version="1.0" encoding="utf-8" standalone="yes"?>337p欧洲亚洲大胆艺术,亚洲av无码一区二区三区四区,亚洲va在线va天堂va手机http://m.tkk7.com/midea0978/category/3623.htmlzh-cnTue, 09 Apr 2013 02:34:38 GMTTue, 09 Apr 2013 02:34:38 GMT60EAR鏂囦歡緇撴瀯http://m.tkk7.com/midea0978/archive/2013/04/08/397531.html鍦ㄨ礬涓?..鍦ㄨ礬涓?..Mon, 08 Apr 2013 08:18:00 GMThttp://m.tkk7.com/midea0978/archive/2013/04/08/397531.htmlhttp://m.tkk7.com/midea0978/comments/397531.htmlhttp://m.tkk7.com/midea0978/archive/2013/04/08/397531.html#Feedback0http://m.tkk7.com/midea0978/comments/commentRss/397531.htmlhttp://m.tkk7.com/midea0978/services/trackbacks/397531.html1銆佹墦鍖呮枃浠跺懡鍚嶈鍒?/strong>
鏍規嵁JavaEE瑙勮寖錛屾墦鍖呯殑EAR鏂囦歡鍙互涓嶉傜敤閮ㄧ講鎻忚堪絎﹂儴緗詫紝鍥犳闇瑕佷嬌鐢ㄤ竴浜涢粯璁ょ殑綰﹀畾瑙勫垯錛屼緥濡?br /> •EJBs and client archives are packaged as .jar files.

•Web applications are packaged as .war files.

•Resource adapters are packaged as .rar files.

•Enterprise applications are packaged as .ear files, and can contain other Java EE modules such as EJBs, JDBC, JMS, Web applications, and Resource Adapters.

•Web Services can be packaged either as .war files or as .jar files, depending on whether they are implemented using Java classes or EJBs. Typically, the .war or .jar files are then packaged in an Enterprise Application .ear file.

•Java EE libraries are packaged either as an Enterprise Application (.ear file) or as a standard Java EE module.

•Client applications and optional packages are packaged as .jar files.
2銆丣ava EE榛樿閮ㄧ講瑙勫垯
閫氬父EAR搴旂敤涔熷彲浠ヤ嬌鐢ㄥ紑鏀懼紡鐩綍閮ㄧ講錛屾鏃朵篃搴旇鍙傝冧互涓婄殑瑙勮寖閰嶇疆鐩稿簲鐨勬枃浠跺す錛屼緥濡?br /> war搴旂敤鐩綍鍚嶅繀欏諱負XX.war
EAR==>xx.ear 
RAR==>XX.rar
EJB==>xx.jar

3銆丣ava EE鏍囧噯鐨勯儴緗茶鍒?/strong>
a錛?搴旂敤鍖呬腑鎵鏈夋墿灞曞悕鏄?war 鐨勬枃浠惰鐪嬩綔鏄?web 妯″潡銆俉eb 妯″潡鐨勪笂涓嬫枃鏍?br />鐨勫悕瀛楁槸鐩稿浜庡簲鐢ㄥ寘鏍圭殑鍚嶅瓧錛屼絾瑕佸幓鎺?war 鎵╁睍鍚嶃?br />b錛?搴旂敤鍖呬腑鎵鏈夋墿灞曞悕鏄?rar 鐨勬枃浠墮兘琚湅浣滄槸璧勬簮閫傞厤鍣ㄣ?br />c錛?鍚嶅瓧涓?lib 鐨勭洰褰曡鐪嬩綔鏄簱鐩綍錛屾濡傚湪鑺?8.2.1“鎹嗙粦鐨勫簱”涓墍榪般?br />d錛?瀵逛簬搴旂敤鍖呬腑鎵鏈変互鎵╁睍鍚嶆槸.jar 浣嗕笉鍖呭惈鍦?lib 鐩綍鍐呯殑鏂囦歡鏉ヨ錛屾寜涓嬮潰 鐨勬柟寮忔潵澶勭悊錛?br />i. 濡傛灉 JAR 鏂囦歡涓寘鍚甫鏈?Main‐Class 灞炴х殑 META‐INF/MANINFEST.MF 鏂囦歡錛?鎴栬呭寘鍚?META‐INF/application‐client.xml 鏂囦歡錛岄偅涔堣繖涓?JAR 鏂囦歡琚湅浣?鏄簲鐢ㄥ鎴風妯″潡銆?br />ii. 濡傛灉 JAR 鏂囦歡鍖呭惈 META‐INF/ejb‐jar.xml 鏂囦歡錛屾垨鑰呭寘鍚換浣曞甫鏈?EJB 緇勪歡 娉ㄩ噴絎︼紙Stateless錛岀瓑絳夛級鐨勭被錛岄偅涔堣繖涓?JAR 鏂囦歡琚湅浣滄槸 EJB 妯″潡銆?br />iii. 鎵鏈夊叾浠栫殑 JAR 鏂囦歡閮借蹇界暐錛岄櫎闈炲畠琚笂闈㈢殑 JAR 鏂囦歡浣跨敤 JAR 鏂囦歡寮?鐢ㄦ満鍒訛紙濡傚湪 mainfest 鏂囦歡涓殑 Class‐Path 澶?font face="Verdana">library-directory錛夊紩鐢ㄣ?br />
鍦↗boss鐜涓紝鍙互鍦╝pplication.xml涓墜宸ユ寚瀹歭ibrary-directory錛屼緥濡傦細
<library-directory>APP-INF/lib</library-directory>
鍏朵粬鐨刯boss閬靛驚鏍囧噯瑙勮寖

4銆乄eblogic鐨勯儴緗茶鍒?/strong>
瀵逛簬weblogic浣跨敤涓嬮潰鐨勪竴浜涜鍒欏鐞嗙洰褰曠粨鏋勶細

•For an exploded archived Web application, in the absence of WEB-INF/web.xml descriptor, the name of the directory should have a .war suffix.

•For an exploded archived Enterprise Application without a META-INF/application.xml descriptor, the directory should have an .ear suffix. Within the application, the directory of exploded Web module should have a .war suffix. Similarly, the exploded EJB module should have a .jar suffix and the exploded RAR module should have a .rar suffix.

•If an exploded Enterprise Application contains no META-INF/application.xml descriptor, the order in which modules are deployed is undefined and is dependent on the underlying File.listFiles() method order. To ensure a specific order in which modules are deployed, you must add an application.xml descriptor and list the modules in the desired order.

濡傛灉鍦╳eblogic涓嬮潰濡傛灉涓嶄嬌鐢ㄤ笂闈㈢殑瑙勫垯錛屽垯闇瑕佸湪application.xml 鏂囦歡涓寚瀹氬搴旂殑uri璺緞
鎴栬呭湪搴旂敤妯″潡涓嬌鐢ㄤ笅闈㈢殑manifest璺緞瑙勫垯

4.1 classloader鐨勮礬寰勫紩鐢?/strong>
鍦╳eblogic涓璄AR閲岄潰鐨勬墍鏈夊簲鐢ㄥ叡鏈変竴涓猚lassloader錛屾墍浠ュ浜巈ar閲岄潰鐨剋ar錛岄氬父涓嶉渶瑕佸湪WEB-INF閲岄潰鍖呭惈lib錛寃eblogic鎻愪緵浜嗕竴涓粯璁ょ殑鐩綍錛?br /> APP-INF\lib:瀛樻斁jar鍖?br /> APP-INF\classes:瀛樻斁classes

娉ㄦ剰瀵逛簬鍏朵粬鐨勫簲鐢ㄦ湇鍔″櫒錛屽彲鑳芥病鏈夎繖鏍風殑瑙勫垯

5銆?/strong>Manifest Class-Path瑙勫垯
鍦╦ava EE瑙勮寖涓紝鍙互浣跨敤manifest鏂囦歡鎸囧畾褰撳墠鐨勫簲鐢ㄦā鍧楀涓庡叾浠朿lasspath璺緞鐨勫叧鑱斿紩鐢紝璇ユ枃浠朵綅浜?br /> META-INF/MANIFEST.MF
璺緞涓嬮潰錛屽唴瀹逛緥濡備笅闈紝澶氫釜寮曠敤璺緞浣跨敤絀烘牸鍒嗛殧錛?br />
Manifest-Version: 1.0
Class-Path: utility.jar ../xxx/classes ../xxxlib/xxx.jar

META-INF/MANIFEST.MF



Manifest Class-Path


 

鍙傝冮〉闈細 http://docs.oracle.com/cd/E12839_01/web.1111/e13706/classloading.htm http://docs.oracle.com/cd/E12839_01/web.1111/e13702/deployunits.htm#DEPGD142

]]>
JAVA AWT澶勭悊鍥劇墖鏃剁殑閿欒http://m.tkk7.com/midea0978/archive/2012/01/19/368742.html鍦ㄨ礬涓?..鍦ㄨ礬涓?..Thu, 19 Jan 2012 04:01:00 GMThttp://m.tkk7.com/midea0978/archive/2012/01/19/368742.htmlhttp://m.tkk7.com/midea0978/comments/368742.htmlhttp://m.tkk7.com/midea0978/archive/2012/01/19/368742.html#Feedback0http://m.tkk7.com/midea0978/comments/commentRss/368742.htmlhttp://m.tkk7.com/midea0978/services/trackbacks/368742.html鍦╨inux鐜閮ㄧ講搴旂敤鏃訛紝鏈夋椂鍊欓渶瑕佺敤鍒癆WT澶勭悊鍥劇墖鐨勫姛鑳斤紝鍏稿瀷鐨勫氨鏄浘鐗囩殑緙╂斁澶勭悊絳夌瓑錛屽彲鑳戒細閬囧埌涓嬮潰閿欒錛?br />java.lang.NoClassDefFoundError
銆銆at java.lang.Class.forName0(Native Method)
銆銆at java.lang.Class.forName(Class.java:141)
銆銆at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
銆銆at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1041)

鐢氳嚦鍦ㄩ粯鍐欐儏鍐典笅闈㈠彲鑳藉鑷磈vm宕╂簝錛屽浜庤闂鐨勮В鍐沖姙娉曟槸

1銆侀厤緗甹ava鍚姩鍙傛暟java -Djava.awt.headless=true
鍦╦dk1.4鍙婁互涓婄殑鐜涓紝鍏佽浣跨敤娌℃湁閿洏銆侀紶鏍囥亁 window鏄劇ず鍚姩鐨刪eadless铏氭嫙鏈烘ā寮忥紝閫氳繃鍔犱笂涓婇潰鐨勫睘鎬у嵆鍙?/p>

2銆侀厤緗悎閫傜殑DISPLAY灞炴?/p>

渚嬪閫氳繃褰撳墠鐢ㄦ埛鍚姩浜嗕竴涓獂 window鐨勫浘褰㈢晫闈紝鍙互灝嗚緗被浼糴xport DISPLAY=localhost:10.0榪欐牱鐨勭幆澧冨彉閲忓皢awt瀹氫綅鍒頒竴涓疄闄呭瓨鍦ㄧ殑鐜澶勭悊銆?/p>

閰嶇疆鎴愬姛涔嬪悗錛屽彲鑳藉彲浠ョ湅鍒拌繖鏍風殑鎻愮ず

nl.ikarus.nxt.priv.imageio.icoreader.lib.ICOReader loaded, version: 0.06.064 build: 691

閰嶇疆濂戒箣鍚庡氨涓嶄細鎶ラ敊浜?/p>

緗戜笂榪樻湁涓縐嶅姙娉曪紝鍚姩Xvfb

浣跨敤

ls -l /tmp/.X*lock
鍙互鏌ョ湅褰撳墠鍚姩浜嗛偅浜泋window錛屽鏋滃彂鐜癤0錛屽彲鑳?.0宸茬粡琚嬌鐢ㄤ簡

浣跨敤涓や釜鍛戒護錛?br />銆銆 錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞
銆銆 Xvfb :1 -screen 0 800x600x16 & 鍚姩Xwindows鐨勮櫄鎷熻澶?br />銆銆 export DISPLAY=localhost:1.0 閰嶇疆鏈湴鐜
銆銆 錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞

鍙傝冿細http://javatechniques.com/blog/linux-x11-libraries-for-headless-mode/



]]>
APK鏂囦歡淇敼鍙婄紪璇戞墦鍖呭蹇?/title><link>http://m.tkk7.com/midea0978/archive/2012/01/04/367848.html</link><dc:creator>鍦ㄨ礬涓?..</dc:creator><author>鍦ㄨ礬涓?..</author><pubDate>Wed, 04 Jan 2012 08:07:00 GMT</pubDate><guid>http://m.tkk7.com/midea0978/archive/2012/01/04/367848.html</guid><wfw:comment>http://m.tkk7.com/midea0978/comments/367848.html</wfw:comment><comments>http://m.tkk7.com/midea0978/archive/2012/01/04/367848.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/midea0978/comments/commentRss/367848.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/midea0978/services/trackbacks/367848.html</trackback:ping><description><![CDATA[1銆佷嬌鐢╝pktool鍙嶇紪璇?br />apktool d [file.apk] [path]<br />2銆佹牴鎹渶瑕佷慨鏀歸厤緗枃浠躲乻mali鏂囦歡錛屽鏋滈渶瑕佸弽緙栬瘧鎴恓ar鏂囦歡錛屽彲浠ヤ嬌鐢╠ex2jar錛岀劧鍚庝嬌鐢╦d-gui鏌ョ湅浠g爜<br />3銆侀噸鏂扮紪璇戞垚apk鏂囦歡<br />apktool b [path] file.apk<br />4銆佺鍚?br />浣跨敤JDK鑷甫宸ュ叿keytool鍒涘緩keystore<br />c:\>keytool -genkey -alias android.keystore -keyalg RSA -validity 10000 -keystore mystore.keystore <br />鍏朵腑validity 涓烘湁鏁堟湡澶╂暟,榪欓噷鍒涘緩鐨刱eystore鏂囦歡涔熷彲浠ヤ緵eclipse鎵撳寘apk鏃朵嬌鐢紝娉ㄦ剰璁頒綇瀵嗙爜銆?br />浣跨敤JDK鑷甫宸ュ叿jarsigner絳懼悕apk鏂囦歡錛岄渶瑕佽緭鍏eystore鐨勫瘑鐮?br />c:\>jarsigner -verbose -keystore mystore.jks -signedjar [絳懼悕鍚庣殑鏂囦歡.jar] [闇瑕佺鍚嶇殑鏂囦歡.apk] my<br />5銆佸畨瑁呭埌鎵嬫満涓婇潰嫻嬭瘯<br />adb -d install -r signed-file.apk<br /><br /><img src ="http://m.tkk7.com/midea0978/aggbug/367848.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/midea0978/" target="_blank">鍦ㄨ礬涓?..</a> 2012-01-04 16:07 <a href="http://m.tkk7.com/midea0978/archive/2012/01/04/367848.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>smali鏂囦歡璇硶鍙傝?/title><link>http://m.tkk7.com/midea0978/archive/2012/01/04/367847.html</link><dc:creator>鍦ㄨ礬涓?..</dc:creator><author>鍦ㄨ礬涓?..</author><pubDate>Wed, 04 Jan 2012 07:59:00 GMT</pubDate><guid>http://m.tkk7.com/midea0978/archive/2012/01/04/367847.html</guid><wfw:comment>http://m.tkk7.com/midea0978/comments/367847.html</wfw:comment><comments>http://m.tkk7.com/midea0978/archive/2012/01/04/367847.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://m.tkk7.com/midea0978/comments/commentRss/367847.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/midea0978/services/trackbacks/367847.html</trackback:ping><description><![CDATA[     鎽樿: 杞澆錛歨ttp://pallergabor.uw.hu/androidblog/dalvik_opcodes.html   Dalvik opcodes Author: Gabor PallerVx values in the table denote a Dalvik register. Depending on the instruction, 16, 256 or 64k r...  <a href='http://m.tkk7.com/midea0978/archive/2012/01/04/367847.html'>闃呰鍏ㄦ枃</a><img src ="http://m.tkk7.com/midea0978/aggbug/367847.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/midea0978/" target="_blank">鍦ㄨ礬涓?..</a> 2012-01-04 15:59 <a href="http://m.tkk7.com/midea0978/archive/2012/01/04/367847.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鏀圭敤LiveWriter鍐欐棩蹇楃湅鐪?/title><link>http://m.tkk7.com/midea0978/archive/2011/07/30/355378.html</link><dc:creator>鍦ㄨ礬涓?..</dc:creator><author>鍦ㄨ礬涓?..</author><pubDate>Sat, 30 Jul 2011 01:31:00 GMT</pubDate><guid>http://m.tkk7.com/midea0978/archive/2011/07/30/355378.html</guid><wfw:comment>http://m.tkk7.com/midea0978/comments/355378.html</wfw:comment><comments>http://m.tkk7.com/midea0978/archive/2011/07/30/355378.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/midea0978/comments/commentRss/355378.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/midea0978/services/trackbacks/355378.html</trackback:ping><description><![CDATA[<p>嫻嬭瘯鍙戝笘錛岀洿鎺ョ矘璐村浘鐗囩湅鐪嬫晥鏋滃浣曪紒</p> <p><a href="http://m.tkk7.com/images/blogjava_net/midea0978/Windows-Live-Writer/230dc2096897_8528/image_2.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://m.tkk7.com/images/blogjava_net/midea0978/Windows-Live-Writer/230dc2096897_8528/image_thumb.png" width="244" height="68"></a></p> <img src ="http://m.tkk7.com/midea0978/aggbug/355378.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/midea0978/" target="_blank">鍦ㄨ礬涓?..</a> 2011-07-30 09:31 <a href="http://m.tkk7.com/midea0978/archive/2011/07/30/355378.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍗曠嫭浣跨敤jboss鐨刯ndi providerhttp://m.tkk7.com/midea0978/archive/2011/06/20/352647.html鍦ㄨ礬涓?..鍦ㄨ礬涓?..Mon, 20 Jun 2011 03:23:00 GMThttp://m.tkk7.com/midea0978/archive/2011/06/20/352647.htmlhttp://m.tkk7.com/midea0978/comments/352647.htmlhttp://m.tkk7.com/midea0978/archive/2011/06/20/352647.html#Feedback0http://m.tkk7.com/midea0978/comments/commentRss/352647.htmlhttp://m.tkk7.com/midea0978/services/trackbacks/352647.html閫氳繃涓嬮潰鏂瑰紡鍙互鍙戝竷jboss鐨刵aming鏈嶅姟
<?xml version="1.0" encoding="UTF-8"?>
<server>
  
<mbean code="org.jboss.naming.NamingService" 
         name
="DefaultDomain:service=Naming">
    
<attribute name="Port">1099</attribute>
  
</mbean>
</server>


鍚屾椂涔熷彲浠ョ嫭绔嬩嬌鐢紝浣犻渶瑕?font face="Courier New">jnpserver.jar 鍜?font face="Courier New">log4j.jar 鏂囦歡錛?
 # Use a ConsoleAppender -- write log data to standard out
log4j.rootLogger
=DEBUG, A1
log4j.appender.A1
=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout
=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern
=%-4r [%t] %-5p %c %x - %m%n


閰嶅鐨刲og4j閰嶇疆鏂囦歡錛屼嬌鐢ㄤ笅闈㈠懡浠ゅ惎鍔╦ava org.jnp.server.Main錛屽惎鍔ㄤ箣鍚庯紝jndi瀹㈡埛绔渶瑕?font face="Courier New">jnp-client.jar鏂囦歡鏉ヨ繛鎺?br />java.naming.provider.url=jnphost.mycompany.com:1099
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming
榪炴帴鍙傛暟濡備笂





]]>
intellij idea浣跨敤tomcat寮鍙戞椂鑷姩閮ㄧ講jndi鏁版嵁婧?/title><link>http://m.tkk7.com/midea0978/archive/2011/01/02/342165.html</link><dc:creator>鍦ㄨ礬涓?..</dc:creator><author>鍦ㄨ礬涓?..</author><pubDate>Sun, 02 Jan 2011 09:36:00 GMT</pubDate><guid>http://m.tkk7.com/midea0978/archive/2011/01/02/342165.html</guid><wfw:comment>http://m.tkk7.com/midea0978/comments/342165.html</wfw:comment><comments>http://m.tkk7.com/midea0978/archive/2011/01/02/342165.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/midea0978/comments/commentRss/342165.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/midea0978/services/trackbacks/342165.html</trackback:ping><description><![CDATA[     鎽樿: 閫氬父錛屽鏋滈渶瑕佸湪搴旂敤涓嬌鐢╰omcat鐨刯ndi鏁版嵁婧愶紝闇瑕佷慨鏀筩ontext閰嶇疆錛屼緥濡?<?xml version="1.0" encoding="UTF-8"?> <Context path="/app" docBase="E:\appweb">   <Resource name="jnd...  <a href='http://m.tkk7.com/midea0978/archive/2011/01/02/342165.html'>闃呰鍏ㄦ枃</a><img src ="http://m.tkk7.com/midea0978/aggbug/342165.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/midea0978/" target="_blank">鍦ㄨ礬涓?..</a> 2011-01-02 17:36 <a href="http://m.tkk7.com/midea0978/archive/2011/01/02/342165.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>JMX榪滅▼綆$悊tomcat鎴杦eblogichttp://m.tkk7.com/midea0978/archive/2011/01/02/342164.html鍦ㄨ礬涓?..鍦ㄨ礬涓?..Sun, 02 Jan 2011 09:14:00 GMThttp://m.tkk7.com/midea0978/archive/2011/01/02/342164.htmlhttp://m.tkk7.com/midea0978/comments/342164.htmlhttp://m.tkk7.com/midea0978/archive/2011/01/02/342164.html#Feedback0http://m.tkk7.com/midea0978/comments/commentRss/342164.htmlhttp://m.tkk7.com/midea0978/services/trackbacks/342164.html
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8888 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false



]]>
淇敼椹卞姩瑙e喅SqlRowSet鐨処nvalid scale size. Cannot be less than zero寮傚父鐨勫鐞嗗姙娉?/title><link>http://m.tkk7.com/midea0978/archive/2009/10/09/297584.html</link><dc:creator>鍦ㄨ礬涓?..</dc:creator><author>鍦ㄨ礬涓?..</author><pubDate>Fri, 09 Oct 2009 09:18:00 GMT</pubDate><guid>http://m.tkk7.com/midea0978/archive/2009/10/09/297584.html</guid><wfw:comment>http://m.tkk7.com/midea0978/comments/297584.html</wfw:comment><comments>http://m.tkk7.com/midea0978/archive/2009/10/09/297584.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://m.tkk7.com/midea0978/comments/commentRss/297584.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/midea0978/services/trackbacks/297584.html</trackback:ping><description><![CDATA[鍙傝冿細http://blog.csdn.net/horsefaced/archive/2007/08/16/1746888.aspx<br /> <br /> 榪欎釜寮傚父婧愯嚜浜巓racle椹卞姩闈㈠涓涓暟鍊煎瀷鐨勮繑鍥炲瓧孌墊椂錛屽湪寰楀埌鎸囧畾鐨勫瓧孌靛皬鏁扮偣鍙寵竟鐨勬暟鍊兼暟閲忔椂錛圙ets the designated column's number of digits to right of the decimal point.榪欎釜鏄師鏂囷級錛屽眳鐒朵細榪斿洖-127錛岃宱racle鏈韓鐨刢acheRowSet瀹炵幇涓嶅厑璁歌繖縐嶆儏鍐靛嚭鐜幫紝浜庢槸灝變細鎶ユ爣棰樻墍璇寸殑寮傚父銆?br /> <br /> 瀵逛簬涓鑸殑鍋氭硶錛岄渶瑕佷慨鏀瑰緢澶氬湴鏂癸紝鍖呮嫭ResultSet鐨刣ecorate綾伙紝榪樻湁Spring鐨凷qlRowSetResultSetExtractor <br /> <br /> 鎵璋撳ご鐥涘尰澶達紝鑴氱棝鍖昏剼錛岃繖閲屾彁渚涗竴縐嶆柟娉曠洿鎺ヤ粠oracle jdbc椹卞姩鍏ユ墜錛屽交搴曚粠婧愬ご涓婁慨鏀規帀璇ラ棶棰橈細<br /> 鍙嶇紪璇憃jdbc14.jar(Oracle 9i椹卞姩涓轟緥)<br /> <p>package oracle.jdbc.driver;</p> <p>public class OracleResultSetMetaData</p> <br /> 鐩爣鏂規硶錛?br /> public int getScale(int paramInt)<br />     throws SQLException<br />   {<br />     int i = getValidColumnIndex(paramInt);<br />     return this.statement.getDBDescription()[i].scale;<br />   }<br /> <br /> 浣跨敤javassist緙栧啓涓孌典唬鐮侊細<br /> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><img id="Codehighlighter1_34_792_Open_Image" onclick="this.style.display='none'; Codehighlighter1_34_792_Open_Text.style.display='none'; Codehighlighter1_34_792_Closed_Image.style.display='inline'; Codehighlighter1_34_792_Closed_Text.style.display='inline';" align="top" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" alt="" /><img style="display: none" id="Codehighlighter1_34_792_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_34_792_Closed_Text.style.display='none'; Codehighlighter1_34_792_Open_Image.style.display='inline'; Codehighlighter1_34_792_Open_Text.style.display='inline';" align="top" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" alt="" /><span style="color: #000000"> </span><span style="color: #0000ff">public</span><span style="color: #000000">  </span><span style="color: #0000ff">void</span><span style="color: #000000"> crackOracleDriver() </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_34_792_Closed_Text"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_34_792_Open_Text"><span style="color: #000000">{<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />        ClassPool pool </span><span style="color: #000000">=</span><span style="color: #000000"> ClassPool.getDefault();<br /> <img id="Codehighlighter1_97_721_Open_Image" onclick="this.style.display='none'; Codehighlighter1_97_721_Open_Text.style.display='none'; Codehighlighter1_97_721_Closed_Image.style.display='inline'; Codehighlighter1_97_721_Closed_Text.style.display='inline';" align="top" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" alt="" /><img style="display: none" id="Codehighlighter1_97_721_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_97_721_Closed_Text.style.display='none'; Codehighlighter1_97_721_Open_Image.style.display='inline'; Codehighlighter1_97_721_Open_Text.style.display='inline';" align="top" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" alt="" />        </span><span style="color: #0000ff">try</span><span style="color: #000000"> </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_97_721_Closed_Text"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_97_721_Open_Text"><span style="color: #000000">{<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />            pool.insertClassPath(</span><span style="color: #000000">"</span><span style="color: #000000">E:\\allproject\\bpmtrans\\lib\\ojdbc14.jar</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />            CtClass cc </span><span style="color: #000000">=</span><span style="color: #000000"> pool.get(</span><span style="color: #000000">"</span><span style="color: #000000">oracle.jdbc.driver.OracleResultSetMetaData</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />            System.out.println(cc);<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />            CtClass[] param </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> CtClass[</span><span style="color: #000000">1</span><span style="color: #000000">] ;<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />            param[</span><span style="color: #000000">0</span><span style="color: #000000">]</span><span style="color: #000000">=</span><span style="color: #000000">pool.get(</span><span style="color: #000000">"</span><span style="color: #000000">int</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />            CtMethod a </span><span style="color: #000000">=</span><span style="color: #000000"> cc.getDeclaredMethod(</span><span style="color: #000000">"</span><span style="color: #000000">getScale</span><span style="color: #000000">"</span><span style="color: #000000">,param);<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />            System.out.println(a);<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />            a.setBody(</span><span style="color: #000000">"</span><span style="color: #000000">{int i = getValidColumnIndex($1);\n</span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #000000">+</span><span style="color: #000000"><br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />                    </span><span style="color: #000000">"</span><span style="color: #000000">    int res=statement.getDBDescription()[i].scale;\n</span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #000000">+</span><span style="color: #000000"><br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />                    </span><span style="color: #000000">"</span><span style="color: #000000">return res<0?0:res; }</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />            cc.writeFile(</span><span style="color: #000000">"</span><span style="color: #000000">c:\\</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /><br /> <img id="Codehighlighter1_743_786_Open_Image" onclick="this.style.display='none'; Codehighlighter1_743_786_Open_Text.style.display='none'; Codehighlighter1_743_786_Closed_Image.style.display='inline'; Codehighlighter1_743_786_Closed_Text.style.display='inline';" align="top" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" alt="" /><img style="display: none" id="Codehighlighter1_743_786_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_743_786_Closed_Text.style.display='none'; Codehighlighter1_743_786_Open_Image.style.display='inline'; Codehighlighter1_743_786_Open_Text.style.display='inline';" align="top" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" alt="" />        }</span></span><span style="color: #000000"> </span><span style="color: #0000ff">catch</span><span style="color: #000000"> (Exception e) </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_743_786_Closed_Text"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_743_786_Open_Text"><span style="color: #000000">{<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />            e.printStackTrace();<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />        }</span></span><span style="color: #000000"><br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" alt="" />    }</span></span></div> <br /> 灝嗙敓鎴愮殑class緗崲鍘熸潵鐨刢lass錛屽ぇ鍔熷憡鎴愶紒<br /> <br /> 榪欎釜鎵璋撶殑綺懼害錛屼竴鑸潵璇達紝淇敼浜嗗簲璇ユ病鏈夊澶ч棶棰樼殑 <img src ="http://m.tkk7.com/midea0978/aggbug/297584.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/midea0978/" target="_blank">鍦ㄨ礬涓?..</a> 2009-10-09 17:18 <a href="http://m.tkk7.com/midea0978/archive/2009/10/09/297584.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>浣跨敤openssl鐢熸垚鑷鍚嶈瘉涔︺侀厤緗甋SLhttp://m.tkk7.com/midea0978/archive/2008/07/18/215740.html鍦ㄨ礬涓?..鍦ㄨ礬涓?..Fri, 18 Jul 2008 04:40:00 GMThttp://m.tkk7.com/midea0978/archive/2008/07/18/215740.htmlhttp://m.tkk7.com/midea0978/comments/215740.htmlhttp://m.tkk7.com/midea0978/archive/2008/07/18/215740.html#Feedback3http://m.tkk7.com/midea0978/comments/commentRss/215740.htmlhttp://m.tkk7.com/midea0978/services/trackbacks/215740.html棣栧厛錛屼笅杞給penssl瀹夎錛寃indows鐜浠?a >http://www.openssl.org/related/binaries.html涓嬭澆銆?br /> 鎴戣繖閲屾祴璇曚笅杞界殑鐗堟湰鏄細http://www.slproweb.com/download/Win32OpenSSL-0_9_8h.exe
瀹夎瀹屾垚涔嬪悗錛屼慨鏀筨in鐩綍涓嬮潰鐨刼penssl.cfg涓簅penssl.cnf錛屽湪璇鋒眰璇佷功鏃墮渶瑕佺敤鍒拌繖涓厤緗枃浠訛紝鐢熸垚璇佷功錛屼負浜嗘柟渚匡紝緙栧啓浜嗕笅闈㈢殑鎵瑰鐞嗘枃浠訛紝渚涘弬鑰冿細

@echo off
echo 
1.CA 鍒涘緩涓涓?nbsp;RSA 縐佺敤瀵嗛挜
openssl genrsa 
-out %1.key 1024 

echo.
echo 
2.鍒╃敤 CA 鐨?nbsp;RSA 瀵嗛挜鍒涘緩涓涓嚜絳劇講鐨?nbsp;CA 璇佷功錛圶.509緇撴瀯錛?br /> openssl req -new -x509 -days 36500 -key %1.key -out %1.crt -subj /C=CN/ST=GuangDong/L=GuangZhou/O=SinoTech/OU=CA-SinoTech

echo.
echo 
3.CA 鍒涘緩涓涓?nbsp;鏈嶅姟绔?nbsp;RSA 縐佺敤瀵嗛挜
openssl genrsa 
-out %2.key 1024 
echo.

echo 
4.鍒涘緩鏈嶅姟绔緗茶姹?nbsp;CSR
openssl req 
-new -key %2.key -out %2.csr -subj "/C=CN/ST=GuangDong/L=GuangZhou/O=SinoTech/OU=Serv-SinoTech/CN=SinoTech Weblogic Server"

echo.
echo 
5.絳劇講璇佷功
rem 鍑嗗涓浜涢粯璁ゆ枃浠躲佺洰褰曪紝鍚﹀垯榪愯鏃朵細鎶ラ敊
if exist "%cd%\newcerts" goto got1
md newcerts
:got1

if exist "%cd%\index.txt" goto got2
echo tmp 
>_tmp
del _tmp 
>index.txt
:got2

if exist "%cd%\serial" goto got3
echo AD 
>serial
:got3

openssl ca 
-in %2.csr -out %2.crt -cert %1.crt -keyfile %1.key 
echo.
echo 澶勭悊瀹屾垚
pause

榪愯鎵瑰鐞?br /> genca.cmd [CA璇佷功鍚峕 [鏈嶅姟绔瘉涔﹀悕]
渚嬪genca.cmd ca server

閫氳繃涓婇潰鍛戒護錛屼細鐢熸垚server.crt,server.key,鐒跺悗灝嗕笂闈㈠弬鏁板姞鍒皌omcat鐨勯厤緗腑灝卞彲浠ヤ嬌鐢⊿SL榪炴帴鏂瑰紡璁塊棶緗戠珯搴旂敤浜?br />
<Connector 
           
port="8443" minSpareThreads="5" maxSpareThreads="75"
           enableLookups
="true" disableUploadTimeout="true" 
           acceptCount
="100"  maxThreads="200"
           scheme
="https" secure="true" SSLEnabled="true"
           SSLCertificateFile
="C:\apache-tomcat-6.0.16\conf\server.crt" 
           SSLCertificateKeyFile
="C:\apache-tomcat-6.0.16\conf\server.key"
           clientAuth
="false" sslProtocol="TLS"/>


]]>
Oracle JDBC椹卞姩涓庢椂闂翠笉瑙佷簡鐨勯棶棰?/title><link>http://m.tkk7.com/midea0978/archive/2008/06/13/207655.html</link><dc:creator>鍦ㄨ礬涓?..</dc:creator><author>鍦ㄨ礬涓?..</author><pubDate>Fri, 13 Jun 2008 06:19:00 GMT</pubDate><guid>http://m.tkk7.com/midea0978/archive/2008/06/13/207655.html</guid><wfw:comment>http://m.tkk7.com/midea0978/comments/207655.html</wfw:comment><comments>http://m.tkk7.com/midea0978/archive/2008/06/13/207655.html#Feedback</comments><slash:comments>8</slash:comments><wfw:commentRss>http://m.tkk7.com/midea0978/comments/commentRss/207655.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/midea0978/services/trackbacks/207655.html</trackback:ping><description><![CDATA[<span style="font-size: 10pt">涓鑸殑鏁版嵁搴撲腑錛孌ATE瀛楁浠呬粎琛ㄧず鏃ユ湡錛屼笉鍖呮嫭鏃ユ湡淇℃伅錛岃孫racle鏁版嵁搴撲腑鐨凞ATE鏁版嵁綾誨瀷鏄寘鎷棩鏈熴佹椂闂寸殑錛屽浜庝笉鍚岀殑Oracle jdbc椹卞姩鐗堟湰錛屽浜庤闂鐨勫鐞嗛兘鏈変簺鍖哄埆錛屽鏋滀綘浣跨敤9i鎴栬?1g<br /> 鐨勯┍鍔ㄧ▼搴忥紝鍙兘涓嶄細鍙戠幇浠涔堝洶鎯戯紝涓嶅垢鐨勮瘽錛屼綘浣跨敤Oracle10g鐨凧DBC椹卞姩錛岄棶棰樺氨鏉ヤ簡錛?strong style="color: #ff0000">浣犱細鍙戠幇鏃墮棿涓嶈浜?/strong>錛?br /> 鐪嬩笅闈㈢殑紼嬪簭<br /> <strong>• 琛ㄧ粨鏋勫涓?/strong><br /> create table t_test(<br /> id int,<br /> date1 date,<br /> date2 timestamp,<br /> primary key(id)<br /> )<br /> <br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><span style="color: #008080"> 1</span><img id="Codehighlighter1_4_552_Open_Image" onclick="this.style.display='none'; Codehighlighter1_4_552_Open_Text.style.display='none'; Codehighlighter1_4_552_Closed_Image.style.display='inline'; Codehighlighter1_4_552_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_4_552_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_4_552_Closed_Text.style.display='none'; Codehighlighter1_4_552_Open_Image.style.display='inline'; Codehighlighter1_4_552_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /><span style="color: #0000ff">try</span><span style="color: #000000"> </span><span id="Codehighlighter1_4_552_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_4_552_Open_Text"><span style="color: #000000">{<br /> </span><span style="color: #008080"> 2</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            Class.forName(</span><span style="color: #000000">"</span><span style="color: #000000">oracle.jdbc.OracleDriver</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> </span><span style="color: #008080"> 3</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            java.sql.Connection connection1 </span><span style="color: #000000">=</span><span style="color: #000000"> DriverManager.getConnection(</span><span style="color: #000000">"</span><span style="color: #000000">jdbc:oracle:thin:@192.168.8.200:1521:cdb</span><span style="color: #000000">"</span><span style="color: #000000">, </span><span style="color: #000000">"</span><span style="color: #000000">sysusr</span><span style="color: #000000">"</span><span style="color: #000000">, </span><span style="color: #000000">"</span><span style="color: #000000">sys</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> </span><span style="color: #008080"> 4</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            System.out.println(connection1);<br /> </span><span style="color: #008080"> 5</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            System.out.println(connection1.getMetaData().getDriverName()</span><span style="color: #000000">+</span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">+</span><span style="color: #000000">connection1.getMetaData().getDriverVersion());<br /> </span><span style="color: #008080"> 6</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            ResultSet rs </span><span style="color: #000000">=</span><span style="color: #000000"> connection1.createStatement().executeQuery(</span><span style="color: #000000">"</span><span style="color: #000000">select date1,date2 from t_test</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> </span><span style="color: #008080"> 7</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            rs.next();<br /> </span><span style="color: #008080"> 8</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />             printInfo(rs,</span><span style="color: #000000">1</span><span style="color: #000000">);<br /> </span><span style="color: #008080"> 9</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            printInfo(rs,</span><span style="color: #000000">2</span><span style="color: #000000">);<br /> </span><span style="color: #008080">10</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> </span><span style="color: #008080">11</span><span style="color: #000000"><img id="Codehighlighter1_591_643_Open_Image" onclick="this.style.display='none'; Codehighlighter1_591_643_Open_Text.style.display='none'; Codehighlighter1_591_643_Closed_Image.style.display='inline'; Codehighlighter1_591_643_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_591_643_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_591_643_Closed_Text.style.display='none'; Codehighlighter1_591_643_Open_Image.style.display='inline'; Codehighlighter1_591_643_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">catch</span><span style="color: #000000"> (Exception exception1) </span><span id="Codehighlighter1_591_643_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_591_643_Open_Text"><span style="color: #000000">{<br /> </span><span style="color: #008080">12</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            exception1.printStackTrace();<br /> </span><span style="color: #008080">13</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> </span><span style="color: #008080">14</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> </span><span style="color: #008080">15</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> </span><span style="color: #008080">16</span><span style="color: #000000"><img id="Codehighlighter1_715_926_Open_Image" onclick="this.style.display='none'; Codehighlighter1_715_926_Open_Text.style.display='none'; Codehighlighter1_715_926_Closed_Image.style.display='inline'; Codehighlighter1_715_926_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_715_926_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_715_926_Closed_Text.style.display='none'; Codehighlighter1_715_926_Open_Image.style.display='inline'; Codehighlighter1_715_926_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">static</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> printInfo(ResultSet rs,</span><span style="color: #0000ff">int</span><span style="color: #000000"> i) </span><span style="color: #0000ff">throws</span><span style="color: #000000"> SQLException</span><span id="Codehighlighter1_715_926_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_715_926_Open_Text"><span style="color: #000000">{<br /> </span><span style="color: #008080">17</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        ResultSetMetaData meta</span><span style="color: #000000">=</span><span style="color: #000000">rs.getMetaData();<br /> </span><span style="color: #008080">18</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        System.out.printf(</span><span style="color: #000000">"</span><span style="color: #000000">Colname=%s,Type=%s,TypeName=%s,val=[%s];\n</span><span style="color: #000000">"</span><span style="color: #000000">,meta.getColumnName(i),meta.getColumnType(i),meta.getColumnTypeName(i),rs.getObject(i).toString());<br /> </span><span style="color: #008080">19</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />    }</span></span></div> <br /> • 濡傛灉浣跨敤9i鎴栬?1g鐨勯┍鍔ㄨ繛鎺ユ暟鎹簱錛岃繑鍥炵粨鏋滃涓嬶細<br /> <strong>9i鏁版嵁搴揓DBC</strong><br /> oracle.jdbc.driver.OracleConnection@16930e2<br /> Oracle JDBC driver 9.2.0.8.0<br /> Colname=DATE1,Type=91,TypeName=DATE,val=[<span style="color: red">2008-06-13 13:48:21.0</span>];<br /> Colname=DATE2,Type=93,TypeName=TIMESTAMP,val=[oracle.sql.TIMESTAMP@18d107f];<br /> <br /> <strong>11g鏁版嵁搴揓DBC<br /> </strong>oracle.jdbc.driver.T4CConnection@a61164<br /> Oracle JDBC driver 11.1.0.6.0-Production+<br /> Colname=DATE1,Type=93,TypeName=DATE,val=[<span style="color: red">2008-06-13 13:48:21.0];</span><br /> Colname=DATE2,Type=93,TypeName=TIMESTAMP,val=[oracle.sql.TIMESTAMP@c4aad3];<br /> <br /> 濡傛灉浣跨敤<strong>10g JDBC</strong>椹卞姩錛岀粨鏋滃涓嬶細<br /> oracle.jdbc.driver.T4CConnection@1bac748<br /> Oracle JDBC driver 10.2.0.2.0<br /> Colname=DATE1,Type=91,TypeName=DATE,val=[<span style="color: red">2008-06-13</span>];<br /> Colname=DATE2,Type=93,TypeName=TIMESTAMP,val=[oracle.sql.TIMESTAMP@b8df17];<br /> <br /> 緇撴灉鏄浜哄洶鎯戯紝<span style="color: red">鏃墮棿鎬庝箞涓嶈浜嗭紵<br /> <br /> <span style="color: #000000">瀵逛簬璇ラ棶棰橈紝鍦∣racle鐨凧DBC FAQ涓湁鎻愬埌瑙e喅鍔炴硶錛?br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">Prior to 9.2, the Oracle JDBC drivers mapped the DATE SQL type to java.sql.Timestamp. This made a certain amount of sense because the Oracle DATE SQL type contains both date and time information as does java.sql.Timestamp. The more obvious mapping to java.sql.Date was somewhat problematic as java.sql.Date does not include time information. It was also the case that the RDBMS did not support the TIMESTAMP SQL type, so there was no problem with mapping DATE to Timestamp. <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />In 9.2 TIMESTAMP support was added to the RDBMS. The difference between DATE and TIMESTAMP is that TIMESTAMP includes nanoseconds and DATE does not. So, beginning in 9.2, DATE is mapped to Date and TIMESTAMP is mapped to Timestamp. Unfortunately if you were relying on DATE values to contain time information, there is a problem. <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />There are several ways to address this problem: <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />Alter your tables to use TIMESTAMP instead of DATE. This is probably rarely possible, but it is the best solution when it is. <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />Alter your application to use defineColumnType to define the columns as TIMESTAMP rather than DATE. There are problems with this because you really don't want to use defineColumnType unless you have to (see What is defineColumnType and when should I use it?). <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />Alter you application to use getTimestamp rather than getObject. This is a good solution when possible, however many applications contain generic code that relies on getObject, so it isn't always possible. <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />Set the V8Compatible connection property. This tells the JDBC drivers to use the old mapping rather than the new one. You can set this flag either as a connection property or a system property. You set the connection property by adding it to the java.util.Properties object passed to DriverManager.getConnection or to OracleDataSource.setConnectionProperties. You set the system property by including a -D option in your java command line. <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  java -Doracle.jdbc.V8Compatible="true" MyApp<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></div> <br /> 鍙傜収涓婇潰鐨勮В閲婏紝淇敼浠g爜濡備笅鍙互瑙e喅10g JDBC椹卞姩鐨勯棶棰橈細<br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img id="Codehighlighter1_4_711_Open_Image" onclick="this.style.display='none'; Codehighlighter1_4_711_Open_Text.style.display='none'; Codehighlighter1_4_711_Closed_Image.style.display='inline'; Codehighlighter1_4_711_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_4_711_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_4_711_Closed_Text.style.display='none'; Codehighlighter1_4_711_Open_Image.style.display='inline'; Codehighlighter1_4_711_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /><span style="color: #0000ff">try</span><span style="color: #000000"> </span><span id="Codehighlighter1_4_711_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_4_711_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            Class.forName(</span><span style="color: #000000">"</span><span style="color: #000000">oracle.jdbc.OracleDriver</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            Properties prop</span><span style="color: #000000">=</span><span style="color: #0000ff">new</span><span style="color: #000000"> Properties();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            prop.setProperty(</span><span style="color: #000000">"</span><span style="color: #000000">user</span><span style="color: #000000">"</span><span style="color: #000000">,</span><span style="color: #000000">"</span><span style="color: #000000">sysuser</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            prop.setProperty(</span><span style="color: #000000">"</span><span style="color: #000000">password</span><span style="color: #000000">"</span><span style="color: #000000">,</span><span style="color: #000000">"</span><span style="color: #000000">sys</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            <strong>prop.setProperty(</strong></span><strong><span style="color: #000000">"</span><span style="color: #000000">oracle.jdbc.V8Compatible</span><span style="color: #000000">"</span><span style="color: #000000">,</span><span style="color: #000000">"</span><span style="color: #000000">true</span><span style="color: #000000">"</span></strong><strong><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            java.sql.Connection connection1 </span><span style="color: #000000">=</span><span style="color: #000000"> DriverManager.getConnection(</span><span style="color: #000000">"</span><span style="color: #000000">jdbc:oracle:thin:@192.168.8.200:1521:cdb</span><span style="color: #000000">"</span></strong><span style="color: #000000"><strong>, prop);</strong><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            System.out.println(connection1);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            System.out.println(connection1.getMetaData().getDriverName()</span><span style="color: #000000">+</span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">+</span><span style="color: #000000">connection1.getMetaData().getDriverVersion());<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            ResultSet rs </span><span style="color: #000000">=</span><span style="color: #000000"> connection1.createStatement().executeQuery(</span><span style="color: #000000">"</span><span style="color: #000000">select date1,date2 from t_test</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            rs.next();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            printInfo(rs,</span><span style="color: #000000">1</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            printInfo(rs,</span><span style="color: #000000">2</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img id="Codehighlighter1_750_802_Open_Image" onclick="this.style.display='none'; Codehighlighter1_750_802_Open_Text.style.display='none'; Codehighlighter1_750_802_Closed_Image.style.display='inline'; Codehighlighter1_750_802_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_750_802_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_750_802_Closed_Text.style.display='none'; Codehighlighter1_750_802_Open_Image.style.display='inline'; Codehighlighter1_750_802_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">catch</span><span style="color: #000000"> (Exception exception1) </span><span id="Codehighlighter1_750_802_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_750_802_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            exception1.printStackTrace();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />        }</span></span></div> </span></span></span><span style="font-size: 10pt">鎴栬呭湪緋葷粺鍙橀噺涓嬌鐢ㄥ弬鏁?Doracle.jdbc.V8Compatible="true"錛屼緥濡?br /> java -Doracle.jdbc.V8Compatible="true" MyApp<br /> </span><br /> <span style="font-size: 10pt"><strong>緇撴灉濡備笅錛?br /> </strong>oracle.jdbc.driver.T4CConnection@9664a1<br /> Oracle JDBC driver 10.2.0.2.0<br /> Colname=DATE1,Type=93,TypeName=DATE,val=[<span style="color: #ff0000">2008-06-13 13:48:21.0</span>];<br /> Colname=DATE2,Type=93,TypeName=DATE,val=[oracle.sql.TIMESTAMP@1172e08];<br /> </span> <img src ="http://m.tkk7.com/midea0978/aggbug/207655.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/midea0978/" target="_blank">鍦ㄨ礬涓?..</a> 2008-06-13 14:19 <a href="http://m.tkk7.com/midea0978/archive/2008/06/13/207655.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Oracle鏁村悎BEA錛學EBLogic鐨凩icense鍙互鍏嶈垂涓嬭澆浜?/title><link>http://m.tkk7.com/midea0978/archive/2008/06/05/205987.html</link><dc:creator>鍦ㄨ礬涓?..</dc:creator><author>鍦ㄨ礬涓?..</author><pubDate>Thu, 05 Jun 2008 02:46:00 GMT</pubDate><guid>http://m.tkk7.com/midea0978/archive/2008/06/05/205987.html</guid><wfw:comment>http://m.tkk7.com/midea0978/comments/205987.html</wfw:comment><comments>http://m.tkk7.com/midea0978/archive/2008/06/05/205987.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://m.tkk7.com/midea0978/comments/commentRss/205987.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/midea0978/services/trackbacks/205987.html</trackback:ping><description><![CDATA[<span style="font-size: 10pt">浼楁墍鍛ㄧ煡錛孫racle鐨勬暟鎹簱銆佷腑闂翠歡閮藉彲浠ュ湪緗戜笂鑷敱涓嬭澆錛屾病鏈変換浣昹icense娉ㄥ唽鐮佺殑闄愬埗銆?br /> 鐜板湪錛孫racle浠?5浜跨編鍏冩敹璐簡BEA錛屽甫鏉ョ殑鏈鐩存帴鐨勫ソ澶勬槸錛屼互鍓嶄弗鏍間繚瀵嗙殑License鏂囦歡鐜板湪閮藉彲浠ョ洿鎺ヤ笅杞戒簡銆傝鐪嬩笅闈㈤〉闈細<br /> </span><a ><span style="font-size: 10pt">http://commerce.bea.com/products/all_products.jsp#WL</span></a><br /> <br /> <a ><span style="font-size: 10pt">WebLogic Family License Keys</span></a><br /> <a ><span style="font-size: 10pt">http://download2.bea.com/pub/license/All%20Products/BEA_WebLogic.zip</span></a><br /> <br /> <a ><span style="font-size: 10pt">AquaLogic Family License Keys</span></a><br /> <a ><span style="font-size: 10pt">http://download2.bea.com/pub/license/All%20Products/BEA_AquaLogic.zip</span></a><br /> <br /> <span style="font-size: 10pt">鎽樺綍閮ㄥ垎鍐呭濡備笅錛?br /> </span> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><span style="font-size: 10pt"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000"><span style="font-size: 10pt">========================================<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    = Read Me -- BEA WebLogic License Keys =<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    ========================================<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />Some BEA products require multiple license keys for full functionality, or use a license key which is not intuitively identified as being for that product.<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />Please refer to the legend below to determine which license keys are required for the BEA products you own.<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />BEA WebLogic Server Products (Product, Version, License ID/file)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />================================================================<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />BEA WebLogic Server Advantage Edition    10.0 - 10.0mp1    LIC-WLSA10.txt<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    9.2 - 9.2mp3    LIC-WLSA92.txt<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    9.0        LIC-WLSA90.txt<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />BEA WebLogic Server Premium Edition    10.0 - 10.0mp1    LIC-WLSP10.txt<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    9.2 - 9.2mp3    LIC-WLSP92.txt<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    9.0        LIC-WLSP90.txt<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />BEA WebLogic Server SDK            10.x        LIC-WLSP10-DEV<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    9.2        LIC-WLSP92-DEV<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    9.1        LIC-WLSP91-DEV<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    9.0        LIC-WLSP90-DEV<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />BEA WebLogic Server Premium for Linux s/390 and z/Series<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    7.0sp1        LIC-WLS70-CLS-56<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />BEA WebLogic Server Mid-Market Edition    10.0 - 10.0mp1    LIC-WLS10-MME.txt<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    9.2 - 9.2mp3    LIC-WLS92-MME.txt<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />BEA WebLogic Platform Products (Product, Version, License ID/file)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />==================================================================<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />BEA WebLogic Platform            10.2 ISV    LIC-PLAT102-ISVED<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    10.2        LIC-AUTONOMY<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                            LIC-PORT102<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                            <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />LIC-WLI102<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    9.2mp3 ISV    LIC-PLAT92-ISVED<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    9.2 - 9.2mp3    LIC-PFRM92.txt<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    8.1 - 8.1sp6    LIC-PFRM81-128.txt<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    7.0 - 7.0sp7    LIC-PFRM70-128.txt</span></span></div> <br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff"><</span><span style="color: #800000">license<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #ff0000">component</span><span style="color: #0000ff">="WebLogic"</span><span style="color: #ff0000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            cpus</span><span style="color: #0000ff">="unvalued"</span><span style="color: #ff0000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            expiration</span><span style="color: #0000ff">="never"</span><span style="color: #ff0000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            ip</span><span style="color: #0000ff">="any"</span><span style="color: #ff0000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            licensee</span><span style="color: #0000ff">="Customer"</span><span style="color: #ff0000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            serial</span><span style="color: #0000ff">="454493271161-2642447506228"</span><span style="color: #ff0000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            type</span><span style="color: #0000ff">="RTK"</span><span style="color: #ff0000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            units</span><span style="color: #0000ff">="unlimited"</span><span style="color: #ff0000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            signature</span><span style="color: #0000ff">="MCwCFHRYQyBkRqhyayiKQBDxfTq/bWfYAhQj+RMMeDMVxjiYhBaXuHobbHe/JA=="</span><span style="color: #ff0000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #0000ff">/></span></div> <br /> <span style="font-size: 10pt">鍛靛懙錛岄兘浠涔堝勾浠d簡錛屾偍榪樺湪Google銆乥aidu涓悳绱?#8220;weblogic 鐮磋В”榪欐牱鐨勫叧閿瓧鍚楋紝鐢ㄤ笉鐫浜嗐備絾鏄繖騫朵笉鎰忓懗鐫鎮ㄥ彲浠ュ厤璐逛嬌鐢ㄨ繖浜涗駭鍝侊紝鐔熸倝Oracle鐨勪漢閮界煡閬擄紝濡傛灉鎮ㄦ兂鍦ㄤ紒涓氱駭搴旂敤涓儴緗茶繖浜涗駭鍝侊紝鎮ㄨ繕鏄緱浠榤oney錛?br /> </span> <img src ="http://m.tkk7.com/midea0978/aggbug/205987.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/midea0978/" target="_blank">鍦ㄨ礬涓?..</a> 2008-06-05 10:46 <a href="http://m.tkk7.com/midea0978/archive/2008/06/05/205987.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>JDBC椹卞姩琛ヤ竵涓庤繛鎺racle鐨勪竴浜涢敊璇?/title><link>http://m.tkk7.com/midea0978/archive/2008/06/03/205529.html</link><dc:creator>鍦ㄨ礬涓?..</dc:creator><author>鍦ㄨ礬涓?..</author><pubDate>Tue, 03 Jun 2008 04:46:00 GMT</pubDate><guid>http://m.tkk7.com/midea0978/archive/2008/06/03/205529.html</guid><wfw:comment>http://m.tkk7.com/midea0978/comments/205529.html</wfw:comment><comments>http://m.tkk7.com/midea0978/archive/2008/06/03/205529.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/midea0978/comments/commentRss/205529.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/midea0978/services/trackbacks/205529.html</trackback:ping><description><![CDATA[寮鍙戠幆澧冧竴鐩翠嬌鐢╦dbc14.jar "Oracle JDBC Driver version - 9.0.2.0.0"鐗堟湰榪炴帴Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 鏈嶅姟鍣紝紿佺劧浠婂ぉ涓嶈兘榪炴帴浜嗭紝鎶ラ敊璇涓嬶細<br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">java.sql.SQLException: 涓嶈兘鍦?nbsp;UTF8 鍜?nbsp;UCS2 涔嬮棿杞崲: failUTF8Conv<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:</span><span style="color: #000000">134</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:</span><span style="color: #000000">179</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:</span><span style="color: #000000">1130</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.dbaccess.DBConversion.failUTF8Conv(DBConversion.java:</span><span style="color: #000000">2261</span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.dbaccess.DBConversion.utf8BytesToJavaChars(DBConversion.j<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />ava:</span><span style="color: #000000">2061</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.dbaccess.DBConversion.utf8BytesToString(DBConversion.java<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />:</span><span style="color: #000000">1976</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.dbaccess.DBConversion.CharBytesToString(DBConversion.java<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />:</span><span style="color: #000000">543</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.ttc7.TTIoer.processWarning(TTIoer.java:</span><span style="color: #000000">334</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.ttc7.O3log.receive2nd(O3log.java:</span><span style="color: #000000">523</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:</span><span style="color: #000000">278</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.driver.OracleConnection.</span><span style="color: #000000"><</span><span style="color: #000000">init</span><span style="color: #000000">></span><span style="color: #000000">(OracleConnection.java:</span><span style="color: #000000">346</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />va:</span><span style="color: #000000">468</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:</span><span style="color: #000000">314</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at java.sql.DriverManager.getConnection(Unknown Source)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at java.sql.DriverManager.getConnection(Unknown Source)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at JDBC.main(JDBC.java:</span><span style="color: #000000">9</span><span style="color: #000000">)</span></div> 鐒跺悗鏇存崲涓篛racle  11g鐨勯┍鍔紝鍙互姝e父榪炴帴浜嗭紝浣嗘槸浼氭樉紺轟笅闈㈠紓甯?br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">javax.management.MalformedObjectNameException: Invalid character </span><span style="color: #000000">'<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />'</span><span style="color: #000000"> in value part of property</span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000">at javax.management.ObjectName.construct(ObjectName.java:</span><span style="color: #000000">529</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />at javax.management.ObjectName.</span><span style="color: #000000"><</span><span style="color: #000000">init</span><span style="color: #000000">></span><span style="color: #000000">(ObjectName.java:</span><span style="color: #000000">1304</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />at oracle.jdbc.driver.OracleDriver.registerMBeans(OracleDriver.java:</span><span style="color: #000000">303</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />at oracle.jdbc.driver.OracleDriver$</span><span style="color: #000000">1</span><span style="color: #000000">.run(OracleDriver.java:</span><span style="color: #000000">213</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />at java.security.AccessController.doPrivileged(Native Method)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />at oracle.jdbc.driver.OracleDriver.</span><span style="color: #000000"><</span><span style="color: #000000">clinit</span><span style="color: #000000">></span><span style="color: #000000">(OracleDriver.java:</span><span style="color: #000000">209</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />at java.lang.Class.forName0(Native Method)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />at java.lang.Class.forName(Class.java:</span><span style="color: #000000">164</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></div> 閲囩敤9i椹卞姩榪樼鍒頒笅闈㈤敊璇?br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">java.sql.SQLException: 榪濆弽鍗忚<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:</span><span style="color: #000000">134</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:</span><span style="color: #000000">179</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:</span><span style="color: #000000">1160</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.ttc7.O3log.receive2nd(O3log.java:</span><span style="color: #000000">548</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:</span><span style="color: #000000">279</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.driver.OracleConnection.</span><span style="color: #000000"><</span><span style="color: #000000">init</span><span style="color: #000000">></span><span style="color: #000000">(OracleConnection.java:</span><span style="color: #000000">371</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />va:</span><span style="color: #000000">551</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:</span><span style="color: #000000">351</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at java.sql.DriverManager.getConnection(Unknown Source)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        at java.sql.DriverManager.getConnection(Unknown Source)</span></div> <ul> <li>鏈緇堟煡璇㈣祫鏂欙紝鍙戠幇榪樻槸jdbc椹卞姩闂錛屽師鍥犲洜璇ユ槸涓巄ug鏈夊叧錛屽洜姝や粠鏂頒粠otn.oracle.com涓嬭澆椹卞姩鍗囩駭瑙e喅闂銆?br /> ojdbc6.jar鐨勯┍鍔ㄧ増鏈彲浠ヨ繍琛宩ava -jar ojdbc6.jar鏌ョ湅錛屽鏋滄槸Oracle 11.1.0.6.0-Production+ JDBC 4.0 compiled with JDK6錛屽甫+鍙峰氨鏄ˉ涓佺増鏈紝鍚﹀垯鏄病鏈夋墦琛ヤ竵鐨勶紝浠嶇劧鍙兘鍑洪敊銆?/li> <li>鎴戦亣鍒扮殑璇峰喌錛岄噰鐢?0.2.0.4鐨刯dbc椹卞姩灝辨病鏈夐棶棰樹簡</li> <li>oracle jdbc椹卞姩涓嬭澆鍦板潃濡備笅錛?/li> </ul> <p> <table class="bodycopy" cellspacing="5" cellpadding="0" width="100%" border="0"> <tbody> <tr> <td valign="top" align="center" colspan="4" height="110"> <div align="left"><a >Oracle JDBC Portal </a></div> </td> </tr> <tr> <td valign="top" width="2%"><img height="16" src="http://www.oracle.com/technology/images/bullets_and_symbols/bullet.gif" width="16" align="top" alt="" /></td> <td><a class="bodylink" >Oracle Database 11<em>g</em> Release 1 (11.1.0.6) drivers</a></td> </tr> <tr> <td valign="top" width="2%"><img height="16" src="http://www.oracle.com/technology/images/bullets_and_symbols/bullet.gif" width="16" align="top" alt="" /></td> <td><a class="bodylink" >Oracle Database 10<em>g</em> Release 2 (10.2.0.4), (10.2.0.3), (10.2.0.2), (10.2.0.1.0) drivers</a></td> </tr> <tr> <td valign="top" width="2%"><img height="16" src="http://www.oracle.com/technology/images/bullets_and_symbols/bullet.gif" width="16" align="top" alt="" /></td> <td><a class="bodylink" >Oracle Database 10<em>g</em> (10.1.0.5), (10.1.0.4), (10.1.0.2.0) drivers</a></td> </tr> <tr> <td valign="top" width="2%"><img height="16" src="http://www.oracle.com/technology/images/bullets_and_symbols/bullet.gif" width="16" align="top" alt="" /></td> <td><a class="bodylink" >Oracle9<em>i</em> Release 2 (9.2.0.8), (9.2.0.5), (9.2.0.4), (9.2.0.3), & (9.2.0.1) drivers</a></td> </tr> <tr> <td valign="top" width="2%"><img height="16" src="http://www.oracle.com/technology/images/bullets_and_symbols/bullet.gif" width="16" align="top" alt="" /></td> <td><a class="bodylink" >Oracle9<em>i</em> Release 1 (9.0.1.4) & (9.0.1) drivers</a></td> </tr> <tr> <td valign="top" width="2%"><img height="16" src="http://www.oracle.com/technology/images/bullets_and_symbols/bullet.gif" width="16" align="top" alt="" /></td> <td><a class="bodylink" >Oracle8<em>i</em> Release 2 (8.1.7)</a></td> </tr> </tbody> </table> </p> <ul> <li></li> </ul> <img src ="http://m.tkk7.com/midea0978/aggbug/205529.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/midea0978/" target="_blank">鍦ㄨ礬涓?..</a> 2008-06-03 12:46 <a href="http://m.tkk7.com/midea0978/archive/2008/06/03/205529.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Intellij idea v7.0 娉ㄥ唽鐮?/title><link>http://m.tkk7.com/midea0978/archive/2007/10/22/155024.html</link><dc:creator>鍦ㄨ礬涓?..</dc:creator><author>鍦ㄨ礬涓?..</author><pubDate>Mon, 22 Oct 2007 08:35:00 GMT</pubDate><guid>http://m.tkk7.com/midea0978/archive/2007/10/22/155024.html</guid><wfw:comment>http://m.tkk7.com/midea0978/comments/155024.html</wfw:comment><comments>http://m.tkk7.com/midea0978/archive/2007/10/22/155024.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/midea0978/comments/commentRss/155024.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/midea0978/services/trackbacks/155024.html</trackback:ping><description><![CDATA[<span style="font-size: 10pt">      縐頒負鏄渶濂界殑JAVA IDE寮鍙戝鉤鍙?鍖呮嫭錛欽2EE鏀寔銆丄nt銆丣Unit銆侀泦鎴怌VS銆傚寘鍚竴涓櫤鑳界紪杈戝櫒錛屼唬鐮佽緟鍔╁拰澧炲己鐨勮嚜鍔ㄤ唬鐮佸伐鍏楓傚彲鎻愰珮JAVA寮鍙戜漢鍛樼殑鏁堢巼銆?/span><a name="entrymore"></a><br /> <p><span style="font-size: 10pt">銆銆 JetBrains宸茬粡鍙戝竷浜咺ntelliJ IDEA 7.0錛孖ntelliJ IDEA 7閲岀▼紕?鍖呮嫭璁稿鏂扮殑鐗規у拰鎻愰珮錛屽挨鍏舵槸鍦ㄥJava EE鐨勬敮鎸佷笂錛屽寘鎷琒pring鍜孒ibernate錛?strong class="kgb" style="border-top-width: 0px; padding-right: 0px; padding-left: 0px; font-weight: normal; border-left-width: 0px; border-bottom-width: 0px; padding-bottom: 0px; margin: 0px; cursor: hand; color: #0000ff; padding-top: 0px; border-right-width: 0px; text-decoration: underline">浠g爜</strong>鍒嗘瀽錛屾墿灞曠増鏈帶鍒舵敮鎸侊紝Rational ClearCase闆嗘垚錛屽寮轟簡璋冭瘯錛屼唬鐮佹煡璇紝鍙敤鎬у拰<strong class="kgb" style="font-weight: normal; cursor: hand; color: #0000ff; text-decoration: underline">鎬ц兘</strong>銆?<br /> </span></p> <p><span style="font-size: 10pt">銆銆 姝d嬌鐢↖ntelliJ IDEA 6.0鐨勭敤鎴峰彲浠ュ厤璐逛嬌鐢↖ntelliJ IDEA 7.0鍒?007騫?2鏈?1鍙鳳紝璇勪及鐢ㄦ埛鍙互浠?strong class="kgb" style="border-top-width: 0px; padding-right: 0px; padding-left: 0px; font-weight: normal; border-left-width: 0px; border-bottom-width: 0px; padding-bottom: 0px; margin: 0px; cursor: hand; color: #0000ff; padding-top: 0px; border-right-width: 0px; text-decoration: underline">瀹樻柟緗戠珯</strong><strong class="kgb" style="font-weight: normal; cursor: hand; color: #0000ff; text-decoration: underline">涓嬭澆</strong>騫舵湁30澶╃殑鍏嶈垂璇曠敤鏈熴?</span></p> <p><span style="font-size: 10pt">銆銆 IntelliJ IDEA 7.0鐨勬柊鐗規у寘鎷細 </span></p> <p><span style="font-size: 10pt">銆銆 1.鎬ц兘鎻愰珮 <br /> 銆銆 IDE鐨勫惎鍔ㄩ熷害寰楀埌鏀瑰杽 <br /> 銆銆 緙栬緫JSP鐨勯熷害鍔犲揩 <br /> 銆銆 鏇村揩鐨刋ML鐨勬牸寮忓寲</span></p> <p><span style="font-size: 10pt">銆銆 2.瀵笻ibernate鐨勬敮鎸?br /> 銆銆 浠g爜鍔╂墜</span></p> <p><span style="font-size: 10pt">銆銆 3.瀵筍pring鐨勬敮鎸?br /> 銆銆 浠g爜鍔╂墜<br /> 銆銆 瑙傚療渚濊禆鐨勫彲瑙嗗寲鍥捐〃<br /> 銆銆 涓撻棬鐨勬枃浠惰緗紪杈戝櫒</span></p> <p><span style="font-size: 10pt">銆銆 4.涓嶦clipse鐨勫崗浣滆兘鍔?<br /> 銆銆 瀵煎叆錛堜粠鐜版湁鐨凟clipse<strong class="kgb" style="border-top-width: 0px; padding-right: 0px; padding-left: 0px; font-weight: normal; border-left-width: 0px; border-bottom-width: 0px; padding-bottom: 0px; margin: 0px; cursor: hand; color: #0000ff; padding-top: 0px; border-right-width: 0px; text-decoration: underline">宸ョ▼</strong>涓垱寤篒ntelliJ IDEA .iml鍜?ipr鏂囦歡 錛?<br /> 銆銆 瀵煎嚭錛堜粠鐜版湁鐨処ntelliJ IDEA .iml鏂囦歡涓垱寤篍clipse宸ョ▼鏂囦歡錛?<br /> 銆銆 鍚屾</span></p> <p><span style="font-size: 10pt">銆銆 5.鐗堟湰鎺у埗<br /> 銆銆 鏀寔Rational ClearCase </span></p> <p><span style="font-size: 10pt">銆銆 6.JavaScript <br /> 銆銆 鏀寔JSON鏂囦歡綾誨瀷 <br /> 銆銆 JSDoc鍜孌oJo鏍峰紡綾誨瀷娉ㄩ噴鎻愪緵浜嗘洿鍑嗙‘鐨勫畬鎴愬拰鍙傛暟綾誨瀷淇℃伅 <br /> 銆銆 JSDoc鍜孌oJo鏍峰紡娉ㄩ噴鐨勪赴瀵屾枃妗?<br /> 銆銆 JavaScript鍛藉悕絀洪棿瀹屾垚/楠岃瘉<br /> <br /> 涓浠芥敞鍐岀爜濡備笅錛孍njoy!<br /> =============================================================<br /> </p> <p>user name:鍦ㄨ礬涓?..<br /> License:12008-M3132-RY84C-0GSMK-V7TNK-33XV0<br /> customer id:12008<br /> product id:IDEA<br /> license type:COMMERCIAL<br /> major version:7<br /> minor version:0<br /> generationDate:Mon Oct 22 16:31:47 CST 2007<br /> expirationDate:Sun Jan 20 16:31:47 CST 2008</p> <p></span> </p> <img src ="http://m.tkk7.com/midea0978/aggbug/155024.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/midea0978/" target="_blank">鍦ㄨ礬涓?..</a> 2007-10-22 16:35 <a href="http://m.tkk7.com/midea0978/archive/2007/10/22/155024.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Zlib鍘嬬緝綆楁硶鍦╦ava涓巇elphi涔嬮棿鐨勪氦浜掑疄鐜?/title><link>http://m.tkk7.com/midea0978/archive/2007/10/10/151645.html</link><dc:creator>鍦ㄨ礬涓?..</dc:creator><author>鍦ㄨ礬涓?..</author><pubDate>Wed, 10 Oct 2007 02:35:00 GMT</pubDate><guid>http://m.tkk7.com/midea0978/archive/2007/10/10/151645.html</guid><wfw:comment>http://m.tkk7.com/midea0978/comments/151645.html</wfw:comment><comments>http://m.tkk7.com/midea0978/archive/2007/10/10/151645.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://m.tkk7.com/midea0978/comments/commentRss/151645.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/midea0978/services/trackbacks/151645.html</trackback:ping><description><![CDATA[<span style="font-size: 10pt">涓涓吀鍨嬪簲鐢ㄤ腑錛屼嬌鐢╠elphi浣滀負瀹㈡埛绔紝J2EE鏈嶅姟绔紝涓よ呬箣闂寸敤XML浣滀負鏁版嵁浜ゆ崲錛屼負浜嗘彁楂樻晥鐜囷紝瀵筙ML鏁版嵁榪涜鍘嬬緝錛屼負姝ら渶瑕佹壘鍒頒竴縐嶅帇緙?瑙e帇綆楁硶鑳藉涓や釜騫沖彴涔嬮棿浜や簰澶勭悊錛屼嬌鐢╖LIB綆楁硶灝辨槸涓涓笉閿欑殑瑙e喅鏂規銆?br /> 1銆丣AVA瀹炵幇<br /> 鍦↗DK涓紝鍦╦ava.util.zip鍖呬腑宸茬粡鍐呯疆浜哯LIB鐨勫疄鐜幫紝紺轟緥浠g爜濡備笅錛?br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><span style="color: #008080"> 1</span><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #008000">//</span><span style="color: #008000">瑙e帇</span><span style="color: #008000"><br /> </span><span style="color: #008080"> 2</span><span style="color: #008000"><img id="Codehighlighter1_54_448_Open_Image" onclick="this.style.display='none'; Codehighlighter1_54_448_Open_Text.style.display='none'; Codehighlighter1_54_448_Closed_Image.style.display='inline'; Codehighlighter1_54_448_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_54_448_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_54_448_Closed_Text.style.display='none'; Codehighlighter1_54_448_Open_Image.style.display='inline'; Codehighlighter1_54_448_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span style="color: #000000">    </span><span style="color: #0000ff">public</span><span style="color: #000000"> String decompressData(String encdata) </span><span id="Codehighlighter1_54_448_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_54_448_Open_Text"><span style="color: #000000">{<br /> </span><span style="color: #008080"> 3</span><span style="color: #000000"><img id="Codehighlighter1_68_343_Open_Image" onclick="this.style.display='none'; Codehighlighter1_68_343_Open_Text.style.display='none'; Codehighlighter1_68_343_Closed_Image.style.display='inline'; Codehighlighter1_68_343_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_68_343_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_68_343_Closed_Text.style.display='none'; Codehighlighter1_68_343_Open_Image.style.display='inline'; Codehighlighter1_68_343_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">try</span><span style="color: #000000"> </span><span id="Codehighlighter1_68_343_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_68_343_Open_Text"><span style="color: #000000">{<br /> </span><span style="color: #008080"> 4</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            ByteArrayOutputStream bos </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> ByteArrayOutputStream();<br /> </span><span style="color: #008080"> 5</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            InflaterOutputStream zos </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> InflaterOutputStream(bos);<br /> </span><span style="color: #008080"> 6</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            zos.write(convertFromBase64(encdata));<br /> </span><span style="color: #008080"> 7</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            zos.close();<br /> </span><span style="color: #008080"> 8</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> String(bos.toByteArray());<br /> </span><span style="color: #008080"> 9</span><span style="color: #000000"><img id="Codehighlighter1_366_442_Open_Image" onclick="this.style.display='none'; Codehighlighter1_366_442_Open_Text.style.display='none'; Codehighlighter1_366_442_Closed_Image.style.display='inline'; Codehighlighter1_366_442_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_366_442_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_366_442_Closed_Text.style.display='none'; Codehighlighter1_366_442_Open_Image.style.display='inline'; Codehighlighter1_366_442_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        }</span></span><span style="color: #000000"> </span><span style="color: #0000ff">catch</span><span style="color: #000000"> (Exception ex) </span><span id="Codehighlighter1_366_442_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_366_442_Open_Text"><span style="color: #000000">{<br /> </span><span style="color: #008080">10</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            ex.printStackTrace();<br /> </span><span style="color: #008080">11</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">UNZIP_ERR</span><span style="color: #000000">"</span><span style="color: #000000">;<br /> </span><span style="color: #008080">12</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> </span><span style="color: #008080">13</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> </span><span style="color: #008080">14</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> </span><span style="color: #008080">15</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #008000">//</span><span style="color: #008000">鍘嬬緝</span><span style="color: #008000"><br /> </span><span style="color: #008080">16</span><span style="color: #008000"><img id="Codehighlighter1_504_902_Open_Image" onclick="this.style.display='none'; Codehighlighter1_504_902_Open_Text.style.display='none'; Codehighlighter1_504_902_Closed_Image.style.display='inline'; Codehighlighter1_504_902_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_504_902_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_504_902_Closed_Text.style.display='none'; Codehighlighter1_504_902_Open_Image.style.display='inline'; Codehighlighter1_504_902_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span style="color: #000000">    </span><span style="color: #0000ff">public</span><span style="color: #000000"> String compressData(String data) </span><span id="Codehighlighter1_504_902_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_504_902_Open_Text"><span style="color: #000000">{<br /> </span><span style="color: #008080">17</span><span style="color: #000000"><img id="Codehighlighter1_518_799_Open_Image" onclick="this.style.display='none'; Codehighlighter1_518_799_Open_Text.style.display='none'; Codehighlighter1_518_799_Closed_Image.style.display='inline'; Codehighlighter1_518_799_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_518_799_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_518_799_Closed_Text.style.display='none'; Codehighlighter1_518_799_Open_Image.style.display='inline'; Codehighlighter1_518_799_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">try</span><span style="color: #000000"> </span><span id="Codehighlighter1_518_799_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_518_799_Open_Text"><span style="color: #000000">{<br /> </span><span style="color: #008080">18</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            ByteArrayOutputStream bos </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> ByteArrayOutputStream();<br /> </span><span style="color: #008080">19</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            DeflaterOutputStream zos </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> DeflaterOutputStream(bos);<br /> </span><span style="color: #008080">20</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            zos.write(data.getBytes());<br /> </span><span style="color: #008080">21</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            zos.close();<br /> </span><span style="color: #008080">22</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> String(convertToBase64(bos.toByteArray()));<br /> </span><span style="color: #008080">23</span><span style="color: #000000"><img id="Codehighlighter1_822_896_Open_Image" onclick="this.style.display='none'; Codehighlighter1_822_896_Open_Text.style.display='none'; Codehighlighter1_822_896_Closed_Image.style.display='inline'; Codehighlighter1_822_896_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_822_896_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_822_896_Closed_Text.style.display='none'; Codehighlighter1_822_896_Open_Image.style.display='inline'; Codehighlighter1_822_896_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        }</span></span><span style="color: #000000"> </span><span style="color: #0000ff">catch</span><span style="color: #000000"> (Exception ex) </span><span id="Codehighlighter1_822_896_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_822_896_Open_Text"><span style="color: #000000">{<br /> </span><span style="color: #008080">24</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            ex.printStackTrace();<br /> </span><span style="color: #008080">25</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">ZIP_ERR</span><span style="color: #000000">"</span><span style="color: #000000">;<br /> </span><span style="color: #008080">26</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> </span><span style="color: #008080">27</span><span style="color: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />    }</span></span></div> <br /> 2銆丏ELPHI涓殑瀹炵幇<br /> 鍦―ELPHI涓紝鏈夌3鏂圭殑鎺т歡鍙互鍒╃敤鏉ュ疄鐜板帇緙?瑙e帇錛岃繖閲屾垜浠夋嫨VCLZIP V3.04錛屽彲浠ヤ粠榪欓噷涓嬭澆<a >http://www.vclzip.net</a><br /> 涓轟簡鎻愰珮閫氱敤鎬э紝鎴戜滑鍙互緙栧啓涓涓爣鍑嗙殑DLL錛屽氨鍙互鍦╓in32騫沖彴闅忔剰璋冪敤浜嗭紝鍏抽敭浠g爜濡備笅錛?br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">function</span><span style="color: #000000"> Cmip_CompressStr(txt: PChar): pchar; stdcall;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />var<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  zip: TVclZip;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  compr: </span><span style="color: #0000ff">string</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  data: PChar;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />begin<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  zip :</span><span style="color: #000000">=</span><span style="color: #000000"> TVclZip.Create(nil);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  compr :</span><span style="color: #000000">=</span><span style="color: #000000"> zip.ZLibCompressString(txt);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  data :</span><span style="color: #000000">=</span><span style="color: #000000"> pchar(Base64EncodeStr(compr));<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  Result :</span><span style="color: #000000">=</span><span style="color: #000000"> StrNew(data);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  zip.Free<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">end</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">function</span><span style="color: #000000"> Cmip_DeCompressStr(txt: PChar): pchar; stdcall;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />var<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  zip: TVCLUnZip;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  compr: </span><span style="color: #0000ff">string</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  data: PChar;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />begin<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  zip :</span><span style="color: #000000">=</span><span style="color: #000000"> TVCLUnZip.Create(nil);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  compr :</span><span style="color: #000000">=</span><span style="color: #000000"> zip.ZLibDecompressString(Base64DecodeStr(txt));<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  data :</span><span style="color: #000000">=</span><span style="color: #000000"> StrNew(pchar(compr));<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  Result :</span><span style="color: #000000">=</span><span style="color: #000000"> data;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />  zip.Free<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">end</span><span style="color: #000000">;</span></div> <br /> <br /> 鍦ㄦ垜浠綋鍓嶇殑欏圭洰涓紝閲囩敤鐨勬柟妗堟槸Powerbuilder +DLL涓嶫2EE騫沖彴榪涜xml鏁版嵁浜ゆ崲鐨勬柟寮忋?/span> <img src ="http://m.tkk7.com/midea0978/aggbug/151645.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/midea0978/" target="_blank">鍦ㄨ礬涓?..</a> 2007-10-10 10:35 <a href="http://m.tkk7.com/midea0978/archive/2007/10/10/151645.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Resin Pro 3.1.2 Plugin for IntelliJ IDEA http://m.tkk7.com/midea0978/archive/2007/09/18/146102.html鍦ㄨ礬涓?..鍦ㄨ礬涓?..Tue, 18 Sep 2007 03:04:00 GMThttp://m.tkk7.com/midea0978/archive/2007/09/18/146102.htmlhttp://m.tkk7.com/midea0978/comments/146102.htmlhttp://m.tkk7.com/midea0978/archive/2007/09/18/146102.html#Feedback2http://m.tkk7.com/midea0978/comments/commentRss/146102.htmlhttp://m.tkk7.com/midea0978/services/trackbacks/146102.html鍦ㄨ繖閲屽彲浠ヤ笅杞絉esin  Plugin for  IntelliJ IDEA  錛屼絾鏄浜?.1X濂藉儚榪樹笉鏀寔銆?/span>http://plugins.intellij.net/plugin/?id=215
浣滆呮洿鏂板お鎱紝涓嶅ソ鎰忔濊嚜宸卞姩鎵嬪弽緙栬瘧淇敼浜嗗嚑涓湴鏂癸紝鐜板湪鍙互鏀寔Resin Pro 3.1.2錛屽鏋滈渶瑕佸湴鍙互浠庤繖閲?br /> * 涓嬭澆錛?/span>Resin_2640_31.zip
* 瀹夎錛?br /> 淇敼鏂囦歡鍚嶄負Resin_2640_31.jar錛屽鍒跺埌C:\Documents and Settings\[username]\.IntelliJIdea60\config\plugins涓嬮潰
* 淇敼璁板綍
1銆佸皢3.1.2鐨剅esin.conf鏂囦歡鍛藉悕涓簉esin31.conf鍔犲埌org\intellij\j2ee\web\resin\resin涓嬮潰
2銆佸皢ResinVersion.java淇敼涓哄涓嬫柟娉曞垽鏂槸鍚?.1鐗堟湰

public static final ResinVersion VERSION_3_X = new ResinVersion("Resin 3.x"{

        
public boolean
 isOfVersion(File file)
        
{
            
return (new File(new File(file, "lib"), "jsdk-15.jar"
)).exists();
        }


        
public String getStartupClass()
        
{
            
return "com.caucho.server.resin.Resin"
;
        }


    }
3銆佷慨鏀筊esin3XConfigurationStrategy.java鏂囦歡涓儴鍒嗗垽鏂環ttp port銆乭ost鐨勪唬鐮?br /> 鍘熸潵鐨刋ML鑺傜偣涓簉oot->server->host->http->port   and  root->server->host->web-app
3.1涓嬮潰鐨刋ML鑺傜偣涓簉oot->cluster->server-default->http->port and    root->cluster->host->web-app
鏀硅繃鐨勪唬鐮佷負
Element httpElement = document.getRootElement().getChild("cluster", ns).getChild("server-default", ns).getChild("http", ns);

Element host = getHost(document.getRootElement().getChild("cluster", ns), ns, webApp);

List hosts = document.getRootElement().getChild("cluster", ns).getChildren("host", ns);

public InputStream getDefaultResinConfContent()
    {
        return getClass().getResourceAsStream("/org/intellij/j2ee/web/resin/resin/resin31.conf");
    }

鍘熸潵鐨勪綔鑰呮病鏈夊紑婧愶紝鎵浠ヤ笉濂藉仛榪涗竴姝ョ殑淇敼瀹屽杽錛屽浜?.0鐨勭増鏈簲璇ュ氨涓嶆敮鎸佷簡銆?br />


]]>
闆嗘垚struts+spring鐨勬柊鎬濊礬http://m.tkk7.com/midea0978/archive/2007/01/11/93219.html鍦ㄨ礬涓?..鍦ㄨ礬涓?..Thu, 11 Jan 2007 09:27:00 GMThttp://m.tkk7.com/midea0978/archive/2007/01/11/93219.htmlhttp://m.tkk7.com/midea0978/comments/93219.htmlhttp://m.tkk7.com/midea0978/archive/2007/01/11/93219.html#Feedback7http://m.tkk7.com/midea0978/comments/commentRss/93219.htmlhttp://m.tkk7.com/midea0978/services/trackbacks/93219.html 緗戜笂鏈夊ソ澶氱struts+spring鐨勯泦鎴愭濊礬錛屼緥濡?/font> http://dev.csdn.net/author/hql638/35679289a9a94e4f97e999508df064db.html
榪欑瘒鏂囩珷灝變粙緇嶅緱寰堣緇嗭紝浠嬬粛浜嗕笅闈笁縐嶆柟娉曪細

浣跨敤 Spring 鐨?ActionSupport 綾繪暣鍚?Structs
浣跨敤 Spring 鐨?DelegatingRequestProcessor 瑕嗙洊 Struts 鐨?RequestProcessor
灝?Struts Action 綆$悊濮旀墭緇?Spring 妗嗘灦
鍏跺疄鍦ㄤ嬌鐢╯pring+struts鏃訛紝鎴戜滑寰寰灝辨槸鎯充嬌鐢↖oc鐨勭壒鎬э紝鍑忓皯涓氬姟閫昏緫緇勪歡涔嬮棿鐨勪緷璧栧叧緋伙紝閫氳繃楂樺害鐏墊椿鐨刋ML閰嶇疆鎻愰珮涓氬姟鐨勭伒媧繪у拰鎵╁睍鎬с傛楠ゅ涓嬶細
棣栧厛渚濇棫鍔犲叆spring鐨刢ontext plugin鍒皊truts-config.xml涓?/font>

< struts-config >
聽聽
< plug-in
聽聽聽聽聽聽聽聽聽
className ="org.springframework.web.struts.ContextLoaderPlugIn" >
聽聽聽聽聽
< set-property聽 property ="contextConfigLocation"
聽聽聽聽聽聽聽聽聽value
="/WEB-INF/applicationContext.xml" />
聽聽
</ plug-in >
</ struts-config >


鐒跺悗鍖呰涓涓媠truts鐨凞ispatchAction錛屾彁渚涗竴涓柟娉曞彲浠ョ洿鎺ヨ幏鍙朣pring鐨刉ebApplicationContext瀵硅薄銆?/font>

package 聽com.cngd.dataview.action;聽

import 聽org.apache.struts.actions.DispatchAction;
import 聽org.springframework.web.context.WebApplicationContext;
import 聽org.springframework.web.struts.DelegatingActionUtils;聽

/** */ /**
聽*聽Date:聽2007-1-11聽16:57:48
聽*
聽*聽
@author 聽midea0978
聽*聽
@version 聽1.0
*/

public class 聽CommDispatchAction聽 extends 聽DispatchAction聽 {
聽聽聽聽
protected 聽WebApplicationContext聽getAppContext()聽 {
聽聽聽聽聽聽聽聽WebApplicationContext聽context聽
= 聽DelegatingActionUtils.findRequiredWebApplicationContext( this .getServlet(),聽 null );
聽聽聽聽聽聽聽聽
return 聽context;
聽聽聽聽}

}



鐒跺悗鑷繁鐨刟ction鍙互鐩存帴浠嶤ommDispatchAction緇ф壙閫氳繃this.getAppContext();鑾峰彇WebApplicationContext,榪欐牱瀵瑰師鏈夌殑
struts紼嬪簭鏋舵瀯浣撶郴鍑犱箮娌℃湁澶ぇ鐨勫彉鍖栵紝鍚屾椂鍙互寮曞叆spring鐨処oc鐗規у埌鐜版湁緋葷粺涓紝榪欎釜涓嶢ctionSupport 涓殑
getWebApplicationContext()鏂規硶綾諱技浜嗭紝浣嗘槸鍙互涓嶅繀鎷樻償浜庡湪涓よ呬箣闂磋漿鏉ヨ漿鍘葷殑銆?br />

package 聽com.cngd.dataview.action;聽

import 聽com.spring.bo.WeatherService;
import 聽org.apache.log4j.Logger;
import 聽org.apache.struts.action.ActionForm;
import 聽org.apache.struts.action.ActionForward;
import 聽org.apache.struts.action.ActionMapping;
import 聽org.springframework.jdbc.core.JdbcTemplate;
import 聽org.springframework.jdbc.datasource.DriverManagerDataSource;
import 聽org.springframework.web.context.WebApplicationContext;聽

import 聽javax.servlet.http.HttpServletRequest;
import 聽javax.servlet.http.HttpServletResponse;聽

/** */ /**
聽*聽Date:聽2007-1-11聽16:19:15
聽*
聽*聽
@author 聽midea0978
聽*聽
@version 聽1.0
*/

public class 聽DataViewAction聽 extends 聽CommDispatchAction聽 {
聽聽聽聽
static 聽Logger聽logger聽 = 聽Logger.getLogger(DataViewAction. class .getName());聽

聽聽聽聽
/** */ /**
聽聽聽聽聽*聽
@param 聽actionMapping
聽聽聽聽聽*聽
@param 聽actionForm
聽聽聽聽聽*聽
@param 聽request
聽聽聽聽聽*聽
@param 聽response
聽聽聽聽聽*聽
@return
聽聽聽聽聽*聽
@throws 聽Exception
聽聽聽聽聽
*/

聽聽聽聽
public 聽ActionForward聽genReport(ActionMapping聽actionMapping,聽ActionForm聽actionForm,聽HttpServletRequest聽request,聽HttpServletResponse聽response)
聽聽聽聽聽聽聽聽聽聽聽聽
throws 聽Exception聽 {
聽聽聽聽聽聽聽聽String聽yymm聽
= 聽request.getParameter( " yymm " );
聽聽聽聽聽聽聽聽String聽opname聽
= 聽request.getParameter( " opname " );
聽聽聽聽聽聽聽聽logger.info(
" 鍙傛暟錛?/span> " + 聽yymm聽 + " , " + 聽opname);
聽聽聽聽聽聽聽聽WebApplicationContext聽ctx聽
= this .getAppContext();
聽聽聽聽聽聽聽聽WeatherService聽srv聽
= 聽(WeatherService)聽ctx.getBean( " weatherServiceBean " );
聽聽聽聽聽聽聽聽srv.showWeather();
聽聽聽聽聽聽聽聽DriverManagerDataSource聽ds聽
= 聽(DriverManagerDataSource)聽ctx.getBean( " datasource " );
聽聽聽聽聽聽聽聽JdbcTemplate聽jt聽
= new 聽JdbcTemplate(ds);
聽聽聽聽聽聽聽聽String聽sql聽
= " select聽count(*)聽from聽tab " ;
聽聽聽聽聽聽聽聽
int 聽rows聽 = 聽jt.queryForInt(sql);
聽聽聽聽聽聽聽聽System.out.println(rows);
聽聽聽聽聽聽聽聽
return 聽actionMapping.findForward( " viewresult " );
聽聽聽聽}



}




]]>
WebLogic閰嶇疆鏂囦歡Config.xml涓殑{3DES}鍔犲瘑瀛楃涓茬殑瑙e瘑鎬濊礬http://m.tkk7.com/midea0978/archive/2006/09/07/68223.html鍦ㄨ礬涓?..鍦ㄨ礬涓?..Thu, 07 Sep 2006 04:35:00 GMThttp://m.tkk7.com/midea0978/archive/2006/09/07/68223.htmlhttp://m.tkk7.com/midea0978/comments/68223.htmlhttp://m.tkk7.com/midea0978/archive/2006/09/07/68223.html#Feedback1http://m.tkk7.com/midea0978/comments/commentRss/68223.htmlhttp://m.tkk7.com/midea0978/services/trackbacks/68223.html閫氬父鍦╳eblogic鐨刢onfig.xml鏂囦歡涓紝瀵逛簬鍏抽敭瀛楃涓層佸瘑鐮佷細鑷姩鍔犲瘑錛屼緥濡侺DAP瀵嗙爜銆佹暟鎹簱JDBC榪炴帴姹犺繛鎺ュ瘑鐮佺瓑銆傞氬父鍔犲瘑涔嬪悗鍓嶉潰浼氬姞涓妠3DES}鐨勬爣璇嗐?br />3DES灝辨槸DES綆楁硶鐨勫寮猴紝鐩稿叧璧勬枡濡備笅錛?br />1銆丏ES錛圖ata Encryption Standard錛夋槸涓縐嶇粡鍏哥殑瀵圭О綆楁硶銆傚叾鏁版嵁鍒嗙粍闀垮害涓?4浣嶏紝浣跨敤鐨勫瘑閽ヤ負64浣嶏紝鏈夋晥瀵嗛挜闀垮害涓?6浣嶏紙鏈?浣嶇敤浜庡鍋舵牎楠岋級銆傚畠鐢盜BM鍏徃鍦?0騫翠唬寮鍙戯紝緇忚繃鏀垮簻鐨勫姞瀵嗘爣鍑嗙瓫閫夊悗錛屼簬1976騫?1鏈堣緹庡浗鏀垮簻閲囩敤錛岄殢鍚庤緹庡浗鍥藉鏍囧噯灞鍜岀編鍥藉浗瀹舵爣鍑嗗崗浼?American National Standard Institute錛?ANSI) 鎵胯銆?br />
璇ユ妧鏈畻娉曞叕寮錛屽湪鍚勮涓氭湁鐫騫挎硾鐨勫簲鐢ㄣ侱ES綆楁硶浠庡叕甯冨埌鐜板湪宸叉湁20澶氬勾鐨勫巻鍙詫紝鐢變簬璁$畻鏈鴻兘鍔涚殑椋為熷彂灞曪紝DES鐨?6浣嶅瘑閽ラ暱搴︽樉寰楁湁浜涘お鐭簡錛屽凡緇忔湁鍙兘閫氳繃絀蜂婦鐨?br />
鏂規硶鏉ュ鍏惰繘琛屾敾鍑匯備絾鏄櫎姝や互澶栵紝鐩村埌鐜板湪榪樻病鏈夊彂鐜扮┓涓句互澶栫殑鑳芥湁鏁堢牬璇慏ES鐨勬柟娉曘?br />2銆丏ES綆楁硶鐜板湪宸茬粡涓嶈兘鎻愪緵瓚沖鐨勫畨鍏ㄦэ紝鍥犱負鍏舵湁鏁堝瘑閽ュ彧鏈?6浣嶃傚洜姝わ紝鍚庢潵鍙堟彁鍑轟簡涓夐噸DES錛堟垨縐?DES錛夛紝璇ユ柟娉曠殑寮哄害澶х害鍜?12姣旂壒鐨勫瘑閽ュ己搴︾浉褰撱?
榪欑鏂規硶鐢ㄤ袱涓瘑閽ュ鏄庢枃榪涜涓夋榪愮畻銆傝涓や釜瀵嗛挜鏄疜1鍜孠2錛屽叾綆楁硶鐨勬楠ゅ鍥?鎵紺猴細
1. 鐢ㄥ瘑閽1榪涜DES鍔犲瘑銆?
2. 鐢↘2瀵規楠?鐨勭粨鏋滆繘琛孌ES瑙e瘑銆?
3. 鐢ㄦ楠?鐨勭粨鏋滀嬌鐢ㄥ瘑閽1榪涜DES鍔犲瘑銆?

棣栧厛闇瑕佹壘鍒板姞瀵嗙殑瀵嗛挜錛屾牴鎹瓸EA鏂囨。鍙互鍙戠幇鏄枃浠禨erializedSystemIni.dat錛屾煡鎵句竴涓嬪畨瑁呯洰褰曞氨鍙互鎵懼埌鏁翠釜闂錛岄氬父緋葷粺綆$悊鍛樺簲璇ュ皢璇ユ枃浠惰緗負涓嶈兘鐩存帴璁塊棶錛屼互鎻愰珮瀹夊叏鎬с?br />鍔犲瘑銆佽В瀵嗙殑澶ц嚧婕旂ず綆楁硶浠g爜濡備笅錛屽湪WebLogic 9.2涓嬮潰璋冭瘯閫氳繃錛岃繍琛岀紪璇戝墠搴旇鍏堣繍琛宻etExamplesEnv.cmd錛堝弬鑰冿級鐨勭幆澧冨彉閲忥紝浠ヤ繚璇佺浉鍏崇被搴撳凡緇忚寮曠敤浜嗐傚浜庝綆鐗堟湰鐨刉ebLogic,渚嬪WebLogic 7.0/8.1鍙兘涓嶈兘鐩存帴鍦ㄥ懡浠よ鎵ц錛屽洜涓篠erializedSystemIni蹇呴』鍦ㄦ帶鍒跺彴Console鐜涓嬮潰鎵嶈兘璋冪敤錛屾湁鍏磋叮鐨勬湅鍙嬪彲浠ヨ嚜琛屾祴璇曠湅鐪嬨?
聽1import聽weblogic.security.internal.*;
聽2import聽weblogic.security.internal.encryption.EncryptionService;
聽3import聽weblogic.utils.encoders.BASE64Decoder;
聽4import聽weblogic.utils.encoders.BASE64Encoder;
聽5publicclass聽CrackData聽
聽6{
聽7聽聽聽聽publicstaticvoid聽main(String[]聽args)聽
聽8聽聽聽聽{
聽9聽聽聽聽聽聽聽聽byte[]聽salt,keys;
10聽聽聽聽聽聽聽聽salt=SerializedSystemIni.getSalt();
11聽聽聽聽聽聽聽聽keys=SerializedSystemIni.getEncryptedSecretKey();
12聽聽聽聽聽聽聽聽String聽data="";
13聽聽聽聽聽聽聽聽for(int聽i=0;i<salt.length;i++){
14聽聽聽聽聽聽聽聽聽聽聽聽data+=salt[i]+",";
15聽聽聽聽聽聽聽聽}

16聽聽聽聽聽聽聽聽System.out.println("salt:"+data);
17聽聽聽聽聽聽聽聽data="";
18聽聽聽聽聽聽聽聽for(int聽i=0;i<keys.length;i++){
19聽聽聽聽聽聽聽聽聽聽聽聽data+=keys[i]+",";
20聽聽聽聽聽聽聽聽}

21聽聽聽聽聽聽聽聽System.out.println("Key:"+data);
22聽聽聽聽聽聽聽聽//EncryptionService聽svr=SerializedSystemIni.getExistingEncryptionService();
23聽聽聽聽聽聽聽聽EncryptionService聽svr=SerializedSystemIni.getEncryptionService();
24聽聽聽聽聽聽聽聽System.out.println(svr);
25聽聽聽聽聽聽聽聽System.out.println(svr.getAlgorithm());
26聽聽聽聽聽聽聽聽if(args.length>1){
27聽聽聽聽聽聽聽聽聽聽聽聽if(args[0].equals("encrypt")){
28聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽byte[]聽edata=svr.encryptString(args[1]);
29聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽String聽s聽=聽(new聽BASE64Encoder()).encodeBuffer(edata);
30聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽System.out.println("Encode:"+s);
31聽聽聽聽聽聽聽聽聽聽聽聽}

32聽聽聽聽聽聽聽聽聽聽聽聽if(args[0].equals("decrypt")){
33聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽try{
34聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽byte[]聽edata聽=聽(new聽BASE64Decoder()).decodeBuffer(args[1]);
35聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽String聽txt=svr.decryptString(edata);
36聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽System.out.println("Decode:"+txt);
37聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽}
catch(Exception聽ex){
38聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽ex.printStackTrace();
39聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽}

40聽聽聽聽聽聽聽聽聽聽聽聽}

41聽聽聽聽聽聽聽聽}

42聽聽聽聽聽聽聽聽
43聽聽聽聽}

44}

45

嫻嬭瘯榪愯緇撴灉濡備笅錛?br />
root@srdsh聽#聽/rdsh/bea92/jdk150_04/bin/java聽CrackData聽decrypt聽nMttUc5jNe9RNJXslXjbJQ==
-86,123,19,107,
-42,-28,-75,-100,31,0,25,-93,75,115,40,-3,-15,42,-53,41,-25,-13,-6,8,36,85,-81,2
8,66,-110,31,38,-29,-79,-44,-48,
weblogic.security.internal.encryption.JSafeEncryptionServiceImpl@199f91c
3DES
Decode:weblogic
root@srdsh聽#聽
/rdsh/bea92/jdk150_04/bin/java聽CrackData聽decrypt聽erzD515N5z2zSnOk7uG1cYQthCbYA5OU6Bw+Zt5BsjPruTQaOZASh+ZZW4kuBGvfbZ2BXWSACbgOZ2MY4bHtpOPps/6WfZJg
-86,123,19,107,
-42,-28,-75,-100,31,0,25,-93,75,115,40,-3,-15,42,-53,41,-25,-13,-6,8,36,85,-81,2
8,66,-110,31,38,-29,-79,-44,-48,
weblogic.security.internal.encryption.JSafeEncryptionServiceImpl@199f91c
3DES
Decode:
0xa778f572127d2282247ec653147c35d4e4040aca016c6d1e06ab325af5798fca
root@srdsh聽#


]]>
XDB涓巘omcat 8080绔彛鍐茬獊鐨勮В鍐沖姙娉?/title><link>http://m.tkk7.com/midea0978/archive/2005/12/22/25061.html</link><dc:creator>鍦ㄨ礬涓?..</dc:creator><author>鍦ㄨ礬涓?..</author><pubDate>Thu, 22 Dec 2005 05:37:00 GMT</pubDate><guid>http://m.tkk7.com/midea0978/archive/2005/12/22/25061.html</guid><wfw:comment>http://m.tkk7.com/midea0978/comments/25061.html</wfw:comment><comments>http://m.tkk7.com/midea0978/archive/2005/12/22/25061.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://m.tkk7.com/midea0978/comments/commentRss/25061.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/midea0978/services/trackbacks/25061.html</trackback:ping><description><![CDATA[<P><FONT size=2>鍦ㄥ畨瑁呬簡Oracle 9i涔嬪悗XDB鐨刪ttp榛樿鍗犵敤浜?080錛宖tp浼氬崰鐢?100绔彛錛屽叾瀹瀀DB灝辨槸XML Database鎻愪緵鐨勪竴縐嶆湇鍔★紝鍦╫racle涓湁涓涓猵ackage鍙互鐢ㄦ潵緇存姢綆$悊璇ユ湇鍔$殑閰嶇疆淇℃伅銆傝繖涓寘灝辨槸<STRONG>dbms_xdb.<BR></STRONG>瑙e喅鏂規硶鏈変笅闈㈠嚑縐嶏細<BR>1銆乻qlplus "/ as sysdba"榪炲叆鏁版嵁搴?BR>SQL> -- Change the HTTP/WEBDAV port from 8080 to 8081<BR>  SQL> <B>call dbms_xdb.cfg_update(updateXML(</B><BR>    2      <B>  dbms_xdb.cfg_get()</B><BR>    3      <B>, '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()'</B><BR>    4      <B>, 8081))</B><BR>    5  <B>/</B><BR><BR>  Call completed. <BR><BR><BR>  SQL> -- Change the FTP port from 2100 to 2111<BR>  SQL> <B>call dbms_xdb.cfg_update(updateXML(</B><BR>    2       <B>  dbms_xdb.cfg_get()</B><BR>    3       <B>, '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()'</B><BR>    4       <B>, 2111))</B><BR>    5  <B>/</B><BR><BR>  Call completed. <BR><BR><BR>  SQL> <B>COMMIT;</B><BR><BR>  Commit complete. <BR><BR><BR>  SQL> <B>EXEC dbms_xdb.cfg_refresh;</B><BR><BR>  PL/SQL procedure successfully completed.<BR><BR><BR>  SQL> -- Verify the change<BR>  SQL> <B>set long 100000</B><BR>  SQL> <B>set pagesize 9000</B><BR>  SQL> <B>SELECT dbms_xdb.cfg_get FROM dual;</B><BR>2銆佺Щ闄DB鏈嶅姟錛屽皢瀹炰緥淇℃伅鍘繪帀<BR>dispatchers='(PROTOCOL=TCP) (SERVICE=<ORACLE_SID>XDB)'<BR><BR>3銆佷嬌鐢∣racle Enterprise Manager 涓殑鐨?STRONG>XML Database</STRONG> 閰嶇疆淇℃伅涓慨鏀規帀绔彛灝卞彲浠ヤ簡</FONT></P><img src ="http://m.tkk7.com/midea0978/aggbug/25061.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/midea0978/" target="_blank">鍦ㄨ礬涓?..</a> 2005-12-22 13:37 <a href="http://m.tkk7.com/midea0978/archive/2005/12/22/25061.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>JIRA 3.3.2娉ㄥ唽涓嶥SA絳懼悕綆楁硶鐮旂┒ http://m.tkk7.com/midea0978/archive/2005/10/24/16566.html鍦ㄨ礬涓?..鍦ㄨ礬涓?..Mon, 24 Oct 2005 06:04:00 GMThttp://m.tkk7.com/midea0978/archive/2005/10/24/16566.htmlhttp://m.tkk7.com/midea0978/comments/16566.htmlhttp://m.tkk7.com/midea0978/archive/2005/10/24/16566.html#Feedback0http://m.tkk7.com/midea0978/comments/commentRss/16566.htmlhttp://m.tkk7.com/midea0978/services/trackbacks/16566.htmlJIRA鏄竴涓笉閿欑殑闂璺熻釜緋葷粺錛屽湪杞歡寮鍙戦」鐩腑涓嶅彲鎴栫己錛岃緇嗚祫鏂欏彲浠ヨ闂?A >http://www.atlassian.com/software/jira/

鏈枃鎺㈣浜咼IRA 3.3.2鐨勬敞鍐屾満鍒訛紝欏轟究鍒╃敤JAVA鐨勬暟瀛楃鍚嶆満鍒跺疄鐜頒簡綆鍗曠殑demo,鍏蜂綋鍐呭瑙侊細
http://m.tkk7.com/midea0978/articles/16563.html



]]>
IBM WebSphere 6.0鐨凚UGhttp://m.tkk7.com/midea0978/archive/2005/09/28/14324.html鍦ㄨ礬涓?..鍦ㄨ礬涓?..Wed, 28 Sep 2005 11:28:00 GMThttp://m.tkk7.com/midea0978/archive/2005/09/28/14324.htmlhttp://m.tkk7.com/midea0978/comments/14324.htmlhttp://m.tkk7.com/midea0978/archive/2005/09/28/14324.html#Feedback0http://m.tkk7.com/midea0978/comments/commentRss/14324.htmlhttp://m.tkk7.com/midea0978/services/trackbacks/14324.html
String fieldname="fieldname",value="value";
out.println("<"+fieldname+">"+value+"]]>"+fieldname+">\n");
榪欐椂鍊欎綘浼氬彂鐜板簲璇ユ樉紺哄嚭鏉ョ殑CDATA鏍囩涓嶈浜嗐?BR>鍦ㄥ彟澶栦竴縐嶅啓娉曚笅錛屼篃浼氭湁閿欒錛?BR>
String fieldvalue="hello";

<td>[CDATA[<%=fieldvalue%>]]>td>

鍦ㄨ繖縐嶆儏鍐典笅錛?%=fieldvalue%>鏄笉浼氳鎵ц鐨勶紝鍦ㄨ繍琛屽悗鐨刯sp閲岄潰浠嶇劧瀛樺湪銆?BR>寰堝彲鎯滐紝榪欎釜闂宸茬粡寰楀埌浜咺BM寮鍙戝疄楠屽鐨勭‘璁わ紝浣嗘槸琛ヤ竵鍒扮幇鍦ㄨ繕娌′簬鍑烘潵,鏈鏂扮殑鐗堟湰鏄?.0.2銆?/SPAN>

]]>
主站蜘蛛池模板: 亚洲AV午夜成人片| 免费A级毛片无码A∨免费| 亚洲AV一区二区三区四区| 免费精品99久久国产综合精品| 黄色a级免费网站| 亚洲AV无码一区二区三区电影 | 在线观看亚洲成人| 免费大片黄手机在线观看| 国产精品成人四虎免费视频| 在线日韩av永久免费观看| 日本一道高清不卡免费| 免费国产成人午夜私人影视| 免费中文字幕一级毛片| 亚洲精品无码久久久久AV麻豆| 亚洲精品无码99在线观看| 国产偷国产偷亚洲高清日韩| 亚洲色大成网站www永久一区| 91九色老熟女免费资源站| 全部一级一级毛片免费看| 亚洲一区在线视频| 亚洲国产无线乱码在线观看 | 亚洲国产三级在线观看| 久热综合在线亚洲精品| 久久久亚洲欧洲日产国码是AV| 亚洲国产精品成人综合久久久| 亚洲免费观看视频| 亚洲第一精品福利| 亚洲同性男gay网站在线观看| 亚洲中文字幕无码中文字在线| 久久亚洲高清观看| 亚洲乱码一二三四区麻豆| 亚洲av无码一区二区三区人妖| 曰韩无码AV片免费播放不卡 | 一本色道久久88—综合亚洲精品 | 亚洲综合激情九月婷婷| 国产A在亚洲线播放| 亚洲日韩乱码中文无码蜜桃臀| 亚洲人片在线观看天堂无码| 特级av毛片免费观看| 久久大香香蕉国产免费网站| 中文字幕免费在线观看动作大片|