geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From viol...@apache.org
Subject svn commit: r1199674 - /geronimo/server/trunk/plugins/wink/geronimo-wink-builder/src/main/java/org/apache/geronimo/wink/deployment/WinkModuleBuilderExtension.java
Date Wed, 09 Nov 2011 09:37:34 GMT
Author: violalu
Date: Wed Nov  9 09:37:34 2011
New Revision: 1199674

URL: http://svn.apache.org/viewvc?rev=1199674&view=rev
Log:
Change deploympent exception to warning sometimes if application doesn't contain webservices,
may end-user gets deployment error coz of web application compile with low level java compiler
such as jdk 1.4.

Modified:
    geronimo/server/trunk/plugins/wink/geronimo-wink-builder/src/main/java/org/apache/geronimo/wink/deployment/WinkModuleBuilderExtension.java

Modified: geronimo/server/trunk/plugins/wink/geronimo-wink-builder/src/main/java/org/apache/geronimo/wink/deployment/WinkModuleBuilderExtension.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/wink/geronimo-wink-builder/src/main/java/org/apache/geronimo/wink/deployment/WinkModuleBuilderExtension.java?rev=1199674&r1=1199673&r2=1199674&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/wink/geronimo-wink-builder/src/main/java/org/apache/geronimo/wink/deployment/WinkModuleBuilderExtension.java
(original)
+++ geronimo/server/trunk/plugins/wink/geronimo-wink-builder/src/main/java/org/apache/geronimo/wink/deployment/WinkModuleBuilderExtension.java
Wed Nov  9 09:37:34 2011
@@ -174,7 +174,7 @@ public class WinkModuleBuilderExtension 
             }
 
         } catch (Exception e) {
-            throw new DeploymentException("Fail to scan javax.ws.rs.core.Application sub
classes in application", e);
+            log.warn("Fail to scan javax.ws.rs.core.Application sub classes in application",
e);
         } finally {
             bundle.getBundleContext().ungetService(reference);
         }



Mime
View raw message