|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
NB6 RC1 and RC2 CANNOT DEBUG enterprise app.Hello,
Sorry for the noise I made by sending this twice I didn't choose the correct list the first time. Please can some one tell me if this is a bug of NB 6 RC1 and RC2 and tell me if there is a known turnaroud ??? <== Note that this is Ok with NB 6.1 BETA (I downloaded it again to check ==> Launch NB6.1 RC1 or RC2 Launch the wizard to create a new Enterprise App ; just add a persitence unit, and a dumb entity. on the ejb part; then add a managed jsp page on the war part of the app; add a simple button and code some few lines of dummy code for this button just to be able to put some breakpoints. Well it's done ! you can run the project (no trouble) but try to debug and you cannot !! in the log the ant task shows some error invalid classpath provided {} trace from the log console : ... ....... run-debug: Incrementally deploying testDeb#/testDeb-war_localhost:4848_server Incrementally deploying testDeb_localhost:4848_server Completed incremental distribution of testDeb connect-debugger: Non-existing path "C:\xxx\xyz\${javac.classpath}" provided. Non-existing path "C:\xxx\xyz\${run.classpath}" provided. Attached JPDA debugger to localhost:9009 debug-display-browser: Browsing: http://localhost:8080/testDeb-war/ run-debug-appclient: debug: BUILD SUCCESSFUL (total time: 11 seconds) ...... ... Well that's it ! Do the same thing (Make a new project ) with NB6.1 Beta and it is OK; But with RC1 and RC2 you are in trouble !!! I tried lot of thing with the build-xml ; the properties etc.. in vain If one got the tip for using RC2 it will be really cool; Thanks |
|
|
Re: NB6 RC1 and RC2 CANNOT DEBUG enterprise app.Well the problem is the same with NB6.1 Release. In fact as of my tests on 3 different windows stations ; only NB 6.0 is Ok for debugging a project. All Netbeans 6.1 versions claims > .. > .. > All operations completed successfully > connect-debugger: > Non-existing path "C:\TestJava\EnterpriseApplication1\${javac.classpath}" > provided. > Non-existing path "C:\TestJava\EnterpriseApplication1\${run.classpath}" > provided. > Attached JPDA debugger to localhost:9009 > debug-display-browser: > .. > .. > Please give it a check, or none of you guys are working with ear (JEE5+EJB3+VWP) ? Can someone please kind enough to tell me if for him it is working ? Did I miss something ? It's only 5 mn straight : -take the new project wizard - say you want an enterprise app; - create a persistent unit -add an entity (don't matter what) on the ejb side -add an Visual Web JSF page on the war side and it's done. Add a breakpoint in the code (or on a method) of the web page: breakpoint in the code : you won't get nothing at all; breakpoint on a method you will be stopped on the method entrance but can't go step by step etc... I'm on the latest jdk and jre (6_06) I tried deleting jdk 6 and getting back to an 1.5 jdk but same trouble. Please I'm really in a mess. I don't know where to look at ? I tried to change the ant build but didn't succeeded (I'm not an ant expert) I can't go on on my project if I can't debug it ? and NB6.0 is far too slow dealing with the VWP(Visual Web Pack) Any help or hint or just telling me what is your platform, if it works with you, will be appreciated. Sincerely, -- View this message in context: http://www.nabble.com/NB6-RC1-and-RC2-CANNOT-DEBUG-enterprise-app.-tp16894196p16960882.html Sent from the Netbeans - J2EE mailing list archive at Nabble.com. |
|
|
|
|
|
Re: NB6 RC1 and RC2 CANNOT DEBUG enterprise app.Well one lead at least, thanks, but I did it already; I downloaded nb6 today and before install I cleaned all netbeans hidden .nb... folders and files in my user home directory to be sure to be "fresh and clean" but it is just the same no debug ! ... Did it work on your side ? if "yes" could you zip and mail me your dummy project ? I got mine if some one want to have a look at it ... just ask but before I remind that I really have no code involved ; even with just the NB new project wizard everything is already broken |
| Free Forum Powered by Nabble | Forum Help |