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.
I have JBoss 4.2.2 installed locally with standard three domains (default, minimal, all). Default domain has changed port number from 8080 to 8089 (in all places under /server/default - there is no "8080" string in any file in this domain). Now i want to add JBoss to servers section in NetBeans. Go to "add server", select JBoss, go to installation directory. On next wizard page, NetBeans list the possible domains, but there are only two listed: default and all. So first bug - "minimal" is not listed. But I select default domain, and the port is set to 8080 - is it hardcoded in NetBeans or so? very stupid. But the worst thing that the filed is not editable. I don't have free 8080 port on my machine, this is why i have JBoss configured to 8081! But I cannot change it in NetBeans - I try to start server from NetBeans, but it says "port already in use". What is worse, I cannot find any place where netbeans stored this config. Searching for server name, or port 8080 on either global or per-user NetBeans directory returns no results. In other words, NetBeans inegration with JBoss is completely nonusable when you run JBoss on port other than 8080. I use NB 6.0.1.
Fixed in changeset 45df1578a680. Minimal domain can't be used as it does not contain no deployers. JBoss port is stored in netbeans userdir.
Regarding minimal domain - ok. But what do you mean by "JBoss port is stored in netbeans userdir" - you mean you fixed it now, or that it is stored now? If it is now, let me know where.
The port detection is fixed. The port of the registered server is (and it always has been) stored in netbeans userdir ($HOME/.netbeans/version/config/J2EE/InstalledServers/.nbattrs).
Sorry this was my mistake. I had NB 6 beta installed too. By mistake I started this version and added server there - but i searched through the configuration folder for 6 final (because I thought I'm runnin this version) - and there was no configuration for JBoss server there, obviously. Anyway, port detection was really broken.
VERIFIED