netbeans 调试器部署失败
我正在开发一个 JavaEE Web 应用程序,广泛使用 hibernate、JSP、spring 和 struts = 占用大量内存。 + tomcat 6.0 + NB 6.9
我可以毫无问题地部署我的应用程序。我曾经能够使用 netbeans 调试器部署应用程序,但是,它不再工作了!
我不知道为什么事情发生得这么突然!请注意,我的 Netbeans 整体速度已经大大减慢了!我尝试过删除 var/cache/index ->但 netbean 会在重新启动时将其重新填充,并且无助于调试我的应用程序。请帮助/建议
任何提示将非常感激 亲切的问候 亚历克斯
->>调试窗口
部署?config=文件%3A%2FC%3A%2FUsers%2Fhome%2FAppData%2FLocal%2FTemp%2Fcontext64452.xml&path=/web C:\programming\nb-projects\uc\nbproject\build-impl.xml:969: 部署错误:部署超时 已超过。查看服务器日志 细节。构建失败(总时间:3 分 19 秒)
-->>调试控制台
附加到 tomcat_shared_memory_id 用户程序运行 nl.strohalm.cyclos.dao.ads.AdDAOImpl 类的类断点命中。 线程 http-8080-2 停止在 Class.java.getDeclaredConstructors0。
-->> java.class 中的位,NB 在启动 debigger 时指向该位
// No cached value available; request value from VM
if (isInterface()) {
res = new Constructor[0];
} else {
res = getDeclaredConstructors0(publicOnly);
}
if (useCaches) {
if (publicOnly) {
publicConstructors = new SoftReference(res);
} else {
declaredConstructors = new SoftReference(res);
}
}
return res;
-->>> tomcat 在查看 DB 时似乎停止了
-->>最后但并非最不重要的 tomcat 6.0 日志窗口(NB)
2011 年 3 月 17 日上午 9:59:38 org.apache.catalina.core.StandardContext ListenerStart 严重:将上下文初始化事件发送到类 com.sun.xml.ws.transport.http.servlet.WSServletContextListener 的侦听器实例时发生异常 com.sun.xml.ws.transport.http.servlet.WSServletException:WSSERVLET11:无法解析运行时描述符:javax.xml.ws.WebServiceException:无法创建JAXBContext 在com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:139) 在 org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135) 在 org.apache.catalina.core.StandardContext.start(StandardContext.java:4630) 在 org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBas 。 。 。 。 。 。 .
谢谢大家
I am working on a JavaEE web app with extensive use of hibernate, JSP, spring and struts = very memory extensive. + tomcat 6.0 + NB 6.9
I can delpoy my ap pwithout any issues. I used to be able to deploy the app using netbeans debugger, however, It just wont work anymore !
I have no idea to why this happened so suddenly ! note, my netbeans overall has slowed down considerably ! I have tried deliting var/cache/index -> but netbean populates it back in on restart, and does not help debugging my application. PLeas help / advice
Any hint will be very much appreciated
Kind regards
Alex
-->> debug window
deploy?config=file%3A%2FC%3A%2FUsers%2Fhome%2FAppData%2FLocal%2FTemp%2Fcontext64452.xml&path=/web
C:\programming\nb-projects\uc\nbproject\build-impl.xml:969:
Deployment error: Deployment timeout
has exceeded. See the server log for
details. BUILD FAILED (total time: 3
minutes 19 seconds)
-->> debug console
Attaching to tomcat_shared_memory_id
User program running
Class breakpoint hit for class nl.strohalm.cyclos.dao.ads.AdDAOImpl.
Thread http-8080-2 stopped at Class.java.getDeclaredConstructors0.
-->> the bit in java.class, which NB points to when starting debigger
// No cached value available; request value from VM
if (isInterface()) {
res = new Constructor[0];
} else {
res = getDeclaredConstructors0(publicOnly);
}
if (useCaches) {
if (publicOnly) {
publicConstructors = new SoftReference(res);
} else {
declaredConstructors = new SoftReference(res);
}
}
return res;
-->> tomcat seems to stop when looking at the DB
-->> last but not least tomcat 6.0 log window in NB
Mar 17, 2011 9:59:38 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener
com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed to parse runtime descriptor: javax.xml.ws.WebServiceException: Unable to create JAXBContext
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:139)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBas
. . . . . . .
Thanks guys
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Netbeans 喜欢更改我项目的 web.xml 文件!更改了设置操作系统它不再这样做,但由于某种未知的原因它再次发生。所以我恢复了旧的 web.xml 文件
并且 ++
NETBEANS/OR TOMCAT 无法处理 DAOImpl.java 文件中的断点,所以看起来!!!将它们取出,一切又恢复正常了。 。
看来是一件棘手的事情
Netbeans likes changing the web.xml file of my project !! changed settings os it doesnt do it anymore, but for some unknown reason it happaned again. So i restored the old web.xml file
AND ++
NETBEANS / OR TOMCAT can not handle my breakpoints in DAOImpl.java files so it seems !!!taken them out and its all good again . .
A dodgy matter it seems