EAR 无法在 RAD IDE 中工作

发布于 2024-11-29 13:18:25 字数 525 浏览 2 评论 0原文

我的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

数理化全能战士 2024-12-06 13:18:25

我在 RAD 7.5 和 WAS 7 运行时遇到了类似性质的问题。我用它来安装、配置和测试我们的几个公司应用程序。遗憾的是,有时这些应用程序抛出的异常会导致执行它们的服务器配置文件无意中损坏,并且缓存清理/重新部署没有帮助。通过管理控制台进行部署更稳定,因为它不使用 Eclipse/Websphere 集成,这可能是这里的问题。

我对使用 RAD 的一般建议是:

  • 在配置应用程序后立即准备应用程序的配置存档(右键单击服务器,服务器配置 -> 备份),之前< /strong> 你甚至可以安装它;这可能稍后会派上用场;
  • 如果启动/停止服务器/应用程序出现问题,请尝试先停止(或终止,如果它没有停止)WAS 服务器,然后删除 [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:

  • prepare a configuration archive of your application immediately after you configure it (right-click on the server, Server configuration -> Backup), before you even install it; this will likely come handy later;
  • upon problems with starting/stopping the server/application, try stopping (or killing, if it does not stop) the WAS server first, then delete everything from [yourprofiledir]/temp and [yourprofiledir]/wstemp, then restart the server;
  • if the above fails, restore the configuration from the archive (Server configuration -> Restore).

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.

终陌 2024-12-06 13:18:25

根据我从你的帖子中看到的内容,我很难说出问题可能是什么。

您确定将其部署到正确的服务器吗?我只是想知道您是否有两个服务器运行时间(一个用于分析)和一个用于常规测试。

从 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文