servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From foco...@apache.org
Subject svn commit: r431197 - /incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanServiceUnitAnalyzer.java
Date Sun, 13 Aug 2006 17:36:40 GMT
Author: foconer
Date: Sun Aug 13 10:36:40 2006
New Revision: 431197

URL: http://svn.apache.org/viewvc?rev=431197&view=rev
Log:
https://issues.apache.org/activemq/browse/SM-538:

Issue: Unable to initialize FileSystemXmlApplicationContext when running in Fedora.
Resolution: Include the string "file:///" to the path of xbean.xml. (e.g. "file:////home/.../resource/xbean.xml").

Modified:
    incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanServiceUnitAnalyzer.java

Modified: incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanServiceUnitAnalyzer.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanServiceUnitAnalyzer.java?rev=431197&r1=431196&r2=431197&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanServiceUnitAnalyzer.java
(original)
+++ incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanServiceUnitAnalyzer.java
Sun Aug 13 10:36:40 2006
@@ -75,10 +75,11 @@
 	 * @see org.apache.servicemix.common.packaging.ServiceUnitAnalyzer#init(java.io.File)
 	 */
 	public void init(File explodedServiceUnitRoot) {
+		
 		FileSystemXmlApplicationContext context = new FileSystemXmlApplicationContext(
-				explodedServiceUnitRoot.getAbsolutePath() + "/"
+		   "file:///" + explodedServiceUnitRoot.getAbsolutePath() + "/"
 						+ getXBeanFile());
-
+                
 		for (int i = 0; i < context.getBeanDefinitionNames().length; i++) {
 			Object bean = context.getBean(context.getBeanDefinitionNames()[i]);
 			if (isValidEndpoint(bean)) {



Mime
View raw message