在不重新启动JBoss的情况下部署java类文件 [英] Deploying java class files without restarting JBoss
问题描述
我想知道是否可以在不重启JBoss服务器的情况下部署java类文件。我正在使用jboss v4.2.2。
I would like to know if its possible to deploy java class files without restarting JBoss server. I am using jboss v4.2.2.
此外,当我尝试部署jsp文件时,它工作正常,服务器几乎立即获取更改。
Also, when I try to deploy jsp files, it works fine and server picks up the changes almost instantly.
非常感谢提前:)
推荐答案
我对Tomcat比JBoss更好,但应该可以(如在Tomcat中)重新启动应用程序而无需重新启动应用程序服务器。如果服务器具有开发模式且处于活动状态,则应该可以通过触摸
ing WEB-INF触发应用程序重启/web.xml
,即更新其时间戳。这应该会加载您之前替换的类文件。
I'm better with Tomcat than JBoss, but it should be possible (as in Tomcat) to restart the application without restarting the app server. If the server has a "development mode" and this is active, then it should be possible to trigger an app restart simply by touch
ing WEB-INF/web.xml
, i.e. updating its timestamp. That should get your previously replaced class file loaded.
这篇关于在不重新启动JBoss的情况下部署java类文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!