jdeveloper 中的 HTTP 500 内部错误
我正在做一个作业。使用 EJB 3.0 的在线订单系统。我使用 jDeveloper 10 和 oracle 10g 作为数据库。我已经编写了大约 20% 的代码,现在我需要检查到目前为止我开发的系统。因此,当我运行网络客户端时,它不会显示任何错误并且运行成功。但是当浏览器尝试打开该页面时,它会说。浏览器上的 HTTP 500 内部错误。我的jsp页面无论如何都在web目录下。输出图片附后。 如何解决这个问题?
I'm working on an assignment. An online order system using EJB 3.0. im using jDeveloper 10 and oracle 10g for the database. i have coded around 20%, now i need to check the system that i have developed so far. so when i run the web client it does not show me any error and it runs successfully. but when the browser tries to open the page it says. HTTP 500 internal error on the browser. My jsp page is under web directory anyway. output pic is attached.
how could solve this issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
查看 EJB 服务器中的日志文件。可能会有一个或多个条目与您的浏览器尝试获取导致 500 错误的页面相对应。他们应该提供一些有关正在发生的事情的信息,甚至可能为您提供堆栈跟踪。还要在事件发生之前检查严重/错误/警告条目。
如果这没有给您答案,您需要调查来自 Web 客户端和浏览器的请求有何不同。如果您的 EJB 实现有办法捕获传入请求标头,请使用它。否则,您可以使用wireshark或tcpdump来捕获它们。
Look at the log files in your EJB server. There will probably be an entry or entries corresponding to your browser's attempting to fetch the page that resulted in the 500 error. They should give some information about what is happening, and may even give you a stack trace. Also check the SEVERE / ERROR / WARNING entries prior to the event.
If that doesn't give you an answer, you need to investigate what is different about the requests when they come from your web client versus from your browser. If your EJB implementation has a way to capture the incoming request headers, use that. Otherwise, you could use wireshark or tcpdump to capture them.
感谢您的贡献。
我猜我的 jdeveloper 10 有问题。我安装了 jdeveloper 11,然后开始在上面运行。项目开始成功运行。
Thanks for your contributions.
I guess it was something wrong with my jdeveloper 10. i installed the jdeveloper 11 n i started running on it. the project started to run successfully.