This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 149521

Summary: [65cat] registered servers are not shown when creating new "Enterprise Application" project
Product: javaee Reporter: kretes <kretes>
Component: CodeAssignee: Petr Hejl <phejl>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: vkraemer
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description kretes 2008-10-08 14:28:16 UTC
[ BUILD # : 200810071401 ]
[ JDK VERSION : other ]

Having registered a few servers - they are not seen when creating new
"enterprise application", "ejb module", "enterprise application
client". 
Even when hitting 'New..' in the project creation wizard - the server
isn't populated into the dropdown.

They are seen for web application.

JDK 6 u 10 RC
Comment 1 kretes 2008-10-08 14:29:15 UTC
checked only with glassfish v3 prelude b28
Comment 2 Petr Hejl 2008-10-08 14:37:22 UTC
Only servers that supports the selected type of projects (technology) are visible.
Comment 3 kretes 2008-10-08 21:54:18 UTC
Could You tell more about that?
Isn't glassfish an JEE 5 server that should allow 'enterprise application' project?

Even if no - this is confusing if the wizard let me add a server, show me the list, I add the server, and after that -
there is no server to be chosen ( you say no 'supported' server ) - there should be some info about that.
Comment 4 kretes 2008-10-09 11:20:40 UTC
I understand that glassfish v3 is for some (?) reason not a EJB container but web container. The same would be for
Tomcat which is also on server list.

However - it is still confusing. - The server creation wizard should indicate which server is of what type - there
should be a decoration near the server name or some label that would say which server is pure web container , which is
JEE (preferably even with the spec version supported ), or any other environment ( if server in NB can be of other type
as well, don't know if servers for other purposes like Ruby or php are in the same bucket as well.
Comment 5 Petr Hejl 2008-10-09 11:56:34 UTC
This is definitely not a P1 defect.

Trouble is that is certain cases you can't say the server capabilities until it is registered.
Comment 6 kretes 2008-10-09 12:47:28 UTC
hmm ok, I didn't know that, this looks more complicated than I thought - I thought it is known at the moment of creating
a server plugin.

Anyway - I'm fine with that.
Comment 7 Petr Hejl 2015-10-01 12:37:04 UTC

*** This bug has been marked as a duplicate of bug 156116 ***