User: schulze 
  Date: 00/10/03 15:54:33

  Modified:    src/main/org/jboss/deployment README.html J2eeDeployer.java
  Log:
  fix of thrown exception in case of invalid source file
  
  Revision  Changes    Path
  1.2       +1 -1      jboss/src/main/org/jboss/deployment/README.html
  
  Index: README.html
  ===================================================================
  RCS file: /products/cvs/ejboss/jboss/src/main/org/jboss/deployment/README.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README.html       2000/10/03 00:08:15     1.1
  +++ README.html       2000/10/03 22:54:33     1.2
  @@ -53,6 +53,7 @@
         <li> download of ejb.jar and web.war modules</li>
         <li> deployment of these modules </li>
         <li> <code>isDeployed ()</code> - method added to ContainerFactory
  +      <li> extracting web.wars on download </li>
         </ul>
      </p>
   
  @@ -60,7 +61,6 @@
   
      <h3>What is to do</h3>
      <p><ul>
  -      <li> extracting web.wars on download </li>
         <li> replacing module DDs with alternative DDs </li>
         <li> integrity check in case of ear files
              <ul>
  
  
  
  1.2       +2 -4      jboss/src/main/org/jboss/deployment/J2eeDeployer.java
  
  Index: J2eeDeployer.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jboss/src/main/org/jboss/deployment/J2eeDeployer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- J2eeDeployer.java 2000/10/03 00:08:15     1.1
  +++ J2eeDeployer.java 2000/10/03 22:54:33     1.2
  @@ -52,7 +52,7 @@
    *  or crash.
    *
    *   @author Daniel Schulze ([EMAIL PROTECTED])
  - *   @version $Revision: 1.1 $
  + *   @version $Revision: 1.2 $
    */
   public class J2eeDeployer 
      extends ServiceMBeanSupport
  @@ -450,8 +450,6 @@
   
               return d;
            }
  -         else
  -            throw new J2eeDeploymentException (_downloadUrl.toString ()+" points 
not to a valid j2ee application (app.ear/ejb.jar/web.war)!");
   
                } catch (IOException _ioe) {
                   uninstallApplication (d);
  @@ -464,7 +462,7 @@
                   uninstallApplication (d);
                   throw new J2eeDeploymentException ("FATAL ERROR!");
         }                      
  -      
  +      throw new J2eeDeploymentException (_downloadUrl.toString ()+" points not to a 
valid j2ee application (app.ear/ejb.jar/web.war)!");
      }
   
      void uninstallApplication (Deployment _d) throws J2eeDeploymentException
  
  
  

Reply via email to