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.
Build 200504171930 1.Start IDE with new userdir 2.Go to Runtime tab 3.Add appserver 4.Click on appserver's node in Runtime tab and open Properties 5.ERROR It's impossible to change appserver's Domains folder and Instance name,not even in Tools/Server wizard.It's impossible even if you remove the server instance and try to add the new one with the same location,you are only allowed to add the one you just removed.Since J2EE manager's gone,I see a big problem in this.
Clarification IDE asks for appserver installation folder only once during adding of the first server instance,then it automatically chooses this Domains folder nad Instance name every time I want to add new Server instance.Problem occurs when I want to add instance of different SJS,for example SJS appserver 8.1 update1.This new appserver is installed in different folder,but I still get location of previous version when I try to add new instance.I also noticed,that at least in NB4.1beta version was normally possible to change Domains folder and Instance name for each new instance of server.
Created attachment 21772 [details] Add server instance dialogue(appserver instance has been just removed)
1. If you create multiple domains in <appserver-install-dir>/domains, then the additional domains are selectable. 2. If you create domains outside <appserver-install-dir>/domains, make sure their port values do not conflict with domains inside <appserver-install-dir>/domains. When you enter the host:port data for your domain, the directory and domain name fields will become enabled... The UI around this is being redesigned to be "better"...
So this is possible: changing the summary :-) Might then become a duplicate bug no?
I know there's possible to add another SJS appserver on new location(e.g. localhost:4849) but consider this from user's view.He just added appserver 8.1 update 1 and he wants to use it in IDE,where he previously used appserver 8.1. He deleted all previous instances and wants for some reason to use the same location(or doesn't know he should use a new one).In this case it's impossible to add server instance for his location localhost:4848 without using new userdir for IDE. I think it's very confusing for user and should be changed in the way it was in Beta,where Installation directory of appserver could be selected for every new instance of appserver. NOTICE I even tried to change it in Tools/Options/Server and external tools settings/J2EE servers/Sun Java System Application Server 8.1.There is possible to change appserver Installation Root Directory manually,but in the end it has no effect,because even if I select another directory,there remains the original one.
I've got one more objection to adding appserver instance to different location.I've removed "localhost:4848" instance of appserver 8.1 and then changed location to "localhost:4849" in "Add Server instance" wizard to add instance of appserver 8.1_1.When I clicked on "Finish",dialogue appeared,informed me of change my set location to correspond with domains folder,which I set to "Appserver8.1_1/domains/domain1" and changed location to "localhost:4848".I think it's very confusing behaviour,first don't allow user to add "localhost:4848" instance and then doing it automatically,when he chooses to add another one.
I guess this is now fixed because of the fix of http://www.netbeans.org/issues/show_bug.cgi?id=65217 No?
correctly marking as fixed. You can now always enter the server location. (the default value is the previous one, but you can register as many loctions you want)
Verified