EAR 无法在 RAD IDE 中工作
我的 Windows XP 32 位机器上安装了 RAD 7.5 和 WAS TE 7.0.0.15。
我曾经能够打开我的 EAR 项目并直接部署到服务器上,即右键单击 EAR >在服务器上运行>然后指向我的服务器。
EAR URL 如下所示: http://localhost:9080/myContext/Login.action
当我部署 EAR 时(导出为和 EAR 文件,然后从管理控制台安装 EAR)我能够很好地使用该应用程序。
然而, 在尝试使用 RAD 的分析功能后,该功能就停止工作了。 我无法再在 IDE 中运行该应用程序。我只是收到 404 错误。 我无法理解当从管理控制台部署为企业应用程序时它的工作原理之间的区别。
我已经卸载了服务器,假设某些东西可能损坏了服务器。但这根本没有帮助。
这是一个已知问题吗? 请帮忙。
谢谢, 阿尤斯曼
I have a RAD 7.5 with WAS TE 7.0.0.15 installed on my windows XP 32 bit machine.
I used to be able to open my EAR project and deploy onto the server directly i.e. right click on EAR > Run on server > and then point to my server.
The EAR URL looked like this:
http://localhost:9080/myContext/Login.action
When I deploy the EAR (export as and EAR file first and then install the EAR from admin console) I am able to work with the application just fine.
However,
after trying to use the profiling feature of RAD, this feature has simply stopped working.
I am no longer able to run the application from with in the IDE. I simply get the 404 error.
I am not able to understand the difference between why it works when deployed as an enterprise application from admin console.
I have uninstalled the server assuming something might have corrupted the server. But it did not help at all.
Is this a known problem?
Please help.
Thanks,
Ayusman
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我在 RAD 7.5 和 WAS 7 运行时遇到了类似性质的问题。我用它来安装、配置和测试我们的几个公司应用程序。遗憾的是,有时这些应用程序抛出的异常会导致执行它们的服务器配置文件无意中损坏,并且缓存清理/重新部署没有帮助。通过管理控制台进行部署更稳定,因为它不使用 Eclipse/Websphere 集成,这可能是这里的问题。
我对使用 RAD 的一般建议是:
[yourprofiledir]/temp
和[yourprofiledir] 中的所有内容]/wstemp
,然后重新启动服务器;如果您通过脚本设置配置,那么您可能不需要存档,因为删除并重新创建服务器配置文件的成本并不高 - 因为配置文件经常被损坏。
I had problems of similar nature with RAD 7.5 and WAS 7 runtime. I used it to install, configure and test several our corporate applications. Sadly, sometimes exceptions thrown by these applications caused the server profile, in which they were executed, to corrupt inadvertently, and no cache cleaning/redeploying helped. Deploying via admin console is more stable, as it does not use Eclipse/Websphere integration, which is probably the problem here.
My general advice for working with RAD is this:
[yourprofiledir]/temp
and[yourprofiledir]/wstemp
, then restart the server;If you set up your configuration by scripts, then you probably don't need the archive, as it is not costly then to remove and recreate a server profile — as it's the profile that often gets corrupted.
根据我从你的帖子中看到的内容,我很难说出问题可能是什么。
您确定将其部署到正确的服务器吗?我只是想知道您是否有两个服务器运行时间(一个用于分析)和一个用于常规测试。
从 RAD 部署应用程序时,RAD 是否显示任何错误?
RAD 执行发布后,我仍然会转到管理控制台并查看应用程序是否已安装。
我还会查看日志,如果从 RAD 发布成功,日志应该清楚地表明应用程序已安装并启动。
希望这些能给你一些想法。
HTH
曼格鲁
It is difficult for me state what the problem is likely to be based on what i see from your post.
Are you sure you are deploying it to the right server? I am just wondering if you have two server run times (one that is used for Profiling) and one for regular testing.
Does RAD show any error when you deploy the application from RAD?
I would still go to the admin console after RAD has performed its publish and see if the application is installed.
I would also look at the logs which should clearly state that the application is installed and started if the publishing from RAD is successful.
Hopefully these give you some idea.
HTH
Manglu