User: chirino 
  Date: 01/08/07 19:34:44

  Modified:    src/main/org/jbossmq/il/jvm JVMServerILService.java
  Log:
  The JVM IL was not correctly initializing the ServerIL reference and
  it was not properly binding the XA connection factory either.
  
  Revision  Changes    Path
  1.5       +6 -5      jbossmq/src/main/org/jbossmq/il/jvm/JVMServerILService.java
  
  Index: JVMServerILService.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/jvm/JVMServerILService.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JVMServerILService.java   2001/07/29 23:33:24     1.4
  +++ JVMServerILService.java   2001/08/08 02:34:44     1.5
  @@ -22,11 +22,9 @@
    *  manage the JVM IL.
    *
    *   @author Hiram Chirino ([EMAIL PROTECTED])
  - *   @version $Revision: 1.4 $
  + *   @version $Revision: 1.5 $
    */
   public class JVMServerILService extends ServerILJMXService implements 
JVMServerILServiceMBean {
  -
  -
        /**
         * Gives this JMX service a name.
         */
  @@ -39,7 +37,7 @@
         *  @returns ServerIL the instance of this IL
         */
        public ServerIL getServerIL() {
  -             return null;
  +             return serverIL;
        }
   
        /**
  @@ -47,6 +45,7 @@
         */
        public void startService() throws Exception {
   
  +             serverIL = new JVMServerIL(     lookupJMSServer() );
                bindJNDIReferences();
   
        }
  @@ -87,7 +86,9 @@
                // Get an InitialContext
                InitialContext ctx = new InitialContext();
                org.jboss.naming.NonSerializableFactory.rebind(ctx, 
getConnectionFactoryJNDIRef(), scf);
  -             org.jboss.naming.NonSerializableFactory.rebind(ctx, 
getXAConnectionFactoryJNDIRef(), scf);
  +             org.jboss.naming.NonSerializableFactory.rebind(ctx, 
getXAConnectionFactoryJNDIRef(), sxacf);
   
        }
  +
  +     JVMServerIL serverIL;
   }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to