tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1291690 - /openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java
Date Tue, 21 Feb 2012 10:17:23 GMT
Author: rmannibucau
Date: Tue Feb 21 10:17:23 2012
New Revision: 1291690

URL: http://svn.apache.org/viewvc?rev=1291690&view=rev
Log:
forgotten PreConfiguredFactory reference

Modified:
    openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java

Modified: openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java?rev=1291690&r1=1291689&r2=1291690&view=diff
==============================================================================
--- openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java
(original)
+++ openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java
Tue Feb 21 10:17:23 2012
@@ -602,16 +602,6 @@ public class ConfigurationFactory implem
         logger.debug("Beginning load: " + jarFile.getAbsolutePath());
 
         try {
-            AppInfo appInfo = PreconfiguredFactory.configureApplication(jarFile);
-            if (appInfo != null) {
-                logger.info("app-info.xml found and loaded: " + jarFile.getAbsolutePath());
-                return appInfo;
-            }
-        } catch (Exception e) {
-            logger.warning("configureApplication.preloadFailed", e, jarFile.getAbsolutePath(),
e.getMessage());
-        }
-
-        try {
             final AppModule appModule = deploymentLoader.load(jarFile);
             return configureApplication(appModule);
         } catch (ValidationFailedException e) {



Mime
View raw message