Netbeans + Glassfish

Asked

Viewed 114 times

1

I am using Netbeans 8.0.2 and Glassfish 4.1.

Every time I make any changes, in any class of my project, I can’t test it just by clicking on "Run Project (F6)", as I do in other projects that use Tomcat.

I always have to "Cancel Deployment" of the application, "Stop" Glassfish and only then "Run Project".

I have been looking for a solution for some time, without success.

Could someone give me some light?

  • Running the project is time consuming. After you run the project and can debug glassfish once, next time you can simply "attach" the debugger to the Glassfish process. It’s very fast: http://wiki.netbeans.org/FaqDebuggingRemote. Another thing: I recommend leaving Netbeans in English. The translation into Portuguese is not only very bad will make it difficult to find help in google because articles always use the English terms.

  • Caffé, helped a lot!!! - As an aid I also leave a more detailed tutorial, for those who are also with the same difficulty: http://www.devmedia.com.br/configuracoes-iniciais-para-um-ambiente-de-development-corporativas-no-java/25889 (7.2. Using a debugger).

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.