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 58083 - Unable to change Domains folder for appserver if you want use the same location
Summary: Unable to change Domains folder for appserver if you want use the same location
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-20 09:07 UTC by Jaroslav Pospisil
Modified: 2006-03-24 12:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Add server instance dialogue(appserver instance has been just removed) (109.61 KB, image/png)
2005-04-20 15:01 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2005-04-20 09:07:01 UTC
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.
Comment 1 Jaroslav Pospisil 2005-04-20 14:56:27 UTC
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.
Comment 2 Jaroslav Pospisil 2005-04-20 15:01:11 UTC
Created attachment 21772 [details]
Add server instance dialogue(appserver instance has been just removed)
Comment 3 Vince Kraemer 2005-04-20 17:36:57 UTC
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"...
Comment 4 _ ludo 2005-04-20 17:56:45 UTC
So this is possible: changing the summary :-)

Might then become a duplicate bug no?
Comment 5 Jaroslav Pospisil 2005-04-25 10:22:09 UTC
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.
Comment 6 Jaroslav Pospisil 2005-04-26 09:41:06 UTC
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.
Comment 7 _ ludo 2005-10-11 16:17:02 UTC
I guess this is now fixed because of the fix of 
http://www.netbeans.org/issues/show_bug.cgi?id=65217

No?
Comment 8 _ ludo 2005-10-18 18:15:05 UTC
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)
Comment 9 Michal Mocnak 2005-11-03 15:28:36 UTC
Verified