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.
NB7.2rc1, Linux, JDK6 When adding JBoss server I choose server installation path and the domain. The IDE computes port used by the server but the result is wrong: in my case server/GIS/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml contains: <deployment xmlns="urn:jboss:bean-deployer:2.0"> <bean name="ServiceBindingManagementObject" class="org.jboss.services.binding.managed.ServiceBindingManagementObject"> <constructor> <!-- The name of the set of bindings to use for this server --> <parameter>${jboss.service.binding.set:ports-04}</parameter> ... <bean name="Ports04Bindings" class="org.jboss.services.binding.impl.ServiceBindingSet"> <constructor> <parameter>ports-04</parameter> <parameter>${jboss.bind.address}</parameter> <!-- The port offset --> <parameter>800</parameter> <parameter><null/></parameter> </constructor> </bean> NB wants to use port 8887 (specified somewhere else in this file) but the correct value would be 9787 using the port offset. That makes the server unusable.
Problem with this bean like xml files is they are so rich with so many different options. NetBeans would have to run all the related JBoss machinery to get the port. In this way JBoss is less IDE friendly with every release. I guess we could make port configurable in the wizard and properties.
I'd be OK with that: if auto-guessing does not work give the user chance to customize these values manually.
Port configuration enabled in wizard: web-main bcd4221595e7.
Integrated into 'main-golden', will be available in build *201210090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/bcd4221595e7 User: Petr Hejl <phejl@netbeans.org> Log: #215340 - NetBeans doesn't recognize ports used by JBoss server
*** Bug 213443 has been marked as a duplicate of this bug. ***