title: Helidon with JPA does not work using external config (application.yaml)
body: <p>I have a problem with Helidon 2.0.1</p>
  <p>When I try to use external file /etc/config/application.yaml using ConfigFile, JPA does not work. The port-config(serve.port: 8001) it works.</p>
  <p>The good news is When I use internal config file it works very well, using &quot;src/main/resources/application.yaml&quot;</p>
  <p>My custom Start Server:</p>
  <pre><code>    static Server startServer() {
          return Server.builder() 
                  .config(buildConfig()) 
                  .build() 
                  .start();
      }
  
      public static Config buildConfig() {
          return Config.builder().sources( 
                  ConfigSources.file(&quot;/etc/conf/application.yaml&quot;)
          ).build();
      }
  </code></pre>
  <p>My persistence.xml</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;persistence version=&quot;2.2&quot;
      xmlns=&quot;http://xmlns.jcp.org/xml/ns/persistence&quot;
      xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
      xsi:schemaLocation=&quot;http://xmlns.jcp.org/xml/ns/persistence
                                   http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd&quot;&gt;
      &lt;persistence-unit name=&quot;ZettaPU&quot;
          transaction-type=&quot;JTA&quot;&gt;
          &lt;description&gt;A persistence unit for the Zetta.&lt;/description&gt;
          &lt;jta-data-source&gt;ZettaDS&lt;/jta-data-source&gt;
          &lt;class&gt;com.zetta.entities.Catalogo&lt;/class&gt;
          &lt;properties&gt;
              &lt;property name=&quot;eclipselink.deploy-on-startup&quot; value=&quot;true&quot; /&gt;
              &lt;property name=&quot;eclipselink.jdbc.native-sql&quot; value=&quot;true&quot; /&gt;
              &lt;property name=&quot;eclipselink.logging.logger&quot; value=&quot;JavaLogger&quot; /&gt;
              &lt;property name=&quot;eclipselink.logging.parameters&quot; value=&quot;true&quot; /&gt;
              &lt;property name=&quot;eclipselink.target-database&quot; value=&quot;org.eclipse.persistence.platform.database.SQLServerPlatform&quot; /&gt;
              &lt;property name=&quot;eclipselink.target-server&quot; value=&quot;io.helidon.integrations.cdi.eclipselink.CDISEPlatform&quot; /&gt;
              &lt;property name=&quot;eclipselink.weaving&quot; value=&quot;false&quot; /&gt;
          &lt;/properties&gt;
      &lt;/persistence-unit&gt;
  &lt;/persistence&gt;
  </code></pre>
  <p>My application.yaml</p>
  <pre><code>server:
      port: 8001
      host: 0.0.0.0
  javax:
      sql:
          DataSource: 
              distribuidoresDS: 
                  dataSourceClassName: com.microsoft.sqlserver.jdbc.SQLServerDataSource
                  dataSource: 
                      url: jdbc:sqlserver://localhost:1433;databaseName=ZettaDB; 
                      user: zettaDB
                      password: ********
  </code></pre>
  <p>Thanks a lot</p>