« Return to Thread: NB6 RC1 and RC2 CANNOT DEBUG enterprise app.

NB6 RC1 and RC2 CANNOT DEBUG enterprise app.

by laurent4x :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: NB6 RC1 and RC2 CANNOT DEBUG enterprise app.

LightInTheBox - Buy quality products at wholesale price