1 Reply Latest reply on Oct 19, 2011 4:15 AM by tong123123

    invoker is null: jboss:service=invoker,type=unified

    tong123123

      after change jboss-service.xml and server.xml, the following 2 main error is occur

      1) invoker is null: jboss:service=invoker,type=unified

      2) Address already in use: JVM_Bind:9444

       

      I try to netstat -ano and find the application (java.exe) using port 9444, kill it and then restart jboss 4.2, but the same error still shown!!

       

      the origin server.xml is attached as name server.xml.19Oct, the origin jboss-service.xml is attached as jboss-service.xml.19Oct, the new jboss-service.xml and server.xml is attached as it origin name.

      the zipped server.log after change is also attached.

        • 1. Re: invoker is null: jboss:service=invoker,type=unified
          tong123123

          In 4.2.0 jboss-service.xml, I see the segment

           

           

          <!-- The Connector is the core component of the remoting server service. -->
             <!-- It binds the remoting invoker (transport protocol, callback configuration, -->
             <!-- data marshalling, etc.) with the invocation handlers.  -->
             <mbean code="org.jboss.remoting.transport.Connector"
           name="jboss.remoting:service=Connector,transport=socket"
           display-name="Socket transport Connector">
          
                 <!-- Can either just specify the InvokerLocator attribute and not the invoker element in the -->
                 <!-- Configuration attribute, or do the full invoker configuration in the in invoker element -->
                 <!-- of the Configuration attribute. -->
          
                 <!-- Remember that if you do use more than one param on the uri, will have to include as a CDATA, -->
                 <!-- otherwise, parser will complain. -->
                 <!-- <attribute name="InvokerLocator"><![CDATA[socket://${jboss.bind.url.address}:4446/?datatype=invocation]]></attribute> -->
          
                <attribute name="Configuration">
                   <!-- Using the following <invoker> element instead of the InvokerLocator above because specific attributes needed. -->
                   <!-- If wanted to use any of the parameters below, can just add them as parameters to the url above if wanted use the InvokerLocator attribute. -->
                   <config>
                      <!-- Other than transport type and handler, none of these configurations are required (will just use defaults). -->
                      <invoker transport="socket">
                         <attribute name="dataType" isParam="true">invocation</attribute>
                         <attribute name="marshaller" isParam="true">org.jboss.invocation.unified.marshall.InvocationMarshaller</attribute>
                         <attribute name="unmarshaller" isParam="true">org.jboss.invocation.unified.marshall.InvocationUnMarshaller</attribute>
                         <!-- This will be port on which the marshall loader port runs on.  -->
                         <!-- <attribute name="loaderport" isParam="true">4447</attribute> -->
                         <!-- The following are specific to socket invoker -->
                         <!-- <attribute name="numAcceptThreads">1</attribute>-->
                         <!-- <attribute name="maxPoolSize">303</attribute>-->
                         <!-- <attribute name="clientMaxPoolSize" isParam="true">304</attribute>-->
                         <!-- <attribute name="timeout" isParam="true">60000</attribute> -->
                         <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
                         <attribute name="serverBindPort">4446</attribute>
                         <!-- <attribute name="clientConnectAddress">216.23.33.2</attribute> -->
                         <!-- <attribute name="clientConnectPort">7777</attribute> -->
                         <attribute name="enableTcpNoDelay" isParam="true">true</attribute>
                         <!-- <attribute name="backlog">200</attribute>-->
                         <!-- The following is for callback configuration and is independant of invoker type -->
                         <!-- <attribute name="callbackMemCeiling">30</attribute>-->
                         <!-- indicates callback store by fully qualified class name -->
                         <!-- <attribute name="callbackStore">org.jboss.remoting.CallbackStore</attribute>-->
                         <!-- indicates callback store by object name -->
                         <!-- <attribute name="callbackStore">jboss.remoting:service=CallbackStore,type=Serializable</attribute> -->
                         <!-- config params for callback store.  if were declaring callback store via object name, -->
                         <!-- could have specified these config params there. -->
                         <!-- StoreFilePath indicates to which directory to write the callback objects. -->
                         <!-- The default value is the property value of 'jboss.server.data.dir' and if this is not set, -->
                         <!-- then will be 'data'. Will then append 'remoting' and the callback client's session id. -->
                         <!-- An example would be 'data\remoting\5c4o05l-9jijyx-e5b6xyph-1-e5b6xyph-2'. -->
                         <!-- <attribute name="StoreFilePath">callback</attribute>-->
                         <!-- StoreFileSuffix indicates the file suffix to use for the callback objects written to disk. -->
                         <!-- The default value for file suffix is 'ser'. -->
                         <!-- <attribute name="StoreFileSuffix">cst</attribute>-->
                      </invoker>
          
                      <!-- At least one handler is required by the connector.  If have more than one, must decalre -->
                      <!-- different subsystem values.  Otherwise, all invocations will be routed to the only one -->
                      <!-- that is declared. -->
                      <handlers>
                         <!-- can also specify handler by fully qualified classname -->
                         <handler subsystem="invoker">jboss:service=invoker,type=unified</handler>
                      </handlers>
                   </config>
                </attribute>
           <depends>jboss.remoting:service=NetworkRegistry</depends>
             </mbean>
          

          but in jboss-service.xml of 4.0.3, there is no such segment.

          In my modified jboss-service.xml in 4.2.0, I change

           

          <attribute name="serverBindPort">4446</attribute>
          

          to

           

          <attribute name="serverBindPort">5446</attribute>
          

          and so there is two place using 5446 in jboss-service.xml of 4.2.0, but due to there is no such segment in origin 4.0.3 jboss-service.xml, so how should I handle such segment? comment the whole segment or change it back to use port 4446?