javaÁ¬½Ósqlserver2005Êý¾Ý¿âÐĵÃÌå»á
sqlserverÊý¾Ý¿â£ºjavaÁ¬½Ósqlserver2005Êý¾Ý¿âÐĵÃÌå»á
Ê×ÏȵÃÏÂÔØÇý¶¯³ÌÐòµ½Î¢ÈíÍøÕ¾ÏÂÔØMicrosoft SQL Server 2005 JDBC Driver 1.2¡¡¡¡½âѹMicrosoft SQL Server 2005 jdbc driver1.2.exe
µÃµ½sqljdbc.jar£¬ÓõÃʱºòÖ±½Ó¼Óµ½classpathÖÐÈ¥.
¡¡ÉèÖÃSQL Server·þÎñÆ÷
·ÀÖ¹³öÏÖ
com.microsoft.sqlserver.jdbc.SQLServerException: µ½Ö÷»ú µÄ TCP/IP Á¬½Óʧ°Ü¡£ java.net.ConnectException: Connection refused: connect
at com.microsoft.sqlserver.jdbc.SQLServerException.makefromDriverError(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at Dao.GetConnection.getCon(GetConnection.java:11)
at Dao.GetNotes.getAllNotes(GetNotes.java:13)
at Servlets.GetFull.doGet(GetFull.java:49)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
ÎÒʹÓõÄÊÇSQL Server 2005±ê×¼°æSP2£¬ÕâЩ¶¼Ä¬Èϼ´¿É£¬Ò»°ã²»ÓÃÅäÖá£Èç¹ûÐèÒªÅäÖö˿ÚÇë¿´ÏÂÃæ¡£
¡¡¡¡1¡¢“¿ªÊ¼”→“³ÌÐò&rdqu
Ïà¹ØÎĵµ£º
2008 Äê 6 ÔÂ 24 ÈÕ
ÔÎĵØÖ·£º http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0806wangys/
±¾ÎĽéÉÜ IBM FileNet P8 4.0 Platform ÌṩµÄ Content Java API¡£Ê×ÏÈ¶Ô FileNet P8 Content Engine ºÍ API ½øÐиÅÒª½éÉÜ, ²¢ËµÃ÷ÁËһЩ»ù±¾¸ÅÄËæºóÏêϸ½éÉÜÁË FileNet Content EngineÌṩµÄ»ùÓÚ EJB ......
JavaÈÝÆ÷Àà¿âÖ÷Òª°üº¬Á½ÖÖÀàÐÍCollection(List,Set,Queue)ºÍMap£¬ËüÃǵÄÇø±ðÔÚÓÚÿ¸ö²Û±£´æµÄÔªËظöÊý£¬CollectionÖ»±£´æÒ»¸ö£¬¶øMap±£´æ¼üºÍÖµ¡£
1.µ±Ê¹ÓÃArrays.asList()ʱ£¬Ëü»áÔÚʹÓÃÒ»¸öfinalµÄÊý×é×÷Ϊµ×²ãʵÏÖ£¬Òò´ËÈκÎÉè¼Æµ½¸ü¸ÄÆ䳤¶È´óСµÄ²Ù×÷¶¼½«Å×UnsuportedExceptioÒì³£¡£
2.finalµÄÊý×飬²»Äܸıä´óС£¬µ ......
×÷ΪApplet³ÌÐòµÄÒ»¸öÈëÃÅ£¬ÎÒÃǽñÌì̽ÌÖÒ»ÏÂÈçºÎʵÏÖÒ»¸ö°ë¾¶²»¶ÏÔö´óµÄСÇò¶¯»£¬ÕýÈçÏÂͼËùʾ¡£
Éè¼ÆµÄ¹Ø¼ü˼Ï룺
ÎÒÃÇÐèÒªÉ趨һ¸öСÇòµÄÔ²ÐÄ×ø±ê£¬×îºÃÊÇÔÚ´°¿ÚµÄÖÐÑ룬ȻºóÁîСÇòµÄ°ë¾¶²»¶ÏÔö´ó£¬²»¶ÏµÄÖػ棬ÒÔʵÏÖСÇòµÄÔö´ó¶¯»¡£
Éè¼Æ·½°¸£º
&n ......
Chap1 ¶ÔÏó¼ò½é
1.³éÏóµÄ¹ý³Ì
Alan Kay×ܽáÁËSmalltalkµÄÎåÏî»ù±¾ÌØÕ÷¡£ÕâЩÌØÕ÷´ú±íÁË´¿µÄÃæÏò¶ÔÏóµÄ±à³Ì·½·¨£º
(1).ÍòÎï½Ô¶ÔÏó¡£½«¶ÔÏóÏë³ÉÒ»ÖÖÌØÊâµÄ±äÁ¿£»Ëü´æ´¢Êý¾Ý£¬¶øÇÒ»¹¿ÉÒÔÈÃÄã“ÌáÒªÇ ......
Ubuntu/debian ¸ü¸ÄĬÈÏJava»·¾³
ÎҵĵçÄÔÀï°²×°ÁËÁ½¸ö°æ±¾µÄJava£¬Ò»¸öÊÇjava-6-sun£¬»¹ÓÐÒ»¸öÊÇjava-gcj
gcjÊÇÔÚJVM·Ç³£»ºÂýµÄʱºòµ®ÉúµÄ£¬Ëû¿ÉÒÔ°ÑJava´úÂë±àÒë³É±¾µØ´úÂë £¬¹ØÓÚgcjÔÝÇÒ˵Õâô¶à£¬»Øµ½Ö÷Ìâ¡£
ÐÞ¸ÄĬÈÏjava»·¾³Óõ½ÃüÁîupdate-java-alternatives
1¡¢Ê¹ÓÃupdate-java-alternatives -l²é¿´Ä¿Ç°ÒѾ°²×° ......