Ibm Web Aplication Server 7 发布问题
我的应用程序是 Spring/Hibernate/JPA 的组合。最近,我的开发环境通过 WAS7 迁移到了 RAD 7。以前我使用 v.6 进行 RAD &曾是。
问题是,
当我进行 Java 更改时,服务器会发布很长时间,有时单行更改需要长达 10 分钟才能生效。而且,即使只是 JSP 更改,在发布过程中也会花费很多时间!
WAS6 中的情况并非如此。在 WAS6 中,发布 java 更改甚至不是一个问题。由于发布过程在几秒钟内完成,因此更改立即生效。
当我在代码中进行更改时,此发布过程会持续运行多次,并且我必须等待(在工作时间内长时间间隔)直到它完成,以在运行时验证/测试我的更改。这太可怕了!
有没有办法让WAS7像WAS6一样在几秒钟内更快地发布JSP/Java更改?有任何修复/更新包吗?
有人可以帮我解决这个问题吗?
提前致谢。
My application is a combination of Spring/Hibernate/JPA. Recently my development environment was migrated to RAD 7 with WAS7. Previous I was using v.6 for RAD & WAS.
The problem is,
when I make a Java change, the server publishes for a long time, sometimes it takes upto 10 mins for a single line of change to take effect. Also even JSP changes alone takes much time during publishing!!
This was not the case in WAS6. Publishing java changes was not even a concern in WAS6. The changes takes effect immediately as the publish process is done within a few seconds.
This publishing process keeps on running several times as I make changes in my code, and I have to wait (for long intervals during work hours) till it completes, to verify/test my changes during runtime. This is horrible!!
Is there a way to make WAS7 publish JSP/Java changes faster in few seconds as like WAS6? Is there any fix/refresh pack for this?
Can someone help me with this?
Thanks in adavance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您可以控制发布而不是自动发布,则可以克服此问题。您可以等待完成所有更改,然后发布。
为此,
在服务器视图中双击您正在使用的服务器,然后在发布下选中“从不自动发布”选项。
此外,如果您可以提供“使用工作区中的资源运行服务器”选项,这将减少发布时将文件从工作区复制到服务器空间的时间。
This problem can be overcome if you have the control to publish rather than automatically publishing it. You can wait to make all your changes and then publish it.
To do that
In the server view double click on the server that you are working on and under publishing check the option "Never publish automatically".
Also if you can give the option "Run server with resources within the workspace" that would do reduce the time of copying the files from your workspace to server space while publishing.