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 167089

Summary: Add server from project wizard offers all servers
Product: serverplugins Reporter: jordibataller <jordibataller>
Component: InfrastructureAssignee: Petr Hejl <phejl>
Status: NEW ---    
Severity: blocker CC: blaha
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description jordibataller 2009-06-15 10:08:53 UTC
I've registered a tomcat server with netbeans for JSF projects. Everything OK.

Now I wan't to create an EE application.
In the step 3 of the project creation: "Server and settings"
the list choice for server "choose server" is empty (I think it should not).
Then I push "add" button, I choose tomcat 6 but when entering 
"catalina home" (in my case /opt/tomcat)
it complains "tomcat with the same catalina home folder is already registered"
which is actually true.

Therefore, the "choose server" list continues empty in the "server and settings" step.

Am I missing something or is this a bug?

By the way, this happens in netbeans 6.5.1 in linux (debian) and also
in Mac OSx.

Thanks for your help?

 Jordi Bataller
Comment 1 Milan Kubec 2009-06-15 10:32:40 UTC
Please evaluate. Thanks.
Comment 2 Petr Blaha 2009-06-15 11:24:53 UTC
Which type of EE application do you want to create? Tomcat is only web container hence just web project would be
deployed to this server (not EJB/ EAR project). 
Comment 3 jordibataller 2009-06-15 11:52:37 UTC
Therefore, tomcat can't be used as a server for EE projects?

In the "add server" sub-screen (of step 3 "Server and settings") for
starting a new EE project, there is a list of servers
*including* tomcat 6 (others in the list are tomcat 5.5, glashfish v1, v2 and v3).

If tomcat can't be used, then it would be better not to have it listed 
in the "add server" for EE projects.

I'll try glashfish (later).

Thank you very much.



Comment 4 Petr Hejl 2009-06-15 12:03:18 UTC
Tomcat is web container only. No a P1.
Comment 5 Petr Hejl 2009-06-15 12:06:10 UTC
Wrong subject.