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 125977 - server groups - support "multi-host" deployment profiles for server applications
Summary: server groups - support "multi-host" deployment profiles for server applications
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Linux
: P4 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-25 07:22 UTC by kawazu428
Modified: 2016-07-07 08:53 UTC (History)
0 users

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 kawazu428 2008-01-25 07:22:05 UTC
So far, creating any sort of server based projects (EJB, Web App, maven war artifact), there is the notion of selecting
"the server" this project is supposed to run on / be deployed to. While this is practicable in most situations, it seems
to be a major drawback in some more "complicated" environment: In our setup, I have to deploy applications to three
different app servers - my local installment while doing development, a remote testbed system to make it accessible to
testing users, and, finally, of course, a remote production system as soon as it's ready. So far, I do so using certain
"workarounds" (different maven2 profiles along with codehaus maven-tomcat-plugin, or, as an alternative, selecting a
different server in Project Properties -> "Run" before deploying), but altogether these are indeed workarounds which
wouldn't be needed anymore given the IDE would provide an enhancement talking about deployment to different servers.



To be more accurate, I would kindly request considering an IDE enhancement like that:

- Generally, along with simple "Servers", "Server Groups" can be created in the IDE's "Services" window to reflect such
a setting of which I don't think it is uncommon - server containers of exactly the same version installed on several
hosts for development and testing purposes.

- While creating a new project (EJB, war, maven2 war artifact), instead of just selecting a "server" to run on, the user
may choose a "Server Group" as well to pay attention to these differences between the machines (local, testbed,
production). 

- Done so, after creating the project the user can choose which host to deploy to by right-clicking the project,
choosing "Deploy and undeploy..." -> "Server <name-of-machine-in-group>" which would make the IDE deploy the project to
that very host.

- Ideally, enhancing the "Server Group" idea, while working with a project the user can choose "Configuration Sets" to
be used depending on which server the application will be deployed to, i.e. having a "web.xml", "log4j.properties", ...
specific to each of the server machines copied to the right place before deploying the project.


I hardly know whether something like this is possible and/or desirable and/or interesting to someone else asides me.
However as I see this a thing to _really_ be helpful and a thing I haven't yet found in any other IDE. 

Awaiting your opinions,
Kristian
Comment 1 Vince Kraemer 2008-04-26 04:59:44 UTC
this really covers a lot more territory than the serverplugins category can... this proposal looks like it needs changes
in j2eeserver/serverplugins and each of the supported project types...
Comment 2 Martin Balin 2016-07-07 08:53:45 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss