无法在 Netbeans 6.7.1 和 Glassfish v2.1.1 中部署

发布于 2024-09-11 10:36:08 字数 1207 浏览 3 评论 0原文

我正在尝试在 Netbeans 6.7.1 和 Glassfish v2.1.1 中部署一个简单的 WebService,但出现以下错误。我正在使用 GlassfishESBv2.2 和 Windows 7 机器。我尝试过谷歌搜索并实现了如图所示的内容 http://forums.netbeans.org/topic10055-0-asc-0。 html 。仍然无法部署。尽管消息显示应用程序服务器未启动,但从“服务器”选项卡中,我可以看到一条消息,表明 Glassfish 已启动。此外,在尝试部署后执行 netstat 会返回此消息,这意味着 Glassfish 正在运行。

C:>netstat -an |查找字符串“4848” TCP 0.0.0.0:4848 0.0.0.0:0 聆听

我一直在努力解决这个问题。非常感谢任何帮助。

错误消息:

Sun Java System Application Server 无法启动。 有关原因的更多信息位于服务器日志文件中。 可能的原因包括:
- IDE超时:刷新服务器节点以查看它现在是否正在运行。
- 端口冲突。 (使用 netstat -a 检测操作系统已使用的可能端口号。)
- 服务器配置不正确(domain.xml需要手动更正)
- 已部署的应用程序损坏,导致服务器无法启动。(这可以在 server.log 文件中看到。在这种情况下,需要修改domain.xml)。
- 安装位置无效。
C:\Users\xyz\Documents\NetBeansProjects\HWebService\nbproject\build-impl.xml:564:部署错误:
Sun Java System Application Server 无法启动。
有关原因的更多信息位于服务器日志文件中。
可能的原因包括:
- IDE超时:刷新服务器节点以查看它现在是否正在运行。
- 端口冲突。 (使用 netstat -a 检测操作系统已使用的可能端口号。)
- 服务器配置不正确(domain.xml需要手动更正)
- 已部署的应用程序损坏,导致服务器无法启动。(这可以在 server.log 文件中看到。在这种情况下,需要修改domain.xml)。
- 安装位置无效。
有关详细信息,请参阅服务器日志。
构建失败(总时间:29 秒)

I am trying to deploy a simple WebService in Netbeans 6.7.1 and Glassfish v2.1.1 and am getting the following error. I am using GlassfishESBv2.2 and windows 7 machine. I have tried googling and implemented things as shown in
http://forums.netbeans.org/topic10055-0-asc-0.html . Still unable to deploy. Though the message says that application server is not started, from the Server tab , I am able to see a message which indicates Glassfish has started.Also , doing a netstat after trying to deploy returns this, which means that Glassfish is running.

C:>netstat -an | findstr "4848"
TCP 0.0.0.0:4848 0.0.0.0:0 LISTENING

I have been trying real hard to get this resolved. Any help is highly appreciated.

Error Message :

The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
- IDE timeout: refresh the server node to see if it's running now.
- Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
- Incorrect server configuration (domain.xml to be corrected manually)
- Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
- Invalid installation location.
C:\Users\xyz\Documents\NetBeansProjects\HWebService\nbproject\build-impl.xml:564: Deployment error:
The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
- IDE timeout: refresh the server node to see if it's running now.
- Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
- Incorrect server configuration (domain.xml to be corrected manually)
- Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
- Invalid installation location.
See the server log for details.
BUILD FAILED (total time: 29 seconds)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

牵强ㄟ 2024-09-18 10:36:08

我已经描述了解决方案,请访问此处...

http://forums.netbeans.org/post -65058.html

I've described the solution please visit here...

http://forums.netbeans.org/post-65058.html

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