1 Reply Latest reply on Jul 27, 2012 5:13 PM by Wolf-Dieter Fink

    Use Sample-bindings.xml but jboss doesn't care

    vic h Newbie

      Hello everyone

       

      I want to start a multi-instance jboss on my server.

       

      So i use sample-bindings.xml and change ports to (1st)8181, (2nd)8182...ect

       

      But my server always start on 8080

       

      jboss-service.xml

       

         <mbean code="org.jboss.services.binding.ServiceBindingManager"

           name="jboss.system:service=ServiceBindingManager">

           <attribute name="ServerName">1_LIMS</attribute>

           <attribute name="StoreURL">${jboss.home.url}/bin/sample-bindings.xml</attribute>

           <attribute name="StoreFactoryClassName">

             org.jboss.services.binding.XMLServicesStoreFactory

           </attribute>

         </mbean>

       

       

      sample-bindings.xml

       

      http://pastebin.com/SERijvvi

       

       

      Server.log

       

      2012-07-27 16:16:51,135 DEBUG [org.jboss.system.ServiceConfigurator] considering <anonymous> with object name jboss.jca:service=CachedConnectionManager

      2012-07-27 16:16:51,135 DEBUG [org.jboss.services.binding.ServiceBindingManager] applyServiceConfig, server:1_LIMS, serviceName:jboss.web:service=WebServer, config=ServiceConfig(name=jboss.web:service=WebServer), bindings=

      ServiceBinding [name=;hostName=<ANY>;bindAddress=localhost/127.0.0.1;port=8181]

      2012-07-27 16:16:51,137 DEBUG [org.jboss.services.binding.XSLTFileDelegate] configName = ConfigFile

      2012-07-27 16:16:51,138 DEBUG [org.jboss.services.binding.XSLTFileDelegate] serviceName = jboss.web:service=WebServer

      2012-07-27 16:16:51,138 DEBUG [org.jboss.services.binding.XSLTFileDelegate] oldValue = server.xml

      2012-07-27 16:16:51,139 DEBUG [org.jboss.services.binding.XSLTFileDelegate] targetFile: /usr/local/jboss-4.2.3.GA/server/1_LIMS/tmp/server3708114354227950351.xml

      2012-07-27 16:16:51,152 DEBUG [org.jboss.services.binding.XSLTFileDelegate] set port parameter to:8181

       

       

       

       

       

      But after

       

      2012-07-27 16:16:57,364 INFO  [org.apache.catalina.core.AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/i386:/lib:/usr/lib

      2012-07-27 16:16:57,480 INFO  [org.apache.coyote.http11.Http11Protocol] Initialisation de Coyote HTTP/1.1 sur http-0.0.0.0-8080

      2012-07-27 16:16:57,482 INFO  [org.apache.coyote.ajp.AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8110

      2012-07-27 16:16:57,482 INFO  [org.apache.catalina.startup.Catalina] Initialization processed in 561 ms

      2012-07-27 16:16:57,482 INFO  [org.apache.catalina.core.StandardService] Démarrage du service jboss.web

      2012-07-27 16:16:57,486 INFO  [org.apache.catalina.core.StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA

      2012-07-27 16:16:57,582 INFO  [org.apache.catalina.startup.Catalina] Server startup in 100 ms

      2012-07-27 16:16:57,622 DEBUG [org.jboss.deployment.MainDeployer] Adding deployer: MBeanProxyEx

       

       

       

      Can you help me ?

       

      Tanks !