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

  Modified:    src/main/org/jbossmq GenericConnectionFactory.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.3       +4 -3      jbossmq/src/main/org/jbossmq/GenericConnectionFactory.java
  
  Index: GenericConnectionFactory.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/GenericConnectionFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- GenericConnectionFactory.java     2001/07/16 02:51:44     1.2
  +++ GenericConnectionFactory.java     2001/08/08 02:34:43     1.3
  @@ -19,7 +19,7 @@
    *
    *   @author Hiram Chirino ([EMAIL PROTECTED])
    * 
  - *   @version $Revision: 1.2 $
  + *   @version $Revision: 1.3 $
    */
   public class GenericConnectionFactory implements java.io.Serializable {
   
  @@ -73,11 +73,12 @@
                        // A ServerILFactory
                        if (server == null) {
   
  +                             cat.debug("Building a reference to the ServerIL");
                                String className= 
connectionProperties.getProperty(SERVER_IL_FACTORY_KEY);
                                ServerILFactory factory= (ServerILFactory) 
Class.forName(className).newInstance();
                                factory.init(connectionProperties);
   
  -                             server= factory.getServerIL();
  +                             server=factory.getServerIL();
                        }
   
                        // We clone because one ConnectionFactory instance can be
  @@ -85,7 +86,7 @@
                        return server.cloneServerIL();
   
                } catch (Exception e) {
  -                     cat.debug(e);
  +                     cat.debug("Could not connect to the server", e);
                        throw new SpyJMSException("Could not connect to the server", 
e);
                }
        }
  
  
  

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

Reply via email to