由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Tomcat Hot deployment
相关主题
jboss hot deployment in eclipseJ2EE: why is my .jsp not refreshed?
今天一天时间把tomcat 调明白了in eclipse EE , how to build a tomcat/web application?
HTTP Status 404 The requested resource (/abc/index.jsp) is not available.简单的问题,搞不懂了, 帮忙
what wrong with jboss?Eclipse EE
Web application deployment 的问题为什么Tomcat看不到新建的maven项目?
OpenShift的一个问题Eclipse 抽风, 毫无征兆的
有没有怎么配置jbuilder+jboss+tomcat的资料请教一个maven 管理项目的问题
问一个J2EE和Tomcat问题Who is EJB technology for?
相关话题的讨论汇总
话题: hot话题: tomcat话题: deployment话题: deploy话题: hibernate
进入Java版参与讨论
1 (共1页)
d*******i
发帖数: 77
1
有没有人用过 Tomcat + Spring + Hibernate+ Hot Deployement
这些组合 存在Memory Leak, 讨论也充斥在网络, 貌似就没人又能解决, 所有的3rd
party code 都互相推卸责任。
linux 上我后来用一个小程序, 只有一个hibernate bean, 反复deploy 大约40次
server 就废了
windows 一次都不行, 因为hibernate.jar被锁住了。
k***r
发帖数: 4260
2
Did you send the sample code to the mailing lists?
Maybe some da niu on the list can fix it fairly quickly.
The locked jar file sounds like an easier one.

3rd

【在 d*******i 的大作中提到】
: 有没有人用过 Tomcat + Spring + Hibernate+ Hot Deployement
: 这些组合 存在Memory Leak, 讨论也充斥在网络, 貌似就没人又能解决, 所有的3rd
: party code 都互相推卸责任。
: linux 上我后来用一个小程序, 只有一个hibernate bean, 反复deploy 大约40次
: server 就废了
: windows 一次都不行, 因为hibernate.jar被锁住了。

m******t
发帖数: 2416
3

Problem is the issue has become more political than
technical.
May be harder than you think. It actually has to do with Sun's
classloader keeping locks on jars that it has loaded classes
from.

【在 k***r 的大作中提到】
: Did you send the sample code to the mailing lists?
: Maybe some da niu on the list can fix it fairly quickly.
: The locked jar file sounds like an easier one.
:
: 3rd

F****n
发帖数: 3271
4

~~~~~~~~~~
Why can't they write custom classloaders to read class files? It should be
easy.

【在 m******t 的大作中提到】
:
: Problem is the issue has become more political than
: technical.
: May be harder than you think. It actually has to do with Sun's
: classloader keeping locks on jars that it has loaded classes
: from.

t*******e
发帖数: 684
5
Deployment memory leak是个JVM问题,用JRockit比较简单,SUN HotSpot JVM要调整PerGem的参数,否则PerGem里的class objects是virtually eternal,反复的deployment导致大量不同version class objects存在.
m******t
发帖数: 2416
6

Don't know. I guess for many people (including me) hot deploy isn't
that big of a deal because a) we almost always restart the VMs
in environments other than local dev; b) in most of the cases each
server VM really hosts only one main application, so hot deploy is
practically as long as restarting the vm.

【在 F****n 的大作中提到】
:
: ~~~~~~~~~~
: Why can't they write custom classloaders to read class files? It should be
: easy.

1 (共1页)
进入Java版参与讨论
相关主题
Who is EJB technology for?Web application deployment 的问题
What specific services does a container provide fOpenShift的一个问题
EJB开发中的角色分配有没有怎么配置jbuilder+jboss+tomcat的资料
Re: OR mapping问一个J2EE和Tomcat问题
jboss hot deployment in eclipseJ2EE: why is my .jsp not refreshed?
今天一天时间把tomcat 调明白了in eclipse EE , how to build a tomcat/web application?
HTTP Status 404 The requested resource (/abc/index.jsp) is not available.简单的问题,搞不懂了, 帮忙
what wrong with jboss?Eclipse EE
相关话题的讨论汇总
话题: hot话题: tomcat话题: deployment话题: deploy话题: hibernate