简体   繁体   English

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

[英]Unable to deploy in Netbeans 6.7.1 and Glassfish v2.1.1

I am trying to deploy a simple WebService in Netbeans 6.7.1 and Glassfish v2.1.1 and am getting the following error. 我试图在Netbeans 6.7.1和Glassfish v2.1.1中部署一个简单的WebService,并遇到以下错误。 I am using GlassfishESBv2.2 and windows 7 machine. 我正在使用GlassfishESBv2.2和Windows 7机器。 I have tried googling and implemented things as shown in http://forums.netbeans.org/topic10055-0-asc-0.html . 我尝试了谷歌搜索,并实现了如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. 尽管该消息表明应用程序服务器尚未启动,但从“服务器”选项卡上,我仍然可以看到一条消息,指示Glassfish已启动。此外,尝试部署后执行netstat也会返回此消息,这意味着Glassfish正在运行。

C:>netstat -an | C:> netstat -an | findstr "4848" TCP 0.0.0.0:4848 0.0.0.0:0 LISTENING findstr“ 4848” TCP 0.0.0.0:4848 0.0.0.0:0侦听

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. Sun Java System Application Server无法启动。 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. -IDE超时:刷新服务器节点以查看其是否正在运行。
- Port conflicts. -端口冲突。 (use netstat -a to detect possible port numbers already used by the operating system.) (使用netstat -a来检测操作系统已使用的可能的端口号。)
- Incorrect server configuration (domain.xml to be corrected manually) -服务器配置错误(domain.xml需要手动更正)
- 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). -已损坏的已部署应用程序阻止服务器启动。(可以在server.log文件中看到。在这种情况下,需要修改domain.xml)。
- Invalid installation location. -无效的安装位置。
C:\\Users\\xyz\\Documents\\NetBeansProjects\\HWebService\\nbproject\\build-impl.xml:564: Deployment error: C:\\ Users \\ xyz \\ Documents \\ NetBeansProjects \\ HWebService \\ nbproject \\ build-impl.xml:564:部署错误:
The Sun Java System Application Server could not start. Sun Java System Application Server无法启动。
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. -IDE超时:刷新服务器节点以查看其是否正在运行。
- Port conflicts. -端口冲突。 (use netstat -a to detect possible port numbers already used by the operating system.) (使用netstat -a来检测操作系统已使用的可能的端口号。)
- Incorrect server configuration (domain.xml to be corrected manually) -服务器配置错误(domain.xml需要手动更正)
- 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). -已损坏的已部署应用程序阻止服务器启动。(可以在server.log文件中看到。在这种情况下,需要修改domain.xml)。
- Invalid installation location. -无效的安装位置。
See the server log for details. 有关详细信息,请参见服务器日志。
BUILD FAILED (total time: 29 seconds) 生成失败(总时间:29秒)

I've described the solution please visit here... 我已经描述了解决方案,请访问这里...

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM