Topic: 为什么tomcat5.0就启动不了? server.xml ? |
Print this page |
1.为什么tomcat5.0就启动不了? server.xml ? | Copy to clipboard |
Posted by: neil99 Posted on: 2006-04-27 15:00 server.xml配置下 <Context> <Resource name="jdbc/opencustomer" auth="Container" type="javax.sql.DataSource" maxActive="50" maxIdle="10" maxWait="5000" username="root" password="han" driverClassName="org.gjt.mm.mysql.Driver" url="jdbc:mysql://localhost:3306/datenbankname?useUnicode=true&characterEncoding=UTF-8"/> </Context> 在<host>...</host>中加入上述代码 为什么tomcat5.0就启动不了了呢 |
2.Re:为什么tomcat5.0就启动不了? server.xml ? [Re: neil99] | Copy to clipboard |
Posted by: K_P_exciting Posted on: 2006-05-19 21:07 //不知道是怎么回事。楼主可以参考一下我这个!!我这个是可以的哦!^_^! =============================================== <Host appBase="C:\Tomcat 5.5\webapps" name="localhost"> <Context crossContext="true" docBase="D:/WebDev/ROOT" path="/main" reloadable="true"> <Resource name="jdbc/Northwind" type="javax.sql.DataSource" password="sqlserversaps" driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver" maxIdle="2" maxWait="5000" username="sa" url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Northwind" maxActive="4"/> </Context> <Context crossContext="true" docBase="F:/JAVA Explore/NetBeans5.0/ROOT/build/web" path="/netbeans" reloadable="true"> </Context> <Context crossContext="true" docBase="F:\JAVA Explore\EclipseII\Meal\meal" path="/meal" reloadable="true"> <Resource name="jdbc/meal" type="javax.sql.DataSource" password="sqlserversaps" driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver" maxIdle="2" maxWait="5000" username="sa" url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=meal" maxActive="4"/> </Context> </Host> |
3.Re:为什么tomcat5.0就启动不了? server.xml ? [Re: neil99] | Copy to clipboard |
Posted by: bluecrystal Posted on: 2006-07-14 17:13 把启动日志贴出来看看 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |