2011-03-17 33 views
0

我正在開發一個JavaEE Web應用程序,其中大量使用了hibernate,JSP,spring和struts =非常大的內存。 + tomcat 6.0 + NB 6.9netbeans調試器無法部署

我可以在沒有任何問題的情況下開發我的應用程序。我曾經能夠使用netbeans調試器來部署應用程序,但是,它只是不會工作了!

我不知道爲什麼這麼突然發生!請注意,我的netbeans總體上已經大大減緩了!我已經嘗試刪除var/cache/index - >,但是netbean在重新啓動時將其重新填充,並且無法調試我的應用程序。懇求幫助/諮詢

任何暗示將非常讚賞 親切的問候 亞歷

- >>調試窗口

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)

- >>調試控制檯

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.

- >> java.class中的位,NB指向啓動緩衝區時的指針

// 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

尋找

時 -

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 . . . . . . .

謝謝你們>>最後但並非最不重要的tomcat 6.0日誌窗口在NB

回答

1

的Netbeans喜歡更改我的項目的web.xml文件!改變了設置它不再做它,但由於一些未知的原因它再次發生。所以,我恢復了舊的web.xml文件

與++

NETBEANS /或Tomcat不能處理我的斷點DAOImpl.java文件看起來是這樣的!他們再次取出,將​​其所有的好。 。

看起來不可思議的事情