Websphere 6.1 +哈德森+蚂蚁
现有应用程序遇到问题。我想让 hundson 运行来执行一些 CI,但我无法修改 Websphere 设置(进行更改似乎会破坏我希望 hudson 测试的应用程序!)
所以这是我当前的错误消息:
我们检测到您的 servlet 容器正在加载旧版本 Ant 本身,从而防止 Hudson 加载自己的更新版本 复制。 (Ant 类是从 bundleresource://22/org/apache/tools/ant/types/FileSet.class) 也许你可以在你的 从 Hudson's 复制一个容器 WEB-INF/lib,或者你可以设置 类加载器委托给子优先 这样 Hudson 就能看到自己的副本 首先?
在不更改类加载器委托(这会破坏现有应用程序)的情况下,有没有办法更新Websphere的ant库?我什至不知道它在哪里,我尝试搜索 ant-lr 但得到了很多结果。
任何帮助将不胜感激。
Running into a problem with an existing application. I'd like to get hundson running to do some CI but I cannot modify the Websphere settings (making changes appears to break the application that I want hudson to test against!)
So this is my current error message:
We detected that your servlet
container is loading an older version
of Ant by itself, thereby preventing
Hudson from loading its own newer
copy. (Ant classes are loaded from
bundleresource://22/org/apache/tools/ant/types/FileSet.class)
Perhaps can you override Ant in your
container by copying one from Hudson's
WEB-INF/lib, or can you set up the
classloader delegation to child-first
so that Hudson sees its own copy
first?
Without changing the classloarder delegation (which breaks the existing app) is there a way to update Websphere's ant library? I don't even know where it is, I tried searching for ant-lr but came up with many results.
Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
为什么不在单独的应用程序服务器上运行 Hudson?您甚至可以直接从 war 中的嵌入式 servlet 容器运行它。
如果您确实需要在 websphere 上运行它,请查看 wiki。
http://wiki.hudson-ci.org/display/HUDSON /IBM+WebSphere#IBMWebSphere 已知问题
Why dont you run Hudson on a separate app server? You can even run it from the embedded servlet container directly from the war.
If you really need to run it on websphere look at the wiki.
http://wiki.hudson-ci.org/display/HUDSON/IBM+WebSphere#IBMWebSphere-KnownIssues
阅读 http://wiki.hudson-ci.org/display/HUDSON/IBM+ WebSphere。它特别指出您必须在 WebSphere 6.1 上设置子优先类加载。
Read http://wiki.hudson-ci.org/display/HUDSON/IBM+WebSphere. It states specifically that you must set child-first class loading on WebSphere 6.1.