Author: eric
Date: Wed Oct 19 20:15:26 2011
New Revision: 1186450

URL: http://svn.apache.org/viewvc?rev=1186450&view=rev
Log:
Load jmx.properties and persistence.xml via classpath (JAMESAPP-3)

Modified:
    
james/app/trunk/src/main/resources/META-INF/org/apache/james/spring-server.xml

Modified: 
james/app/trunk/src/main/resources/META-INF/org/apache/james/spring-server.xml
URL: 
http://svn.apache.org/viewvc/james/app/trunk/src/main/resources/META-INF/org/apache/james/spring-server.xml?rev=1186450&r1=1186449&r2=1186450&view=diff
==============================================================================
--- 
james/app/trunk/src/main/resources/META-INF/org/apache/james/spring-server.xml 
(original)
+++ 
james/app/trunk/src/main/resources/META-INF/org/apache/james/spring-server.xml 
Wed Oct 19 20:15:26 2011
@@ -320,7 +320,7 @@
     <bean id="entityManagerFactory" 
class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
         <property name="dataSource" ref="datasource"/>
         <property name="jpaVendorAdapter" ref="vendorAdapter"/>
-        <property name="persistenceXmlLocation" 
value="file://conf/META-INF/persistence.xml"/>
+        <property name="persistenceXmlLocation" 
value="classpath:META-INF/persistence.xml"/>
     </bean>
     <bean id="vendorAdapter" 
class="org.springframework.orm.jpa.vendor.OpenJpaVendorAdapter">
         <property name="database" value="${vendorAdapter.database}"/>
@@ -339,7 +339,7 @@
      -->
     <bean 
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
         <property name="ignoreUnresolvablePlaceholders" value="true"/>
-        <property name="location" value="file://conf/jmx.properties"/>
+        <property name="location" value="classpath:jmx.properties"/>
     </bean>
     <bean id="mbeanserver" 
class="org.springframework.jmx.support.MBeanServerFactoryBean" >
         <property name="locateExistingServerIfPossible" value="true"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to