註冊 | 登入 | 幫助 | 全文檢索 | 排行榜 | 文章統計 |
<script language=javascript> function copyText(obj) { var rng = document.body.createTextRange(); rng.moveToElementText(obj); rng.scrollIntoView(); rng.select(); rng.execCommand("Copy"); rng.collapse(false); } </script>
» Java 技術論壇 » Java IDE » JBuilder 列印話題 寄給朋友 |
作者 | Re:請問如何在JBuilder中使用TomCat中設定的DataSource [Re:stallone_hwang] |
browser 戀香 總版主 發文: 2598 積分: 2 | 於 2003-11-27 18:53
stallone_hwang wrote: 不是很了解你所謂 在JBuilder中取得JNDI 不過你附上的程式 ... 的確是取得在 Tomcat 所設定的 JNDI DataSource 新人發言時,請遵照 論壇提問的智慧,並且先閱讀本站常見的 FAQ,謝謝大家合作,共同維護論壇的品質 |
作者 | Re:請問如何在JBuilder中使用TomCat中設定的DataSource [Re:stallone_hwang] |
scottlai 發文: 34 積分: 3 | 於 2003-12-02 23:58
另外還要 Jakarta Commons - DBCP Jakarta Commons - Pool (到 http://jakarta.apache.org/commons/index.html ) Tomcat4xTools.jar (38.41k) |
作者 | Re:請問如何在JBuilder中使用TomCat中設定的DataSource [Re:stallone_hwang] |
scottlai 發文: 34 積分: 3 | 於 2003-12-02 23:59
/lib/ext/ mot.jar (182.86k) |
作者 | Re:請問如何在JBuilder中使用TomCat中設定的DataSource [Re:stallone_hwang] |
scottlai 發文: 34 積分: 3 | 於 2003-12-03 00:00
|
作者 | Re:請問如何在JBuilder中使用TomCat中設定的DataSource [Re:stallone_hwang] |
scottlai 發文: 34 積分: 3 | 於 2003-12-03 00:01
|
作者 | Re:請問如何在JBuilder中使用TomCat中設定的DataSource [Re:stallone_hwang] |
scottlai 發文: 34 積分: 3 | 於 2003-12-03 00:02
|
作者 | Re:請問如何在JBuilder中使用TomCat中設定的DataSource [Re:stallone_hwang] |
scottlai 發文: 34 積分: 3 | 於 2003-12-03 00:05
|
作者 | Re:請問如何在JBuilder中使用TomCat中設定的DataSource [Re:stallone_hwang] |
javamon65 發文: 52 積分: 1 | 於 2003-12-03 10:47
小弟在 Jbuilder 8的做法大致如下 1. 確定[JBuilder_Home]/thirdparty/jakarta-tomcat-4.1.12-LE-jdk14/common/lib下, 有commons-collections.jar,commons-dbcp-1.1.jar,commons-pool-1.1.jar及所須要的jdbc檔案 2.接下來便是 tomcat 內的 server.xml的設定, Jbuilder在啟動tomcat時,或許是為了要能run多個tomcat process, 會在特定目錄下({Project_Home}/Tomcat/conf)產生 serverxxxx.xml的檔案, 因為這些檔案是 generate dynamically, 為了要保留 JNDI 的相關設定, 因此在 Runtime configuration properties 下指定server parameter : -config 指定的server.xml (如附圖) 3.server.xml的內容
4.啟動tomcat,大公告成 p.s. : 1.tomcat 的 howto 中特別提到,jdbc也應該放在{$CATALINA_HOME}/common/lib,且不可是 zip的格式 2.感謝 ak47大大,有那篇分享我是成功的http://www.javaworld.com.tw/jute/post/view?bid=7&id=23499&sty=2
javamon65 edited on 2003-12-03 10:54
|
已讀文章 新的文章 被刪除的文章 |
Powered by Powerful JuteForum® Version Jute 1.5 Pro
Copyright© 2002-2003 Rainman Zhu,Zua,Netboy,Scott. All Rights Reserved.