[jboss-cvs] JBossAS SVN: r85164 - projects/jboss-osgi/trunk/runtime/deployer/src/main/java/org/jboss/osgi/deployer.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Mar 3 08:16:32 EST 2009


Author: thomas.diesler at jboss.com
Date: 2009-03-03 08:16:32 -0500 (Tue, 03 Mar 2009)
New Revision: 85164

Modified:
   projects/jboss-osgi/trunk/runtime/deployer/src/main/java/org/jboss/osgi/deployer/BundleStartStopDeployer.java
Log:
Issue warnings when the bundle cannot be started

Modified: projects/jboss-osgi/trunk/runtime/deployer/src/main/java/org/jboss/osgi/deployer/BundleStartStopDeployer.java
===================================================================
--- projects/jboss-osgi/trunk/runtime/deployer/src/main/java/org/jboss/osgi/deployer/BundleStartStopDeployer.java	2009-03-03 13:11:47 UTC (rev 85163)
+++ projects/jboss-osgi/trunk/runtime/deployer/src/main/java/org/jboss/osgi/deployer/BundleStartStopDeployer.java	2009-03-03 13:16:32 UTC (rev 85164)
@@ -97,7 +97,7 @@
             }
             catch (BundleException e)
             {
-               throw DeploymentException.rethrowAsDeploymentException("Exception starting bundle", e);
+               log.warn("Cannot start bundle", e);
             }
          }
       }
@@ -117,7 +117,7 @@
       }
       catch (BundleException e)
       {
-         log.warn("Exception stopping bundle: " + e);
+         log.warn("Cannot stop bundle: " + e);
       }
    }
 }
\ No newline at end of file




More information about the jboss-cvs-commits mailing list