tomcat
lynn_chen
这个作者很懒,什么都没留下…
展开
-
apr -- Apache Portable Runtime
<br />The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations. The primary goal is to provide an API to转载 2011-02-07 15:18:00 · 1133 阅读 · 0 评论 -
Eclipse中配置JDBC数据源
<br />参考我的两篇文章:配置MySQL DBCP 和an individual file at /META-INF/context.xml<br /> 1. Context configuration<br /> <br />配置JDNI数据源到你的context中,这里选择在/META-INF/context.xm文件中配置(如果应用程序采用war打包发布时,第一次运行此应用程序时,Tomcat会进行两步操作:1. 复制 /META-INF/context.xml 到$CATALINA_BASE原创 2011-02-13 16:33:00 · 7835 阅读 · 0 评论 -
GlobalNamingResources组件
GlobalNamingResources定义了服务器的全局JNDI资源 <br />可以在GlobalNamingResources中嵌套<Environment>元素,配置命名的值,这些值作为环境条目资源(Environment Entry Resource),对整个web应用可见。比如,可以按照如下方法创建一个环境条目:<GlobalNamingResources ...><br /> ...<br /> <Environm转载 2011-02-22 11:22:00 · 6306 阅读 · 1 评论 -
error:JDBC driver unregisted when the web application stops
Since version 6.0.24, Tomcat ships with a memory leak detection feature, which in turn can lead to this kind of warning messages. This particular message is caused by Tomcats builtin DBCP not d转载 2011-06-17 00:16:00 · 1174 阅读 · 0 评论 -
配置MySQL DBCP
参考至$CATALINA_BASE/webapps/docs/jndi-datasource-examples-howto.html Context configurationConfigure the JNDI DataSource in Tomcat by adding a declaration for your resource to your Context.转载 2011-06-17 01:02:00 · 2593 阅读 · 0 评论 -
web.xml中的url-pattern
在 web.xml 文件中,以下语法用于定义映射:以 ”/’ 开头和以 ”/*” 结尾的是用来做路径映射的。 以前缀 ”*.” 开头的是用来做扩展映射的。 “/” 是用来定义转载 2011-06-20 01:34:00 · 569 阅读 · 0 评论 -
an individual file at /META-INF/context.xml
需要注意的是: 属性docBase The value of this field must not be set when the Context is configured using a META-INF/context.xml file as it will be inferred by the automatic deployment process.原创 2011-06-18 17:24:00 · 965 阅读 · 0 评论