dblevins    2005/08/26 17:12:29

  Modified:    modules/core/src/java/org/openejb/alt/config
                        ConfigurationFactory.java
  Log:

  Putting these two lines back in.  Unfortunately the way we've designed the 
Castor CMP
  container requires all CMPs in it be in the same classloader or the mapping 
file
  cannot be loaded by Castor.
  
  Revision  Changes    Path
  1.22      +3 -3      
openejb1/modules/core/src/java/org/openejb/alt/config/ConfigurationFactory.java
  
  Index: ConfigurationFactory.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/alt/config/ConfigurationFactory.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- ConfigurationFactory.java 23 Aug 2005 04:16:16 -0000      1.21
  +++ ConfigurationFactory.java 26 Aug 2005 21:12:29 -0000      1.22
  @@ -668,8 +668,8 @@
               //TODO:2: This is really temporary, jars should have their
               // own classpaths.  We have code for this, but it has a couple
               // issues in the CMP container that prevent us from relying on 
it.
  -            //File jarFile = 
SystemInstance.get().getHome().getFile(jar.jarURI);
  -            
//SystemInstance.get().getClassPath().addJarToPath(jarFile.toURL());
  +            File jarFile = 
SystemInstance.get().getHome().getFile(jar.jarURI);
  +            
SystemInstance.get().getClassPath().addJarToPath(jarFile.toURL());
           } catch (Exception e) {
               e.printStackTrace();
           }
  
  
  

Reply via email to