-
Bug
-
Resolution: Done
-
Major
-
4.3.0.GA, 4.2.0.GA_CP02
-
None
-
None
The chapter 10.4.5 in the server-config-guide (http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/Server_Configuration_Guide/html-single/index.html#Services_Binding_Management-The_Sample_Bindings_File) contains sample bindings example.
The ant command to create the jboss0 and jboss1 server configs is:
ant -Dchap=misc -Dex=1 run-example
These configs are copied from server/default configuration and conf/jboss-service.xml is replaced by a special one. This needs analyzing - the servers can't be started. See JBQA-1513 for more info. The doc says that the jboss-service.xml should then contain this mbean:
<mbean code="org.jboss.services.binding.ServiceBindingManager" name="jboss.system:service=ServiceBindingManager">
but the only thing that's in the jboss-service.xml is <mbean code="org.jboss.book.jmx.ex1.JNDIMap" name="chap2.ex1:service=JNDIMap"> so it seems it can't work at all.
Another thing is that the doc says it's duplicating server/production config, but in fact it takes server/default as the source for copying (which is hard-coded in build-misc.xml and should use the jboss.deploy.conf from build.xml anyway).