"You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null."
whenever the i save something on my IDE and hot deployment is done.
The fix for the above error is change overwrite="true" to overwrite="false"
<target name="datasource">
<fail unless="jboss.home">jboss.home not set</fail>
<copy file="${basedir}/resources/${project.name}-${profile}-ds.xml"
tofile="${deploy.dir}/${project.name}-ds.xml"
overwrite="false"/>
</target>
as shown above in your build.xml file
I have the same problem, when test seaminaction golftip sample application.
whenever the i save something on my IDE and hot deployment is done.
The fix for the above error is change overwrite="true" to overwrite="false"
<target name="datasource">
<fail unless="jboss.home">jboss.home not set</fail>
<copy file="${basedir}/resources/${project.name}-${profile}-ds.xml"
tofile="${deploy.dir}/${project.name}-ds.xml"
overwrite="false"/>
</target>
as shown above in your build.xml file
I have the same problem, when test seaminaction golftip sample application.
本文介绍了一种常见的IDE热部署时出现的连接工厂被关闭错误,并提供了解决方案,即通过调整构建文件中的覆盖选项来修复该问题。
2396

被折叠的 条评论
为什么被折叠?



