The concept of default server is broken and does not work for a while.
This concept was abandoned since it did not work
anymore. The problem could occur for example if the default server was Tomcat
then the EJB project, which was set to use the default server could not be
deployed to it, etc.
You should use Deployment.getServerInstanceIDs() method to pick
a server they should be deployed to based on the projects requirements.
See issue 83934.
target for 6.5 based on umbrella ticket 83934
Pls look into this.
Need retesting on NB 7.0.