portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/deployment/impl CatalinaAutoDeploymentServiceImpl.java
Date Mon, 19 Jan 2004 21:53:47 GMT
weaver      2004/01/19 13:53:47

  Modified:    portal/src/java/org/apache/jetspeed/deployment/impl
                        CatalinaAutoDeploymentServiceImpl.java
  Log:
  Make sure the FileScanner thread uses the same classloader as its parent thread
  
  Revision  Changes    Path
  1.5       +2 -1      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/deployment/impl/CatalinaAutoDeploymentServiceImpl.java
  
  Index: CatalinaAutoDeploymentServiceImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/deployment/impl/CatalinaAutoDeploymentServiceImpl.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- CatalinaAutoDeploymentServiceImpl.java	16 Jan 2004 19:40:30 -0000	1.4
  +++ CatalinaAutoDeploymentServiceImpl.java	19 Jan 2004 21:53:47 -0000	1.5
  @@ -125,6 +125,7 @@
               handlers.put("war", JARObjectHandlerImpl.class);
               scanner = new FileSystemScanner(stagingDirFile.getCanonicalPath(), handlers,
dispatcher, delay);
               scanner.setName("Autodeployment File Scanner Thread");
  +            scanner.setContextClassLoader(Thread.currentThread().getContextClassLoader());
               scanner.start();
               log.info("Deployment scanner successfuly started!");
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message