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 156116 - Registered server cannot be found while creating JAVA EE projects
Summary: Registered server cannot be found while creating JAVA EE projects
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: EAR (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 149521 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-29 03:37 UTC by hua_jiang
Modified: 2015-10-01 12:37 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hua_jiang 2008-12-29 03:37:45 UTC
I installed netbeans 6.5 on a HP thin client. Since the hard disk space is limited, I decided to install netbeans for
Java SE only, and then install the Java EE plugin and Glassfish V3 prelude manually. After that, I registered glassfish
in netbeans, started glassfish from the services window, and it works. But when I try to create a new Java EE
Application project, the wizard just tell me that no servers are registered in the IDE.
Comment 1 Jayashri Visvanathan 2009-01-12 22:52:48 UTC
Vince, can you please evaluate ?
thanks
Comment 2 Vince Kraemer 2009-01-12 23:01:23 UTC
v3 Prelude only supports Java Web Apps.
Comment 3 Vince Kraemer 2009-01-15 14:52:04 UTC
This issue has caused trouble for a number of people, so I think I was being too rash...

The issue isn't in the plugin... it is responding correctly to calls from the earproject code.

The ear project isn't asking the j2eeserver layer about the presence of registered servers... just register servers that support EAR projects.

I reckon we need to have a couple messages that signal a problem...

1. "No servers are registered in the IDE. To register a server, click the "Add..." button." should be the message when there are no servers registered.

2. "No servers that support X project deployment are registered.  Use "Add...' button to register another server" (or something like it) should be the message 
when there are no servers that support the project type X...
  We MAY want to use the project type as a filter criteria on the list of servers that can be registered if the dialog was opened from a project wizard...
   AddServerInstanceWizard.showAddServerInstanceWizard
Comment 4 Petr Hejl 2015-10-01 12:37:04 UTC
*** Bug 149521 has been marked as a duplicate of this bug. ***