以前使用Aapche2.2反向代理到Tomcat,协议是ajp,一切正常。
这两天找了个Resin-pro-3.0.21的破解版,就想用apache反向代理到resin。
apache的配置如下:
引用
<VirtualHost *:80>
ServerAdmin webmaster@mydomain.com
ServerName www.mydomain.com
ProxyRequests Off
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPass / http://localhost:80 ...
今天看到hibernate3.2ga版出来,赶紧更新。
我原来用的是hibernate3.1.3版本+Spring2.0,结果更新后,我配置的c3p0连接池是死活也连接不上了。
数据库是mysql,它在那里一直"Building new Hibernate SessionFactory".
一口气创建了好多。输出信息是这样的:
....-Building new Hibernate SessionFactory
....-Building new Hibernate SessionFactory
....-Building new Hibernate SessionFactory
.. ...
- 浏览: 4954 次

- 详细资料
搜索本博客
最新评论
-
今天升级hibernate3.2GA遇 ...
谢谢Allen,hibernate的二级缓存定义应该是默认为true的吧,因为我 ...
-- by chinarefers -
今天升级hibernate3.2GA遇 ...
chinarefers 写道问题已解决,谢谢大家! 产生的问题是因为没有配置h ...
-- by Allen -
今天升级hibernate3.2GA遇 ...
c3p0: c3p0-0.9.1-pre9.jar MySql: mysql-5 ...
-- by chinarefers -
今天升级hibernate3.2GA遇 ...
chinarefers 写道难道是和MySql的版本有关? 那你用的MySQ ...
-- by Allen -
今天升级hibernate3.2GA遇 ...
我用DBCP就没有问题 c3p0我一直觉得不爽,个人看法 不知道你为什么选择c3 ...
-- by rrsy23






评论排行榜