User: jules_gosnell
  Date: 02/02/02 14:45:59

  Modified:    src/main/org/jboss/web AbstractWebContainer.java
  Log:
  lose debugging
  
  Revision  Changes    Path
  1.18      +1 -16     jboss/src/main/org/jboss/web/AbstractWebContainer.java
  
  Index: AbstractWebContainer.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/web/AbstractWebContainer.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- AbstractWebContainer.java 2002/02/02 22:20:26     1.17
  +++ AbstractWebContainer.java 2002/02/02 22:45:59     1.18
  @@ -118,7 +118,7 @@
   @see org.jboss.security.SecurityAssociation;
   
   @author  [EMAIL PROTECTED]
  -@version $Revision: 1.17 $
  +@version $Revision: 1.18 $
   */
   public abstract class AbstractWebContainer 
   extends ServiceMBeanSupport 
  @@ -178,8 +178,6 @@
            {
               J2eeApplicationMetaData app = (J2eeApplicationMetaData) 
di.parent.metaData;
   
  -         System.out.println("[0] DEBUG:"+app);
  -            
               J2eeModuleMetaData mod;
               Iterator it = app.getModules();
               while (it.hasNext())
  @@ -189,28 +187,19 @@
                  
                  if (mod.isWeb())        
                  {
  -              System.out.println("[1] DEBUG:"+mod.getWebContext());
  -              System.out.println("[2] DEBUG:"+mod.getFileName());
  -              System.out.println("[3] DEBUG:"+di.shortName);
  -              System.out.println("[4] 
DEBUG:"+mod.getFileName().indexOf(di.shortName));
                     //only pick up the context for our war
                     if (mod.getFileName().indexOf(di.shortName) != -1) di.webContext 
= mod.getWebContext();
  -               
                  }     
               }
            }
            
  -         System.out.println("[5] DEBUG:"+di.webContext);
            if (di.webContext == null) di.webContext = di.shortName;
               
            // if it is not a sub-deployment get the context from the name of the 
deployment
            // FIXME marcf: I can't believe there is no way to specify the context in 
web.xml
            
            // make sure the context starts with a slash
  -         System.out.println("[6] DEBUG:"+di.webContext);
            if (!di.webContext.startsWith("/")) di.webContext = "/"+di.webContext;
  -         System.out.println("[7] DEBUG:"+di.webContext);
  -            
            
            // resolve the watch
            if (di.url.getProtocol().startsWith("http"))
  @@ -274,7 +263,6 @@
            URLClassLoader warLoader = URLClassLoader.newInstance(empty, 
appClassLoader);
            thread.setContextClassLoader(warLoader);
            WebDescriptorParser webAppParser = new DescriptorParser();
  -         System.out.println("[8] DEBUG performDeploy:"+di.webContext);
            WebApplication warInfo = performDeploy(di.webContext, 
di.localUrl.toString(), webAppParser);
            deploymentMap.put(di.localUrl.toString(), warInfo);
         }
  @@ -324,7 +312,6 @@
      {
         try
         {
  -      System.out.println("UNDEPLOY: "+warUrl);
            performUndeploy(warUrl);
            // Remove the web application ENC...
            deploymentMap.remove(warUrl);
  @@ -347,7 +334,6 @@
      */
      public boolean isDeployed(String warUrl)
      {
  -      System.out.println("IS-DEPLOYED: "+warUrl);
         return deploymentMap.containsKey(warUrl);
      }
      
  @@ -358,7 +344,6 @@
      */
      public WebApplication getDeployedApp(String warUrl)
      {
  -      System.out.println("GET-DEPLOYED-APP: "+warUrl);
         WebApplication appInfo = (WebApplication) deploymentMap.get(warUrl);
         return appInfo;
      }
  
  
  

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

Reply via email to